* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(24, 23, 23, 0.7);
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

header nav a {
    margin: 0 20px;
    color: #ece6e6;
    text-decoration: none;
    font-size: 20px;
}

header nav a:hover {
    text-decoration: underline;
}

.logo img {
    height: 50px;
    margin: 0 20px;
}

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
background: #000000;
}

.login-box {
    background: rgba(14, 13, 13, 0.8);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ece6e6;
    font-size: 2rem;
    font-family: 'Times New Roman', Times, serif;
}

.login-box h2 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: chainWrite 0.3s ease-in-out forwards;
}

@keyframes chainWrite {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-box h2 span:nth-child(1) { animation-delay: 0.1s; }
.login-box h2 span:nth-child(2) { animation-delay: 0.2s; }
.login-box h2 span:nth-child(3) { animation-delay: 0.3s; }
.login-box h2 span:nth-child(4) { animation-delay: 0.4s; }
.login-box h2 span:nth-child(5) { animation-delay: 0.5s; }
.login-box h2 span:nth-child(6) { animation-delay: 0.6s; }
.login-box h2 span:nth-child(7) { animation-delay: 0.7s; }
.login-box h2 span:nth-child(8) { animation-delay: 0.8s; }
.login-box h2 span:nth-child(9) { animation-delay: 0.9s; }
.login-box h2 span:nth-child(10) { animation-delay: 1.0s; }
.login-box h2 span:nth-child(11) { animation-delay: 1.1s; }
.login-box h2 span:nth-child(12) { animation-delay: 1.2s; }
.login-box h2 span:nth-child(13) { animation-delay: 1.3s; }

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #ece6e6;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ece6e6;
    outline: none;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #ece6e6;
    pointer-events: none;
    transition: 0.3s ease-out;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -20px;
    font-size: 12px;
    color: #ece6e6;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-forgot label {
    display: flex;
    align-items: center;
    color: #ece6e6;
}

.remember-forgot input[type="checkbox"] {
    margin-right: 5px;
}

.forgot-password {
    color: #ece6e6;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #ece6e6;
    color: #000;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #7a7777;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: #ece6e6;
    font-size: 14px;
}

.signup-link a {
    color: #ece6e6;
    text-decoration: none;
    font-weight: bold;
}

.signup-link a:hover {
    text-decoration: underline;
}

.social-login {
    margin-top: 20px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.divider span {
    padding: 0 10px;
    color: #ece6e6;
    font-size: 14px;
}

.google-btn {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    background: transparent;
    color: #ece6e6;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.google-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.google-btn img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 11px;
    background-color: rgba(24, 23, 23, 0.7);
    font-size: 14px;
}

.welcome-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.welcome-logo {
    width: 190px; /* Adjust as needed */
    height: auto;
    margin-bottom: 30px;
    margin-top: -1rem;
    margin-left: 3.5rem;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .login-container {
        padding: 40px 10px; /* Adjust padding for mobile */
    }

    .login-box {
        width: 90%; /* Full width for mobile */
        margin: 0 auto; /* Center align */
    }

    .login-box h2 {
        font-size: 1.5rem; /* Adjust font size for mobile */
    }

    .input-group input {
        font-size: 14px; /* Adjust input font size for mobile */
    }

    .login-btn {
        font-size: 14px; /* Adjust button font size for mobile */
    }

    .signup-link {
        font-size: 12px; /* Adjust signup link font size for mobile */
    }
}
