@font-face {
    font-family: "monda-regular";
    src: url(fonts/monda/Monda-Regular.ttf);
}

body{
    margin: 0;
    height: 100vh;
    width: 100%;
    background-color: rgb(0, 0, 0);
}

#header{
    display: flex;
    width: 100%;
    height: 12vh;
    border-bottom: solid 1px rgba(255, 255, 255, 0.95);
    align-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
}

#header img{
    object-fit: contain; 
    margin-left: 7.5%;
}
#header h1{
    color: white;
    font-family: "monda-regular";
    margin-left: 1%;
    font-size: clamp(1rem, 2vw, 3rem);
}

#content {
    display: flex;
    max-height: 88vh;
}

#content-left {
    display: flex;
    flex-direction: column;
    font-size: clamp(2rem, 8vw, 6rem);
    gap: 0;
    padding: 5.5% 0px 0px 5%;
    justify-content: center;
    width: 50%;
}

#content-left h1 {
    color: white;
    font-size: 6rem;
    margin: 0;
    line-height: 0.9;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    margin-left: 70px;
    margin-top: 25px;
}

#content-left p {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(1rem, 2vw, 1.5rem);
    padding-top: 50px;
    margin-left: 70px;
}

#content-left-last {
    display: inline-block;
    background: linear-gradient(90deg, #4422ed 0%, #ed0b5c 100%);
    padding: 20px 25px;
    margin-top: 20px !important;
    margin-left: 50px !important;
    position: relative;
    font-size: clamp(1.5rem, 5vw, 5rem) !important;
    color: white;
    width: fit-content;
}

#content-right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 88vh;
    padding: 5.5% 0px 0px 5%;
}

.login-container {
    background-color: #000000;
    padding: 40px;
    border-radius: 18px;
    width: 80%;
    max-width: 400px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.245);;
}

.login-container h2 {
    color: white;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    color: white;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.login-form input {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 1rem;
    outline: none;
}

.login-form button {
    width: 100%;
    padding: 15px;
    background: white;
    border: none;
    border-radius: 5px;
    color: black;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.signup-text {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.signup-text a {
    color: white;
    text-decoration: none;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    font-size: 0.8rem;
    transform: translateY(-50%) translateX(-10px);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    user-select: none;
}

.password-toggle:hover {
    color: white;
}

input[type="password"]::-ms-reveal {
    display: none;
}

@media screen and (max-width: 1200px) {
    #content-left h1 {
        font-size: clamp(2rem, 7vw, 5rem);
    }

    #content-left p {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }
    #content-left {
        padding: 20px;
    }
        
    #content-right {
      padding-right: 5%;
    }
}

@media screen and (max-width: 768px) {
    #content {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 88vh;
    }

    #content-right {
        width: 50%;
        height: 88vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .login-container {
        width: 100%;
        max-width: 350px;
        padding: 30px 20px;
        margin: 0;
    
    }

    #content-left h1 {
        font-size: clamp(1.5rem, 6vw, 4rem);
        margin-left: 20px;
    }

    #content-left p {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
        margin-left: 20px;
    }

    #content-left {
    padding: 0px;
    }

    #content-left-last {
        font-size: clamp(1.5rem, 5vw, 3rem) !important;
        margin: clamp(10px, 3vw, 20px) auto 0 20px !important;
        padding: clamp(8px, 2vw, 15px) clamp(16px, 4vw, 30px);
        display: block;
        width: fit-content;
    }
}

@media screen and (max-width: 480px) {
    #content-left {
        display: none; 
    }
    
    .login-container {
        width: 85%;
        padding: 20px 15px;
        transform: translate(-50%, -50%) scale(0.85);
        position: absolute;
        top: 50%;
        left: 50%;
    }
}

@media screen and (max-width: 360px) {
    .login-container {
        width: 85%;
        padding: 20px 15px;
        transform: translate(-50%, -50%) scale(0.85);
        position: absolute;
        top: 50%;
        left: 50%;
    }
    
    .login-container h2 {
        font-size: 1.5rem;
    }
    
    .login-form input {
        font-size: 0.85rem;
    }
    
    .login-form button {
        padding: 10px;
    }
}

@media screen and (max-height: 600px) {
    .login-container {
        padding: 20px 15px;
        transform: translate(-50%, -50%) scale(0.9);
        position: absolute;
        top: 50%;
        left: 50%;
    }
}

#infotext {
    color: #ff3333;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: -0.5rem;
}
