
*{
  cursor: url('/images/CURSOR1.png'),auto;
}
body {
  margin: 0;
  font-family: sans-serif;
  font-size: 10px;
  overflow: hidden;
}

button {
  background-color: #fff;
  border: none;
}

.pop-up-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pop-up {
  height: 170px;
  width: 400px;
  border: 3px solid black;
  z-index: 1000;
  position: fixed;
  top: 30%;
  left: 38%;
  background-color: white;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}

.pop-up .upper-cross {
  display: flex;
  justify-content: flex-end;
}

.pop-up .upper-cross button {
  background-color: red;
  border-radius: 50%;
  height: 35px;
  width: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hover {
  cursor: pointer;
}

#google_translate_element {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

.cross {
  display: flex;
  justify-content: flex-end;
}
.cross .upper-cross button {
  background-color: red;
  border-radius: 50%;
  height: 35px;
  width: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.pop-up .lower-content {
  display: flex;
  gap: 20px;
  margin: 0 20px;
  align-items: center;
}

.pop-up .lower-button {
  display: flex;
  justify-content: flex-end;
  padding: 5px;
  overflow: hidden;
  height: 25px;
}

.pop-up .lower-button button {
  cursor: pointer;
}

#speech-text {
  font-size: 17px;
  color: #000;
}

#forge {
  border: 2px solid #000;
  width: 99%;
  height: 200px;
  min-height: 200px;
  background-color: #eee;
  color: #f9f9f9;
  text-align: center;
  font-family: sans-serif;
  font-size: 50px;
  grid-row-start: 2;
  grid-row-end: 3;
}

#pantry {
  grid-column-start: 2;
  grid-column-end: 6;
  grid-row-start: 1;
  grid-row-end: 2;
  float: right;
  /* overflow: auto; */
  min-width: 0;
  /* min-height: 2000px; */
  text-align: left;
}

.pantryIngredient,
.ingredient {
  border-radius: 5px;
  border: 2px solid #000;
  background-color: #fff;
  max-width: 50px;
  max-height: 50px;
  min-height: 50px;
  min-width: 50px;
}

.ingredient {
  position: absolute;
}

.pantryIngredient:hover {
  cursor: pointer;
  border: 3px solid rgb(9, 178, 9);
}

.pantrySlot {
  max-width: 54px;
  min-height: 105px;
  margin: 3px;
  float: left;
  text-align: center;
  font-size: 10px;
}

.nav {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  min-height: 2000px;
}

#upbutton,
#downbutton {
  padding-top: 15px;
  min-width: 48px;
  min-height: 105px;
}

.outer {
  display: grid;
  grid-gap: 0;
  overflow: hidden;
  max-height: 900px;
}

.lower {
  display: grid;
  grid-gap: 0;
}

.upper {
  display: grid;
  grid-gap: 0;
  grid-row-start: 1;
  grid-row-end: 2;
}

#btnhome {
  grid-column-start: 1;
  grid-column-end: 2;
  text-align: left;
}
#feedbackButton:hover {
  cursor: pointer; /* changes cursor to pointer on hover */
  text-decoration: underline; /* adds underline on hover (optional) */
  color: cadetblue; /* change color on hover (optional) */
}

#homebutton:hover {
  transition: transform 0.2s ease-in-out;
  transform: scale(1.2); /* Increase size on hover (adjust as desired) */
}
#collectionbutton:hover {
  transition: transform 0.2s ease-in-out;
  transform: scale(1.2); /* Increase size on hover (adjust as desired) */
}
#hint:hover {
  transition: transform 0.2s ease-in-out;
  transform: scale(1.2); /* Increase size on hover (adjust as desired) */
}
#soundbutton2:hover {
  transition: transform 0.2s ease-in-out;
  transform: scale(1.2); /* Increase size on hover (adjust as desired) */
}
#trash:hover {
  transition: transform 0.2s ease-in-out;
  transform: scale(1.1); /* Increase size on hover (adjust as desired) */
}

