@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #555;
    font-family: "Segoe UI", 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: linear-gradient(180deg, #F59C00 50%, #f5f5f5 50%);
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 .937rem;
}

h1 {
    color: #f59c00;
    text-transform: uppercase;
    font-size: 1.875rem;
    margin: 0;
    padding: .625rem 1.562rem;
    background: #fff;
}

h1 span {
    font-size: 1.562rem
}

h2 {
    background: #F59C00;
    color: #fff;
    padding: .312rem .937rem;
    font-size: 1.125rem;
    margin: 0 0 .937rem;
    font-weight: 400;
    text-transform: uppercase
}

h3 {
    font-size: 1em;
}

ul {
    list-style: none;
    margin: 0 0 .937rem;
    padding: 0;
}

ul li {
    padding-left: 1.875rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -.937rem;
    font-size: 1.375em;
    line-height: 1.1;
}

header {
    padding: .937rem;
    background: #fff;
    margin-bottom: 1.562rem
}

aside {
    position: relative
}

element {
    display: block;
    position: absolute;
    background: #F1F1F1;
    right: 0;
    width: 55%;
    top: 35%;
    padding: 1.562rem 0;
}

article {
    background: #fff;
    padding: .937rem .937rem .312rem;
    margin-top: 1.562rem
}

main {
    display: flex;
    justify-content: space-between
}

main section {
    width: 48%
}

main section p {
    padding-left: .937rem
}

main section:last-of-type ul {
    margin-bottom: 3.437rem
}

article p span {
    display: inline-block;
    width: 7.5rem;
}

footer p span {
    display: inline-block;
    width: 3.75rem;
}

footer {
    background: #F59C00;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: .937rem .937rem;
    margin-top: 1.562rem
}

footer p {
    margin-bottom: 0;
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    22% {
        left: 0%;
    }

    25% {
        left: -100%;
    }

    47% {
        left: -100%;
    }

    50% {
        left: -200%;
    }

    72% {
        left: -200%;
    }

    75% {
        left: -300%;
    }

    97% {
        left: -300%;
    }

    100% {
        left: -400%;
    }
}

.slider {
    overflow: hidden;
    width: 65%
}

.slider figure {
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 24s slidy infinite;
}

figure img {
    width: 20%;
    float: left;
}

@media only screen and (max-width: 56.187rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 16px;
    }

    element {
        padding: .937rem 0;
        bottom: 0;
        top: auto
    }

    h1 {
        padding: .937rem
    }

    footer {
        display: block;
        text-align: center
    }
}

@media only screen and (max-width: 45.625rem) {
    element {
        position: static;
        width: 100%
    }

    .slider {
        width: auto
    }

    h1 {
        line-height: 1.2;
        font-size: 1.75rem
    }

    h1 span {
        font-size: 1.25rem
    }

    main {
        display: block
    }

    main section {
        width: 100%
    }

    main section:last-of-type ul {
        margin-bottom: .937rem
    }
}

@media only screen and (max-width: 23.438rem) {

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}
