/* POPPINS FONT */
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    /*background: url("images/1.jpg"); */
    background-color:  #007bff;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}
.wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110vh;
    /* background: rgba(39, 39, 39, 0.4); */ 
}
/* Styles for the navigation bar */
.nav {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between; /* Adjusted to space between for logo and menu */
    align-items: center; /* Center align items vertically */
    width: 100%;
    height: 100px;
    line-height: 100px;
    z-index: 100;
}

/* Styles for the logo */
.nav-logo {
    display: flex;
    align-items: center; /* Center align logo and text vertically */
}

.nav-logo img.logo {
    height: 100px; /* Adjust the height as needed */
    margin-right: 20px; /* Space between logo and text */
    padding-left: 40px;
    
}
.nav-logo p{
    color: white;
    font-size: 40px;
    font-weight: 600;
    padding-left: 60px;
}
.nav-menu ul{
    display: flex;
    background: transparent;
}
.nav-menu ul li{
    list-style-type: none;
}
.nav-menu ul li .link{
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    padding-bottom: 15px;
    margin: 0 25px;
}
.link:hover, .active{
    border-bottom: 2px solid #fff;
}
.nav-button .btn{
    width: 130px;
    height: 40px;
    font-weight: 500;
    background: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s ease;
}

    
.btn:hover{
    background: #fb925d;
}
#registerBtn{
    margin-left: 15px;
    margin-right: 40px;
}
.btn.white-btn{
    background: #ff8400;
    color: #fff;

}
.btn.btn.white-btn:hover{

    background: #ff8400;
}
.nav-menu-btn{
    display: none;
}
.form-box{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 512px;
    height: 420px;
    overflow: hidden;
    z-index: 2;
}
.login-container{
    position: absolute;
    left: 4px;
    width: 500px;
    display: flex;
    flex-direction: column;
    transition: .5s ease-in-out;
}
.register-container{
    position: absolute;
    right: -520px;
    width: 500px;
    display: flex;
    flex-direction: column;
    transition: .5s ease-in-out;
}
.top span{
    color: #fff;
    font-size: small;
    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;
    padding: 10px 0 30px 0;
}
.two-forms{
    display: flex;
    gap: 10px;
}
.input-field{
    font-size: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    height: 50px;
    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: white;
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 30px;
    outline: none;
    background: #ff8400;
    cursor: pointer;
    transition: .3s ease-in-out;
}
.submit:hover{
    background: #fb925d;
    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;
}
/* Responsive styles for smaller screens */
@media only screen and (max-width: 786px) {
    .nav-button {
        display: none;
    }
    .nav-menu.responsive {
        top: 100px;
    }
    .nav-menu {
        position: absolute;
        top: -800px;
        display: flex;
        justify-content: center;
        background:rgba(0, 123, 255, 1);
        width: 100%;
        height: 90vh;
        backdrop-filter: blur(20px);
        transition: .3s;
    }
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }
    .nav-menu-btn {
        display: block;
    }
    .nav-menu-btn i {
        font-size: 25px;
        color: #fff;
        padding: 10px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: .3s;
    }
    .nav-menu-btn i:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    .nav-logo img.logo {
        height: 50px; /* Adjust the height for smaller screens */
    }
}

/* Additional responsive styles for very small screens */
@media only screen and (max-width: 450px) {
    .wrapper {
        min-height: 100vh;
    }
    .form-box {
        width: 100%;
        height: 500px;
    }
    .register-container, .login-container {
        width: 100%;
        padding: 0 20px;
    }
    .register-container .two-forms {
        flex-direction: column;
        gap: 0;
    }
    .nav-logo img.logo {
        height: 60px; /* Adjust the height for very small screens */
        padding-left: 30px;
        font-size: 70px;
    }
    .nav-menu {
        top: -1200px;
       
    }
    .nav-menu-btn {
        padding-right: 20px;
    }
}