body {
    margin: 0;
}

.hero {
    position: relative;
    height: 672px;
    overflow: hidden;
}

.hero video {
    position: absolute;
    left: calc(50% - 960px);
    top: 0;
    width: 100%;
    min-width: 1920px;
    object-position: center;
    object-fit: cover;
    height: 672px;
}

.hero .hero-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.hero .hero-wrapper {
    max-width: 960px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logotype .dark-logo {
    display: none;
}

.info {
    display: flex;
    flex-direction: row;
    align-items: end;
    width: 100%;
    padding: 25px 1rem 50px 1rem;
    box-sizing: border-box;
}

.info__title {
    flex-grow: 1;
    flex-basis: auto;
}

.info__intl, .info__deadline {
    flex-basis: 220px;
    padding-bottom: 10px;
}

/* COMPETITION DETAILS */

.competition {
    height: 876px;
    overflow: hidden;
    background-image: url('../giffard-images/competition-bg-giffard-2022.jpg');
    background-size: cover;
    background-position: center;
}

.competition .competition-wrapper {
    padding-top: 55px;
    width: 790px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.competition__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 32px;
}

.competition__links {
    padding-bottom: 55px;
}

/* PROGRAM */

.program {
    height: 1008px;
    overflow: hidden;
    background-image: url('../giffard-images/program-bg-giffard-2022.jpg');
    background-size: cover;
    background-position: center;
}

.program .program-wrapper {
    padding-top: 55px;
    width: 720px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.program__content {
    background-color: rgba(255, 255, 255, .8);
    padding: 32px;
}

.program__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 64px;
}

/* CONTACT */

.contact {
    /* height: 100%; */
    overflow: hidden;
    background-image: url('../giffard-images/contact-bg-giffard-2022.jpg');
    background-size: cover;
    background-position: center;
    padding-bottom: 80px;
}

.contact .contact-wrapper {
    padding-top: 55px;
    max-width: 755px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* TYPOGRAPHY 🔤 */

h3 {
    font-family: 'Noto Serif';
    font-size: 26px;
    line-height: 29px;
}

h4 {
    font-family: 'Noto Serif';
    font-size: 16px;
    line-height: 22.4px;
    margin-bottom: 0;
    font-style: italic;
}

p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    line-height: 22.4px;
}

strong {
    font-weight: 700;
}

.extra-margin-bottom {
    margin-bottom: 32px;
}

.extra-margin-bottom.large {
    margin-bottom: 55px;
}

.centered-text {
    text-align: center;
}

.light-text {
    color: #fff;
}

.lead {
    font-family: 'Noto Serif', serif;
    font-size: 16px;
    line-height: 24px;
}

.larger {
    font-size: 26px;
    line-height: 31.4px;
}

.section-title {
    font-style: italic;
    font-size: 42px;
    line-height: 50px;
    margin-top: 0px;
}

/* FORM 📫 */

form {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

form > .float-left {
    width: 50%;
    margin-right: 32px;
    float:left;
}

form > .float-right {
    width: calc(50% - 32px);
    float:left;
}

form > .float-right .medium-8 {
    width: 66.666%;
    margin-right: 8px;
    float: left;
}

form > .float-right .medium-4 {
    width: calc(33.333% - 8px);
    float: left;
}

form input, form textarea, form select {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem !important;
    height: auto !important;
    font-size: 0.8rem !important;
    border-radius: 0;
    background-color: #fff;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    color: rgba(0, 0, 0, 0.75);
    display: block;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
    transition: border-color .15s linear,background .15s linear;
}

form input:focus, form textarea:focus {
    background: #fafafa;
    border-color: #999;
    outline: none;
}

form p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 22.4px;
    color: #fff;
}

form input[type="file"] {
    border: none;
    background-color: transparent;
    color: #fff;
    padding-top: 0px;
}

.file-details {
    display: flex;
    margin-top: 16px;
}

.file-input {
    width: 210px;
}

.file-text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

form input[type="submit"] {
    display: block;
    width: 230px;
    height: 68px!important;
    font-weight: 700;
    font-family: 'Noto Serif', serif;
    font-size: 20px!important;
    color: #fff;
    border: 2px solid #fff;
    text-decoration: none;
    position: relative;
    text-align: center;
    margin: 0 auto;
    background: transparent;
    margin-bottom: 0!important;
    margin-top: 32px;
}

form input[type="submit"]:hover {
    color: #000;
    border: 2px solid #fff;
    background: #fff;
}

form .wpcf7-response-output {
    margin-top: 16px;
    font-weight: bold;
    color: #fff;
}

.acceptance {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
}

.acceptance input {
    width: 15px;
    margin-right: 10px;
    margin-bottom: 0px!important;
}

/* CTA 👉 */

.cta-wrapper {
    position: relative;
    display: block;
}

.cta {
    display: block;
    width: 230px;
    height: 68px;
    line-height: 68px;
    font-weight: 700;
    font-family: 'Noto Serif', serif;
    font-size: 20px;
    color: #0E2429;
    border: 2px solid #fff;
    text-decoration: none;
    position: relative;
    text-align: center;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    left: calc(50% - 103px);
    top: calc(50% - 21px);
    width: 206px;
    height: 42px;
    background-color: #fff;
    transition: transform .25s ease;
}

.cta-wrapper:hover::before {
    transform: scaleX(1.12) scaleY(1.62);
    transform-origin: center;
}

/* MEDIA QUERIES 👈    👉 */

@media (min-width: 1920px) {
    .hero video {
        left: 0px;
    }
}

@media (max-width: 860px) {
    .hero {
        position: relative;
        height: 778px;
        overflow: hidden;
        background-image: url('../giffard-images/hero-bg-giffard-2022.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .hero video {
        display: none;
    }

    .hero .hero-wrapper {
        width: 100%;
    }

    .logotype .light-logo {
        display: none;
    }
    .logotype .dark-logo {
        display: block;
    }

    .info {
        flex-direction: column;
        align-items: center;
    }
    
    .info__title {
        flex-grow: 0;
        flex-basis: auto;
    }
    
    .info__intl, .info__deadline {
        flex-basis: auto;
        padding-bottom: 0;
    }

    .competition {
        height: 1325px;
        background-image: url('../giffard-images/competition-mobile-bg-giffard-2022.jpg');
    }

    .program {
        height: 1568px;
        background-image: url('../giffard-images/program-mobile-bg-giffard-2022.jpg');
    }

    .competition .competition-wrapper, .program .program-wrapper {
        width: 360px;
    }
    .competition__details, .program__details {
        grid-template-columns: 1fr;
    }

    .contact {
        background: #112023;
        height: 100%;
        padding-bottom: 65px;
    }

    form > .float-left {
        width: 100%;
        margin-right: 0px;
        float:left;
    }
    
    form > .float-right {
        width: 100%;
        float:left;
    }
}