@font-face {
    font-family: 'Tilda';
    src: url('fonts/tilda.woff2') format('woff2'),
         url('fonts/tilda.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body, .container, .login-box, .options {
    font-family: 'Tilda', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../img/IKIGAI_Logo.jpg') no-repeat center center fixed; 
    background-size: 1650px;
}
@media (min-width: 1024px) {
    body, html {
        background-size: 2250px;
    }
}
.container {
    text-align: center;
    position: relative;
    color: #ffffff;
    padding: 20px; /* Add padding to prevent content from sticking to edges */
}

.logo img {
    width: 100%; /* Use percentage for responsive logo size */
    max-width: 150px; /* Limit max width */
    margin-bottom: 20px;
}

.login-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 8px;
    width: 100%; /* Use percentage for responsiveness */
    max-width: 900px; /* Maximum width for larger screens */
    color: #ffffff;
    text-align: center;
    position: relative;
}

h2 {
    text-align: center;
    color: #c9965a;
    font-size: 2rem; /* Use rem for scalability */
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background: #ffffff;
    color: #333333;
    font-size: 1rem; /* Set base font size for input */
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #c9965a;
    color: #000;
    font-size: 1rem; /* Set base font size for buttons */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #7c583d; /* Darker gold */
}

.options {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.875rem; /* Adjust font size for options */
}

.options a {
    color: #c9965a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.options a:hover {
    color: #7c583d; /* Darker gold */
}

/* Responsive Design */
@media (max-width: 600px) {
    body, html {
        background-size: cover;
    }


    input {
        padding: 13px; /* Adjust input padding */
        font-size: 1rem; /* Ensure input font size is responsive */
    }

    h2 {
        font-size: 1.5rem; /* Adjust for smaller screens */
    }

    .login-box {
        padding: 20px; /* Reduce padding for smaller devices */
    }

    button {
        font-size: 1rem; /* Ensure button font size is responsive */
    }
}

.error {
    color: red;
    margin-top: 10px;
}
