@media (max-width: 1024px) {
  header {
    display: none;
  }

  .top-header {
    position: fixed;
    top: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 0 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 200;
  }

  .year {
    display: none;
  }

  .icons {
    display: inline-flex;
    color: black;
    background-color: white;
    z-index: 3002;
    box-shadow: 0.1rem 0.1rem 1rem rgba(0, 0, 0, 0.4);
  }

  /* Show menu icon when navbar is closed */
  #menu-icon {
    display: block;
  }

  #close-icon {
    display: none;
  }

  /* When checked, show close icon and hide menu icon */
  #check:checked ~ .icons #menu-icon {
    display: none;
  }

  #check:checked ~ .icons #close-icon {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100vw;
    background-color: #A53860;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
  }

  .nav-box {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    line-height: 8rem;
  }

  .navbar .nav-box a {
    color: #fff;
    text-decoration: none;
  }

  .nav-a {
    font-size: 8rem;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
  }


  /* Hide navbar when not checked */
  #check:not(:checked) ~ .navbar {
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  #check:checked ~ .navbar {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
}


