* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Light */
@font-face {
  font-family: "Isidora Sans";
  src: url("../assets/fonts/IsidoraSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

/* Regular */
@font-face {
  font-family: "Isidora Sans";
  src: url("../assets/fonts/IsidoraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Medium */
@font-face {
  font-family: "Isidora Sans";
  src: url("../assets/fonts/IsidoraSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

/* SemiBold */
@font-face {
  font-family: "Isidora Sans";
  src: url("../assets/fonts/IsidoraSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* Bold */
@font-face {
  font-family: "Isidora Sans";
  src: url("../assets/fonts/IsidoraSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.loading-screen {
  position: absolute;
  left: 0;
  top: 0;
  height: 100dvh;
  width: 100vw;
  display: grid;
  place-content: center;
  font-size: 5dvh;
  font-family: sans-serif;
  z-index: 5;
  background-color: #231f20;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  font-family: "Isidora Sans";
  padding: 0;
  margin: 0;
  overflow: hidden;
  height: 100dvh;
  position: fixed;
  width: 100%;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2%;
  text-align: center;
}

.logo {
  height: auto;
  max-height: 6vh;
  padding: 1.5%;
  will-change: filter;
  transition: filter 300ms;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.vanilla:hover {
  filter: drop-shadow(0 0 2em #f7df1eaa);
}

.card {
  padding: 2%;
}

.read-the-docs {
  color: #888;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  a:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}

.main-container {
  display: none;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  /* overflow: hidden; */
  position: relative;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #330d13 0%, #431119 100%, #27090e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 6.5vh;
}

.header img[alt="Hersheys"] {
  height: 4.3vh;
  width: auto;
  flex-shrink: 0;
}

.header img[alt="ledLightLeft"],
.header img[alt="ledLightRight"] {
  position: absolute;
  height: 4.5vh;
  width: auto;
  flex: 1;
}

.header img[alt="ledLightLeft"] {
  left: 0px;
  top: 0px;
}

.header img[alt="ledLightRight"] {
  right: 0px;
  top: 0px;
}

.container {
  position: fixed;
  top: 6.5vh;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  background-image: url("/assets/images/Background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #b68d52;
  padding-bottom: 2vh;
}

.loading-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  flex-direction: column;
}

.loader-container {
  display: flex;
  flex-direction: column;
  max-width: 230px;
  width: 80%;
  padding: 0px;
  align-items: center;
}

.loading-text {
  font-family: Isidora Sans;
  font-weight: 700;
  font-style: Bold;
  font-size: 25px;
  color: #380f15;
}

.loading-bar-container {
  width: 100%;
  height: 30px;
  background-color: transparent;
  padding: 2px;
  overflow: hidden;
  border: 1px solid #380f15;
}

#loading-bar {
  width: 0%;
  height: 100%;
  border-radius: 5px;
  background: #5c3023;
  transition: width 0.1s linear;
}

.wait-text {
  align-self: flex-end;
  color: #380f15;
  font-weight: 600;
}

.heading {
  text-align: center;
  margin-top: 15%;
  margin-bottom: 10%;
  padding: 0;
}

.heading-text {
  font-size: 8vw;
  color: #380f15;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 0px;
}

.posters {
  display: flex;
  position: relative;
  padding-left: 1%;
}

img[alt="poster1"] {
  width: 70%;
  height: auto;
}

img[alt="poster2"] {
  width: 55%;
  height: auto;
  position: absolute;
  right: 2%;
  top: 8%;
}

img[alt="almond1"] {
  width: 51%;
  height: auto;
  position: absolute;
  right: 0%;
  top: 40%;
}

.cards {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20%;
}

img[alt="hersheysCard"] {
  position: relative;
  width: 50%;
  height: auto;
  box-shadow: 0px 19px 18.3px 0px #00000069;
}

.card-text {
  position: absolute;
  text-align: center;
  font-size: 6vw;
  color: #380f15;
  font-weight: 700;
}

img[alt="spades"],
img[alt="diamond"] {
  width: 30%;
  height: auto;
  z-index: -1000;
  position: absolute;
}

img[alt="diamond"] {
  right: 5dvw;
}

img[alt="spades"] {
  left: 5dvw;
}

img[alt="cardOne"],
img[alt="cardTwo"],
img[alt="cardThree"] {
  position: absolute;
  width: 24.33%;
  height: auto;
  z-index: 1;
  animation-name: float;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

img[alt="cardOne"] {
  left: 13dvw;
  top: 38dvh;
  animation-delay: 2s;
}

img[alt="cardTwo"] {
  right: 15dvw;
  bottom: 23dvh;
  animation-delay: 0s;
}

img[alt="cardThree"] {
  right: 15dvw;
  top: 35dvh;
  animation-delay: 4s;
}

.bottom-container {
  display: flex;

  align-items: center;
  position: relative;
  margin-top: 10%;
  margin-left: 4.5%;
  margin-bottom: 2vh;
  gap: 11%;
}

img[alt="chocolate"] {
  width: 15%;
  height: auto;
}

.proceed-button {
  background: linear-gradient(93.78deg,
      #dfbc66 0.3%,
      #f7ef8a 29.46%,
      #fff4c5 59.92%,
      #d2ac47 94.92%,
      #edc967 124.73%);
  box-shadow: 3px 5px 9.3px 0px #00000070;
  width: 169px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #3a000f;
  font-size: clamp(16px, 4vw, 32px);
  color: #3a000f;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.proceed-button:active {
  transform: translateY(2px);
  box-shadow: 1px 2px 4px 0px #00000050 inset, 1px 1px 2px 0px #00000070;
}

img[alt="almond2"] {
  position: absolute;
  width: 30%;
  height: auto;
  margin-left: auto;
  right: -5dvw;
  bottom: -0.5vh;
}

.game-screen {
  background: #371a1a;
  display: none;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  height: 100dvh;
  width: 100vw;
}

.desktop-message {
  display: none;
  text-align: center;
  padding: 40px;
  font-size: 20px;
  line-height: 1.6;
  color: #ffffff;
  background-color: #242424;
  height: 100vh;
  width: 100%;
  box-sizing: border-box;
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
}

/*small phones*/
@media screen and (min-width: 361px) and (max-width: 376px) {
  .header {
    height: 8vh;
  }

  .header img[alt="ledLightLeft"],
  .header img[alt="ledLightRight"] {
    height: 6vh;
  }

  .container {
    top: 8vh;
  }

  .heading {
    margin-top: 10%;
    margin-bottom: 6%;
  }

  .heading-text {
    font-size: 8vw;
  }

  .posters {
    padding-left: 2%;
  }

  img[alt="poster1"] {
    width: 65%;
  }

  img[alt="poster2"] {
    width: 50%;
    right: 3%;
    top: 10%;
  }

  img[alt="almond1"] {
    width: 44%;
    top: 42%;
  }

  .cards {
    margin-top: 6%;
  }

  img[alt="hersheysCard"] {
    width: 45%;
  }

  .card-text {
    font-size: 6vw;
  }

  img[alt="cardOne"],
  img[alt="cardTwo"],
  img[alt="cardThree"] {
    width: 26%;
  }

  img[alt="cardOne"] {
    left: 8dvw;
    top: 35dvh;
  }

  img[alt="cardTwo"] {
    right: 15dvw;
    bottom: 23dvh;
  }

  img[alt="cardThree"] {
    right: 15dvw;
    bottom: 30dvh;
  }

  .bottom-container {
    margin-top: 8%;
    margin-left: 3%;
    gap: 10%;
    flex-wrap: wrap;
  }

  img[alt="chocolate"] {
    width: 18%;
  }

  .proceed-button {
    width: 140px;
    height: 36px;
    padding: 10px 30px;
    font-size: 1rem;
  }
}

@media screen and (max-width: 360px) {
  .header {
    height: 8vh;
  }

  .header img[alt="ledLightLeft"],
  .header img[alt="ledLightRight"] {
    height: 5vh;
  }

  .container {
    top: 8vh;
  }

  .heading {
    margin-top: 15%;
    margin-bottom: 10%;
  }

  .heading-text {
    font-size: 7vw;
  }

  .posters {
    padding-left: 3%;
  }

  img[alt="poster1"] {
    width: 60%;
  }

  img[alt="poster2"] {
    width: 45%;
    right: 4%;
    top: 12%;
  }

  img[alt="almond1"] {
    width: 40%;
    top: 44%;
  }

  .cards {
    margin-top: 15%;
  }

  img[alt="hersheysCard"] {
    width: 40%;
  }

  .card-text {
    font-size: 5vw;
  }

  img[alt="cardOne"],
  img[alt="cardTwo"],
  img[alt="cardThree"] {
    width: 24%;
  }

  img[alt="cardOne"] {
    left: 10dvw;
    top: 40dvh;
  }

  img[alt="cardTwo"] {
    right: 15dvw;
    bottom: 25dvh;
  }

  img[alt="cardThree"] {
    right: 20dvw;
    bottom: 50dvh;
  }

  .bottom-container {
    margin-top: 15%;
    margin-left: 2%;
    gap: 12%;
    flex-wrap: wrap;
  }

  img[alt="chocolate"] {
    width: 20%;
  }

  .proceed-button {
    width: 120px;
    height: 32px;
    padding: 8px 20px;
    font-size: 1rem;
  }
}

@media screen and (min-width: 400px) and (max-width: 500px) {
  .header {
    height: 8vh;
  }

  .header img[alt="ledLightLeft"],
  .header img[alt="ledLightRight"] {
    height: 5vh;
  }

  .container {
    top: 8vh;
  }

  .heading {
    margin-top: 15%;
    margin-bottom: 5%;
  }

  .heading-text {
    font-size: 7vw;
  }

  .posters {
    padding-left: 3%;
  }

  img[alt="poster1"] {
    width: 60%;
  }

  img[alt="poster2"] {
    width: 45%;
    right: 4%;
    top: 12%;
  }

  img[alt="almond1"] {
    width: 40%;
    top: 44%;
  }

  .cards {
    margin-top: 15%;
  }

  img[alt="hersheysCard"] {
    width: 40%;
  }

  .card-text {
    font-size: 5vw;
  }

  img[alt="cardOne"],
  img[alt="cardTwo"],
  img[alt="cardThree"] {
    width: 24%;
  }

  img[alt="cardOne"] {
    left: 10dvw;
    top: 40dvh;
  }

  img[alt="cardTwo"] {
    right: 15dvw;
    bottom: 25dvh;
  }

  img[alt="cardThree"] {
    right: 20dvw;
    bottom: 50dvh;
  }

  .bottom-container {
    margin-top: 15%;
    margin-left: 2%;
    gap: 15%;
    flex-wrap: wrap;
  }

  img[alt="chocolate"] {
    width: 20%;
  }

  .proceed-button {
    width: 150px;
    height: 40px;
    padding: 8px 20px;
    font-size: 1rem;
  }
}

@media screen and (min-width: 501px) {
  .main-container {
    display: none !important;
  }

  .desktop-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(242.74deg,
        #922032 0%,
        #e83b57 60.78%,
        #bd2e45 98.76%);
  }

  .desktop-image {
    width: 363px;
    height: auto;
  }

  .desktop-text {
    font-size: 3vh;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/*Height responsive*/
@media screen and (max-height: 719px) {
  .header {
    height: 7vh;
  }

  .header img[alt="ledLightLeft"],
  .header img[alt="ledLightRight"] {
    height: 5vh;
  }

  .container {
    top: 7vh;
  }

  .heading {
    margin-top: 15%;
    margin-bottom: 5%;
  }

  .heading-text {
    font-size: 8vw;
  }

  .posters {
    padding-left: 3%;
  }

  img[alt="poster1"] {
    width: 60%;
  }

  img[alt="poster2"] {
    width: 45%;
    right: 4%;
    top: 12%;
  }

  img[alt="almond1"] {
    width: 40%;
    top: 44%;
  }

  .cards {
    margin-top: 5%;
  }

  img[alt="hersheysCard"] {
    width: 40%;
  }

  .card-text {
    font-size: 5vw;
  }

  img[alt="cardOne"],
  img[alt="cardTwo"],
  img[alt="cardThree"] {
    width: 24%;
  }

  .bottom-container {
    margin-top: 5%;
    margin-left: 2%;
    gap: 10%;
    flex-wrap: wrap;
  }

  img[alt="chocolate"] {
    width: 20%;
  }

  .proceed-button {
    width: 150px;
    height: 40px;
    padding: 8px 20px;
    font-size: 1rem;
  }
}

@media screen and (min-height: 720px) and (max-height: 790px) {
  .header {
    height: 7vh;
  }

  .header img[alt="ledLightLeft"],
  .header img[alt="ledLightRight"] {
    height: 5vh;
  }

  .container {
    top: 7vh;
  }

  .heading {
    margin-top: 15%;
    margin-bottom: 10%;
  }

  .heading-text {
    font-size: 8vw;
  }

  .posters {
    padding-left: 3%;
  }

  img[alt="poster1"] {
    width: 60%;
  }

  img[alt="poster2"] {
    width: 45%;
    right: 4%;
    top: 12%;
  }

  img[alt="almond1"] {
    width: 40%;
    top: 44%;
  }

  .cards {
    margin-top: 15%;
  }

  img[alt="hersheysCard"] {
    width: 40%;
  }

  .card-text {
    font-size: 5vw;
  }

  img[alt="cardOne"],
  img[alt="cardTwo"],
  img[alt="cardThree"] {
    width: 24%;
  }

  .bottom-container {
    margin-top: 5%;
    margin-left: 2%;
    gap: 6%;
    flex-wrap: wrap;
  }

  img[alt="chocolate"] {
    width: 20%;
  }

  .proceed-button {
    width: 180px;
    height: 40px;
    padding: 8px 20px;
    font-size: 1rem;
  }
}

@media screen and (min-height: 791px) and (max-height: 850px) {
  .header {
    height: 7vh;
  }

  .header img[alt="ledLightLeft"],
  .header img[alt="ledLightRight"] {
    height: 5vh;
  }

  .container {
    top: 7vh;
  }

  .heading {
    margin-top: 15%;
    margin-bottom: 10%;
  }

  .heading-text {
    font-size: 8vw;
  }

  .posters {
    padding-left: 3%;
  }

  img[alt="poster1"] {
    width: 60%;
  }

  img[alt="poster2"] {
    width: 45%;
    right: 4%;
    top: 12%;
  }

  img[alt="almond1"] {
    width: 40%;
    top: 44%;
  }

  .cards {
    margin-top: 15%;
  }

  img[alt="hersheysCard"] {
    width: 40%;
  }

  .card-text {
    font-size: 5vw;
  }

  img[alt="cardOne"],
  img[alt="cardTwo"],
  img[alt="cardThree"] {
    width: 24%;
  }

  .bottom-container {
    margin-top: 10%;
    margin-left: 2%;
    gap: 6%;
    flex-wrap: wrap;
  }

  img[alt="chocolate"] {
    width: 20%;
  }

  .proceed-button {
    width: 180px;
    height: 40px;
    padding: 10px 22px;
    font-size: 1rem;
  }
}