@font-face{
    font-family: 'UnownFont'; /* Name you'll use to reference it */
    src: url('assets/Unown.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Prevents invisible text while loading */
}
:root {
    --blackish: #222;
    --whiteish: #e5e5e5;
    --red:  #ff5e56;
    --yellow: #ffbd2e;
    --green: #27c93f;
    --backgroundSize: 256px;
    --art-base: 312;
    --sprite-base: 288;
    --art-max: 312px;
    --art-min: 120px;
    --footer-height: 56px;
}
html::-webkit-scrollbar {
  display: none;
}

html, body {
    height: 100%;
    margin: 0;
    scrollbar-width: none;
    padding:0;

    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    color: rgb(66, 37, 58);
}
body {
  display: flex;
  flex-direction: column;
  flex:1;
    margin: 0;
    background-color: rgb(78, 173, 78);
    display: flex;
    flex-direction: column; 
    align-items: center;
}

.page-content {
  flex: 1;
  width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pokeInfo.game-board {
    min-width: 0;
    width: 100%;
    max-width: 840px;
    padding: 8px;
}

@media (min-width: 960px) {
    .pokeInfo.game-board {
        padding: 12px 24px 12px 36px;
    }
}

.game-board {
  background: #f3d7a3;
  font-family: "Reenie Beanie", cursive;;
  flex-direction: column;
  border: 6px solid #5a2d18;
  padding: 12px;
  width: 840px;
  max-width: 95vw;
  box-sizing: border-box;
}

.note-card {

  background: #f1f0de;
  border: 1px solid #ddd;
  box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.055);
  background-image: repeating-linear-gradient(#fcfbf2, #fcfbf2 24px, #8dfad9 25px);
  line-height: 25px;
  padding: 0px 12px;
  width: 140px;
  height: 120px;
  min-width: 60px;
  min-height: 40px;
  position: relative;
}

footer {
  text-align: center;
  font-family: "Funnel Sans", sans-serif;
  font-size: 14px;
  color: white;
  gap:6px;
  padding: 8px 2vw;
  background-color: #2a2833;
  border-radius: 12px 12px 0 0;
  margin-top: 10px;

}
body {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body::-webkit-scrollbar {
    display: none;
}

.animate-spawnin{
    animation: spawnIn .15s ease-in;
}

@keyframes spawnIn {
    0% {
        transform: translateY(-120px);
        opacity: .5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.canvas-container{
    position: relative;
    top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0px;
    display: inline-block;
}
.sprite-frame{
    filter: url(#boil);
}
.canvas-container.sprite-frame{
    
    width:100%;
    max-width:288px;
    margin: 0 auto;
    aspect-ratio: 1/1;
}
.btn-img{
    width: 32px;
}
#pkmnBG{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
       
    height: auto;          
    image-rendering: pixelated;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    max-width: 440px;
    z-index: 1;
}
#silhouette{
    filter: url(#boil);
    position: relative;
    height: auto;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    z-index: 2;
    display: block;

}
/* @media screen and (max-width: 960px) {
    #silhouette{

        height: 288px;
        width: 288px;
    }
}
@media screen and (max-width: 480px) {
    #silhouette{

        width: 60%;
        height: 100%;
        min-height: 96px;
        min-width: 96px;
    }
    #pkmnBG{
        width: 60%;
        min-width: 108px;
    }
} */
canvas{
    
    filter:brightness(0%);
    height: 96px;
    width: 96px;
    aspect-ratio: 1 / 1;
}

#myCanvas {
    width: clamp(48px, 30vh, 96px);
    height: clamp(48px, 30vh, 96px);
    filter: url(#boil);
}


@keyframes wrongPKMNShake {
    0% {
    transform: translateX(0);
    }
    25% {
    transform: translateX(12px);
    }
    75% {
    transform: translateX(-12px);
    }
    100% {
     transform: translateX(0);
    }
} 
.animate-shake{
    animation: wrongPKMNShake .15s linear;
}
@keyframes floatUpDown {
    0% {
    transform: translateY(0);
    }
    50% {
    transform: translateY(12px);
    }
    100% {
    transform: translateY(0);
    }
}

.animate-updown{
    animation: floatUpDown .05s ease-in;
}

#submit, #skip{
    background-color: antiquewhite;
    display: inline-block;
    cursor: pointer;
    border-radius: 12px;
    padding: 8px 5px;
    border: 1px  olivedrab;
    box-shadow: 0px 3px palegoldenrod;
}

@keyframes lerpHoverButtonColors {

    0%{
        transform: translateY(0px);
        background-color: antiquewhite;
    }
    100%{
        transform: translateY(-2px);
        background-color: palegoldenrod;
    }
}

@keyframes lerpClickButtonColors {

    0%{
        transform: translateY(0px);
        background-color: palegoldenrod;
        box-shadow: 0px 3px palegoldenrod;
    }
    100%{
        transform: translateY(2px);
        background-color: forestgreen;
        box-shadow: 0px 3px forestgreen;
    }
}
#submit:hover, #skip:hover{
    background-color: palegoldenrod;
    animation-name: lerpHoverButtonColors;
    animation-timing-function: ease-out;
    transform: translateY(-2px);
    animation-duration: .05s;
}

#submit:active, #skip:active{
    background-color: forestgreen;
    box-shadow: 0px 3px forestgreen;
    animation-name: lerpClickButtonColors;
    transform: translateY(2px);
    animation-timing-function: ease-out;
    animation-duration: .125s;
}

.gameplay {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px;
}
.time-bonus-holder{
    position: absolute;
    font-size: 3px;
    top: 10px;
    top:80%;
    left: 10%;
    transform:translateY(55%);
    pointer-events: none;
    z-index: 1;
}
.time-bonus {
    position: absolute;
    font-family: "Margarine", cursive;
    font-size: 1rem;
    color: #333131;
    font-weight: normal;;
    pointer-events: none;
    z-index: 10;
    animation: floatUpFade .5s ease-out forwards;
}

@keyframes floatUpFade {
    0% {
        transform: translateX(-30px) scale(1);
        opacity: 1;
    }
    10%{
        transform: translateX(-25px) scale(1);
    }
    50% {
        transform: translateX(-25px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(1px) scale(.25);
        opacity: 0;
    }
}

.hints {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: auto;
    min-width: 120px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-family: "Rubik", sans-serif;
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 8px;
    z-index: 2;
    text-align: left;
}

.pokeInfo{
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 90%;
    width: 100%;
    min-width: 0%;
    max-width: 800px;
    
    padding: 12px 24px 12px 36px;
    background-color: rgba(46, 139, 86, 0);
    min-height: 324px;
    
    border-image: url("assets/board-er.png") round;
    border-image-slice: calc(50 / 184 * 100%) calc(80 / 284 * 100%) fill;
    border-image-width: 48px 48px;
    box-sizing: border-box;
    position: relative;
}
.column{
    float: left;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    margin: 10px 0px 10px 0px;
}
.column.side{
    width: 45%;
    min-width: 120px;
    border-radius: 8px;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    min-height: 60px;
}
#endgame-score-label{
    flex-direction: row;
    justify-content:  center;
    gap: 5px;
    display:flex;
}
.note-card.mobile{
    width: 20%;
}
.note-card.mobile.type{
    max-width:200px;
    width: 35%;
}
@media (min-width: 960px) {
  .mobile {
    display:none; /* Side-by-side on desktop */
  }
  .pokeInfo{
        margin-top: clamp(1rem, 2vw, 2rem);
    }
}
@media (max-width: 959px) {
    
    .middle-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .column.middle {
        width: 100%;
        order: 1; /* Sprite shows first */
    }
    
    .column.side {
        width: 0px;
        display: none; /* Hidden since you have mobile versions */
    }
}

@media screen and (max-width: 400px) {
  .column.side, .column.middle {
    width: 80%;
  }
}

.top-row{
    margin: 10px 0px 10px 0px;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.middle-row{
    margin: 10px 0px 10px 0px;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.bottom-row{
    margin: 10px 0px 10px 0px;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.bottom-row.mobile{
    width:100%;
}
.sprite-area.column.middle{
    width: 100%;
    max-width: 480px;
    height: auto;
    padding: 0;
}

/* .column.middle{

    width: 50%;
    height:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    height:100%;
    padding-top: 1px;
    position: relative;
} */

.answer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.answer-row input {
  width: 200px;
  text-align: center;
}


.display-text{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 32px;
}
.structure{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pokemon-info{
    font-family: "Hammersmith One", sans-serif;
    justify-content: center;  
    width: 200px;
    border-radius: 2px;
    background-color: rgb(195, 230, 213);
    box-shadow: 2px 2px 2px rgb(69, 124, 69);
}
.pokemon-info p{
    font-family: "Hammersmith One", sans-serif;
}
.pokemon-info:hover{
    background-color:rgb(230, 240, 235);
    animation: englargeDIV .15s ease-in-out;
    border: #27583b 2px solid;
    transform: scale(1.05);
}
.pokemon-info.selected {
    background-color:rgb(230, 240, 235);
    animation: englargeDIV .15s ease-in-out;
    border: #27583b 2px solid;
    transform: scale(1.05);
}

.loading-overlay {
    filter: url(#boil);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 37, 34, 0.068);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}
a{
    color:#5add6e;
    text-decoration: none;
}
a:hover{
    color:#8bf79b;
    font-weight: bold;
    text-decoration: underline;
}
.loading-substitute {
    width: 30%;
    max-width: 200px;
    height: auto;
    animation: spinAndBounce 1s ease-in-out infinite;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.loading-text {
    font-family: "Hammersmith One", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgb(255, 255, 255);
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
    2px -2px 4px rgba(0, 0, 0, 0.5);
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes spinAndBounce {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    100% {
        transform: translateY(0px) rotate(360deg) scale(1);
    }
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-text::after {
    content: '';
    animation: loadingDots 1.5s steps(4) infinite;
}

@keyframes loadingDots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: ''; }
}

@keyframes englargeDIV {
    0% {
        transform: scale(.95);
    }
    10%{
        transform: scale(.95);
    }
    
    100% {
        transform: scale(1.05);
    }
}

.pokemon-name{
    color:rgb(58, 5, 15);
    font-family: "FOT-Yuruka Std", sans-serif;
    font-weight: 300;
    font-style: normal;
}

#pokemon-input{
    box-sizing: border-box;
    border-radius: 5px;
    border:#70a888 2px solid;
    background-color: #dad7d7;
    outline: none;
    padding: 12px 2px 12px 2px;
    text-align: center;
    margin: 8px 0;
}

#pokemon-input:focus-within{
    transform: scale(1.02);
    border:#97d4b2 2px solid;
    background-color: #ffffff;
}

#pokemon-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center; /* ensures added Pokémon divs are centered */
    width: 100%;
}

div{
    display: table;
    width: 100%;
    text-align: center;
}
.title {
     filter: url(#boil);
    font-family: "UnownFont", cursive;
    font-weight: 400;
    font-size: clamp(1.25rem, 6vw, 4rem);
    font-style: normal;
    color: aliceblue;
    color: white;

}
.type{
    filter: url(#boil);
}

@keyframes typePop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
    }
    80% {
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.animate-type-pop {
    animation: typePop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes textBounce {
    0% {
        transform: translateY(-10px) scale(0.9);
        opacity: 0;
    }
    50% {
        transform: translateY(5px) scale(1.1);
    }
    70% {
        transform: translateY(-2px) scale(0.95);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.animate-text-bounce {
    animation: textBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right:0;
    z-index: 4;

}
.overlay-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/STARTER_BG.png");
  background-size: var(--backgroundSize);
  background-position: 0 0;
  animation: movingBackground 24s linear infinite;
  z-index: 5;
  width: 100%; 
  height: 100%;
  pointer-events: none; /* optional */
}


.background-overlay {
  position: absolute;
  inset: 0;
  background-image: url("assets/NONSTARTER_BG.png");
  background-size: 128px 128px;
  background-position: center;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(65, 65, 87, 0.664);
}

.game-bg{
    z-index: -2;
    position: fixed;
    filter:opacity(10%) brightness(0%);
    width: 100%;
    height: 100%;

}
.game-bg:after{
    z-index: -2;
    position: absolute;
    background-color: rgba(65, 65, 87, 0);
    
}
.overlay-bg:after{
    content: '';
    inset: 0;
    position: absolute;
    
    translate: (50% -50%);
    background-color: rgba(65, 65, 87, 0.404);
    z-index: 5;
}

@keyframes movingBackground {
  from { background-position: 0 0;
}
  to {background-position: var(--backgroundSize) var(--backgroundSize);
}
}
.form{
    z-index: 6;
    border-style: solid;
    border-color: #5e5f55;
    border-radius: 20px;
    position: absolute;
    margin: auto;
    width: 90%;
    height: 80%;
    top: 50%;
    left: 50%;
    min-height: 300px;
    max-width: 600px;
    transform: translate(-50%, -52%);
    gap: 10px;
    background-color: #d1eede;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding: clamp(10px, 3vh, 20px);
    box-sizing: border-box;
}

.form-title .title{
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin: 0.5em clamp(1.55rem, 4vw, 2.5rem);
    text-wrap: nowrap;
}
.form-title{
    border-style: solid;
    border-color: #5a0c0c;
    border-radius: 20px;
    position: absolute;
    width: clamp(1.5rem, 5vw, 2.25rem);
    max-width: 400px;
    bottom: 100%;
    left: 50%;
    margin: auto;
    background-color: #792f2f;
    transform: translate(-50%, 50%);
}
.form-text{
    font-family: "Funnel Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(1.rem, 2vh + 05vw, 1.5rem);
}
.form-submit{
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #d1eede;
    border-style: solid;
    border-color: #269253;
    border-radius: 20px;
    position: absolute;
    height: auto;
    min-height: 50px;
    width: 30%;
    max-width: 200px;
    top:100%;
    left: 50%;
    font-family: "Hammersmith One", sans-serif;
    margin: auto;
    background-color: #76bb65;
    cursor: pointer;
    transform: translate(-50%, -50%);
    font-size: clamp(1.25rem, 3vh, 2rem);
    padding: clamp(8px, 1.5vh, 15px) clamp(15px, 2vw, 25px);

}
.form-submit:hover{
     background: linear-gradient(#3f2ca8, #131219) padding-box, linear-gradient(
        var(--angle),
        #070707,
        #687aff
      ) border-box;
    background-color: #4cae4c;
}

.form-group{
    padding-bottom: clamp(8px, 2vh, 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 1;
    align-items: center;
    height: 45%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.btn-group{
    gap: 1px;

}
.form-section-title{
    font-family: "Hammersmith One", sans-serif;
    z-index: 4;
    padding: clamp(2px, 1.5vh, 4px) clamp(3px, 1.5vw, 6px);
}
.form-input-group {
    padding: clamp(8px, 2vh, 12px) 0;
    width: 70%;
    gap:1px;
    border-image: url("assets/board-er.png") round;
    border-image-slice: calc(50 / 184 * 100%) calc(80 / 284 * 100%) fill;
    border-image-width: clamp(24px, 5vh, 48px) clamp(24px, 5vh, 48px);
    place-items: center;
    background-color: #793935;
}
#name-hint{
    font-family: "DM Mono", monospace;
    letter-spacing: 2px;
}
#name-hint-group{
    display: inline-block;
    width: fit-content;
    padding: 0 10px 0 10px;
    background-color: #d1eede;
    border-radius: 15px;
    border: #a6a892 2px solid;
}
.note-text{
    font-family:  "Margarine", sans-serif;
    font-weight: 200;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
.hint-name{
    font-family: "Atma", system-ui;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 3px;
    color: #131219;
    text-decoration: underline rgb(218, 200, 200) 2px;
}

.btn-row {
    display: flex;
    justify-content: center;
    gap: clamp(4px, 1vh, 8px);
    margin-top: clamp(2px, 0.65vh, 4px);
    flex-wrap: nowrap;
}
.btn-row:first-child {
    justify-content: center; /* single "All Generations" centered */
    margin-top: 0;
}
.btn {
    padding: 4px 12px;
    margin: 2px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 24px;
    font-family: "Dongle", sans-serif;
    padding: clamp(4px, 0.8vh, 8px) clamp(8px, 1.5vw, 12px);
    font-size: clamp(1rem, 2.5vh, 1.5rem);
}

.btn.active {
    background: #60ac58;
    color: #fff;
    border-color: #157746;
    
}
.btn:hover{
    /* scale visually without affecting layout */
    transform: scale(1.05);
    background-color: rgb(147, 236, 216);
    /* remove margin/font-size changes that cause reflow */
}
.btn.active:hover {
    background: #558d4e;
    color: #fff;    
}


.endgame-form {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 4px solid #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
}

.endgame-decoration {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100px;
    pointer-events: none;
}

.title.endgame-title {
    font-size: clamp(1.5rem, 5vh, 3rem);
    letter-spacing: 3px;
    margin: 0.3em 0;
}

.endgame-score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: clamp(20px, 4vh, 40px) 0;
    animation: scorePopIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;

}

@keyframes scorePopIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.endgame-label {
    font-family: "Luckiest Guy", cursive;
    font-weight: bold;
    font-size: clamp(1.25rem, 6vh, 1.75rem);
    color:#f7e5e5;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #ca4141,
                 -2px 2px 0px #ca4141,
                 2px -2px 0px #ca4141,
                 -2px -2px 0px #ca4141,
                 0px 2px 0px #ca4141,
                 0px -2px 0px #ca4141,
                 2px 0px 0px #ca4141,
                 -2px 0px 0px #ca4141;
}

.score-circle {
    width: clamp(120px, 20vh, 240px);
    height: clamp(120px, 20vh, 240px);
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    border: 5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 2px rgba(0, 0, 0, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
}
.score-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(to bottom, 
        #ca4141 0%, 
        #ca4141 45%, 
        #3a3636 45%, 
        #3a3636 55%, 
        #f7e5e5 55%, 
        #f7e5e5 100%);
    border: 5px solid #3a3636;
    z-index: 0;
    animation: rotateBorder 60s linear infinite;
}

.score-circle::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 30%;
    border-radius: 50%;
    background: #f7e5e5;
    border: clamp(4px, 1vh, 6px) solid #3a3636;

    z-index: 3;
}


@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fs-number {
    font-family: "Luckiest Guy", cursive;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: #fff;
    margin: 0;
    z-index: 4;

    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.719);
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.01);
    }
}

.score-subtitle {
    font-family: "Funnel Sans", sans-serif;
    font-size: clamp(0.9rem, 1.9vh, 1.2rem);
    color: #3d2323;
    margin-top: 10px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.quiz-summary {
    display: flex;
    flex-direction: column;
    align-items:center;
    gap: 12px;
    width: 80%;
    max-width: 400px;
    margin: clamp(15px, 3vh, 25px) auto;
     background: #f1f0de;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.055);
    background-image: repeating-linear-gradient(#fcfbf2, #fcfbf2 24px, #8dfad9 25px);
}

.quiz-detail {
    color: #131219;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 1;
    align-items: center;

    border-radius: 15px;
    padding: clamp(10px, 2vh, 15px);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInLeft 0.5s ease-out 0.6s both;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.detail-icon {
    font-size: clamp(1.5rem, 3vh, 2.5rem);
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    text-align: left;
}

.detail-label {
    font-family: "Atma", system-ui;
    font-size: clamp(0.7rem, 1.2vh, 0.9rem);
    color: #131219b9;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    color: #131219;
    font-family: "Hammersmith One", sans-serif;
    font-size: clamp(1rem, 1.8vh, 1.4rem);
    margin: 2px 0 0 0;
    font-weight: bold;
}





/* Responsive adjustments */
@media (max-height: 600px) {
    .endgame-score-container {
        margin: 15px 0;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
}
#tooltip{
    font-family: "Atma";
}
#tooltip-image{
    
    width: 100px;
    height: 100px;
    image-rendering: pixelated;
}
@media screen and (max-width: 200px) {
  .column.side, .column.middle {
    width: 100%;
  }
}

