﻿body {
  font-family: sans-serif;
  background-color: #000;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 2rem;
}

.top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 2rem;
}

.grid-item {
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.grid-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

h1 {
  margin-bottom: 2rem;
  color: #ffffff;
  font-family: "High Tower Text";
}

.slider-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  background-color: #3b3b3b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  margin: auto;
  display: block;
  cursor: zoom-in;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 2rem;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.caption {
  margin-top: 1rem;
  font-style: italic;
  color: #2AFF2A;
}

.thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  gap: 10px;
}

.thumbnails img {
  width: 150px;
  height: 80px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: border 0.3s;
}

.thumbnails img.active {
  border: 2px solid #ffffff;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal .nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
}

.modal .prev { left: 20px; }
.modal .next { right: 20px; }

#modalCaption {
  color: white;
  font-style: italic;
  margin-top: 1rem;
}

.auto-style1 {
  font-size: large;
}
