/* fonts */

@font-face {
    font-family: 'Erica One'; 
    src: url('/fonts/EricaOne-Regular.ttf') format('truetype'); 
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat'; 
    src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('truetype'); 
    font-display: swap;
}

body {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 450;
    font-style: normal;
  }
  
  /* landing page */
  
  .h1-landing {
      font-family: "Erica One", serif;
      font-weight: 400;
      font-style: normal;
      color: #A5D7E8;
      font-size: 55px;
      margin-top: 113px;
      margin-bottom: 0;
      text-shadow: 3px 5px 1px rgba(11, 36, 71, 1);
  }
  
  .body-landing {
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='72' viewBox='0 0 36 72'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230b2447' fill-opacity='0.05'%3E%3Cpath d='M2 6h12L8 18 2 6zm18 36h12l-6 12-6-12z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      background-color: #7C8BC5;
      color: #0B2447;
      text-align: center;
      display: flex;
      align-items: center;
      flex-direction: column;
  }
  
  .bs-se-img-landing {
      width: 220px;
      margin: 0 auto;
  }
  
  .landing-button {
      background-color: #0B2447;
      color: #A5D7E8;
      border: none;
      border-radius: 25px;
      width: 300px;
      height: 75px;
      font-size: 26px;
      font-family: "Montserrat", serif;
      font-optical-sizing: auto;
      font-weight: 600;
      font-style: normal;
      margin: 40px auto 0;
      cursor: pointer;
  }
  
  .landing-container {
      width: 300px;
      height: 382px;
      margin-top: 5px;
      display: flex;
      flex-wrap: wrap;
      align-content: space-between;
  }
  
  .description-landing {
      margin: 0;
      font-size: 18px;
  }

  .div-credit {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 250px;
    margin: 0 auto;
  }

  .credit-left {
    font-size: 16px;
    font-weight: 500;
  }

  .credit-right {
    width: 128px;
  }

  .bs-se-img-landing {
    width: 100%;
  }

/* quiz styles */

.h1-quiz {
    font-family: "Erica One", serif;
    font-weight: 400;
    font-style: normal;
    color: #A5D7E8;
    font-size: 26px;
    margin: 0;
    background-color: #19376D;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-shadow: 2px 4px 1px rgba(11, 36, 71, 1);
}

.body-quiz {
    margin: 0;
    padding: 0;
    color: white;
    font-size: 30px;
    font-weight: 600;
    background-color: #0B2447;
    line-height: 1.2;
}

.question-container-quiz {
    display: flex;
    min-height: 400px;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.container-quiz {
    max-width: 305px;
    margin: 0 auto;
}

.ques-num-quiz {
    color: #a5b8ff;
    font-size: 32px;
    font-weight: 600;
    width: 305px;
    margin: 0 auto;
    margin-top: 30px;
}

.total-ques-quiz {
    font-size: 18px;
    color: #4a5ca0;
}

.hr-quiz {
    border: none;
    border-top: 2px dotted #576CBC;
    width: 305px;
}

.answer-button {
    width: 100%;
    height: auto;
    padding: 16px;
    border: 3px solid #576CBC;
    border-radius: 20px;
    color: #fff;
    background-color: #0B2447;
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    font-family: "Montserrat", serif;
    cursor: pointer;
}

.answers-container-quiz {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.skip-button {
    background-color: #576CBC;
    color: #fff;
    width: 305px;
    height: 40px;
    border-radius: 17px;
    border: none;
    margin: 0 auto;
    font-family: "Montserrat", serif;
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 500;
}

/* result */

.body-result {
    margin: 0;
    padding: 0;
    background-color: #0b2447;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='72' viewBox='0 0 36 72'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2319376d' fill-opacity='0.17'%3E%3Cpath d='M2 6h12L8 18 2 6zm18 36h12l-6 12-6-12z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.question-container-result p {
    font-size: 33px;
    color: #fff;
    font-weight: 700;
    display: flex;
    max-width: 325px;
    margin: 30px auto 0;
}

.answers-container-result {
    width: 305px;
    margin: 0 auto;
    color: #A5B8FF;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 6px;
}

.clubsListElement {
    width: 285px;
    margin: 0 auto;
    font-size: 24px;
    color: #fff;
    line-height: 1.4;
    margin-top: 25px;
}

.btn-result  {
    font-family: "Montserrat", serif;
    /* max-width: 305px; */
    color: #A5D7E8;
    background-color: #576CBC;
    border-radius: 50px;
    height: 65px;
    border: none;
    /* width: 305px; */
    font-size: 24px;
    font-weight: 500;
    margin: 15px auto 20px;
}

.list-btn-result {
    color: #A5D7E8;
    background-color: #576CBC;
    border-radius: 50px;
    height: 65px;
    border: none;
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
    margin: 50px auto 0;
}

.btn-result, .list-btn-result {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    font-weight: 600;
    max-width: 325px;
    width: 325px;
}

#confetti {
    pointer-events: none; /* Prevents clicks on the canvas */
    z-index: 1;            /* Ensures it stays behind content */
    position: absolute;
    top: 0;
    left: 0;
}

/* landing page animations */

.appear-first {
    animation: fade-in 0.4s;
}

.appear-second {
    animation: fade-in 0.8s;
}

.appear-third {
    animation: appear 2s;
}

.h1-appear {
    animation: heading-appear 0.5s;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heading-appear {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes appear {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* answer selection animation */

.scale-up {
    transform: scale(1.05);
    transition: transform 0.1s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.15s ease-in;
}

.inst-out {
    opacity: 0;
}

.inst-in {
    opacity: 1;
    transition: opacity 0.15s ease-in;
    animation: fade-in 0.4s;
}