@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body{  
    font-family: 'Poppins', sans-serif;
}

.container {
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}

.form-box{
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px; 
    height: 300px; 
    overflow: hidden;
    z-index: 2;
}

.form-group{
    width: 500px;
    height: 50px;
}
.background-clip{
    position:fixed;
    width: 100%;
    right: 0;
    height: 100%;
    z-index: -1px;
    object-fit: cover;
}

footer{
    background-color: rgb(148, 117, 76);
    margin-top: 250px;
}
.footerContainer{
    width: 100%;
    margin-bottom: -50px;
    padding: 20px 468px 10px ;
}
.socialIcons{
    display: flex;
    justify-content: center;
}
.socialIcons a{
    text-decoration: none;
    padding:  5px;
    align-items: center;
    letter-spacing: 2px;
    background-color: burlywood;
    margin: 20px;
    border-radius: 20%;
}
.socialIcons a i{
    font-size: 2em;
    color: rgb(107, 66, 12);
    opacity: 0,9;
}
/* Hover affect on social media icon */
.socialIcons a:hover{
    background-color: #111;
    transition: 0.5s;
}
.socialIcons a:hover i{
    color: white;
    transition: 0.5s;
}
.footerNav{
    margin: 20px 0px;
}
.footerNav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.footerNav ul li a{
    color:white;
    margin: 10px;
    text-decoration: none;
    font-size: small;
    word-spacing: 20px;
    opacity: 0.7;
    transition: 0.5s;

}
.footerNav ul li a:hover{
    opacity: 1;
}
.footerBottom{
    margin-top: 40px;
    background-color: rgb(167, 145, 117);
    padding: 10px;
    text-align: center;
}
.footerBottom p{
    color: black;
}
.designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: black;
    font-weight: 800;
    margin: 0px 5px;
}
.icon2{
    margin-left: 20px;
    margin-top: -10px;
}
.icon{
    margin-left: 20px;
}
@media (max-width: 768px){
    .background-clip{
        position: absolute;
        height: 2000px;
        object-fit: cover;
    }
    span{
        font-size: 30px;
    }
    .input-field{
        margin-left: 40px;
        margin-right: 80px;
    }
    input.input-field{
        width: 100%;
        border-radius: 30px;
    }
    .footerNav ul{
        flex-direction: column;
    } 
    .footerNav ul li{
        width:100%;
        text-align: center;
        margin: 100px;
    }
    .icon,.icon2{
        margin-left: -100px;
    }
    .password-toggle-icon{
        left: 350px;
    }
    .socialIcons a{
        padding:-20px;
        margin: -10px;
    }
    .form-box{
        max-width: 100%;
    }
    .form-group{
        margin-left: -40px;
        width: 100%;
    }
}

.top span{
    font-size: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}
.top span a{
    font-weight: 500;
    color: #fff;
    margin-left: 5px;
}
header{
    color: #fff;
    font-size: 30px;
    text-align: center;
    font-family:'Poppins', sans-serif;
    padding: 10px 0 30px 0;
}
.two-forms{
    display: flex;
    justify-content: center; /* Center horizontally */
}
.input-field{
    font-size: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    height: 50px;
    max-width: 100%;
    width: 100%;
    padding: 0 10px 0 45px;
    border: none;
    border-radius: 30px;
    outline: none;
    transition: .2s ease;
}
.input-field:hover, .input-field:focus{
    background: rgba(255, 255, 255, 0.25);
}
::-webkit-input-placeholder{
    color: #fff;
}
.input-box i{
    position: relative;
    top: -35px;
    left: 17px;
    color: #fff;
}
.submit{
    font-size: 15px;
    font-weight: 500;
    color: black;
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 30px;
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: .3s ease-in-out;
}
.submit:hover{
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 1px 5px 7px 1px rgba(0, 0, 0, 0.2);
}
.two-col{
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: small;
    margin-top: 10px;
}
.two-col .one{
    display: flex;
    gap: 5px;
}
.two label a{
    text-decoration: none;
    color: #fff;
}
.two label a:hover{
    text-decoration: underline;
}
.icon{
    position: absolute;
    left: 100px;
    bottom: 28px;
    width: 60px;
    height: 90%;
    top: -13px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.icon2{
    position: absolute;
    left: 100px;
    top: 63px;
    width: 60px;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #fff;
}
.input-field.error {
    border: 2px solid red;
}
.error-message {
    color: red;
    margin-top: 133px;
    display: none;
}