*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --tomato: #ff6257;
    --darkSlateGrey: hsl(234, 29%, 20%);
    --charcoalGrey: hsl(235, 18%, 26%);
    --grey: hsl(231, 7%, 60%);
    --lightGrey: hsl(228, 15%, 87%);
    --white: hsl(0, 0%, 100%);
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--darkSlateGrey)
}
main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 60%;
    font-family: "Roboto", serif;
    border-radius: 25px;
    background: var(--white);
}
main > div{
    margin: 20px;
}
.objOne{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 50%;
}
.objOne .title{
    padding: 0;
}
.objOne > h3, p, ul, form{
    padding: 15px 0 15px 0;
    width: 100%;
    color: var(--charcoalGrey)
}
.objOne h3{
    color: var(--darkSlateGrey);
    font-size: 3rem;
}
.objOne ul{
    list-style-position: outside;
}
.objOne li{
    list-style-image: url('icon-list.svg');
    margin-left: 25px;
    margin-top: 10px;
    font-size: 15px;
    padding-left: 10px;
}
.objOne form > p, input, button{
    margin: 2px;
    padding: 15px;
}
.objOne form .con{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-weight: 700;
}
.objOne form input{
    margin-bottom: 15px;
    width: 100%;
    outline: none;
    border-radius: 5px;
    border: 1.5px solid var(--lightGrey);
}
.objOne form input:hover{
    border-color: var(--grey);
}
.objOne form button{
    width: 100%;
    border: none;
    padding: 15px;
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.09);
    background: var(--darkSlateGrey)
}
.objOne form button:hover{
    cursor: pointer;
    box-shadow: 0 10px 10px rgba(255, 165, 0, 0.3);
    background: linear-gradient(to right, var(--tomato), orange);
}
.objOne form .conValid{
    display: none;
    visibility: hidden;
    display: flex;
    justify-content: flex-end;
    align-items:center;
    border-radius:15px;
}
/* ---------------OBJECT TWO--------------- */
.objTwo{
    margin: 5px;
    width: 50%;
}
.objTwo img{
    display: none;
    width: 100%;
    height: 100%;
}
.objTwo img.active{
    display: block;
}
@media (max-width: 800px) {
    body{
        height: auto;
    }
    main{
        justify-content: center;
        flex-direction: column-reverse;
        padding: 0;
        overflow: hidden;
        border-radius: 0;
        width: 100%;
    }
    .objOne,
    .objTwo{
        margin: 0;
        width: 100%;
    }
    .objOne{
        padding: 0 25px 20px 25px;
    }
}
@media (max-width: 500px) {
    body{
        padding: 0;
    }
    main{
        margin: 0;
        padding: 0;
        width: 100%;
        border-radius: 0;
    }
}
