* {
    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: 2% 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;
    margin-right: 16px;
    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;
    max-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;
    padding-top: 125px;
}

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

.logos {}

.logos img {
    width: 32vw;
}


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

.top-description {
    color: white;
    text-align: start;
    width: 50%;
    display: flex;
    align-items: flex-end;
    margin: 48px;
    font-size: 1.5em;
}

.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;
}

.robo-program {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    padding: 16px;
    margin: 0% 2%;
}

.logo-image {
    max-width: 65%; margin: 16px 32px; height: 20em; object-fit: contain;
}

.section-divider-parent {
    display: flex;
    background-color: #f4f4f4;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

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


.divider {
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
    height: 1px;
    width: 100%;
}

.div-transparent:before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    width: 90%;
    height: 1.5px;
    background-image: linear-gradient(to right, transparent, rgb(48, 49, 51), transparent);
}

.div-arrow-down:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -7px;
    left: calc(50% - 7px);
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    background-color: #f4f4f4;
    border-bottom: 1px solid rgb(48, 49, 51);
    border-right: 1px solid rgb(48, 49, 51);
}

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

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

.section-image-container {
    width: 50vw;
    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;
}


/* 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;
    }

    .mobile {
        flex-direction: column;
    }

    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;
}

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;
    margin: 0;
    padding: 8px;
}

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


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

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;
}

.carousel {
    width: 100%;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.carousel-cell {
    width: 40%;
    @media only screen and (max-width: 600px) {
        width: 80%;
    }
    padding: 16px;
    margin: 16px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    align-items: center;
    align-self: center;
}


.carouselOfImages {
    position: relative;
    margin: auto;
    overflow: visible;
    width: 100%;
}

.gradient-left {
    display: block;
    position: relative;
    background-image: linear-gradient(to right, whitesmoke, transparent 100%);
    margin-top: -270px;
    height: 150px;
    width: 8%;
    content: '';
}

.gradient-right {
    display: block;
    position: relative;
    float: right;
    right: 0;
    background-image: linear-gradient(to left, whitesmoke, transparent 100%);
    margin-top: -150px;
    height: 150px;
    width: 8%;
    content: '';
}

@media only screen and (max-width: 1300px) {
    .carouselImage {
        width: 30%;
    }
}

@media only screen and (max-width: 773px) {
    .carouselImage {
        width: 50%;
    }

}

@media only screen and (max-width: 490px) {
    .carouselImage {
        width: 50%;
        padding: 15px;
    }

}


.carouselImage.is-selected {

    z-index: 10;
    transform: scale(1);
}

.carouselImage.nextToSelectedLeft,
.carouselImage.nextToSelectedRight {
    transform: scale(1);
    z-index: 5;
}

/*! Flickity v2.0.5
  https://flickity.metafizzy.co
  ---------------------------------------------- */

.flickity-enabled {
    position: relative;
}

/* .flickity-enabled:focus { outline: none; } */

.flickity-viewport {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* draggable */

.flickity-enabled.is-draggable {
    -webkit-tap-highlight-color: transparent;
    /*           tap-highlight-color: transparent; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.flickity-viewport {
    margin: 0px;
    width: 100%;
}