#homebutton,
#collectionbutton {
  font-size: 30px;
  position: relative;
}

#collectionnumbers {
  position: relative;
  top: -3px;
  left: 0;
  font-weight: bold;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.8);
}

#title {
  grid-column-start: 2;
  grid-column-end: 4;
  text-align: center;
}

#btnhint {
  text-align: right;
  grid-column-start: 4;
  grid-column-end: 5;
}

#btncollection {
  text-align: center;
  grid-column-start: 5;
  grid-column-end: 6;
}

#modal,
#collection {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  animation-name: animatetop;
  animation-duration: 0.4s;
}

#home,
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: #000;
  background-position-x: center;
  background-repeat: no-repeat;
}

#modalcontent {
  margin: 15% auto;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  width: 90%;
  height: 50%;
  text-align: center;
  vertical-align: middle;
}

#modalcontent a {
  color: #999;
}

#wincontent {
  margin: 5% auto;
  background-color: #fff;
  width: 90%;
  text-align: center;
  vertical-align: middle;
  font-size: 18px;
  display: none;
}

#homecontent {
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  width: 90%;
  height: 100%;
  text-align: center;
  font-size: 2.5em;
  font-style: italic;
  overflow-y: auto; /* Enable vertical scrolling */
  height: 100vh;
}
/* Style the scrollbar - Chrome, Safari */
#homecontent::-webkit-scrollbar {
  width: 10px; /* Width of the scrollbar */
}

#homecontent::-webkit-scrollbar-track {
  background: #282c34; /* Color of the track */
}

#homecontent::-webkit-scrollbar-thumb {
  background: #b63c0c; /* Color of the scroll thumb */
}

#homecontent::-webkit-scrollbar-thumb:hover {
  background: #fff; /* Color of the scroll thumb on hover */
}

/* Style the scrollbar - Firefox */
#homecontent {
  scrollbar-width: thin; /* Width of the scrollbar */
  scrollbar-color: #b63c0c #282c34; /* Scroll thumb and track color */
}
#homecontent span,
#homecontent div {
  font-style: normal;
}

#collectioncontent,
#finalcontent {
  margin: 20px auto;
  color: #000;
  width: 100%;
  text-align: center;
  vertical-align: top;
  font-size: 32px;
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes focus {
  from {
    filter: blur(15px);
  }
  to {
    filter: blur(0px);
  }
}

.focusin {
  animation-name: focus;
  animation-duration: 1.5s;
  font-family: "Silkscreen", sans-serif;

  font-weight: 400;
  font-style: normal;
  animation-name: focus;
  animation-duration: 1.5s;
  font-family: Impact, Arial Black;
  padding-top: 150px;

  font-weight: 400;
  font-style: normal;
  animation-name: focus;
  animation-duration: 1.5s;
  font-family: Impact, Arial Black;
}

#trash {
  position: relative;
  top: 0;
  left: 0;
  width: 30px;
  font-size: 20px;
  padding: 5px;
  padding-right: 15px;
  padding-bottom: 15px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-bottom-right-radius: 40px;
}

#discovery {
  text-transform: uppercase;
}

.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.buttons .btn {
  position: relative;
  width: 140px;
  height: 20px;
  cursor: pointer;
  padding: 17px;
  align-items: center;
  background: none;
  border: none;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 10px;
}

.buttons .btn::before,
.buttons .btn::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
  background: rgba(253, 251, 251, 0.049);
  border-radius: 10px;
  box-shadow: 20px 20px 50px rgba(74, 65, 57, 0.5);
  z-index: -2;
}

#soundbutton2 {
  font-size: 30px;
  cursor: pointer;
}

