@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    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;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    border: solid 1px #FFC000;
    background: #FF0000;
    background: linear-gradient(180deg, rgba(255, 0, 0, 1) 20%, rgba(255, 122, 57, 1) 40%, rgba(255, 214, 101, 1) 60%, rgba(204, 224, 241, 1) 80%);
    padding: 16px;
}

main {
    border: solid 1px #FFC000;
    background: url(../images/bg.jpg) no-repeat center center #fff;
    background-size: contain;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 16px;
}

span {
    white-space: nowrap;
}

h1 {
    font-size: 35px;
    background: #DBDBDB;
    color: #FF0000;
    padding: 5px 16px;
    text-align: center;
    margin: 0 0 10px;
}

h1 small {
    font-size: 18px;
    color: #000;
}

h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    width: 79%
}

ul li {
    padding-left: 40px
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -25px;
    font-size: 26px;
    line-height: 1;
}

header {
    padding: 16px;
}

article {
    padding: 0 16px;
}

section {
    border-bottom: solid 2px #000;
    border-top: solid 2px #000;
    padding: 10px 16px 0;
}

.flex {
    display: flex;
    gap: 10px;
}

.text,
.flex > p {
    padding: 5px 0 0;
}

.flex p {
    font-size: 17px;
}

.flex:last-of-type {
    position: relative;
}

.icon {
    position: absolute;
    right: 15%;
    bottom: 12%;
}

footer {
    padding: 0 16px;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 10px;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        width: 100%
    }

    br {
        display: none;
    }

    .icon {
        right: 1%;
        bottom: 12%;
    }

    h1 br {
        display: block;
    }

    main {
        background: url(../images/bg.jpg) no-repeat top center #fff;
        background-size: contain;
    }
}

@media only screen and (max-width: 599px) {
    .flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }

    .icon {
        position: static;
        margin: 10px 0;
    }

    footer {
        text-align: center;
        padding: 10px 16px 0;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 25px;
    }

    ul li {
        padding-left: 20px
    }

    ul li:before {
        margin-left: -20px;
    }
}
