@media (max-width: 1024px) {
  header {
    display: none;
  }

  .top-header {
    position: fixed;
    top: 1rem;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 200;
  }

  .year {
    display: none;
  }

  .icons {
    display: inline-flex;
    color: black;
    background-color: white;
    z-index: 1000;
    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;
    height: 100%;
    width: 100vw;
    background-color: #A53860;
    z-index: 500;
  }*/

    .navbar {
      position: fixed;
      height: 100%;
      width: 100vw;
      background-color: #A53860;
      z-index: 500;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s 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;
  }

  /*#check:not(:checked) ~ .navbar {
    display: none;
  }

  #check:checked ~ .navbar {
    display: block;
  }*/
}

@media (max-width: 990px) {
  header {
    display: none;
  }

  .top-header {
    position: fixed;
    top: .8rem;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 400;
  }

  .logo-box{
    height: 10rem;
  }

  .year {
    display: none;
  }

  .icons {
    top: 7%;
    font-size: 4.2rem;
    padding: 1.3rem;
    display: inline-flex;
    color: black;
    background-color: white;
    z-index: 1000;
    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;
    height: 100%;
    width: 100vw;
    background-color: #A53860;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .nav-box {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    line-height: 1;
  }

  .navbar .nav-box a {
    color: #fff;
    text-decoration: none;
  }

  .nav-a {
    font-size: 11rem;
    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;
  }
}

@media (max-width: 761px) {
  header {
    display: none;
  }

  .top-header {
    position: fixed;
    top: .8rem;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 400;
  }

  .logo-box{
    height: 10rem;
  }

  .year {
    display: none;
  }

  .icons {
    top: 7%;
    font-size: 4.2rem;
    padding: 1.3rem;
    display: inline-flex;
    color: black;
    background-color: white;
    z-index: 1000;
    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;
    height: 100%;
    width: 100vw;
    background-color: #A53860;
    z-index: 500;
    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: 1;
  }

  .navbar .nav-box a {
    color: #fff;
    text-decoration: none;
  }

  .nav-a {
    font-size: 11rem;
    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;
  }
}


