@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    line-height: 1.3;
    color: #04489c;
    padding-bottom: .5rem;
}

h2 {
    font-size: 1.25rem;
    font-weight: normal;
    padding: 1rem 0;
    color: #04489c;
}

hr {
    margin: 2rem 0;
    border-style: none;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
}

ul {
    padding: 0 0 1rem 3rem;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 30s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
    animation-delay: 12s;
}

.slider>img:nth-of-type(4) {
    animation-delay: 18s;
}

.slider>img:nth-of-type(5) {
    animation-delay: 24s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }
}

.person {
    margin-bottom: 1rem;
}

.social {
    display: flex;
    gap: .75rem;
    flex: 0 0 auto;
}

.button {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.button a {
    padding: 10px 20px;
    background-color: #04489c;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    display: inline-block;
    text-decoration: none;
}

.button a:hover {
    background-color: #086de8;
}

.prize {
    display: flex;
    gap: .625rem;
    align-items: center;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

article {
    padding: 2rem;
}

footer {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: start;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 44rem) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    article {
        padding: 2rem 1rem;
    }

    footer {
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }

    hr {
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 35rem) {
    h1 {
        font-size: 1.7rem;
        text-align: center;
    }

    h1+p {
        text-align: center;
    }

    ul {
        padding-left: 1rem;
    }

    .person {
        width: fit-content;
        margin: 0 auto 1rem;
    }

    .center {
        text-align: center;
    }

    .social,
    footer {
        justify-content: center;
    }
}