.content-container {
    margin: 1.5rem;
}

.subtitle {
    color: #453422;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.content-div {
    color: #393839;
}

h1, h3 {
    text-align: center;
}

h2 {
    font-size: 1.8em;
    color: #453422;
    text-align: center;
}


a {
    color: #453422;
}

.form-container {
    min-width: 100%;
    display: flex;
    justify-content: center;
    margin: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    background-color: white;
    margin-bottom: 0.7rem;
    padding: 1rem;
    border-radius: 0.7rem;
    border: 0.5px solid #d3d3d3;
    min-height: 4rem;
    max-width: 75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.information-summary {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: white;
    padding: 1rem;
    border-radius: 0.7rem;
    border: 0.5px solid #d3d3d3;
    min-height: 4rem;
    max-width: 50rem;
    overflow: hidden;
    margin: auto;
    margin-bottom: 0.7rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    min-width: 15rem;
    width: 15rem;
}

.radio-container {
    margin-top: 0.5rem;
}

.phone-structure #prefix {
    min-width: 0;
}

h1 {
    color: #453422;
}


#error-message-text {
    color: red;
    font-weight: bold;
}

#dietary-group {
    display: flex;
}


#dietary-details textarea,
#accessible-details textarea {
    width: 30rem;
}

#dietary_requirements,
#accessible_requirements {
    width: 20rem;
}

input,
select {
    font-size: 0.9rem;
    padding: 0.5rem;
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
    border-radius: 0.3rem;
    border: 1.5px solid #a3a3a3;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: #77c146;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

#subtotal {
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
    color: #393839;
}

#subtotal-disclaimer {
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
    color: #393839;
}

button,
input[type="submit"] {
    background-color: #77c146;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    transition: all 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
    background-color: #5ea32b;
}

.cancel-button {
    background-color: #8d8d8d;
}

.cancel-button:hover {
    background-color: #6e6e6e;
}

#bank-transfer-info-content {
    position: relative;
    top: 20vh;
    margin: auto;
    width: 60vw;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confirmation {
    text-align: left;
    width: 65%;
}

.registration-info {
    max-width: 92%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    margin-top: 0;
    font-size: 1.2em;
    line-height: 1.6;
}

@media only screen and (max-device-width: 480px) and (orientation: portrait) {
    h1 {
        font-size: 3.2em;
    }

    h2 {
        font-size: 2.2em;
    }

    h3 {
        font-size: 1.8em;
    }

    .grid-item-text {
        font-size: 1.4em;
    }

    .student-disclaimer {
        font-size: 0.8em;
    }

    table {
        font-size: 1.5em;
    }

    p {
        font-size: 1.6rem;
    }

    label,
    span {
        font-size: 2.5rem;
    }

    select,
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        font-size: 2.5rem;
        width: auto;
    }

    input[type="checkbox"],
    input[type="radio"] {
        width: 2.5rem;
        height: 2.5rem;
    }

    .form-container {
        max-width: 99%;
    }

    input[type="submit"],
    button {
        font-size: 2.5rem;
        padding: 1rem 2rem;
    }

    .content-container {
        margin: 0.5rem;
        padding: 1rem;
    }

    .information-summary {
        font-size: 1.5rem;
        max-width: 90vw;
    }

    .payment-methods {
        font-size: 2rem;
    }
}