@font-face {
    font-family: DELTARUNE;
    src: url(/dcyr.otf);
}

@font-face {
    font-family: MERCY;
    src: url(/m.otf);
}

#canvas {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    scale: 1.2; /* compensate canvas offsetting */
    overflow: hidden; /* ðŸ¤“ actually we shouldn't use 100 VH cause some shit about how viewports work, but I hate any measurement unit in CSS present right now */
}

body {
    background-color: #000000;
    color: white;
    font-family: DELTARUNE;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

a {
    color: white;
}

.legal {
    font-family: sans-serif;
}

.dropdown-menu {
    background: #171717bd;
}
.dropdown-item:hover {
    background-color: #171717bd;
}

.navbar-toggler-icon {
    background-image: url(data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000…p='round' stroke-miterlimit='10' d='M47h22M4 15h22M423h22'/%3e%3c/svg%3e);
}

.productBox {
    background-image: url(/img/diag.png);
    background-size: 376px 500px;
    width: 376px;
    height: 500px;
    padding: 48px 64px;
    text-align: center;
    margin: auto;
}

.productBox p {
    padding: 0;
    margin: 0;
    line-height: 20px;
    font-size: 20px;
}

.productBox .pricing {
    line-height: 18px;
    font-size: 18px;
    margin-top: auto;
}

.productBox img {
    width: max-content;
    height: 290px;
    object-fit: contain;
    margin: auto;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 16px;
}

.productDetails {
    width: clamp(200px, 80vw, 600px);
    height: 467px;
    margin: auto;
    border: 8px solid #fefefe;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 16px;
    text-align: center;
}


.carousel-control-prev {
    left: 12px !important;
}

.carousel-control-next {
    right: 12px !important;
}

.mercyBtn {
    border: #e37e32 solid 4px;
    height: 80px;
    width: 360px;
    font-family: MERCY;
    font-size: 40px;
    display: flex;
    color: #e37e32;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}

.mercyBtn p {
    pointer-events: none;
    margin: auto;
    margin-right: 15px;
}

.mercyBtn h1 {
    font-size: 64px;
    margin: 0 0 0 auto;
    pointer-events: none;
    line-height: 60px;
}

.mercyBtn:hover {
    border: white solid 4px;
    color: white;
}

.mercyBtn img {
    padding: 8px;
    margin: 0 auto;
}

.listBtns {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.mercyBtn#buyNow {
    width: 280px;
}

@media screen and (max-width: 700px) {
    .productDetails {
        height: fit-content;
    }
}


@media screen and (max-width:500px) {
    .productBox {
        width: clamp(100px, 90vw, 350px);
        background-size: clamp(100px, 90vw, 350px) 500px;
        padding: 64px 32px;
    }

    .productBox img {
        height: clamp(100px, 70vw, 290px);
    }

    .mercyBtn {
        line-height: 24px;
        font-size: 24px;
        height: 60px;
        width: 220px;
    }

    .mercyBtn h1 {
        font-size: 48px;
        line-height: 40px;
    }
}
@media screen and (max-width:400px) {
    .productBox {
        width: clamp(100px, 75vw, 280px);
        background-size: clamp(100px, 75vw, 280px) 500px;
        padding: 64px 32px;
    }

    .productBox img {
        height: clamp(100px, 70vw, 290px);
    }

    .mercyBtn {
        line-height: 24px;
        font-size: 24px;
        height: 60px;
        width: 220px;
    }
}