@font-face {
    font-family: "CraftworkGrotesk";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("fonts/CraftworkGrotesk-Regular.woff");
}

@font-face {
    font-family: "CraftworkGrotesk";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/CraftworkGrotesk-Medium.woff");
}

@font-face {
    font-family: "CraftworkGrotesk";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/CraftworkGrotesk-Bold.woff");
}

@supports (backdrop-filter: invert(100%)) or (-webkit-backdrop-filter: invert(100%)) {
    .no-cursor {
        cursor: none;
    }
}

#cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 100;
}

#mouse-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    left: -100px;
    top: -100px;
    z-index: 999;
    -webkit-backdrop-filter: hue-rotate(120deg) invert(100%);
    backdrop-filter: hue-rotate(120deg) invert(100%);
    position: absolute;
    transform: translate(-20px, -20px);
    pointer-events: none;
    font-size: 50px;
    line-height: 66px;
    text-align: center;
    transition:
        transform 200ms ease-out,
        width 200ms ease-out,
        height 200ms ease-out;
}

@media (hover: none) {
    #mouse-circle {
        display: none;
    }
}

html {
    font-family: "CraftworkGrotesk", "Poppins", sans-serif;
    background-image: linear-gradient(to bottom, #104256, #17384b, #1a2f3f, #1a2634, #181e28);
    background-image: url("./images/BG-2.png");
    background-position-x: center;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    overflow: hidden auto;
}

body {
    padding: 20px 40px;
    max-width: 1030px;
    margin: 0 auto;
    min-height: 100vh;
    overflow: hidden;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.header-logo {
    display: flex;
    align-items: center;
    font-size: 1rem;
    padding-bottom: 20px;
    font-weight: 800;
    font-family: "Poppins", sans-serif;
}

.header-logo img {
    height: 120px;
    padding-right: 10px;
}
h1 {
    font-size: 1.75rem;
    line-height: 1.25;
}
.outer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.socials {
    padding-bottom: 20px;
}
.social-link {
    display: inline-block;
    margin-left: 30px;
    transition-duration: 0.3s;
}
.social-link:hover {
    transform: scale(1.1);
}

.social-link img {
    width: 42px;
    height: 42px;
}

#about-us {
    padding: 0 0 30px;
}
h2 {
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
    margin: 30px auto 20px;
}
.video {
    height: auto;
    width: 100%;
    max-width: 950px;
    margin: 30px auto -10px;
    box-sizing: border-box;
    box-shadow: 0px 0px 30px 0px rgb(164 192 236 / 60%);
    border-radius: 8px;
}

#telegram-section {
    display: none;
    justify-content: end;
    align-items: center;
    font-size: 1rem;
    gap: 4px;
    font-weight: 300;
}

.telegram-link {
    color: white;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid white;
}

section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.main-game {
    padding: 40px 0;
    margin-bottom: 30px;
}

.game-img-link {
    flex-shrink: 0;
    width: 440px;
    height: 280px;
    position: relative;
    transition-duration: 0.3s;
}
.main-game-link {
    height: 260px;
}
.game-img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition-duration: 0.3s;
    opacity: 1;
    box-shadow: 0px 0px 32px 0px rgb(149 184 240 / 35%);
}
.game-img-link:hover {
    transform: scale(1.05);
}
.game-img.main {
    box-shadow: 0px 0px 32px 0px rgb(149 184 240 / 35%);
}

.game-info {
    padding: 20px;
    min-width: 300px;
    font-size: 1.25rem;
    font-weight: 700;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.burn-game-info {
    padding: 20px 50px;
}

.game-desc {
    text-align: center;
    padding: 10px 0 20px;
}

.game-desc__footer {
    font-weight: 300;
}

.game-info a img {
    color: white;
    width: 58px;
    height: 58px;
}

.steam-link {
    margin: 0 8px;
}

#free-games-title {
    padding: 40px 0 10px;
}
h3 {
    font-weight: 500;
    font-size: 1.25rem;
    text-align: center;
    margin: 0 auto;
}

#free-games-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.free-games-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.free-game-link {
    width: 300px;
    height: 240px;
    margin: 20px 20px 90px;
}
.free-game-desc {
    position: absolute;
    top: 100%;
    padding-top: 5px;
    color: white;
    text-decoration: none;
    text-align: center;
    width: 100%;
    font-weight: 300;
}
.free-game-desc strong {
    font-weight: normal;
}

#more-games {
    justify-content: center;
}
#more-games a {
    color: white;
    margin-bottom: 100px;
    font-size: 1.25rem;
    font-weight: 300;
    text-align: center;
    text-decoration: none;
    border-bottom: 1px solid white;
}

footer {
    margin: 100px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (min-height: 800px) and (min-width: 800px) {
    .header-logo img {
        height: 140px;
    }
    h1 {
        font-size: 2.25rem;
    }
    #about-us {
        padding: 20px 0 60px;
    }
    #free-games-title {
        padding: 80px 0 30px;
    }
}

@media only screen and (max-width: 730px) {
    header {
        justify-content: center;
    }
    .socials {
        margin-right: 20px;
    }
    .social-link {
        margin-left: 20px;
    }
    .steam-link {
        margin-left: 0;
    }
}

@media only screen and (max-width: 555px) {
    html {
        font-size: 14px;
        line-height: 1.2;
    }
    body {
        padding: 15px 20px;
    }
    .header-logo img {
        height: 100px;
    }
    .social-link img {
        width: 35px;
        height: 35px;
    }
    .socials {
        margin-right: 15px;
    }
    .social-link {
        margin-left: 15px;
    }
    .video {
        margin-top: 10px;
        padding: 10px;
    }
    .steam-link {
        margin-left: 0;
    }
    .game-img-link {
        width: 380px;
        height: 233px;
        max-width: calc(100vw - 40px);
        max-height: calc(70vw - 20px);
    }
    .main-game-link {
        height: 210px;
    }
    .free-game-link {
        width: 300px;
        height: 240px;
        margin: 15px 15px 70px;
    }
    .game-info a img {
        width: 40px;
        height: 40px;
    }
    .burn-game-info {
        padding: 20px;
    }
    .main-game-link:hover {
        transform: none;
    }
    .game-img.main:hover {
        opacity: 1;
    }
    .main-game {
        border-left: none;
        border-right: none;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 555px) {
    html {
        font-size: 13px;
    }
}
