:root {
    --green:rgb(200,255,15);    
    --red: #FF400F;
  }


body {
    margin: 0;
    padding: 0;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;

    /* Multiple backgrounds: first is top layer (overlay), second is underneath */
    background-image:
        url("/imgs/bg_grunge_50.webp"),
        url("/imgs/bg_burst_dark.svg");

    /* Each value corresponds to each image in the same order; single value applies to all */
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center, center;
    background-attachment: fixed, fixed;
    background-blend-mode: darken, normal;
    background-size: cover, cover;
}
header {
    background-color: rgba(0,0,0,.8);
    padding:10px 20px;
}

.answer{
    background-color:rgba(99,0,0,.8);
    padding:10px;
    padding:5px 20px;
}

.content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
}
footer{
    background-color:rgba(0,0,0,.8); 
    color:#fff; 
    padding:10px;
    margin-top:100px
}

[x-cloak]{display:none}

div,p{color:rgba(255,255,255,0.95);}

answer{
    
    display:block; 
    text-align: center;
    padding:24px;
    font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
    /* ----- */
    
}
answer:hover{
    cursor: pointer;
}




/* CSS */
answerButton {
  appearance: button;
  background-color: #1899D6;
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: din-round,sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .8px;
  line-height: 20px;
  margin: 0;
  outline: none;
  overflow: visible;
  padding: 13px 16px;
  text-align: center;
  text-transform: uppercase;
  touch-action: manipulation;
  transform: translateZ(0);
  transition: filter .2s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  width: 100%;
  margin-top:15px
}

answerButton:after {
  background-clip: padding-box;
  background-color: #1CB0F6;
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  bottom: -4px;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}


answerButton:focus {
user-select: auto;
}

answerButton:hover:not(:disabled) {
filter: brightness(1.1);
-webkit-filter: brightness(1.1);
}

answerButton:disabled {
cursor: auto;
}

answerButton:active {
border-width: 4px 0 0;
background: none;
}

.score {
    paint-order: stroke fill;
    display: flex;
    flex-direction: column;
    align-items: center;

    text-transform: uppercase;
    font-size: calc(1rem + min(90px, 15vw));
    font-weight: 900;
    letter-spacing: -.175ch;
    line-height: 0.9;
    color: white;
    -webkit-text-stroke: 9px rgba(0, 0, 0, 0.9);
    text-shadow: 8px 8px rgba(0, 0, 0, 0.5);
}
.score_nav {
    paint-order: stroke fill;

    font-size: 1rem;
    font-weight: 900;

    color: white;
    -webkit-text-stroke: 9px rgba(0, 0, 0, 0.9);
    text-shadow: 8px 8px rgba(0, 0, 0, 0.5);
}
.question{ 
    color:#fff;
    font-size:clamp(1.5rem, 2vw + 1rem, 4.25rem);;
    font-weight: 700; 
    font-weight: bold; 
    display: block; 
    text-align: center;
    margin: 20px 10px;
    text-shadow: 0px 2px 8px rgba(0,0,0,.5);

}
.sheepContainer {
    margin: auto;
    text-align: center;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
    border:12px solid red;
}

.sheep {
    width: 20%; /* Each image takes up equal space (100% / 5 images) */
    height: auto;
    object-fit: contain;
    display: block;
}
.hidden {
    display: none;
}

.main{
align-items: center;
text-align: center;
max-width: 900px;
margin: 0 auto;
padding:40px;
}
.grandstander800 {
font-family: "Grandstander", serif;
font-optical-sizing: auto;
font-weight: 800;
font-style: normal;
letter-spacing: -.075ch;
}


logo{font-weight: bold;}
h1{font-size: clamp(4.5rem, 5vw, 3rem);
}
.response{
    /* background-color: red; padding:20px; */
    width:100%;
    max-width: 800px;
    margin: auto;
    padding-top:20px;
}
.bg_answer{


    max-width: 800px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.6);

    border-radius: 10px;
    border: 5px solid rgba(0, 0, 0, 0.8);
    margin-top:50px;
    padding:20px;

}
.center{text-align: center;}

.answer_correct{color: var(--green); 
    paint-order: stroke fill;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* text-transform: uppercase; */
    font-size: calc(1rem + min(90px, 15vw));
    font-weight: 800;
    letter-spacing: -.175ch;
    line-height: 0.8;
    -webkit-text-stroke: 9px rgba(0, 0, 0, 0.9);
    text-shadow: 8px 8px rgba(0, 0, 0, 0.5);
}
.answer_incorrect {
    color: var(--red);
    font-weight: 600;
}


.answer_points{color: var(--green)}
.answer_bonus_points_title{color: var(--green)}

h1{margin:0px;}

.question_image{
    max-width:120px;
    max-height:120px;
}
.category-section {
    margin: 20px 0;
    text-align: left;
    padding: 0 20px;
}
.category-header {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: capitalize;
}
.summary-answer {
    margin: 5px 0;
    padding: 5px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
}
logo{ color:#fff}


/* LEADERBOARD */
.leaderboard {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
}
.leaderboard th,
.leaderboard td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.leaderboard tr:nth-child(even) {
    background-color: #f2f2f2;
}

.current-player {
    background-color: #ffcc00 !important;
}
.key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5em;
    height: 2em;
    padding: 0.25em 0.5em;
    margin: 0.25em;
    border: 2px solid #333;
    border-radius: 0.5em;
    box-shadow:
        0 4px 2px rgba(0, 0, 0, 0.2);
    color: #333;
    user-select: none;
}

/* .key:active {
    box-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #999,
        inset 0 2px 2px rgba(0,0,0,0.1);
    transform: translateY(1px);
} */