@font-face {
  font-family: "happynessV2";
  src: url("src/fonts/happynessV2.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

h1,
h2 {
  font-family: "happynessV2";
}

body {
  background-color: #f6f6f6;

  /* img {
    padding-top: 2%;
  } */
}

#logo-happy {
  display: block;
  margin: 0 auto;
  padding-top: 5%;
}

a{
  text-decoration: none;
  color: transparent !important;
}

#mensagem{
  color: #0e3871;

  .book{
    color: #0e3871 !important;
    text-decoration: underline;
    font-weight: bold;
  }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background-image: url(src/images/CAPA\ LIVRO\ 10\ HISTORIAS\ 1.png);
  background-size: cover;
  height: 740px;

  img{
    display: none;
  }

  div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;

    .leads{
      display: none;
    }

    h1 {
      text-align: center;
      color: #f0f0f0;
    }

    h2 {
      font-family: "Roboto Condensed", sans-serif;
      font-size: 18px;
      text-align: center;
      color: #f0f0f0;
      width: 55%;
      font-style: italic;
      font-weight: 100;
      span {
        font-family: "happynessV2";
      }
    }
  }
}

.about {
  background: #0e3871;
  background: linear-gradient(
    180deg,
    rgba(14, 56, 113, 1) 8%,
    rgba(12, 48, 108, 0.26) 58%,
    rgba(12, 48, 108, 0) 100%
  );

  .leads {
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 30px 0 30px;

    h1 {
      font-size: 20px;
      text-align: center;
    }

    div {
      padding-top: 2%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      width: 100%;

      input, select {
        background: none;
        color: white;
        border: 1px solid #f0f0f0;
        border-radius: 9px;
        width: 80%;
        padding: 10px 0 10px 15px;

        option{
          color: #000;
        }

        &::placeholder {
          color: white;
        }
      }
    }

    button {
      margin: 10px;
      padding: 8px 14px;
      width: 60%;
      background-color: #f0f0f0;
      border: none;
      border-radius: 9px;
      font-weight: bold;
      font-size: 18px;
      color: #0c306c;
    }
  }

  .ten-years {
    margin-top: 10%;
    text-align: center;
    color: #0c326d;

    h1 {
      font-size: 24px;
      margin-bottom: 5%;
    }

    p {
      padding: 10px;
      font-size: 20px;
      font-family: "Roboto", sans-serif;

      br {
        padding-top: 3%;
      }
    }
  }
}

.histories {
  margin: auto;
  color: #0c326d;
  h2 {
    text-align: center;
    margin: 15% 0 5% 0;
  }

  .accordion {
    .accordion-item {
      border: none;
      background-color: transparent;

      .accordion-collapse {
        background-color: #fff;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

        .accordion-body {
          font-size: 0.95rem;
          padding: 16px 24px;
          color: #0c306c;
          font-family: "Roboto Condensed", sans-serif;
        }
      }
      .accordion-header {
        margin: 0;
      }

      .accordion-button {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 30px;
        display: flex;
        align-items: flex-start;
        padding-left: 0;

        &::after {
          margin-left: auto;
        }

        img {
          width: 125px;
          height: 125px;
          object-fit: cover;
          border-radius: 12px;
          flex-shrink: 0;
        }

        div {
          text-align: left;
          color: #001f60;
          display: flex;
          flex-direction: column;
          height: auto;
          padding: 5% 2%;
          strong {
            font-family: "happynessV2";
            font-weight: 200;
            font-size: 24px;
          }

          small {
            padding-top: 2%;
            font-family: "Roboto Condensed", sans-serif;
            color: #0c306c;
          }
        }
      }
    }
  }
}

footer {
  background: #0e3871;
  background: linear-gradient(
    0deg,
    rgba(14, 56, 113, 1) 8%,
    rgba(12, 48, 108, 0.26) 58%,
    rgba(12, 48, 108, 0) 100%
  );

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .carrossel-wrapper {
    position: relative;
    width: 360px;
    height: 425px;
    margin: 60px auto;

    .carrossel {
      width: 240px;
      height: 100%;
      margin: 0 auto;
      .swiper-slide {
        width: 100%;
        height: 100%;
        border: 2px solid #0e3871;
        border-radius: 4px;
        overflow: hidden;
        iframe {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
        }
      }
    }
    .swiper-button-prev,
    .swiper-button-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      color: #0e3871;
      width: 30px;
      height: 30px;
    }
  }

  .branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 15% 0 2% 0;
    img {
      object-fit: contain;
      margin-bottom: 10%;
    }
    div {
      text-align: center;
      color: #f0f0f0;
      h2 {
        font-size: 64px;
      }
      p {
        font-family: "Roboto", sans-serif;
      }
    }
  }
}