@media only screen and (min-width: 40rem) {
  nav button {
    display: none;
  }
  nav ul.hide {
    display: flex;
  }
  nav ul li {
    float: left;
    flex: 1 1 100%;
    justify-content: space-evenly;
  }
  nav ul li a {
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    padding: 0.6rem 1rem;
  }
  .logo {
    width: 10rem;
    margin-bottom: 0;
  }

  .forecast,
  .weatherTable {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin: 1rem;
  }

  table {
    table-layout: auto;
    border-collapse: collapse;
    margin: 1rem;
  }

  th,
  tr,
  td {
    border: 2px double #274b59;
    padding: 0.5em;
    align-content: center;
    text-align: center;
  }

  .divgallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .maingallery {
    max-width: 1300px;
  }
  figcaption {
    display: block;
    text-align: center;
  }
  .gallery img:hover {
    box-shadow: 0em 0em 2em #000000;
  }
}
