*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    /* background-color: #EBF2F7; */
    background-color: #EDF1F7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container{
    height: 75vh;
    width: 70%;
    background: white;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Slide section */

.slide{
    background-color: #265AC3;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.slide-item{
    width: 80%;
    height: 90%;
}

.slide-item .img{
    width: 90%;
    height: 80%;
    padding: 20px;
}

.slide-item .img img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.slide-item .slide-text{
    width: 60%;
    margin:auto;
    text-align: center;
    font-family: arial;
}

.slide-item .slide-text h4{
    color: white;
    font-size: 22px;
    font-weight: 200;
    letter-spacing: 1px;
}

.slide-item .slide-text p{
    color: rgb(232, 232, 232);
    font-size: 10px;
    font-weight: 100;
    letter-spacing: 1px;
}

/*  Form section */
.form-container{
    padding-top:20px ;
    position: relative;
}


.form-img{
    margin: 20px auto;
    margin-top: 40px;
    width: 75px;
    height: 75px;
    box-shadow: 0px 0px 5px rgb(146, 142, 142);
    border-radius: 50%;
}

.form-img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.form-text{
    width: 60%;
    margin: 5px auto;
    text-align: center;
}

.form-text h2{
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #022d83;
}

.form-text p{
    color: #585959;
    font-size: 10px;
    font-weight: 100;
    letter-spacing: 1px;
}

.form{
    width: 60%;
    margin: 5px auto;
    padding: 10px;
    margin-top: 20px;
}

form .form-group{
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    position: relative;
}

.form-group label{
    position: absolute;
    font-size: 15px;
    left: 15px;
    color: #2c2b2b;
    top: 8px;
    padding: 3px;
    display: none;
    transition: all 0.3s ease-in-out;
}

.form-group input{
    height: 20px;
    font-size: 15px;
    padding: 20px 15px;
    border-radius: 7px;
    border: 1px solid rgb(213, 213, 213);
    outline: none;
    transition: all 0.3s ease-in-out;
}

.form-group input:hover{
    border: 1px solid #265AC3;
}

.form-group input:hover{
    border: 1px solid #265AC3;
}

.form-group input:focus{
    border: 2px solid #265AC3;
}

.form-group input:focus + label{
    background: white;
    color: #265AC3;
    font-size: 10px;
    transform: translateY(-16px);
    display: block;
}

.form-group input::placeholder{
    font-size: 13px;
}

.form-group span{
    color: #727070;
    font-size: 14px;
    position: absolute;
    right: 10px;
    top: 15px;
}

.form-group button{
    font-size: 15px;
    padding: 13px 15px;
    border: none;
    border-radius: 7px;
    background: #265AC3;
    color: white;
    transition: all 0.3s ease-in-out;
}

.form-group button:hover{
    background: #022d83;
}

.form .info{
    position: absolute;
    bottom: 20px;
    width: 60%;
    text-align: center;
}

.form .info a{
    color: #022d83;
    text-decoration: none;
    font-weight: 500;
}


.form-group input:hover + label, .form-group input:hover ~ span{
    color: #265AC3;
}

@media (max-width:1000px) {
    .container{
        width: 90%;
    }
}


@media (max-width:650px) {
    .container{
        grid-template-columns: 1fr;
    }

    .slide{
        display: none;
    }

    .form{
        width: 80%;
    }
}

.form-group .hide{
    display: none;
}