
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #111;
    
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 1rem; /* adds mobile-safe spacing */
}

/* Container */
.container {
    background-color: #111;
    color:#111;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 0 30px #494949;
    max-width: 800px;
    width: 100%;
}

/* Headings and Text */
h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #111;
}

h2 {
    color: #111
}

ul, li  {
    padding-left: 1rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #111;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #333;
    color: #fff
}

button.button {
    all: unset;
    display: inline-block;
    background: #fff;
    color: #111;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
}

/* Form Elements */
form {
    margin-top: 2rem;
    text-align: left;
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: #fff;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

/* Fieldset Styling */
fieldset {
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 2rem;
    background-color: #fff;
    margin-top: 2rem;
}

/* Menu */
.menu {
    margin-top: 1rem;
    font-size: 1rem;
    color: #111;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    color: #f7f7f7;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #888;
}

.menu span {
    color: #888;
    margin: 0 0.25rem;
}

span {
    color:#111;
}



/* Responsive Design */
@media (min-width: 768px) {
    body {
        max-width: 95%;
        margin: 0 auto;
    }

    .form-control.subject-select {
        width: 100%; /* Full width for mobile */
    }
    .button-container {
        align-items: stretch; 
    }
    
    .form-inline {
        gap: 10px;
    }
}
