:root {
    --grid-item-size: 50px;
    --bottom-item-size: 50px;
    --footer-size: 20px;
}

@font-face {
    font-family: "bpwrite";
    src: url("fonts/bptypewrite.regular.otf");
    unicode-range: U+0000-00FF;
}

@font-face {
    font-family: "bpwrite";
    src: url("fonts/CascadiaMono-VariableFont_wght.ttf");
    unicode-range: U+0400-04FF;
}

@font-face {
    font-family: "cascadia-mono";
    src: url("fonts/CascadiaMono-VariableFont_wght.ttf");
}

@font-face {
    font-family: "ANK24";
    src: url("fonts/ANK24.woff");
}


html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    image-rendering: pixelated;
    /* cursor: url("/img/cursor.png"),auto; */
}

a {
    color: #B26838;
    text-decoration: none;
}

/* p {
    font-size:large;
} */
a:hover {
    color: #ffc670;
    text-decoration: underline;
}

.stretch {
    width: 100%;
    height: 100%;
    line-height: 100%;
}

#deactivatedMessage {
    position: relative;
    text-align: center;
    top: 40%;
}

body {
    padding: 15px;
    /* background-color: #1d2a3a; */
    color: white;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: visible;
    overflow-wrap: break-word;
    scrollbar-color: #b26838 rgb(0, 0, 0, 0);
    scrollbar-width: thin;
    font-family: "bpwrite";
    font-weight: bolder;
    background: linear-gradient(0deg, rgba(26, 40, 56, 1) 0%, rgba(29, 42, 58, 1) 22%, rgba(29, 42, 58, 1) 81%, rgba(26, 40, 56, 1) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "cascadia-mono";
    background-color: #0d1721;
    width: 100%;
}

#post-track {
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-flow: dense;
    /* flex-wrap: wrap; */
}
@media (max-width: 580px) {
    #post-track {
        grid-template-columns: 100%;
        display: flex;
        flex-direction: column;
    }

    .wide {
        grid-row: span 1;
        grid-column: span 1;
    }
}

.post {
    position: relative;
    aspect-ratio: 1;
    /* width: min(30vw,200px);
    height: min(30vw,200px); */
    transition: transform 0.1s ease-in;
}

/* MARK: game page */
.gamePost {
    position: relative;
    width: 100%;
    padding-left: 40%;
    height: 35cqw;
    background-color: #0d1721;
    /* border: 3cqh solid transparent; */
    /* border-image: url("/img/games-border.png") 18 stretch; */
    background-size: cover;
    background-position: 50% 50%;
    background-origin: content-box;
    /* background-clip:content-box; */
    background-repeat: no-repeat;
    transition: all 0.1s ease-in;
    box-shadow: inset 42cqw 0px 30px #0d1721;
    cursor: pointer;
    z-index: 2;
}

.gamePost.active {
    padding-left: 33%;
    box-shadow: inset 36cqw 0px 30px #0d1721;
}

.gamePost p {
    position: absolute;
    left: 10px;
    font-size: 2.4cqw;
    top: 7cqi;
}

.gameTitle {
    position: absolute;
    left: 10px;
    font-family: "ANK24";
    /* font-size:; */
    background-color: #809f9c;
    color: #0d1721;
    width: 30cqw;
    height: 6cqw;
}

.gameTitle span {
    display: inline-block;
    white-space: preserve nowrap;
    transform: scale(0.8);
    transform-origin: left top;
}

.gameRoles {
    position: absolute;
    list-style-image: url("/img/list_item.png");
    font-size: 2.4cqw;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;

    left: 10px;
    top: 10cqi;
}

.gameLinks {
    position: absolute;
    left: 20px;
    bottom: 0px;
    /* background-color:green; */
    width: 20cqw;
    height: 30px;
    gap: 10px;
    z-index: 50;
}

.gameLinks a img {
    width: 20px;
}

.gameLinks a:hover img {
    transform: scale(1.2);
}

/* .gamePost:has(.gameLinks:hover){
pointer-events: none;
} */
.wide {
    grid-column: span 2;
    aspect-ratio: 2.04/1;
    grid-row: span 1;
    /* width: 410px; */
}

.tall {
    grid-row: span 2;
    aspect-ratio: 1/2.06;
    /* height: 410px; */
}

.postImage {
    background-clip: content-box;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    padding: 0%;
}

.post:hover {
    transform: scale(1.03);
    cursor: pointer;
}

/* #monitor-cursor{
    position:absolute;
    background-image: url("/img/cursor.png");
    height: 40px;
    aspect-ratio: 1/2;
    z-index: 19;
} */
/* MARK: ImageViewer */
#imageViewer {
    position: absolute;
    font-family: "ANK24";
    letter-spacing: 3px;
    background-color: #0d1721;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    inset: 0;
    z-index: 20;
    visibility: hidden;
}

#imageViewerArt {
    position: relative;
}

#imageTitle {
    letter-spacing: 1px;
    font-family: "ANK24";
    background-color: #809f9c;
    color: #0d1721;
    font-size: xx-large;
}

