@import "globals.css";

.menu {
    width: 100%;
    height: 70px;
    background: var(--gradient-color);

    display: flex;
    align-items: center;
}

.menu .container {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.menu .logo {
    height: 50px;
}

.header {
    width: 100%;
    height: 400px;
    background: url(../images/bg.jpg);
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    align-items: center;
}

.header .header-img {
    width: 400px;
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    user-select: none;
}

.header .header-contents {
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
}

.header .header-contents h1 {
    font-size: 46px;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    line-height: 60px;
    font-weight: 800;
    color: var(--tertiary-color);
    text-shadow: -1px -1px 1px rgba(255, 255, 255, .1), 1px 1px 1px rgba(0, 0, 0, .5);
}

.header .header-contents h1 span {
    font-size: 40px;
    font-weight: 800;
    color: white;
    border-bottom: 4px solid var(--secondary-color);
    width: max-content;
    text-shadow: -1px -1px 1px rgba(255, 255, 255, .1), 1px 1px 1px rgba(0, 0, 0, .5);
}

.header .header-contents h2 {
    text-transform: uppercase;
    color: white;
    font-size: 36px;
    font-weight: 800;
    text-shadow: -1px -1px 1px rgba(255, 255, 255, .1), 1px 1px 1px rgba(0, 0, 0, .5);
}

.header .header-contents h2 span {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: -1px -1px 1px rgba(255, 255, 255, .1), 1px 1px 1px rgba(0, 0, 0, .5);
}

@media screen and (max-width: 1150px) {
    .header .header-contents h1 {
        font-size: 52px;
    }
}

@media screen and (max-width: 900px) {
    .header .header-img {
        width: 350px;
    }
}

@media screen and (max-width: 750px) {
    .header {
        height: 350px;
    }

    .header .header-contents h1 {
        max-width: 10ch;
        line-height: 45px;
    }

    .header .header-contents h1 span {
        font-size: 38px;
    }

    .header .header-contents h2 {
        font-size: 22px;
    }

    .header .header-contents h2 span {
        font-size: 38px;
    }
}

@media screen and (max-width: 700px) {
    .header .header-img {
        width: 300px;
    }
}

@media screen and (max-width: 650px) {
    .header {
        height: 300px;
    }
}

@media screen and (max-width: 600px) {
    .header {
        padding-top: 2rem;
        padding-bottom: 2rem;
        height: 650px;
        align-items: start;
    }

    .header .header-contents h1 {
        font-size: 56px;
        line-height: 58px;
        max-width: unset;
        align-items: center;
    }

    .header .header-contents h1 span {
        font-size: 42px;
    }

    .header .header-contents h2 {
        font-size: 32px;
    }

    .header .header-contents h2 span {
        font-size: 48px;
    }

    .header .header-contents {
        align-items: center;
        text-align: center;
    }

    .header .header-img {
        width: 70%;
        right: unset;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 500px) {
    .header .header-contents h1 {
        font-size: 48px;
    }

    .header .header-contents h1 span {
        font-size: 36px;
    }

    .header .header-contents h2 span {
        font-size: 36px;
    }

    .header .header-contents h2 {
        font-size: 26px;
    }
}

@media screen and (max-width: 400px) {
    .header {
        height: 550px;
    }

    .header .header-contents h1 {
        line-height: 50px;
        font-size: 42px;
    }

    .header .header-contents h1 span {
        font-size: 32px;
    }
}

.steps {
    padding: 5rem 0;
    background-image: url(../images/coins-bg.png);
    background-size: 25%;
    background-repeat: no-repeat;
}

.steps .container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

.games .section-title {
    position: relative;
    padding: 0 10px;
    text-align: center;
}

.games .section-title h2 {
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 800;
    z-index: 1;
    position: relative;
    color: white;
}

.games {
    width: 100%;
    padding: 5rem 0;
    background-color: #35354e;
}

.games .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.games .games-list {
    display: flex;
    gap: 20px;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.games .games-list .game-box {
    width: 280px;
    cursor: pointer;
}

.games .games-list .game-box img {
    width: 100%;
}

@media screen and (max-width: 500px) {
    .games .games-list {
        flex-direction: column;
        align-items: center;
    }
}

.topics {
    width: 100%;
    height: auto;
    background: var(--gradient-color);
    padding: 4rem 0;
}

.topics .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.topics h2 {
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 800;
    color: white;
    text-align: center;
}

.topics .topic-list {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    margin-top: 60px;
}

@media screen and (max-width: 750px) {
    .topics .topic-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

.topics .topic-list .item {
    background-color: #00000034;
    border-radius: 10px;
    padding: 1.5rem 3rem 1.5rem 1rem;
}

.topics .topic-list .item:hover {
    background-color: #00000050;
    transition: .5s;
}

.topics .topic-list .item h3 {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 5px;
    font-size: 20px;
    color: var(--tertiary-color);
    font-weight: 600;
}

.topics .topic-list .item h3 img {
    width: 35px;
    pointer-events: none;
}

.topics .topic-list .item .item-description {
    font-size: 16px;
    color: var(--tertiary-color);
    text-align: left;
    padding-top: 1rem;
}

@-webkit-keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulsate-fwd {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}