/* Reset default margin and padding */
body, h1, label, select, button {
    margin: 0;
    padding: 0;
}

html {
    touch-action: manipulation;
}

/* Set a background color and center the content */
body {
    margin-top: 1rem;
    background-color: #24292E;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh; /* Ensure content takes up at least the full viewport height */
    color: white;
}

/* Style the header */
h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

/* Style the form container */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 80%;
    padding: 20px;
    background-color: #3C4045;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    padding-bottom: 0;
}

/* Style the form elements */
label {
    font-size: 18px;
    margin-bottom: 8px;
}

select {
    font-size: 16px;
    padding: 8px;
    width: 100%;
    margin-bottom: .4rem;
    text-align: center;
    color: black;
}

button {
    font-size: 18px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Add responsive styles for mobile devices */
@media only screen and (max-width: 1000px) {
    body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    h1 {
        font-size: 8rem;
    }

    label {
        font-size: 4rem;
    }

    select {
        font-size: 4rem;
    }

    button {
        font-size: 5rem;
        padding: 1rem 2rem;
        margin: 1rem;
    }

    form {
        width: 100%;
        height: 100%;
    }
}
