#kids h1 {
    font-size: 3.8em;
    text-align: center;
    font-family: var(--ff-kids);
    font-weight: var(--fw-med);
    color: #fff
}

#kids h2 {
    font-size: 2.2em;
    text-align: center;
    font-family: var(--ff-kids);
    font-weight: var(--fw-med);
    color: var(--c-prim)
}

header {
    --ar: 1722 / 533;
    position: relative
}

header * {
    position: relative
}

header img {
    display: block
}

header h1 {
    white-space: pre-wrap;
    letter-spacing: .04em;
    line-height: 1em
}

header .text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

header .btn {
    color: #FFF;
    margin-top: 2rem;
    padding: .4em 1.8em;
    letter-spacing: .04em
}

#kids .btn {
    border-radius: 1.8em;
    background: #57C894;
    font-family: var(--ff-kids);
    font-size: 2em;
    transition: color .5s ease,box-shadow .5s ease
}

.games>*:hover .btn {
    color: #000;
    box-shadow: .4rem .4rem .4rem #C5F6C9
}

.games {
    --ar: 459 / 751
}

.games * {
    position: relative
}

.games>* {
    display: flex;
    flex-direction: column
}

.games .btn {
    margin-top: .4em;
    width: 100%;
    padding: .4em .8em;
    color: var(--c-prim)
}

.games h2 {
    padding: 0 1em;
    text-shadow: -.06em -.06em #57C894;
    letter-spacing: .04em
}

.games .cont {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1em
}

.games .cont::before {
    content: '';
    position: absolute;
    border-radius: 1.8em;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: var(--c-green-soft)
}

.games .image {
    width: 70%
}

.games .image .img-2 {
    opacity: 0
}

.games>*:hover .img-1 {
    opacity: 0
}

.games>*:hover .img-2 {
    opacity: 1
}

.games .image img {
    transition: opacity .5s ease
}

.games .tag {
    width: 100%;
    text-align: left;
    margin-bottom: 1em;
    font-family: var(--ff-kids);
    letter-spacing: .04em
}

.games p {
    padding: 1em
}

#kids-terms-popup h2 {
    text-align: center
}

#kids-terms-popup {
    padding: 2rem 0
}

#kids-terms-popup .inner {
    background: #fff;
    border-radius: 24px;
    padding-top: 2rem;
    height: 100%
}

#kids-terms-popup h2 {
    margin-bottom: 1rem
}

#kids-terms-popup .terms {
    padding: 0 2rem;
    overflow-y: scroll
}

#kids-terms-popup .bottom {
    padding: .8rem
}

@media (max-width: 992px) {
    header {
        --ar:2.4
    }
}

@media (max-width: 768px) {
    header {
        --ar:1.8
    }
}

@media (max-width: 576px) {
    header {
        --ar:.9
    }

    header .text {
        justify-content: flex-start;
        padding-top: 3rem
    }

    .games>* {
        width: 70%;
        margin: 0 auto
    }
}

@media (max-width: 480px) {
    header {
        --ar:1200 / 1700
    }

    .games>* {
        width: 100%
    }
}

.menu-logo {
    width: 8rem;
    font-weight: 800;
    max-width: 100%;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    font-weight: 800;
}