@media (min-width: 768px) {
  #logo-happy {
    padding: 2% 0;
  }

  main {
    background-size: cover;
    background-position: center;
    height: 95vh;
    background-image: url(src/images/CAPA\ LIVRO\ 10\ HISTORIAS\ TABLET.png);

    img {
      display: none;
    }

    div {
      padding-top: 5%;

      h1 {
        font-size: 2.5rem;
      }

      h2 {
        font-size: 1.3rem;
        width: 45%;
      }
    }

  }

  .about .leads {
    justify-content: center;
    padding: 80px;
  }

  .about .leads div {
    width: 50%;
  }

  .about .leads h1 {
    font-size: 24px;
    width: 30%;
    text-align: right;
  }

  .about .leads button {
    width: 30%;
  }

  .about .ten-years {
    margin-top: 5%;
    padding: 0 15%;
  }

  .about .ten-years h1 {
    font-size: 32px;
  }

  .about .ten-years p {
    font-size: 22px;
  }

  .histories h2 {
    margin: 5% 0;
    font-size: 28px;
  }

  .histories .accordion {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .accordion-header {
    height: 200px;
    display: flex;
  }

  .histories .accordion-item {
    width: calc(50% - 12px);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .accordion-button {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    border-radius: 16px;
    flex-grow: 1;
    height: 100%;
  }

  .accordion-button.collapsed {
    min-height: 180px;
  }

  .accordion-button img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 12px;
  }

  .accordion-button div {
    flex: 1;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .accordion-button div strong {
    font-size: 22px;
  }

  .accordion-button div small {
    font-size: 16px;
  }

  footer {
    padding: 40px 0;

    .carrossel-wrapper {
      margin: 60px 0;
      max-width: 100%;
      width: 600px;
      display: flex;
      align-items: center;
      justify-content: center;

      .carrossel {
        margin: 0 20%;
        width: 60%;

        .swiper-slide {
          width: 150px !important;
        }
      }
    }
  }

  .branding {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    gap: 30px;
    margin: 5% 0 2% 0;
  }

  .branding div h2 {
    font-size: 72px;
  }

  .branding div p {
    font-size: 20px;
  }

  .midia {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  .midia img {
    width: 60px;
    height: 60px;
  }
}

@media (min-width: 1024px) {
  #logo-happy {
    display: none;
  }

  main {
    background-image: none;
    display: flex;
    flex-direction: row;
    height: auto;
    align-items: flex-end;

    img {
      width: 50%;
      height: auto;
      display: block;
    }

    div {
      padding: 0;

      h1 {
        padding-top: 5%;
      }

      h1,
      h2 {
        color: #0e3871;
      }

      img {
        padding-top: 5%;
        width: 250px;
        height: auto;
      }

      .leads {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;

        h1 {
          font-size: 22px;
          color: #0e3871;
        }

        div {
          padding: 2% 0 2% 0;
          gap: 10px;
          width: 80%;

          input,
          select {
            background: none;
            color: #0e3871;
            border: 1px solid #0e3871;
            border-radius: 9px;
            width: 80%;
            padding: 10px 0 10px 15px;

            &::placeholder {
              color: #0e3871;
            }
          }
        }

        button {
          margin-bottom: 5%;
          padding: 8px 14px;
          width: 40%;
          background-color: #0c306c;
          border: none;
          border-radius: 9px;
          font-weight: bold;
          font-size: 18px;
          color: #f0f0f0;
        }
      }
    }
  }

  .about {
    background: #0e3871;
    background: linear-gradient(180deg,
        rgba(14, 56, 113, 1) 8%,
        rgba(12, 48, 108, 0.26) 30%,
        rgba(12, 48, 108, 0) 50%);
  }

  .about .leads {
    display: none;
  }

  .about .ten-years {
    margin-top: 0%;
    padding: 5% 10% 0 10%;

    h2 {
      color: #f0f0f0;
    }
  }

  footer {
    .carrossel-wrapper {
      margin-bottom: 5%;
      width: 100%;
      max-width: 800px;
      padding: 40px 0;
      display: flex;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
      overflow: visible;
      height: auto;
      position: relative;

      .carrossel {
        width: 100%;
        padding: 0 60px;
        box-sizing: border-box;

        .swiper-wrapper{
          width: 1000px;

          .swiper-slide {
            width: auto !important;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 20px !important;
          }
  
          .swiper-slide iframe {
            width: 100%;
            max-width: 320px;
            height: 570px;
            border-radius: 16px;
            object-fit: cover;
          }
        }
      }

      .swiper-button-prev,
      .swiper-button-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        color: #0e3871;
        font-size: 24px;
        width: 40px;
        height: 40px;
      }

      .swiper-button-prev {
        left: -60px;
      }

      .swiper-button-next {
        right: -60px;
      }
    }

    .branding {
      flex-direction: row;
      justify-content: center;
      margin: 0;
      padding: 0;

      img {
        margin: 0%;
      }
    }

    .midia img {
      width: 100px;
      height: 100px;
    }
  }
}

