@font-face {
    font-family: Nunito;
    src: url('/assets/fonts/Nunito-Regular-Subset.woff2');
    font-display: block;
}

body {
    color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.9)), linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('/assets/images/backgrounds/red-stock.webp');
    background-size: 200% 100vh, 100% 10000vmax, 200px;
    background-color: #ee4444;
    font-size: 17px;
    font-family: Nunito, Verdana, Arial, sans-serif;
    background-position-y: top, 100vh, top;
    background-repeat: no-repeat, no-repeat, repeat;
}

/* LINKS */
a {
    color: #FF7777;
    transition: 0.2s;
}

a:link {
    color: #FF7777;
}

a:visited {
    color: #FF7777;
}

a:hover {
    color: #ff5555;
    transition: 0.2s;
}

a:active {
    color: #c34040;
}

body.light > .content a {
    color: #a00;
    transition: 0.2s;
}

body.light > .content a:link {
    color: #a00;
}

body.light > .content a:visited {
    color: #a00;
}

body.light > .content a:hover {
    color: #e00;
    transition: 0.2s;
}

body.light > .content a:active {
    color: rgb(202, 48, 48);
}

/* LEFT BAR */
.left,
.right {
    position: absolute;
    top: 10px;
    width: 200px;
    text-align: center;
}

.left {
    left: 0;
}

.right {
    right: 0;
}

.left>a.goto>.img {
    position: absolute;
    border: none;
    left: 0px;
    top: 0px;
    height: 100%;
    width: calc(100% + 10px);
    transition: 0.5s ease-in;
    background: #222 url('/assets/images/backgrounds/dark-stock.webp') 600px 200px repeat;
    background-size: cover;
    overflow: hidden;
    z-index: 3;
    border-radius: 0px 8px 8px 0;
}

.left>a.goto>.text {
    font-weight: bold;
    position: relative;
    border: none;
    left: 3px;
    z-index: 4;
    transition: 0.5s ease-in;
    font-size: 20px;
    text-decoration: none;
    color: white;
    display: inline-block;
    max-width: calc(100% - 12px);
}

.left>a.goto:hover>.text {
    position: relative;
    border: none;
    z-index: 4;
    font-size: 28px;
    transition: 0.6s ease-out;
}

.left>a.goto:hover>.img {
    width: calc(100% + 16px);
    transition: 0.6s ease-out;
    filter: hue-rotate(360deg) brightness(150%);
    font-size: 28px;
}

.left>a.goto {
    text-align: left;
    margin: 3px 0;
    position: relative;
    filter: brightness(100%);
    z-index: 5;
    display: block;
    text-decoration: none;
    color: white;
}

.left>div>a.logo {
    transition: 0.25s;
    width: 20%;
    display: inline-block;
}

.left a {
    background: none !important;
}

.left a>img {
    background: none !important;
    filter: saturate(0) brightness(5) drop-shadow(0 0 8px rgba(0, 0, 0, 0.64));
    transition: 0.25s;
}

.left a.site-title>img {
    background: none !important;
    filter: saturate(0.5) brightness(2.5) drop-shadow(0 0 8px rgba(0, 0, 0, 0.64));
    transition: 0.25s;
}

.left a.logo>img {
    width: 100%;
}

.left a:hover>img {
    filter: saturate(1) brightness(1) drop-shadow(0 0 8px rgba(0, 0, 0, 0.64));
    transition: 0.25s;
}

#myfrengrav {
    cursor: pointer;
    width: 100%;
}

#myfrengrav.bombed {
    background-image: url("/assets/images/caveofdreams/cave.png");
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 100% 100% 0 0;
    box-sizing: border-box;
}

#myfrengrav.bombed:hover {
    background-image: url("/assets/images/caveofdreams/caveenter.png");
}

/* MAIN STYLING */
h1,
h2,
h3 {
    text-align: center;
}

.content {
    position: absolute;
    left: 50vw;
    transform: translateX(-50%);
    top: 10px;
    width: calc(100vw - 460px);
    max-width: 750px;
    background: #222 url('/assets/images/backgrounds/dark-stock.webp') 200px 200px repeat;
    padding: 10px 5vw;
    box-sizing: border-box;
    border-radius: 12px;
    min-height: calc(100% - 20px);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.64));
}

body.light .content {
    background: #ccc url('/assets/images/backgrounds/light-stock.webp') 200px 200px repeat;
    color: black;
}

body.light .content iframe {
    background: black;
}

img {
    max-width: 100%;
}

/* INPUTS AND BUTTONS */
btn {
    font-weight: bold;
    border: solid 1px gray;
    border-radius: 14px;
    padding: 2px 5px;
    background-color: none;
    color: gray;
    margin-right: 4px;
}

input,
textarea {
    background: none;
    font-size: 17px;
    font-family: Nunito, Verdana, Arial, sans-serif;
    font-weight: bold;
    border: solid 1px gray;
    border-radius: 14px;
    padding: 2px 5px;
    color: white;
    margin-right: 4px;
    float: right;
}

/* BANNER STYLING */
.right>a {
    text-decoration: none;
    color: black;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 780px) {

    .left,
    .right {
        width: 150px;
    }

    .left>a.goto>.text {
        font-size: 17px;
    }

    .left>a.goto:hover>.text {
        font-size: 22px;
    }

    .right>a>img,
    .right>img {
        width: 40%;
    }

    .content {
        width: calc(100vw - 352px);
    }
}

@media only screen and (max-width: 600px) {
    .content {
        position: absolute;
        transform: none;
        left: 174px;
        width: calc(100% - 178px);
    }

    .right {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .left {
        width: 100px;
    }

    .left>a.goto>.text {
        font-size: 15px;
    }

    .content {
        position: absolute;
        transform: none;
        left: 120px;
        width: calc(100% - 128px);
    }
}

iframe.rings {
    width: 100%;
    max-height: 50px;
    border: none;
    outline: none;
    background: none;
}

.select {
    border: solid 1px gray;
    border-radius: 14px;
    padding: 2px;
    color: gray;
    margin-right: 4px;
}

select {
    appearance: none;
    padding: 2px;
    border: none;
    background: none;
    color: gray;
    border-radius: 14px;
    font-family: Nunito, Verdana, Arial, sans-serif;
    font-weight: bold;
}

select:focus {
    outline: none;
}

/* CAVE ENTRANCE */
@keyframes explodefade {
    0% {
        background-color: red;
    }

    20% {
        background-color: orange;
    }

    40% {
        background-color: rgba(255, 255, 0, 0.9);
    }

    100% {
        background-color: rgba(0, 0, 0, 0);
    }
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9999999;
    cursor: pointer;
}

#overlay.active {
    display: block;
    animation-name: explodefade;
    animation-duration: 1.5s;
}


body {
    --sb-track-color: #6c0000;
    --sb-thumb-color: #ff0000;
    --sb-size: 14px;
}

body::-webkit-scrollbar {
    width: var(--sb-size)
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 0px;
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 16px;

}

@supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}