/* Base Styles */
body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #1a1a1a;
  color: #cccccc;
}

.ammoh {
  text-align: center;
  font-size: 24px;
  color: white;
  background-color: #d51c1c;
  padding: 10px;
  margin-bottom: 15px;
  font-weight: bold;
  border-bottom: 2px solid #d51c1c;
}

.topnav {
  background-color: #2b2b2b;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #d51c1c;
  position: relative;
  z-index: 1000;
}

.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #d51c1c;
  position: absolute;
  left: 20px;
  top: 25px; /* Adjusted for better alignment */
}

.nav-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-links a,
.nav-links .dropbtn {
  background-color: #2b2b2b;
  border: 1px solid #d51c1c;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  color: #d51c1c;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links .dropbtn:hover {
  background-color: #ff4d4d;
  color: #000000;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2b2b2b;
  border: 1px solid #d51c1c;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.7);
  z-index: 2000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  padding: 10px 15px;
  text-decoration: none;
  color: #d51c1c;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #ff4d4d;
  color: #000000;
}

/* Fullscreen Image */
.fullscreen-image {
  background-image: url('indexpic.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;  /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0px 0px 100px rgba(0, 0, 0, 0.8);
  overflow: hidden;  /* Prevents overflow */
}

.welcome-text {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 30px;
  color: #d51c1c;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  border: 2px solid #d51c1c;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.7);
  max-width: 85%;
  backdrop-filter: blur(4px);
  margin: 0 auto;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #2b2b2b;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  margin: 50px auto;
  border-radius: 5px;
  color: #cccccc;
  position: relative;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  color: #ff4d4d;
  font-weight: bold;
}

/* Mobile Styles */
@media (max-width: 768px) {

  .menu-icon {
    display: block;
    top: 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #2b2b2b;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 3000;
  }

  .nav-links.show {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background-color: #2b2b2b;
  }

  .dropdown-content a {
    padding: 12px;
    border-bottom: 1px solid #d51c1c;
  }

  .fullscreen-image {
    height: 100vh;  /* Fullscreen height for mobile */
    background-size: cover;  /* Ensures image covers the viewport */
  }

  .welcome-text {
    font-size: 28px;   /* Reduced font size */
    padding: 15px 20px; /* Adjusted padding */
    max-width: 90%;
  }
}
