@media screen and (min-width:1280px) {
    html {
        font-size: 1.15vw;
    }
}

@media screen and (max-width:1279px) {
    html {
        font-size: 18px;
    }
}

@media screen and (max-width:480px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: #fff;
}

p {
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

p:last-of-type {
    margin-bottom: 0;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    font-family: 'Pacifico', cursive;
    line-height: 1.2;
    position: relative;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
    padding: 0 1rem;
    display: inline-block;
    margin: 2rem 0 1rem 0;
}

h2:before {
    content: "";
    display: block;
    width: 100%;
    height: 1rem;
    background: #FFDB31;
    position: absolute;
    margin-top: 2rem;
    bottom: 0;
    left: 0;
    z-index: -1;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

p + h2,
ul + h2,
ol + h2,
p + ol {
    margin-top: 2rem;
}

#main-content-top h1:before {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    background: #FFDB31;
    position: absolute;
    bottom: 0;
    left: calc(-50% - 1.5rem);
    margin-bottom: 0;
}

a {
    color: #FFDB31;
    text-decoration: none;
}

.button {
    display: inline-block;
    background: #FFDB31;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0.5rem 0.7rem;
    color: #333;
}

.button:hover {
    color: #fff;
}

main ul {
    margin-bottom: 1rem;
}

main ul li {
    padding-left: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    position: relative;
}

main ul li:before {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background: #FFDB31;
    position: absolute;
    top: 0.5rem;
    left: 0;
}

main ol {
    margin-bottom: 1rem;
    counter-reset: li-counter;
}

main ol li {
    padding-left: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    position: relative;
}

main ol li:before {
    content: counter(li-counter);
    counter-increment: li-counter;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5;
    background: #FFDB31;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    font-weight: bold;
}

blockquote {
    background: #F5F5F5;
    padding: 1rem 1rem 1rem 1.5rem;
    border-left: solid #FFDB31 0.5rem;
    font-size: larger;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.5;
}
