/* styles.css */

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Background image styling */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/nunkistar-achtergrond.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    animation: subtleZoom 20s infinite alternate ease-in-out;
}

/* Content container */
.content {
    position: fixed;
    top: 50%;
    left: 40px;
    transform: translateY(-50%); /* Vertically center */
    color: white;
    max-width: 90%;
    z-index: 1;
    animation: fadeIn 1.5s ease-out; /* Only fade-in */
}

/* Logo styling */
.logo {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Payoff styling */
.payoff {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Form styling */
.form-container {
    max-width: 400px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group input {
    width: 100%; /* Uniform width for all inputs */
    max-width: 350px; /* Consistent max width */
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Button styling */
.btn {
    background-color: #336699;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #285580;
}

/* Link styling */
.forgot-password {
    display: block;
    margin-top: 10px;
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.forgot-password:hover {
    color: #cccccc;
}

/* Instruction text styling */
.instruction-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

/* Thank you message styling */
.thank-you-message {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

/* Error message styling */
.error {
    color: #ff3333;
    font-size: 0.9rem;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        left: 20px;
    }

    .logo {
        font-size: 2.5rem;
    }

    .payoff {
        font-size: 1.8rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input {
        padding: 8px;
        font-size: 0.9rem;
        max-width: 300px; /* Slightly smaller for tablets */
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .forgot-password {
        font-size: 0.85rem;
    }

    .instruction-text {
        font-size: 0.9rem;
    }

    .thank-you-message {
        font-size: 0.9rem;
    }

    .error {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .content {
        left: 15px;
    }

    .logo {
        font-size: 2rem;
    }

    .payoff {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input {
        padding: 6px;
        font-size: 0.8rem;
        max-width: 250px; /* Smaller for mobile */
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .forgot-password {
        font-size: 0.8rem;
    }

    .instruction-text {
        font-size: 0.8rem;
    }

    .thank-you-message {
        font-size: 0.8rem;
    }

    .error {
        font-size: 0.8rem;
    }
}