@media only screen and (max-width: 900px) {
  body {
    grid-template-areas: 'nav'
      'main''footer';
    grid-template-columns: auto;
  }

  nav {
    justify-content: space-evenly;
    flex-direction: row;
    right: 0;
    width: 100%;
    height: 60px;
    border-bottom: 2px solid rgb(193, 193, 193);
    border-right: 0;
  }

  main {
    margin-top: 60px;
  }

  #breakfast, #lunch, #dessert {
    margin-bottom: 60px;
  }

  footer {
    border-top: 2px solid rgb(193, 193, 193);
    border-left: 0;
    padding-top: 10px;
    padding-left: 0;
    margin-top: auto;
  }

  /* navigation */
  .logo_container {
    min-width: 50px;
    max-width: 50px;
    padding: 0px 0px 0px 0px;
    align-self: auto;
  }


  .navigation_container {
    flex-direction: row;
    width: auto;
  }


  .btn a {
    color: black;
    align-items: center;
    padding: 10px;
    width: auto;
  }

  .btn :hover {
    border-radius: 3px;
  }

  /* darkMode */
  .darkMode {
    flex-direction: row;
    margin: 0px 0px 0px 0px;
  }

  .toggle .ball {}

  /* Main */
  main .image_card {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  /* Footer */
  .social_header {
    padding: 0px 0 5px 5px;
  }

  .social_container {
    flex-direction: row;
    gap: 0;
  }

  .social {
    padding: 0px 0px 0px 5px;
  }


  .social a {
    height: 50px;
    padding: 0px 10px 0px 10px;
  }

  .social :hover {
    border-radius: 3px;
  }

  .copyright {
    padding-left: 5px;
  }

}

@media only screen and (max-width: 500px) {
  .btn a {
    flex-direction: column;
    justify-content: center;
    padding: 0px 10px 0 10px;
  }

  .btn span {
    font-size: 10px;
  }

  .btn i {
    display: none;
  }

  main {
    margin-bottom: 20px;
  }

  footer {
    padding-bottom: 10px;
  }

  .social_container {
    flex-direction: column;
  }

  .social_container a {
    height: 30px;
  }
}