body {
    background: linear-gradient(to bottom, #0bc2cf, #349aef);
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

:root {
    --blue1: #0bc2cf;
    --blue2: #349aef;
    --purple: #9a49aa;
    --gray: #333;
    --lightgray: #ccc;
    --red: #ff462b;
    --orange: rgb(255,163,30);
    --green: #5bbe21;
    --font-main: 'Nunito', sans-serif;
    --font-heading: 'Titan One', sans-serif;
    --uncommon: #4bc22e;
    --rare: #0a14fa;
    --epic: #be0000;
    --legendary: #ff910f;
    --chroma: #0cf;
    --mystical: #a335ee;
    --unique: teal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-drag: none;
}

input, textarea {
    user-select: text;
}

html {
    font-size: 16px;
}

.content {
    margin: 0rem 315px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.title {
    font-family: var(--font-heading);
    color: white;
    text-align: center;
    padding: 1rem;
    padding-bottom: 0;
    text-shadow: 8px 8px rgb(0,0,0,0.2);
}

.subtitle {
    font-family: var(--font-main);
    color: white;
    text-align: center;
    text-shadow: 4px 4px rgb(0,0,0,0.2);
    text-align: center;
    text-wrap: balance;
    padding-bottom: 2rem;
}

.sectiontitle {
    font-family: var(--font-heading);
    color: white;
    text-align: center;
    text-shadow: 6px 6px rgb(0,0,0,0.2);
    font-size: calc(1rem + 2vw);
}

@supports (animation-timeline: scroll()) {
    .title {
        animation: shrink-title linear both;
        animation-timeline: scroll();
        animation-range: 0px 200px;
    }
    .subtitle {
        animation: shrink-subtitle linear both;
        animation-timeline: scroll();
        animation-range: 0px 200px;
    }
}

@keyframes shrink-title {
    from {
        font-size: calc(3rem + 3.5vw);
    }
    to {
        font-size: calc(2rem + 2vw);
    }
}

@keyframes shrink-subtitle {
    from {
        font-size: calc(1rem + 1vw);
    }
    to {
        font-size: calc(0.5rem + 0.5vw);
    }
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: normal;
    text-shadow: 4px 4px rgb(0,0,0,0.2);
}

h1 {
    font-size: calc(1rem + 2.5vw);
    color: white;
    text-align: center;
    text-wrap: balance;
}

h2 {
    font-size: calc(0.5rem + 1.5vw);
    color: white;
    text-align: center;
    text-wrap: balance;
}

h3 {
    font-size: calc(0.8rem + 1.5vw);
    color: white;
    text-align: center;
    text-wrap: balance;
    text-shadow: 4px 4px rgb(0,0,0,0.2);
}

p {
    font-family: var(--font-main);
}

.description {
    font-size: calc(1rem + 0.5vw);
    color: white;
    text-align: center;
    text-wrap: balance;
    text-shadow: 2px 2px rgb(0,0,0,0.2);
    padding: 1rem;
}

.description p {
    padding: 1rem;
}

.divider {
    width: 100%;
    height: 0.2rem;
    background-color:white;
    border-radius: 0.2rem;
}

.userInput {
    font-family: var(--font-main);
    font-size: calc(1rem + 0.5vw);
    padding: 0.2rem;
    border-radius: 0.5rem;
    border: none;
    text-align: center;
    background-color: var(--blue1);
    color: white;
    box-shadow:
        0 8px color-mix(in srgb, var(--blue1) 80%, black),
        0 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}

.userInput:focus {
    outline: none;
}

.userInput option {
    background-color: var(--blue1);
    color: white;
}

.userInput:hover {
    cursor: pointer;
    filter: brightness(110%);
}

.subblock {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.dynamicflex {
    display: flex;
    flex-direction: row;
}

.thumbnail {
    width: 30%;
    margin: 0.5rem;
    margin-right: 1rem;
    filter: drop-shadow(8px 8px rgba(0,0,0,0.1));
    transition: .2s;
    -webkit-user-drag: none;
    user-select: none;
}

.thumbnail:hover {
    filter: drop-shadow(12px 12px rgba(0,0,0,0.1));
    transform: scale(1.05);
    transition: .2s;
    cursor: pointer;
}

.thumbnail:active {
    filter: drop-shadow(4px 4px rgba(0,0,0,0.1));
    transform: scale(0.95);
    transition: .2s;
}

.whiteblock {
    padding: 10px;
    border: none;
    background-color: white;
    border-radius: 1rem;
    color: var(--gray);
    box-shadow: inset 0 -5px rgb(0 0 0 / 20%), 0 0 4px rgb(0 0 0 / 15%);
    display: flex;
    flex-direction: column;
}

.whiteblock h2 {
    color: var(--gray);
}

.whiteblock h3 {
    color: var(--gray);
    font-family: var(--font-main);
    text-shadow: none;
}

.clearblock {
    background-color: rgb(255,255,255,0.2);
    backdrop-filter: blur(4px);
    font-family: var(--font-heading);
    color: white;
    text-shadow: 3px 3px rgb(0,0,0,0.2);
    padding: 10px;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem;
    text-wrap: auto;
}

.purpleblock {
    background: var(--purple);
    border-radius: 1rem;
    gap: 1rem;
    box-shadow: 4px 4px rgb(0,0,0,0.2);
    border: 6px solid rgb(255,255,255,0.2);
    border-radius: 1rem;
    background-color: var(--purple);
    padding: 10px;
    color: white;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.btn {
    --bg: rgb(30,146,255);
    background: var(--bg);
    box-shadow:
        0 8px color-mix(in srgb, var(--bg) 80%, black),
        0 12px rgba(0, 0, 0, 0.1);
    font-size: calc(1.2rem + 1.2vw);
    padding: 12px;
    padding-left: 3rem;
    padding-right: 3rem;
    font-family: 'Titan One', cursive;
    text-align: center;
    user-select: none;
    align-items: center;
    justify-content: center;
    align-self: center;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    border-radius: 0.8rem;
    border: none;
    transition: .25s;
    text-shadow: 3px 3px rgba(0, 0, 0, .2);
    -webkit-user-drag: none;
    margin-bottom: 1rem;
}

.btn:hover {
    filter:brightness(110%);
    cursor: pointer;
    box-shadow:
        0 12px color-mix(in srgb, var(--bg) 80%, black),
        0 18px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    transition: .2s;
}

.btn:active {
    transform: translateY(4px);
    box-shadow:
        0 4px color-mix(in srgb, var(--bg) 80%, black),
        0 6px rgba(0, 0, 0, 0.1);
    transition: .1s;
}

.btn.orange { --bg: rgb(255,163,30); }
.btn.red    { --bg: #ff462b; }
.btn.green  { --bg: #5bbe21; }
.btn.purple { --bg: rgb(154,73,170); }
.btn.cyan { --bg: #0bc2cf;}

.bgBlooks {
    position: fixed;
    z-index: 0;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    background-size: 1200px;
    background-position: 0 0;
    opacity: 0.08;
    transform: translate(-50%, -50%) rotate(15deg);
    background-image: url('https://ac.blooket.com/@codeblooket/blooket-frontend-components/v0.2.35/assets/BlookCheckers-e975c505.png');
    pointer-events: none;
    animation: bgScroll 60s linear infinite; /* slower = smoother */
    z-index: -1;
}

.consumer-privacy-btn {
    color: white !important;
    opacity: 0.5 !important;
    text-decoration: none !important;
    font-family: var(--font-main) !important;
    transform: translateY(8rem) !important;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

ul {
    font-family: var(--font-main);
}

a {
  color: inherit;        /* or a specific color like #333 */
}

.funnyContainer {
    font-size: calc(2rem + 1.5vw);
    text-align: center;
    color: white;
    user-select: none;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    text-shadow: 4px 4px rgb(0,0,0,0.2);
}

.funnyContainer p {
    font-family: var(--font-heading);
    margin-left: 1rem;
}

#splashBlook {
    -webkit-user-drag: none;
    user-select: none;
    filter: drop-shadow(8px 8px rgba(0,0,0,0.2));
}

@keyframes bgScroll {
  from { background-position-x: 0; }
  to   { background-position-x: 1200px; }
}

/* Mobile Devices */
@media only screen and (max-width: 768px) {
    .content {
        margin-right: 1rem;
        margin-left: 1rem;
    }
    .dynamicflex {
        flex-direction: column;
    }
    .thumbnail {
        width: 40% !important;
        margin: 0.5rem;
    }
    .toolgrid {
        flex-direction: column;
    }
}

/* Tablets and Small Laptops */
@media only screen and (min-width: 769px) and (max-width: 1200px) {
    .content {
        margin-left: 1rem;
    }
    .dynamicflex {
        flex-direction: column;
    }
    .thumbnail {
        width: 35% !important;
        margin: 0.5rem;
    }
    .toolgrid {
        flex-direction: column;
    }
}

/* Large Screens and Desktops */
@media only screen and (min-width: 1200px) {

}