@font-face {
    font-family: 'AtypDisplay';
    src: url('/assets/fonts/atyp-font-family/AtypDisplayTRIAL-Light-BF65727125c722b.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'AtypDisplay';
    src: url('/assets/fonts/atyp-font-family/AtypDisplayTRIAL-Regular-BF65727125d566e.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'AtypDisplay';
    src: url('/assets/fonts/atyp-font-family/AtypDisplayTRIAL-Medium-BF65727125b8683.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'AtypDisplay';
    src: url('/assets/fonts/atyp-font-family/AtypDisplayTRIAL-Semibold-BF65727125c6fc9.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'AtypDisplay';
    src: url('/assets/fonts/atyp-font-family/AtypDisplayTRIAL-Bold-BF65727125c8d1d.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'AtypDisplay';
    src: url('/assets/fonts/atyp-font-family/AtypDisplayTRIAL-Black-BF65727125cbd9c4.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

body {
    margin: 0;

    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;

    background-color: #010000;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}

a, button {
    all: unset;
    cursor: pointer;
}

/* Container
===================*/
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 15px;
}

.first-screen {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_title {
    font-size: 50px;
    padding: 25px 0px;
    width: 100%;
    text-align: center;
    background: #131212;
    border-radius: 21px;
    margin-bottom: 120px;
}

.games {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 45px;
}

.games_block {
    padding: 18px 0px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    transition: .3s linear;
}

.games a {
    position: relative;
    width: 33.33333%;
    background: linear-gradient(to right, #373636, #373636);
    height: auto;
    display: flex;
    border-radius: 21px;
/*    overflow: hidden;*/
    transition: .3s linear;
}

.games .active3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    border-radius: 21px;
    height: 100%;
    background: linear-gradient(to right, #7b24ff, #fefeff);
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.games .active3:hover::before {
    opacity: 1;
}



.games .active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    border-radius: 21px;
    height: 100%;
    background: linear-gradient(to right, #ff0145, #fffdfe);
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.games .active:hover::before {
    opacity: 1;
}

.games .active2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    border-radius: 21px;
    height: 100%;
    background: linear-gradient(to right, #ff6d01, #fffdfe);
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.games .active2:hover::before {
    opacity: 1;
}


.games_block img {
    position: relative;
    z-index: 5;
}

.game_hot {
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #c70035;
    background: linear-gradient(to right, rgb(169 0 45 / 50%), rgb(165 165 165 / 50%));
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 17px;
    transform: translate(10px, -50%);
}

@media(max-width: 756px) {

    .games a {
        width: 100%;
        background: #373636;
        height: auto;
        display: flex;
        border-radius: 21px;
    }
    .games {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: 25px;
        flex-direction: column;
        align-items: center;
    }
    .main_title {
        font-size: 37px;
        padding: 25px 20px;
        width: 100%;
        text-align: center;
        background: #131212;
        border-radius: 21px;
        margin-bottom: 70px;
        line-height: 1.1;
    }
}