@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap');

:root {
    --text: #859052;
    --background: #44332d;
    --callToAction:#915586;
    --backgroundImage: url('images/forest.png');
}
html, body {
    margin: 0;
    padding: 0;
}

body {
    background-image: var(--backgroundImage);
    background-size: 100% auto;
    background-position: 20%;
    background-attachment: fixed;
}
@font-face {
    font-family: 'Dreamscar';
    src: URL('./fonts/dreamscar/Dreamscar.ttf') format('truetype');
  }
@font-face {
    font-family: 'Speltale';
    src: URL('./fonts/vinque.otf');
}
* {
    font-family: "Baloo 2", sans-serif;
    color: var(--text);
}

.cursed {
    color: var(--callToAction);
}
.todolist {
    list-style:circle;
}
h1, h2, h3 {
    color: var(--callToAction);
    font-family: Vinque;
    margin: 0;
}
main {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.sticker {
    position: absolute;
    width: 8rem;
    z-index: 0;
    right: .5rem;
}
p {
    z-index: 8;
    position: relative;
    font-size: 1.05rem;
}
.corner {
    transform: translateY(-50%);
}
.middle {
    transform: translateY(-50%);
}
.right {
    transform: translateY(-50%);
}
.left {
    transform: translateY(-50%);
}
.main-content, .side-content{
    background-color: var(--background);
    border: 3px solid var(--text);
    border-radius: 10px;
    margin: 1rem;
}
.main-content {
    width: 60vw;
    max-width: 600px;
    min-width: 300px;
    padding: 1rem;
    position: relative;
}
.wall-grid {
    display: grid;
    grid-template-columns: auto auto;
}
.main-content.limit-height {
    max-height: 600px;
    overflow-y: scroll;
}
.side-content {
    width: 120px;
    padding: 1rem;
}
.side-content ul {
    list-style: none;
    padding: 0;
}
.side-content ul li a:hover {
    color: var(--callToAction);
}
span.bi {
    background: linear-gradient(to right, rgb(255, 0, 128), rgb(200, 37, 157), rgb(140, 71, 153), rgb(68, 46, 159), rgb(0, 50, 160));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}
b {
    font-weight: normal;
    color: var(--callToAction);
}
select {
    background-color: var(--background);
    border: 1px solid var(--callToAction);
}
/* //////////////////// the hooded figure //////////////////*/
.cave {
    width: 100vw;
    height: 100vh;
    background-image: url(./images/cave.png);
    background-size: 100% auto;
    background-position: 0 40%;
    margin: 0;
}
.cave-entrance {
    color: whitesmoke;
    font-size: 2rem;
    position: absolute;
    left: 50%;
    top: 65%;
    text-align: center;
    transform: translateX(-50%) translateY(-50%);
}
.info {
    color: whitesmoke;
    background-color: rgba(0, 0, 0, 0.635);
    text-align: center;
    font-size: 2rem;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translateX(-50%) translateY(-50%);
    border: 2px solid black;
    padding: 2rem;
}

/*////////////////////// THE ETERNAL BONFIRE ///////////////////////*/

.eternal-bonfire {
    position: fixed;
    width: 5rem;
    bottom:0;
    left: 50%;
    transform: translateX(-50%);
}
.message {
    position: fixed;
    transform: translateX(-50%);
    bottom:10%;
    left: 50%;
}
.warning {
    width: 100vw;
    text-align: center;
    color: whitesmoke;
    font-size: 1.6rem;
    background-color: var(--background);

}
@keyframes display {
    0% {
        bottom: 10%;
        opacity: 1;
    }
    100% {
        bottom: 80%;
        opacity: 0;
    }
}

@media only screen and (max-width: 600px) {
    main {
        flex-direction: column;
    }
    .main-content, .side-content {
        width: 85vw;
    }
    .side-content ul li {
        display: inline;
    }
    .side-content ul li {
        display: inline;
    }
    body {
        width: 100vw;
        overflow-x: hidden;
        background-size: auto 100%;
    }
    .cave {
        background-size: auto 100%;
        background-position: 50%;
    }
    .info {
        width: 80vw;
    }
  }