/* styles.css */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('background3.JPG') no-repeat center center fixed;
    background-size: cover;
}

.background {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.container {
    background-color: rgba(4,66,32, 0.948);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-sizing: border-box;
    position: center;
    z-index: 2;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .container:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(15, 79, 218, 0.3);
    }

h1 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #f8f9fc;
}

h6 {
    margin-bottom: 20px;
    font-size: smaller;
    color: brown;

}
form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20%;
}

label {
    margin: 10px 0 5px;
    width: 100%;
    font-weight: 500;
    color: #ffffff;
}

    label .icon {
        margin-right: 5%;
    }

input {
    padding: 12px;
    margin-bottom: 20px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
}

button {
    padding: 12px 20px;
    background-color: #b32a20;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    align-self: center;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

    button:hover {
        background-color: #9d3724;
        transform: translateY(-2px);
    }

.results {
    text-align: left;
    margin-top: 20px;
}

    .results p {
        margin: 10px 0;
        font-size: 1.1em;
        color: rgb(255, 255, 255);
    }

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 30px;
        max-width: 90%;
    }

    h1 {
        font-size: 1.8em;
    }

    input, button {
        font-size: 0.9em;
        padding: 10px;
    }

    button {
        padding: 10px 15px;
    }

    .results p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.5em;
    }

    input, button {
        font-size: 0.8em;
        padding: 8px;
    }

    button {
        padding: 8px 12px;
    }

    .results p {
        font-size: 0.9em;
    }
}
