@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,700,900");
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000000;
    overflow: hidden;
    /* Prevent scrolling when popup is active */
}

.login-p {
    color: white;
}


.login-container {
    font-family:"Montserrat",sans-serif ;
    position: relative;
    color: #fff;
    width: 750px;
    height: 450px;
    border: 2px solid #ff2770;
    box-shadow: 0 0 25px #ff2770;
    overflow: hidden;
    display: none;
    transition: 0.5s;
}

.login-container:hover { 
    box-shadow: 0 0 50px #ff2770;
    transition: 0.5s ease-in-out;
}
.login-container .form-box {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.form-box {
    z-index: 2;
}

.form-box.Login {
    left: 0;
    padding: 0 40px;
}

.form-box .login-p {
    font-size: 32px;
    text-align: center;
}

.form-box .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin-top: 25px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid white;
    padding-right: 23px;
    transition: .5s;
}

.input-box input:focus,
.input-box input:valid {
    border-bottom: 2px solid #ff2770;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: #fff;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
    color: #ff2770;
}

.input-box i {
    position: absolute;
    top: 50%;
    right: 0;
    font-size: 18px;
    transform: translateY(-50%);
}

.input-box input:focus~i,
.input-box input:valid~i {
    top: -5px;
    color: #ff2770;
}

.btn {
    position: relative;
    width: 100%;
    height: 45px;
    background: transparent;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    height: 300%;
    width: 100%;
    background: linear-gradient(#25352b, #ff2770, #25352b, #ff2770);
    top: -100%;
    top: 0;
    left: 0;
    z-index: -1;

}


.btn:hover:before {
    top: 0;
}

.regi_link {
    font-size: 14px;
    text-align: center;
    margin: 20px 0 10px;
}

.SignUpLink {
    text-decoration: none;
    color: #ff2770;
    font-weight: 600;
}

.SignUpLink:hover {
    text-decoration: underline;
}

.info-content {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    transition: 0.5s;
}

.info-content.Login {
    right: 0;
    text-align: right;
    padding: 0 40px 60px 150px;
}

.info-content h2 {
    text-transform: uppercase;
    font-size: 36px;
    line-height: 1.3;
}

.info-content p {
    font-size: 16px;
}

.login-container .curved-shape {
    position: absolute;
    right: 0;
    top: -5px;
    height: 600px;
    width: 850px;
    background: linear-gradient(45deg, #25352b, #ff2770);
    transform: rotate(10deg) skewY(40deg);
    transform-origin: bottom right;
}

@media (max-width:750px) {
    .login-container {
        margin-left: 5%;
        margin-right: 5%;
    }

    .info-content h2{
        font-size: 25px;
        transition: 0.5s;
    }
    .info-content p {
        font-size: 10px;
        transition: 0.5s;
    }
    
    

}
@media (max-width:600px) {
    .login-container {
        margin-left: 5%;
        margin-right: 5%;
    }

    .info-content {
        display: none;
    }
    .form-box{
        margin-left: 80px;
        transition: 1s;
    }
    .cls-p{
        font-size: 14px;
        transition: 1s;
    }
}
@media (max-width:550px) {
   
    .cls-p{
        font-size: 13px;
        transition: 1s;
    }

}
@media (max-width:500px) {
    .form-box{
        margin-left: 50px;
        transition: 1s;
    }
    .cls-p{
        font-size: 12px;
        transition: 1s;
    }

}
@media (max-width:443px) {
    .form-box{
        margin-left: 50px;
        transition: 1s;
    }
    .cls-p{
        font-size: 11px;
        transition: 1s;
    }

}
@media (max-width:407px) {
    .form-box{
        margin-left: 30px;
        transition: 1s;
    }
    .cls-p{
        font-size: 10px;
        transition: 1s;
    }

}
@media (max-width:300px) {
    .form-box{
        margin-left: 0px;
        transition: 1s;
    }

}






/* .login-container {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1; 
    width:20%;
} */
/* .login-container h2 {
    text-align: center;
    color:#FFD700 ;
    -webkit-text-stroke: 0.5px #800000; 
}
input[type="text"], input[type="password"] {
    width: 92%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 14px;
    
} */
/* button {
    width: 100%;
    padding: 10px;
    background-color: #800000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #8000008a;
}
#login{
    border-radius: 20px;
} */
/* Popup Styles */
.popup {
    width: 70%;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 2px solid red;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: shake 0.5s ease forwards;
}

.popup p {
    font-size: 1.5em;
    /* Larger warning message */
    color: red;
    /* Warning color */
    margin: 0 0 20px;
}

.popup button {
    margin-top: 10px;
    background-color: red;
    /* Red button for warning */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
}

.popup button:hover {
    background-color: darkred;
    /* Darker red on hover */
}

/* Animation */
@keyframes shake {
    0% {
        transform: translate(-50%, -50%);
    }

    25% {
        transform: translate(-50%, -55%);
    }

    50% {
        transform: translate(-50%, -50%);
    }

    75% {
        transform: translate(-50%, -45%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

/* Backdrop Styles */
.backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark background */
    z-index: 900;
    /* Below the popup */
}

/* @media (max-width:850px) {
    .login-container {
        width: 70%;
    }
    
}
@media (max-width:700px) {
    .login-container {
        width: 70%;
    }
    
} */