@media screen and (min-width: 1280px) {
    html {
        font-size: 1.15vw;
        /* px to vw converter */
    }
}

@media screen and (max-width: 1279px) {
    html {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    color: #333;
    background: #fff;
}

p {
    margin-bottom: 0.7rem;
    /* Átszámítás: 15(px):22(px)=0.68~0.7rem */
    line-height: 1.5;
}

p:last-of-type {
    margin-bottom: 0;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    line-height: 1.2;
    position: relative;
}

h1 {
    font-size: 2.75rem;
    /* Átszámítás: 64(px):22(px)=2.909~2.75rem */
    font-weight: bold;
    text-transform: uppercase;
}

h2 {
    font-size: 2.25rem;
    /* Átszámítás: 64(px):22(px)=2.909~2.75rem */
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

h2:before {
    content: "";
    display: block;
    width: 100%;
    height: 1rem;
    background: #ffdb31;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}

h3 {
    font-size: 1.6rem;
    /* Átszámítás: 36(px):22(px)=1.63~1.6rem */
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.home h1 {
    font-size: 2.75rem;
    /* Átszámítás: 64(px):22(px)=2.909~2.75rem */
    margin-bottom: 0.5rem;
}

.home h2 {
    font-size: 2.75rem;
    /* Átszámítás: 64(px):22(px)=2.909~2.75rem */
    margin-bottom: 2rem;
}

p + h2,
ul + h2,
ol + h2,
S p + ol {
    margin-top: 2rem;
}

/* +: Első testvér kijelölő */

#main-content-top h1:before {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    background: #ffdb31;
    position: absolute;
    left: calc(-50% - 1.5rem);
    bottom: 0;
    margin-bottom: 0;
}

a {
    color: #ffdb31;
    text-decoration: none;
}

.button {
    display: inline-block;
    background: #ffdb31;
    color: inherit;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0.5rem 0.7rem;
    /* Átszámítás: 10(px):22(px)=0.45~0.5rem */
}

.button:hover {
    background: #333;
    color: #ffdb31;
}

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.5rem;
    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;
}
