* {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    overscroll-behavior-x: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #333333;
}

section {
    display: flex;
    padding: 125px 5%;
    background-color: #f4f4f4;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

p {
    font-size: 22px;
}

ul {
    list-style-type: none;
    padding: 0;
}


button {
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
}


.top-banner {
    background-color: #3333339f;
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 1000;
    align-items: center;
    color: white;
    display: flex;
    flex-wrap: wrap;
}

.nav-buttons {
    flex: 1;
    display: flex;
    justify-content: end;
    align-items: baseline;
    flex-wrap: wrap;
    padding: 4px;
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
}

.nav-buttons button {
    padding: 10px;
    background-color: #00000000;
    white-space: nowrap;
}

.collapsed {
    max-height: 0px;
}

.expanded {
    max-height: 200px;
}

.banner-toggle-button {
    color: black;
    position: absolute;
    bottom: -42px;
    width: 120px;
    right: 0;
    background-color: #69696998;
    border-radius: 0 0 10px 10px;
}


.top-image {
    background: url('images/banner-image.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-flow: column;
    color: white;
    height: 750px;
    align-items: start;
    align-content: stretch;
    text-align: left;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    overflow-x: none;
    overflow-y: scroll;
}

.top-image>* {
    display: inline-block;
    max-height: 100%;
}

.logo-image {
    width: calc(min(85vw, 20em));
    padding: 24px;
}

.logos img {
    object-fit: contain;
    width: calc(min(70vw, 24em));
}

.top-tagline {
    max-width: 75%;
    font-weight: bold;
    font-size: 3em;
    color: white;
    text-align: start;
    flex: 2;
    display: flex;
    align-items: flex-end;
    margin: 32px;
}

.top-description {
    color: white;
    text-align: start;
    width: 55%;
    display: flex;
    align-items: flex-end;
    margin: 32px;
}

.logos {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
}

.elevated {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.section-divider {
    height: 6px;
    width: 50%;
    border-radius: 32px;
    margin: 32px;
    background-color: rgba(134, 134, 134, 0.623);
}

.section-tag {
    position: relative;
    top: -50px;
}

.section-image-container {
    width: 35vw;
    height: fit-content;
    display: inline-block;
    border-radius: 8px;
    align-items: start;
}

.section-image {
    background-size: cover;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    display: inline-block;
    width: 95%;
    padding: 12px 0px;
    align-items: flex-end;
}

.section-image-caption {
    font-size: 1.5em;
    padding: 0 32px;
    display: flex;
    font-style: italic;
    text-align: center;
    text-wrap: wrap;
    justify-content: center;
}

.section-text {
    display: inline-block;
    width: 45vw;
    margin: 16px 2%;
    display: flex;
    flex-direction: column;
    text-wrap: wrap;
}

/* Mobile-specific differences */
@media (max-width: 900px) {
    section {
        flex-direction: column;
    }

    .section-image-container {
        width: 90vw;
    }

    .section-text {
        width: 90vw;
    }

    .mobile-invert {
        flex-direction: column-reverse;
    }

    blockquote, blockquote * {
        display: none;
        height: 0;
    }
}


.emphasised,
.emphasised * {
    font-size: 24px;
    font-weight: bold;
}


.form-section {
    background-color: #333;
    color: white;
    padding: 50px 20px;
    text-align: center;
    left: -1em;
    justify-content: space-evenly;
}

form label, input, textarea {
    margin-bottom: 0px;
    width: 75%;
    padding: 12px;
    z-index: 1000;
}

form button {
    margin-bottom: 32px;
}

blockquote {
    font-style: italic;
    font-size: 1em;
    padding: 0 16px;
    margin: 0 64px;
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 25vw;
}

blockquote p {
    font-size: 1em;
}

.quotation-mark {
    font-size: 2em; position: absolute;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-content: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: calc(min(90vw, 30em));
    margin: 32px auto;
    background-color: #444;
    border-radius: 8px;
    padding: 2%;
}

.keystage-dropdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    margin: 40px;
    height: 64px;
    max-width: 80%;
}

.twitter-tweet {
    margin: 10px auto;
    overflow: hidden;
}


footer {
    background-color: #181818;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
}


h1 {
    font-size: 52px;
    color: white;
    margin: 0;
    padding: 8px;
}

h3 {
    font-size: 22px;
    color: white;
    margin: 0;
    padding: 8px;
}


label,
input,
textarea {
    display: block;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    border: none;
}

form input,
textarea {
    background-color: #555;
    color: white;
}

form button {
    background-color: #272727;
    font-size: 16px;
    color: white;
    padding: 10px 40px;
    margin-top: 30px;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.wrap-list li {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #eb7037;
    color: white;
    border-radius: 4px;
    font-size: 16px;
    cursor: default;
    user-select: none;
}