@media only screen and (max-width: 900px) {
    #tech{
        display: none;
    }
    .container{
        width: 100%;
        justify-content: center;
    }
    .forgot-image{
        display: none;
    }
    .forgot-content{
        width: 100%;
    }
    .forgot-password{
        width: 410px;
        height: 400px;
    }
    .email-container{
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 850px) {
    #logo{    
        max-height: 15%;
    }
}

@media only screen and (max-width: 450px){
    #logo, #tech{
        display: none;
    }
    section{
        background-color: white;
    }
    .form, #form2{
        width: 100%;
        height: 100%;
        border-radius: 0;
        margin: 0;
        padding: 0;
        justify-content: center;
        overflow: hidden;
        box-shadow: none;
    }
    .design{
        height: 80px;
    }
    .design2{
        height: 10%;
    }
    .name, .createpassword{
        width: 300px;
        height: 8%;
    }
    .createpassword{
        height: 25%;
    }
    .one{
        bottom: 18%;
    } 
    #eye4, .three{
        top: 25%;   
    }
    .five, #eye6{
        top: 80%;
    }
    .forgot-password{
        width: 100%;
        height: 100%;
        padding: unset;
        border-radius: unset;
    }
    .forgot-content{
        padding: 60px 40px 60px 40px;
    }
}

@media only screen and (max-width: 420px) {
    #error-message{
        font-size: 10px;
    }

    #main-message{
        width: 300px;
        height: 70px;
    }
}

@media only screen and (max-width: 360px){
    h2{
        font-size: 25px;
    }
    h3{
        font-size: 13px;
    }
    .design, #create, #forgot{
        font-size: 11px;
    }
    input{
        width: 180px;
    }
    .btn, .name, .createpassword{
        width: 260px;
    }
    .name{
        flex-direction: column;
        height: 15%;
    }
    #firstname, #lastname{
        width: 180px;
        padding-right: 40px;
    }
    .firstname, .lastname{
        height: 100%;
    }
    .firstname{
        margin-bottom: 4%;
    }
    .others{
        top: 27%;
    }
    .two{
        top: 81%;
        left: 5%;
    }
    #main-message{
        height: 60px;
    }
    #error-message{
        font-size: 9px;
    }
    .forgot-content p, ::placeholder{
        font-size: 12px;
    }
    #go-back, .forgot-container > button{
        font-size: 10px;
    }
}

@media only screen and (max-width: 290px){
    h2, .forgot-content h2{
        font-size: 19px;
    }
    h3, .forgot-content p, ::placeholder{
        font-size: 10px;
    }
    .design, #create, #forgot{
        font-size: 8px;
    }
    input{
        width: 130px;
    }
    .btn, .name, .createpassword{
        width: 210px;
    }
    .error{
        font-size: 7px;
    }
    #firstname, #lastname{
        width: 130px;
        padding-right: 40px;
    }
    #go-back, .forgot-container > button{
        font-size: 8px;
    }
}

@media only screen and (max-width: 230px){
    h2{
        font-size: 15px;
    }
    h3{
        font-size: 7px;
    }
    .design, #create, #forgot{
        font-size: 5px;
    }
    .fa-envelope, .fa-lock, #eye{
        bottom: 25%;
    }
    input{
        width: 80px;
    }
    .btn, .name, .createpassword{
        width: 160px;
    }
    .error{
        font-size: 5px;
    }
    .design{
        height: 60px;
    }
    #firstname, #lastname{
        width: 80px;
        padding-right: 40px;
    }
    #main-message{
        height: 50px;
    }
    #error-message{
        font-size: 6px;
    }
    .forgot-password{
        overflow: scroll;
    }
    .one{
        bottom: 15%;
    }
}