@media (min-width: 1440px) {
  main {
    background-image: none;
    display: flex;
    flex-direction: row;
    height: auto;
    align-items: center;
    justify-content: space-evenly;

    img {
      width: 50%;
      height: auto;
      display: block;
    }

    div {
      padding: 0;
      width: 40%;

      h1,
      h2 {
        color: #0e3871;
      }

      img {
        padding: 5% 0;
        width: 300px;
        height: auto;
      }

      .leads {
        width: 100%;
        display: flex;

        h1 {
          font-size: 26px;
          color: #0e3871;
        }

        div {
          padding: 2% 0 2% 0;
          gap: 10px;
          width: 80%;

          input {
            background: none;
            color: #0e3871;
            border: 1px solid #0e3871;
            border-radius: 9px;
            width: 80%;
            padding: 10px 0 10px 15px;

            &::placeholder {
              color: #0e3871;
            }
          }
        }

        button {
          margin-bottom: 5%;
          padding: 8px 14px;
          width: 40%;
          background-color: #0c306c;
          border: none;
          border-radius: 9px;
          font-weight: bold;
          font-size: 18px;
          color: #f0f0f0;
        }
      }
    }
  }

  .about {
    background: #0e3871;
    background: linear-gradient(180deg,
        rgba(14, 56, 113, 1) 8%,
        rgba(12, 48, 108, 0.26) 40%,
        rgba(12, 48, 108, 0) 70%);

    .ten-years {
      padding-top: 2%;
    }
  }

  .accordion {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    .accordion-item {
      flex: 1 1 calc(33.333% - 20px);
      max-width: calc(33.333% - 20px);
      display: flex;
      flex-direction: column;
      border-radius: 10px;
      background-color: white;
      min-height: 380px;

      .accordion-header {
        flex-shrink: 0;
      }

      .accordion-button {
        cursor: default;
        box-shadow: none !important;
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;

        &::after {
          display: none !important;
        }
      }

      .accordion-collapse {
        display: block !important;
        visibility: visible !important;
        min-height: 145px;

        .accordion-body {
          padding: 0 24px !important;
        }
      }

      .accordion-body {
        padding: 16px;
      }
    }
  }

  footer {
    .footer-wrapper {
      display: flex;
      align-items: center;
      gap: 50px;

      .branding {
        gap: 45px;

        p {
          font-size: 18px;
        }
      }

      .midia {
        padding: 0 0 2% 0;
        img{
          width: 80px;
          height: auto;
        }
      }
    }

    .carrossel-wrapper {
      margin: 2% 0 5% 0;
      width: 100%;
      max-width: 1200px;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
      overflow: visible;
      height: auto;
      position: relative;

      .carrossel {
        padding: 0;

        .swiper-slide {
          width: 250px !important;
        }

        .swiper-wrapper {
          width: 1250px;
        }
      }
    }
  }
}