@font-face {
    font-family: "ABCCompressed";
    src: url("../fonts/ABCGravityCompressed.woff2") format("woff2");
}

@font-face {
    font-family: "ABCItalic";
    src: url("../fonts/ABCGravityItalic.woff2") format("woff2");
}

h1.wallpapername {
    font-family: "ABCCompressed", sans-serif;
    text-transform: uppercase;
}

h1.wallpapername span {
    font-family: "ABCItalic", sans-serif;
}

.wallpaperDescription {
    margin-top: 25rem;
    max-width: 60%;
}



/* КНОПКИ */
.buttons {
    display: flex;
    gap: var(--margin-grid-half);
}

.buttons.fixed {
    position: fixed;
    z-index: 100;
    top: var(--margin-grid-half);
    right: var(--margin-grid);
    flex-direction: column;
    align-items: flex-end;
    transition: 0.15s;
    margin-top: 0;
}

.buttons .googlePlay {
    position: relative;
}

.buttons .googlePlay > .image:nth-child(1),
.buttons .googlePlay > .image:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 200ms;
}

.buttons .googlePlay:hover > .image:nth-child(1),
.buttons .googlePlay:hover > .image:nth-child(2) {
    opacity: 1;
    transition: 0s;
}

.darkmode .buttons .googlePlay > .image:nth-child(2),
.darkmode .buttons .googlePlay > .image:nth-child(3) {
    filter: invert(1);
}

.buttonSecondary {
    display: flex;
    justify-content: center;
    padding: 25rem;
    background-color: black;
    margin-top: 20rem;
    user-select: none;
}

.darkmode .buttonSecondary {
    background-color: white;
}

.buttonSecondary {
    color: white;
}

.darkmode .buttonSecondary {
    color: black;
}

.buttonSecondary:hover {
    cursor: pointer;
    background-color: var(--hover-color);
}

.buttons googlePlay:active,
.buttonSecondary:active {
    opacity: .8;
}

@media screen and (max-width: 800px) {
    .buttons.fixed {
        left: var(--margin-grid);
        bottom: var(--margin-grid);
        right: unset;
        top: unset;
    }

    .buttons .qr {
        display: none;
    }
}





.hidden {
    opacity: 0;
    pointer-events: none;
}

.category::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0px;
    bottom: 0px;
    background: linear-gradient(179.18deg, rgba(0, 0, 0, 0) 0.43%, rgba(0, 0, 0, 0) 38.3%, rgba(0, 0, 0, 0.1) 70.53%, rgba(0, 0, 0, 0.2) 85.88%, rgba(0, 0, 0, 0.26) 95.09%, rgba(0, 0, 0, 0.35) 102.76%);
}

.category h2 {
    position: absolute;
    bottom: 25rem;
    left: var(--margin-grid);
    --text-color: white;
}
@media screen and (max-width: 800px) {
    .category h2 {
        bottom: 15rem;
    }
}