* , *::before , *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
    html {
      font-size: 62.5%;
    }
      
    body {
      margin: 0 auto;
      padding: 0;
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      background-color: hsl(0, 0%, 100%);
      color: hsl(211, 73%, 15%);
    }
  
    h1, h2, h3, h4 {
      margin: 0;
      font-family: 'Merriweather', serif;
      font-weight: 400;
    }

    h1 {
      font-size: 4rem;
      text-align: center;
      margin: 50px;
    }

    h2 {
      font-size:2rem;
      margin: 30px 0 20px 0;
    }

    h4 {
      font-size: 2rem;
    }


    p, a {
      font-size: 1.4rem;
      text-decoration: none;
      margin-bottom: 10px;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }



/* header */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 60px;
    background-color: hsl(211, 73%, 15%);
  }
  
    .topbar-logo {
      width: 150px;
    }

    .topbar-menu {
      position: relative;
    }
    
      .menu-hamburger {
        border: none;
        background: none;
        cursor: pointer;
      }
      
        .hamburger {
          width: 30px;
          height: auto;
          transition: transform 0.3s ease;
        }
    
      .menu-list {
        background-color: hsl(191, 45%, 56%);
        padding: 40px 20px 20px 20px;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 200px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      
      .menu-list.show {
        transform: translateX(0%);
      }

        .menu-list li {
          margin: 30px;
        }

        .list {
          font-size: 1.6rem;
          color: hsl(0, 0%, 100%);
          transition: all 0.3s ease;
        }

        .menu-close {
          border: none;
          background: none;
        }

          .close {
            cursor: pointer;
            position: absolute;
            top: 20px;
            right: 20px;
            width: 30px;
          }


/* main */

main {
  margin: 200px auto;
  max-width: 900px;
  padding: 0 30px;
}


/* Estilos para el footer */

  .footer {
    background-color: hsl(211, 73%, 15%);
    color: hsl(0, 0%, 100%);
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
  }

  .footer-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

    .footer h4 {
      margin-bottom: 30px;
    }
  
    .footer a {
      margin-bottom: 15px;
      color: #fff;
      text-decoration: none;
      font-family: 'Inter', sans-serif;
      font-weight: lighter;
      display: flex;
      gap: 10px;
      font-size: 1.6rem;
    }

    .footer p {
      margin: 0;
      font-size: 1.6rem;
    }

    .footer-contacto {
      margin-bottom: 30px;
    }
      .footer-contacto img {
        width: 15px;
      }

      .map {
        width: 100%;
        max-width: 250px;
        margin-top: 5px;
      }

      .map-desktop {
        display: none;
      }

    .footer-links img {
      margin-bottom: 20px;
      width: 10px;
    }


/* Estilos para el postfooter */
  
  .post-footer {
    background-color: #f2f2f2;
    font-size: 1.2rem;
    padding: 20px 30px 30px 30px;
    text-align: center;
  }
  
    .post-footer a {
      color: hsl(17, 79%, 62%);
      text-decoration: none;
      line-height: 2;
    }
  




@media screen and (min-width: 480px) {

  /* topbar */

  .topbar-logo {
    width: 200px;
  }

  .hamburger {
    width: 40px;
  }

  .menu-list {
    display: block;
    height: fit-content;
  }

    /* footer */

  .footer {
    padding: 60px 90px;
  }

}

@media screen and (min-width: 700px) {
  /* footer */

  .footer {
    padding: 60px;
  }

  .footer-columns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
  }

  .footer a {
    margin-bottom: 20px;
  }

  .post-footer a {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1024px) {


  p, a {
    font-size: 1.6rem;
  }

  /* topbar */

  .topbar {
    padding-top: 60px;
    height: 80px;
    margin: 0 auto;
  }

  .menu-hamburger, .menu-close {
    display: none;
  }

  .menu-list {
    position: static;
    transform: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: auto;
    padding: 0;
    background-color: transparent;
    transition: none;
  }

  .menu-list li {
    margin: 15px;
  }

  .list {
    font-size: 1.7rem;
  }

  .list:hover {
    color: hsl(17, 79%, 62%);
  }

  /* footer */

  .footer {
    padding: 100px 0 90px 0;
    gap: 20px;
  }

  .footer-columns {
    max-width: 900px;
    margin: 0 auto;
  }

  .footer a {
    margin-bottom: 20px;
  }

  .footer-contacto a:hover {
    color: hsl(17, 79%, 62%);
  }
  
  .map {
    display: none;
  }

  .map-desktop {
    display: block;
    margin-top: 30px;
  }

  .footer-links a:hover {
    color:hsl(191, 45%, 66%);
  }

  .footer-links img {
    width: 12px;
  }

  .footer-contacto img {
      width: 20px;
  }
  
  .post-footer a {
    color: hsla(211, 74%, 15%, 0.749);
    font-size: 1.6rem;
  }
  
  .post-footer a:hover {
    color: hsl(17, 79%, 62%);
  }

  .scroll-to-top.show {
    display: none;
  }

}

@media screen and (min-width: 1500px) {
  .footer-columns {
    max-width: 1100px;
    gap: 100px;
  }
}