body {
  font-family: 'Inconsolata', sans-serif;
  overflow: hidden;
  background-color: black;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://r5styy.neocities.org/static.gif') repeat;
  opacity: 0.125;
  pointer-events: none;
  z-index: -1;
}

.header {
  border: 0px double #fff;
  margin-bottom: 0px;
}

main {
  margin-bottom: 30px;
}

button {
  font-family: 'Inconsolata', sans-serif;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 20px;
  padding: 10px 50px;
  border: double;
  cursor: pointer;
  margin: 5px;
}

.subcat button {
  padding: 10px 10px;
  margin: 5px;
  background-color: rgba(0, 0, 0, 0.5);
}

.section {
  display: none;
  border: 0px double #fff;
  margin: 0 auto 50px auto;
  width: 90%;
  max-width: 790px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.5);
}

.scroll-frame {
  width: 90%;
  max-width: 950px;
  height: 480px;
  margin: 20px auto;
  border: 4px double #fff;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.5);
  padding: 15px;
  box-sizing: border-box;
}

.scroll-frame::-webkit-scrollbar {
  width: 8px;
}
.scroll-frame::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.scroll-frame::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
.scroll-frame::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.padding {
  padding: 40px;
  margin-bottom: 0px;
}

.content p {
  text-align: center;
}

.ContactDiv {
  position: fixed;
  top: 5px;
  right: 20px;
  display: flex;
  gap: 5px;
  z-index: 999;
}

.ContactOption {
  width: 40px;
  height: 40px;
  background-color: rgba(0,0,0,0.5);
  padding: 5px;
  border-radius: 5px;
}

@media (max-width: 600px) {
  .header h1 {
    font-size: 1.5rem;
  }
  button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Thumbnail hover */
.hover-container {
  position: relative;
  display: inline-block;
  max-width: 50%;
  cursor: pointer;
  text-align: center; 
}

.hover-container img {
  width: 100%;
  border-radius: 15px;
  transition: 0.3s;
}

.hover-container:hover img {
  filter: brightness(50%);
}

.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: 'Inconsolata', sans-serif;
  font-size: 18px;
  opacity: 0;
  pointer-events: none; /* prevents blocking click */
  user-select: none;    /* prevents selection */
  transition: 0.3s;
}

.hover-container:hover .hover-text {
  opacity: 1;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: hidden;
}

/* Center the image initially */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
  transition: transform 0.05s linear;
}

.close {
  position: absolute;
  z-index: 9999;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Links */
a {
  color: #00AFF4;
  text-decoration: none;
}

a:hover {
  color: #0091D5;
}
