.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Changed from space-between */
    padding: 10px 20px;
    background-color: rgba(88, 72, 78, 0.8);
    z-index: 999;
    box-sizing: border-box;
    gap: 200px; /* Add spacing between title and Home link */
}

.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: 0; /* Prevent it from pushing the nav */
}
  
.nav-links {
    display: flex;
    gap: 10px; /* Reduce from 120px */
    margin-right: 0; /* Remove pushing to the right */
    justify-content: flex-start;
}
  
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 120%;
    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;
    gap: 10px;
  }

  .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;
  }

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

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

  body {
    padding-top: 25px
  }

}

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

.topblokelist {
    padding-left: 2%;
}

.topblokelist a {
    font-size: 150%;
}

.section {
    margin-bottom: 30px;
}

.hidden {
    display: none;
}

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

.graypink {
    background: rgb(52, 52, 52);
    color:rgb(249, 160, 213);
}

.graypink a {
    color:rgb(214, 57, 151);
}

.graypink a:hover {
    color:rgb(247, 143, 205);
}