@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
* {
    text-decoration: none;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    border: 0px;
}
html {
    scroll-behavior: smooth;
}
body {
    color: rgb(20, 20, 20);
    font-family: 'Lato', sans-serif;
    background-color: #e2e2e2;
}
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 86px;
    background-color: #ffffff;
    padding: 18px 20%;
}
.logotype {
    color: #000000;
    font-weight: 700;
    font-size: 26px;
}
.list-but {
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 26px;
    background-color: #c88cec;
    color: #ffffff;
    border-radius: 12px;
    transition: 0.4s;
}
.list-but:hover {
    background-color: #c274f0;
    box-shadow: 0px 2px 16px #c88cec65;
}
.nav-link {
    color: #000000;
    transition: 0.4s;
}
.nav-link:hover {
    color: #a8a8a8;
}
.rb-nav {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.text-desc {
    text-align: center;
    margin-top: 36px;
    margin-left: auto;
    margin-right: auto;
    padding: 52px;
    width: 80%;
    background-color: #ececec;
    border-radius: 24px;
}
.text-desc h1 {
    color: #000000;
    font-size: 64px;
    font-weight: 900;
}
.text-desc .description {
    color: #424242;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    font-size: 22px;
    font-weight: 700;
}

.games-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin-top: 36px;
    margin-left: auto;
    margin-right: auto;
    padding: 36px;
    width: 80%;
    background-color: #ececec;
    border-radius: 24px;
    margin-bottom: 48px;
}
.game-card {
    padding: 36px;
    text-align: center;
    width: 400px;
    height: 360px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 0px 16px #c274f010;
    transition: 0.55s;
}
.game-card:hover {
    transform: scale(1.0125);
}
.game-banner {
    border-radius: 12px;
    width: 320px;
    height: auto;
}
.game-card h2 {
    margin-top: 16px;
    font-size: 26px;
    font-weight: 700;
}
.game-card button {
    margin-top: 24px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 24px;
    background-color: #c88cec;
    color: #ffffff;
    border-radius: 16px;
    transition: 0.45s;
}
.game-card button:hover {
    background-color: #c274f0;
    box-shadow: 0px 2px 16px #c88cec65;
}
.games-block .banner {
    width: 80%;
    height: auto;
    border-radius: 12px;
}
footer {
    width: 100%;
    height: 240px;
    background-color: #242424;
    padding: 36px 20%;
}
footer .logotype {
    color: #ffffff;
}
footer .desc {
    width: 60%;
    margin-top: 16px;
    color: #ffffff;
}

@media screen and (max-width: 620px) {
    header {
        justify-content: center;
    }
    .rb-nav {
        display: none;
    }
    footer .desc {
        width: 100%;
    }
}