:root {
    /* --- Base & Dark Tones --- */
    --color-black: #000000;
    --color-dark-navy-1: #00021c;
    --color-dark-navy-2: #1c284d;
    --color-dark-purple: #343473;

    /* --- Cool Tones (Blues/Cyans) --- */
    --color-blue-primary: #2d5280;
    --color-blue-secondary: #4d7a99;
    --color-slate-blue: #7497a6;
    --color-light-sky: #a3ccd9;

    --color-vibrant-blue-1: #2469b3;
    --color-vibrant-blue-2: #0b8be6;
    --color-vibrant-cyan: #0bafe6;

    /* --- Warm/Accent Tones (Pinks/Reds/Magentas) --- */
    --color-dark-magenta: #732866;
    --color-strong-magenta: #a6216e;
    --color-bright-pink: #d94c87;
    --color-crimson: #d9214f;
    --color-light-coral: #f25565;
    --color-salmon: #f27961;
    --color-deep-red: #993649;

    /* --- Earthy Tones & Greens --- */
    --color-rusty-brown: #b36159;
    --color-orange-ochre: #f09c60;
    --color-olive-drab: #b38f24;
    --color-mustard-yellow: #b3b324;
    --color-bright-yellow: #f7c93e;

    --color-deep-forest-green: #17735f;
    --color-forest-green: #119955;
    --color-lime-green: #67b31b;
    --color-teal-dark: #1ba683;
    --color-teal-light: #47cca9;
    --color-mint-green: #96e3c9;

    /* --- Light Tones & Pastels --- */
    --color-off-white: #f0edd8;
    --color-pastel-red: #f28d85;
    --color-light-peach: #f0bb90;
}

body {
    background: #F0EDD8;
    background: linear-gradient(0deg, rgba(240, 237, 216, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

option {
    font-size: 1.5em !important;
}

#elements-list {
    opacity: 0;
}


.buttons div {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: auto;
}

.buttons button {
    padding: 1em;
    font-family: arial;
    font-size: 2.5em;
    border: none;
    color: white;
    box-shadow: 4px 4px 0px 0px var(--color-dark-magenta);
}

button.next {
    background-color: #2d5280;
    padding: 1em 3em
}

button.prev {
    background-color: #d9214f;
    padding: 0em 1em;
    font-size: 6em;
    font-weight: bold;
}



.scroll-container {
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: Arial;
    height: 100%;
}

.scroll-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    color: white;
    border-radius: 1em;
    margin: 1em auto;
    padding: 0em 1em;
    box-shadow: 4px 4px 0px 0px var(--color-light-sky)
}

.scroll-container.clue .scroll-item {
    background-color: var(--color-orange-ochre);
    box-shadow: 3px 3px 0px 0px var(--color-dark-magenta);
}

.scroll-container.tips .scroll-item {
    background-color: var(--color-strong-magenta);
    box-shadow: 3px 3px 0px 0px var(--color-dark-magenta);
}

.scroll-item-title {
    flex-basis: 100%;
    font-weight: bold;
    margin-bottom: 1em;
    font-size: 2.25em;
}

.scroll-item-title h4 {}

.scroll-item-card {
    flex-basis: 30%;
}

.scroll-item-text {
    flex-basis: 70%;
    font-size: 2.25em;
}


/* Style the tab */
.tab {
    overflow: hidden;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 1em;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    border-radius: 0.5em;
    font-size: 3em;
    color: white;
    opacity: 0.75;
}

.tab button.active {
    scale: 1.05;
    opacity: 1;
}


.tab button.clue {
    background-color: var(--color-orange-ochre);
    box-shadow: 3px 3px 0px 0px var(--color-dark-magenta);
}

.tab button.tips {
    background-color: var(--color-strong-magenta);
    box-shadow: 3px 3px 0px 0px var(--color-dark-magenta);
}




/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    /* border: 1px solid #ccc; */
    border-top: none;
    animation: fadeEffect 1s;
    /* Fading effect takes 1 second */
    height: 80%;
    overflow: hidden;
}


/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f100;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #2d5280;

}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}