.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: rgba(88, 72, 78, 0.8);
    z-index: 999;
    box-sizing: border-box;
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(88, 72, 78, 0.8);
    padding: 10px 0;
    display: flex;
    justify-content: center; /* Centers the child div */
    align-items: center;
    z-index: 999;
    box-sizing: border-box;
}

.footer-center {
    text-align: center;
}

.footer-link {
    color: rgb(214, 57, 151);
    font-weight: bold;
    font-style: italic;
    font-size: 16px;
    text-decoration: none;
}

.footer-link:hover {
    color: rgb(247, 143, 205);
}
  
.heading {
    font-size: 24px;
    margin: 8px;
    flex-grow: 1;
}
  
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 120px;
    margin-right: 10%;
    justify-content: flex-end;
}
  
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    white-space: nowrap;
}
  
@media (max-aspect-ratio: 10/9) {
  .sticky-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sticky-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sticky-footer .heading {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .sticky-footer .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-right: 0%;
    gap: 5px;
  }

  .sticky-footer .nav-links a {
    font-size: 14px;
  }

  .heading {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-right: 0%;
    gap: 5px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .sticky-header img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
  }

  body {
    padding-top: 100px;
  }

  .dropdown-content {
  display: none;
  background-color: #310b3c;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  width: 300px !important; /* or a fixed width if you prefer */
  margin-top: 10px;
  }
}

body {
    margin-top: 80px; /* Adjust value to match header height */
    margin-bottom: 60px;
    font-family: 'Comic Sans MS';
    font-size: 90%;
}  

/* Dropdown Button */
.dropbtn {
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  display: block;
  position: relative; /* or just remove if not needed */
  margin-bottom: 20px; /* space between dropdowns */
  margin-left: 20px;
}

.dropdown-content {
  display: none;
  background-color: #310b3c;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  width: 1000px; /* or a fixed width if you prefer */
  margin-top: 10px;
}

.dropdown-content.show {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.grid-item img {
  border-radius: 6px;
  margin-bottom: 8px;
  width: 100%;
  height: auto;
}

input[type="text"] {
    padding: 8px;
    margin: 20px;
    font-size: 16px;
    width: 300px;
}

.graypink {
    background: rgb(101, 0, 127);
    color:rgb(77, 255, 45);
}

.graypink a {
    color:rgb(24, 208, 0);
    font-weight: bold;
    font-size: 120%;
}

.graypink a:hover {
    color:rgb(128, 255, 100);
}