.buttons .btn::after {
  width: 99%;
  height: 75%;
  top: 25%;
  left: 0.5%;
  z-index: -3;
  transform: scaleX(0.5);
  transition: all 0.3s;
  background: linear-gradient(135deg, #f47f0a, #ff045c);
}

.buttons .btn:hover::after {
  transform: scaleX(1.01) translateY(-15px);
}
.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.buttons .btn {
  position: relative;
  width: 140px;
  height: 20px;
  cursor: pointer;
  padding: 17px;
  align-items: center;
  background: none;
  border: none;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
}
.buttons .btn::before,
.buttons .btn::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
  background: rgba(253, 251, 251, 0.049);
  border-radius: 10px;
  box-shadow: 20px 20px 50px rgba(74, 65, 57, 0.5);
  z-index: -2;
}
.buttons .btn::after {
  width: 110%;
  height: 90%;
  top: 25%;
  left: -5%;
  z-index: -3;
  transform: scaleX(0.5);
  transition: all 0.6s;
  background: linear-gradient(135deg, #f47f0a, #ff045c);
}

.buttons .btn:hover:after {
  transform: scaleX(1.01) translateY(-15px);
}

.movie {
  border: 4px solid #000;
}

a {
  color: #fff;
}

@media (max-width: 425px) {
  .pop-up {
    height: 170px;
    width: 80%;
    border: 3px solid black;
    z-index: 1000;
    position: fixed;
    top: 30%;
    left: 10%;
    background-color: white;

    display: flex;

    flex-direction: column;

    border-radius: 20px;
  }
}

@media (max-width: 1024px) {
  .pop-up {
    height: 170px;
    width: 80%;
    top: 30%;
    left: 10%;
  }
}

@media (max-width: 768px) {
  .pop-up {
    height: 170px;
    width: 70%;
    top: 30%;
    left: 15%;
  }
}

@media (max-width: 425px) {
  .pop-up {
    height: 170px;
    width: 80%;
    border: 3px solid black;
    z-index: 1000;
    position: fixed;
    top: 30%;
    left: 10%;
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
  }
}

@media (max-width: 375px) {
  .pop-up {
    height: 170px;
    width: 90%;
    top: 30%;
    left: 5%;
  }
}

@media (max-width: 1100px) {
  .focusin {
    padding-top: 90px;
  }
  .buttons .btn {
    width: 130px;
    height: 17px;
    padding: 16px;
  }
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.circle {
  width: 200px;
  height: 200px;
  background-color: black;
  border-radius: 50%;
  animation: circleAnimation 2s infinite linear,
    glowingBorder 2s infinite linear;
  box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.8);
}

.circle:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: hsl(357, 87%, 38%);
  animation: circleAnimation 2s infinite linear,
    glowingBorder 2s infinite linear;
}

.circle:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: hsl(357, 93%, 49%);
  animation: circleAnimation 2s infinite linear,
    glowingBorder 2s infinite linear;
}

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

@keyframes glowingBorder {
  0% {
    box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.8);
  }
  50% {
    box-shadow: 0 0 40px 20px rgba(255, 0, 0, 1);
  }
  100% {
    box-shadow: 0 0 20px 10px rgba(255, 0, 0, 0.8);
  }
}

#feedbackButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fc4f4f;
  color: white;
  border: none;
  padding: 15px 15px 18px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  z-index: 1000;
  border-radius: 5px;
}

#feedbackButton:hover {
  background: linear-gradient(to top right, rgb(250, 4, 4), rgb(248, 35, 70));
  text-decoration: none;
  color: white;
}

@media (max-width: 768px) {
  #feedbackButton {
    bottom: 40px;
    right: 20px;
    padding: 12px 12px 15px 15px;
    font-size: 18px;
  }
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #282c34;
  color: white;
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
}

.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.snowflake {
  position: absolute;
  top: -10px;
  z-index: 9999;
  user-select: none;
  pointer-events: none;
  color: white;
  font-size: 1em;
  will-change: transform;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
      transform: translateY(-100vh) rotate(0deg);
      opacity: 1;
  }
  100% {
      transform: translateY(100vh) rotate(360deg);
      opacity: 0;
  }
}