@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #54585A;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background: #ebebeb;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: transparent;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.5625rem;
    line-height: 1.2;
    margin: 1.5rem 0 1rem;
}

h2 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin: 0 0 1.5rem;
}

h1 span,
h2 span {
    white-space: nowrap;
}

h3 {
    font-size: 1.2rem;
    color: #8bbe28;
    margin: 0 0 1rem;
}

h4 {
    font-size: 1.2rem;
    margin: 0 0 .5rem;
}

h5 {
    font-size: 1.5625rem;
    font-weight: 700;
    margin: 1rem 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    padding-left: 2rem
}

ul li:before {
    content: "\25A0";
    float: left;
    margin-left: -1rem;
    font-size: 0.625rem;
    line-height: 2.2;
    color: #adc801;
}

header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    padding: 2rem 2rem 1rem;
    margin-bottom: .5rem;
}

header div {
    width: 68%
}

.info {
    display: flex;
    gap: 5rem;
}

.info :is(.fas, .far) {
    margin-right: 0.625rem;
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    30% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    64% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    97% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}

.slider {
    overflow: hidden;
}

.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}

figure img {
    width: 25%;
    float: left;
}

article p {
    margin: 0 0 1rem;
}

section {
    background: #fff;
    margin: 0 0 .5rem;
    padding: 1rem 1.5rem;
}

.flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
}

.flex :is(figure, .aside) {
    margin: 0;
}

.button {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 .5rem;
}

.button a.apply {
    color: #fff;
    background: #AFCA0B;
    font-size: 1.1rem;
    text-align: center;
    border: solid 0.125rem #AFCA0B;
    padding: .7rem 2rem;
    width: 14.375rem;
}

a.apply:hover {
    background: #fff;
    color: #8BBE28;
}

.section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
    width: 50%;
}

.fa-solid {
    font-size: 3.2rem;
}

.details p {
    margin: 0;
}

footer {
    background: #fff;
    padding: 1rem;
    margin-top: .5rem;
}

footer p {
    text-align: center;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        hyphens: auto;
        padding: 1rem
    }

    .flex:last-of-type {
        gap: 50px
    }

    .section {
        width: auto
    }
}

@media only screen and (max-width: 679px) {
    h1 {
        font-size: 1.4375rem
    }

    h2 {
        font-size: 1.25rem;
    }

    h3,
    h4 {
        font-size: 1.125rem;
    }

    h5 {
        font-size: 1.1875rem;
        line-height: 1.3;
        margin: 0 0 0.625rem;
    }

    h3 {
        margin: 0 0 0.3125rem;
    }

    header {
        justify-content: center;
        flex-direction: column-reverse;
        align-items: center;
        padding: 1rem;
    }

    header h2 {
        text-align: center;
    }

    header div {
        width: auto;
    }

    .info {
        align-items: center;
        justify-content: center;
        gap: 3rem
    }

    section {
        padding: 1rem;
    }

    section:nth-of-type(5) h3 {
        margin: 0 0 1rem;
        text-align: center;
    }

    .aside :is(h3, p),
    .details :is(h4, p) {
        text-align: center
    }

    :is(.flex, .section) {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }

    .section {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    ul li {
        padding-left: 1rem
    }

    .flex:last-of-type {
        gap: 2rem
    }
}