.flex-column #imageViewerArt {
    height: 78%;
    aspect-ratio: 1/1;
    background-clip: content-box;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.flex-column #imageViewerDescription {
    min-height: 20%;
    /* overflow-y:scroll;
    overflow-x:hidden; */
    scrollbar-width: thin;
    scrollbar-color: #809f9c;
    font-size: 2.5cqh;
}

#imageViewerDescription h1 {
    background-color: #809f9c;
    color: #0d1721;
    font-family: "ANK24";
    width: auto;
}

.flex-column hr {
    visibility: hidden;
}

.flex-row #imageViewerArt {
    width: 70%;
    aspect-ratio: 1/1;
    background-clip: content-box;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.flex-row #imageViewerDescription {
    width: 30%;
}

#imageViewerGoBack {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    background-image: url("/img/goBackButton.png");
    background-size: cover;
    cursor: pointer;
    opacity: 0.5;
    filter: saturate(0);
}

#imageViewerGoBack:hover {
    opacity: 1.0;
    filter: saturate(1);
}

#imageViewerLeftArrow,
#imageViewerRightArrow {
    position: absolute;
    height: 50px;
    width: 50px;
    bottom: 1%;
    background-size: cover;
    opacity: 0.4;
    transition: all 0.1s ease-in;
    cursor: pointer;
}

#imageViewerLeftArrow:hover,
#imageViewerRightArrow:hover {
    opacity: 1.0;
    scale: 1.2;
}

#imageViewerLeftArrow {
    left: 10px;
    background-image: url("/img/arrowLeft.webp");
}

#imageViewerRightArrow {
    right: 10px;
    background-image: url("/img/arrowRight.webp");
}

#imageViewerDescription {
    margin: 10px;
    border: 3cqh solid transparent;
    font-size: large;
    border-image: url("/img/snail-border.png") 10 stretch;
}

#imageViewerSocials {
    position: absolute;
    right: 2cqw;
    bottom: 2cqh;
    opacity: 0.5;
    background-color: #0d1721;
    width: 30cqw;
    height: 50px;
}

#imageSocials {
    margin-right: 20px;
    margin-left: auto;
    margin-top: -10;
    gap: 10px;
}

#imageSocials img {
    width: 20px;
    filter: drop-shadow(0px -2px 0px white) drop-shadow(0px 2px 0px white) drop-shadow(-2px 0px 0px white) drop-shadow(2px 0px 0px white);
}

#imageSocials a {
    transition: transform 0.1s ease-in;
}

#imageSocials a:hover {

    transform: scale(1.2) rotateZ(5deg);
}

#imageSocials a:nth-child(1):hover {

    transform: scale(1.2) rotateZ(-5deg);
}

.copyrightNotif {
    position: absolute;
    bottom: 2%;
    right: 2%;
    height: 10%;
    aspect-ratio: 1/1;
    background-image: url("/img/copyright_protected.png");
    background-size: cover;
    filter: drop-shadow(2px 2px 0px black);

}

.copyrightNotif:hover {
    transform: scale(1.2) rotateZ(5deg);
}

.copyrightText {
    position: absolute;
    bottom: 100%;
    left: -200%;
    transform: translateX(-50%);
    width: 120px;
    background: black;
    color: white;
    padding: 8px;
    border: 2px solid white;
    font-family: "ANK24";
    font-size: smaller;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s;
}

.copyrightNotif:hover .copyrightText {
    opacity: 1;
}

@keyframes wiggle {

    0% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

@keyframes jiggle {
    0% {
        transform: rotate(2deg);
    }

    50% {
        transform: rotate(-2deg);
    }

    100% {
        transform: rotate(2deg);
    }
}

.wiggler {
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-name: wiggle;
    animation-direction: alternate;
    min-height: 15px;
    min-width: 15px;
    transition: transform .4s ease-in-out 0s;
}

.jiggler {
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-name: jiggle;
    animation-direction: alternate;
    transition: transform .4s ease-in-out 0s;
}

.sliders {
    -webkit-appearance: none;
    appearance: none;
    background: #593027;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.sliders::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #8e6255;
    cursor: pointer;
}

#vertical-slider-container {
    width: 450px;
}

#vertical-slider {
    writing-mode: vertical-rl;
    height: 400px;
}

@supports (-moz-appearance: none) {
    #vertical-slider {
        transform: rotate(180deg);
    }
}

#slider {
    width: min(90%,400px);
    margin-left: 28px;
}

#pricingdemo {
    background-image: url('../img/pricing.png');
    background-size: 100px 100px;
    width: min(90%,400px);
    height: 400px;
    padding-left: 0px;
}

.sliders::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #b26838;
    border: #b26838;
    border-radius: 0px;
    cursor: pointer;
}

.sliders::-moz-range-thumb:hover {
    background: #94511e;
}

#lockratio {
    width: 20px;
    height: 20px;
    accent-color: #b26838;
    border: none;
}

.FAQ {
    margin-bottom: 10px;
    background-color: #102433;
    padding: 10px;
    border: 3cqh solid transparent;
    border-image: url("/img/snail-border.png") 10 stretch;
}
/* #imageTitle{
    display: flex;
    justify-content: space-between;
    align-items:self-end;
} */