.contact{
    position: relative;
    min-height: 95vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url(image/Genius\ Academy.jpg);
    background-size: cover;
}
.contact .content{
    max-width: 800px;
    text-align: center;
}
.contact .content h2{
    font-size: 50px;
    font-weight: 500;
    color: #fff;
}
.contact .content p{
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}
.contaier2{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.contactForm{
    width: 40%;
    padding: 50px;
    background: #fff;
    text-align: center;
    margin-bottom: 10px;
}
.contactForm h2{
    font-size: 30px;
    color: black;
    font-weight: 500;
}
.contactForm .inputBox{
    position: relative;
    width: 131%;
    margin-top: 10px;
}
.contactForm .inputBox input,
.contactForm .inputBox textarea{
    width: 270px;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}
.contactForm .inputBox span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}
.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:focus ~ span{
    color: #033deb;
    font-size: 12px;
    transform: translateY(-20px);
}
.contactForm .inputBox input[type="submit"]{
    width: 100px;
    background: #ffb703;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 10px;
    margin-bottom: -2px;
}
@media (max-width: 786px) {
    .contact{
        padding: 50px;
        width: 145%;
    }
    .contaier2 .contactForm {
            width: 108%;
        }
   .contaier2{
     flex-direction: column;   
    }
}