@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    color: #fff;
    overflow: hidden;
}

#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.7);
    transition: filter 1.5s ease-in-out, transform 10s ease-out;
}

.zoomed-bg {
    transform: scale(1.05);
    /* Slight zoom effect upon login */
    filter: brightness(0.9) !important;
}

.screen_active {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.hidden {
    display: none !important;
    opacity: 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    transform: translateY(0);
    animation: fadeIn 0.8s ease-out;
}

.glass-card h1 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 28px;
    letter-spacing: 1px;
}

.glass-card p {
    font-weight: 300;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.input-group {
    display: flex;
    margin-bottom: 15px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#password-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: background 0.3s ease;
}

#password-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#password-input:focus {
    background: rgba(255, 255, 255, 0.3);
}

#login-button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border: none;
    background: #fff;
    color: #333;
    width: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#login-button:hover {
    transform: scale(1.05) translateX(2px);
    background: #f0f0f0;
}

#error-message {
    color: #ff8c8c;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 400;
    margin-top: 10px;
    animation: shake 0.4s ease-in-out;
}

/* Content Screen */
.content-card {
    max-width: 600px;
    padding: 0;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.content-photo {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.text-content {
    padding: 30px;
}

.text-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.text-content p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.text-content p:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }
}
