body {
  margin: 0;
  padding: 0;
  background-color: #000;
  font-family: 'Lato', sans-serif;
  color: #fff;
  text-align: center;
}

#title {
  margin-top: 20px;
}

#title a {
  font-family: "st", sans-serif;
  font-size: 35px;
  line-height: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #d20c0d;
  text-shadow: 0 0 20px #7a0000, 0 0 30px #660005, 0 0 40px #5f0001, 0 0 50px #420001;
  text-decoration: none;
}

#menu {
  margin-top: 50px;
}

h2 {
  font-family: "st", sans-serif;
  font-size: 30px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  margin: 20px 0;
  text-shadow: 0 0 10px #7a0000, 0 0 20px #5f0001;
  display: block; 
  border-bottom: 2px solid #d20c0d; 
  width: 300px; 
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2:hover {
  color: #d20c0d;
  text-shadow: 0 0 15px #ff0000;
  border-bottom-color: #fff;
}

h3 {
  font-family: "st", sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0px; 
  text-shadow: 0 0 10px #d20c0d;
  text-align: center;
  padding-bottom:10px;
  border-bottom: 1px solid #fff;
  margin-top: 10px;
}

#emp {
  font-family: "st", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
}

#main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-box {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 650px;
  height: 500px;
  max-height: 90vh;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.65);
  overflow: hidden; 
}

.info-box h2 {
  font-family: "st", sans-serif;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 10px #d20c0d;
  position: sticky;
  top: 0; 
  background: rgba(0, 0, 0, 0.9);
  z-index: 1;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid #d20c0d;
}

.infobox #emp {
  font-family: "st", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
}

.info-box .content {
  padding: 20px;
  padding-top: 0px;
  text-align: justify;
  overflow-y: auto;
  height: calc(100% - 60px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.info-box .content::-webkit-scrollbar {
  width: 0; 
}

.info-box .close-button {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: url('https://i.imgur.com/oOQv9J8.gif') no-repeat center center;
  background-size: contain;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.info-box .close-button:hover {
  transform: scale(1.1);
}


#map-overlay {
      display: none; /* Hidden by default */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
      z-index: 1000; /* Above other content */
      justify-content: center;
      align-items: center;
    }

    #map-container {
      width: 800px; /* Fixed width, adjust as needed */
      height: 95vh; /* 90% of viewport height */
      background: #000; /* Match your theme */
      border: 1px solid #fff; /* Optional border */
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.65);
      position: relative;
      overflow: hidden;
    }

    #map-iframe {
      width: 100%;
      height: 100%;
      border: none; /* Remove iframe border */
    }

    #map-close-button {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: url('https://i.imgur.com/oOQv9J8.gif') no-repeat center center;
  background-size: contain;
  border: none;
  cursor: pointer;
  z-index: 100;
    }


    /* Optional: Style the Locations link */
    #menu h2.locations-link {
      cursor: pointer;
    }

.locations-container {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
}


.location-card {
  width: 30%; 
  max-width: 180px;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #d20c0d;
  box-shadow: 3px 3px rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 10px;
  border-radius: 5px;
}

.location-card img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #d20c0d;
  border-radius: 5px 5px 0 0;
}

.location-card h4 {
  margin: 10px 0 0;
  font-family: "st", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 5px #d20c0d;
}


.resources-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.resource-item {
    width: 45%;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 2px;
    text-align: center;
    overflow: hidden;
}

.resource-item:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.resource-item:hover:after {
    transform: scaleX(1);
    background: #d20c0d;
}

.resource-item a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-family: "st", sans-serif;
    position: relative;
    display: block;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.resource-item a:hover {
    animation: flicker 0.15s infinite alternate;
    color: #fff;
}

.prompt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 10px;
    text-align: center;
    font-family: "st", sans-serif;
    font-size: 10pt;
    letter-spacing: 1px;
    color: #eee;
    padding: 10px;
}


.prompt-grid span {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 3px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-transform: uppercase;
}


.prompt-grid span:hover {
    background: #d20c0d;
    color: #fff;
    transform: scale(1.1);
}

#timeline-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 300px;
    width: 80%;
}


#timeline-line {
    width: 4px;
    background: #d20c0d;
    height: 350px;
    position: absolute;
    left: 50%;
    border: 1px solid rgba(255,255,255,0.75);
    box-shadow: 
        0 0 5px #fff, 
        0 0 10px #fff;
    transform: translateX(-50%);
    border-radius: 25%;
}


#timeline-left, #timeline-right {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-around; 
    height: 100%;
    font-family: "st", sans-serif;
}

#timeline-left {
    align-items: flex-end;
    padding-right: 10px;
}

#timeline-right {
    align-items: flex-start;
    padding-left: 10px;
    margin-top: 30px; 
}


.timeline-date {
    font-family: "st", sans-serif;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    padding: 5px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    width: 200px;
}

#timeline-left .timeline-date {
    text-align: right;
    margin-bottom: 30px;
}

#timeline-right .timeline-date {
    text-align: left;
    margin-top: 0px;
}

.timeline-date:hover {
    text-shadow: 0 0 10px #d20c0d;
}


.event-details {
    position: absolute;
    top: 0;
    height: 250px;
    width: 45%;
    padding: 20px;
    display: none;
    background: rgba(0, 0, 0, 0.9);
        box-shadow: 
        0 0 5px #fff, 
        0 0 10px #fff;
    color: #fff;
    font-family: "st", sans-serif;
    text-align: center;
    overflow-y: auto;
    scrollbar-width: none;
  -ms-overflow-style: none;
}

.event-details::-webkit-scrollbar {
  width: 0;
}



.event-details.left {
    right: 51%;
}

.event-details.right {
    left: 51%;
}


.event-details .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background: url('https://i.imgur.com/oOQv9J8.gif') no-repeat center center;
    background-size: contain;
    border: none;
    cursor: pointer;
}

.resurrection-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.resurrection-row {
    display: flex;
    border-bottom: 1px solid #d20c0d; 
}

.resurrection-header {
    display: flex; 
    align-items: center;
    justify-content: center;
    width: 30%;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px;
    font-family: "st", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 5px #d20c0d;
    border-right: 1px solid #d20c0d;
}


.resurrection-content {
    width: 70%; 
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    color: #eee;
    text-align: justify;
}


.resurrection-row:last-child {
    border-bottom: none;
}


@media (max-width: 768px) {
    .resurrection-row {
        flex-direction: column;
    }

    .resurrection-header {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #d20c0d;
    }

    .resurrection-content {
        width: 100%;
    }
}




@keyframes flicker {
    0% {
        text-shadow: 
            0 0 2px #ff0000,
            0 0 5px #d20c0d,
            0 0 10px #ff0000,
            0 0 20px #d20c0d;
    }
    50% {
        text-shadow: 
            0 0 2px #d20c0d,
            0 0 5px #ff0000,
            0 0 10px #d20c0d,
            0 0 15px #ff0000;
    }
    100% {
        text-shadow: 
            0 0 2px #ff0000,
            0 0 5px #d20c0d,
            0 0 15px #ff0000,
            0 0 25px #d20c0d;
    }
}


@media (max-width: 600px) {
    .resource-item {
        width: 100%;
    }
}


@media (max-width: 768px) {
  .location-card {
    width: 45%; 
  }
}

@media (max-width: 480px) {
  .location-card {
    width: 100%; 
  }
}