/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background: #F1F7ED;
  color: black;
  font-family: 'Pixelify Sans', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  box-sizing: border-box;
}

.goback {
  font-family: 'Pixelify Sans', sans-serif;
  font-size: 2em;
  color: #F1F7ED;
  border: 1px dashed #F1F7ED;
  background: #4E6CE4;
  width: 300px;
  height: 50px;
  margin-top: 30px;
  }
  

.header-img {
  display: block;
  max-width: 400px;
  width: 60%;
  height: auto;
  margin: 0 auto 1rem auto; /* top, right, bottom, left */
  border: dashed #3C3C3C;
}

.scroll-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-container img {
  flex: 0 0 auto;
  height: auto;
  width: 300px; /* Default width */
  scroll-snap-align: start;
  object-fit: cover;
  border-radius: 10px;
}

/* Optional styling for nicer scroll look */
.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

  a {
    text-decoration: none;
  }
/*.wiggle {
  display: inline-block;
  animation: wiggle 1s linear infinite;
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}*/

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Table container */
#table {
  background: #4E6CE4;
  border: 5px dashed #F1F7ED;
  color: white;
  width: 90%;
  max-width: 800px;
  padding: 2rem;
  display: table;
  table-layout: fixed;
  border-spacing: 10px;
  box-sizing: border-box;
}

#table2 {
  width: 80%;
  overflow-x: auto;
  padding: 20px;
  box-sizing: border-box;
  background: #4E6CE4;
  border: 5px dashed #F1F7ED;
  color: white;
  display: table;
  table-layout: fixed;
  border-spacing: 10px;
  height: 50vh;
  overflow-y:auto;
  
}


#button {
  display: table-cell;
  font-size: 1.5rem;
}

/* Ticker */
.ticker-wrap {
  width: 100%;
  height: 60px;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  bottom: 0;
  background-color: #F1F7ED;
  z-index: 999;
}
.ticker {
  display: inline-block;
  margin-top: 5px;
  animation: marquee 20s linear infinite;
}
.item-collection-1 {
  position: relative;
  left: 0%;
  animation: swap 20s linear infinite;
}
.item {
  display: inline-block;
  padding: 0 1rem;
  font-size: 1.2rem;
  color: #3C3C3C;
  font-weight: 800;
}

/* Buttons */
.btn {
  font-family: 'Pixelify Sans', sans-serif;
}

.btn:hover .btn-slide-show-text1 {
  margin-left: 65px;
}

.btn-shadow-drop {
  background: rgb(249, 250, 250);
  padding: 1rem;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
  width: 100%;
  max-width: 180px;
  border: 2px dashed #4E6CE4;
  box-sizing: border-box;
}

.btn-shadow-drop:hover {
  left: 4px;
  top: 4px;
  box-shadow: #F1F7ED 0px 0px 0px 0px;
}

.btn-shadow-drop--red {
  border: 2px dashed #4E6CE4;
  color: #5E7AE8;
  box-shadow: #F1F7ED 4px 4px 0px 0px dashed #4E6CE4;
}

/* Animations */
@keyframes marquee {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-100%)
  }
}
@keyframes swap {
  0%, 50% {
    left: 0%;
  }
  50.01%, 100% {
    left: 100%;
  }
}

/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  margin-top: 5vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #5E7AE8;  /* ← Change from white to black */
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}


/* Mobile adjustments */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  #table, #table2, #table3 {
    padding: 1rem;
    width: 95%;
    font-size: 14px;
    border-spacing: 5px;
  }

  .item {
    font-size: 1rem;
  }

  #button {
    font-size: 1.2rem;
  }
  
  .scroll-container img {
    width: 200px;
  
  #table2 {
    height: auto;
    max-height: 80vh;
  }
}

