@font-face {
  font-family: "poppins";
  src:
    url(/fonte/Poppins/Poppins-Regular.ttf) format("truetype"),
    url(/fonte/Poppins/Poppins-Medium.ttf) format("truetype"),
    url(/fonte/Poppins/Poppins-SemiBold.ttf) format("truetype"),
    url(/fonte/Poppins/Poppins-Bold.ttf) format("truetype");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: black;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-size: 0.9rem;
}

h0 {
  font-size: 2.3rem;
  font-weight: 800;
  text-align: center;

  @media (max-width: 800px) {
    font-size: 2rem;
  }
}

h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: "poppins", sans-serif;
  overflow-x: hidden;
  overflow-y: scroll !important;
}

.fix-vertical {
  overflow-x: hidden;
  position: relative;
}

.floating-button {
  display: flex;
  align-items: center;
  z-index: 1000;
  color: #fff;
  background-color: #25d366;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  border-radius: 2rem;

  filter: drop-shadow(0 0.2rem 0.2rem rgba(0, 0, 0, 0.4));

  img {
    width: 3rem;
    margin: 0.4rem;
  }

  h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-right: 1.5rem;
    margin-left: 1rem;
  }

  @media (max-width: 500px) {
    bottom: 1rem;
    right: 1rem;
    padding: 0.1rem;

    h1 {
      font-size: 1.3rem;
      margin-left: 0.5rem;
    }

    img {
      width: 2rem;
    }
  }
}

section {
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-container {
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;

  @media (max-width: 800px) {
    margin-bottom: 2rem;
  }
}

header {
  z-index: 1000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  padding: 1.2rem 3rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  @media (max-width: 800px) {
    justify-content: center;
  }

  a {
    .logo {
      display: flex;
      flex-direction: row;
      align-items: center;
      height: 100%;

      img {
        width: 5rem;
        max-height: 100%;
        aspect-ratio: 1.96;
        object-fit: contain;

        @media (max-width: 800px) {
          width: 3rem;
        }
      }

      h1 {
        font-size: 2rem;
        font-weight: 300;
        color: #000;

        @media (max-width: 800px) {
          font-size: 1.5rem;
        }
      }
    }
  }

  .navigation {
    display: flex;
    flex-grow: 1;
    max-width: 800px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-left: 50px;

    @media (max-width: 800px) {
      display: none;
    }

    a {
      margin-left: 2rem;
      font-size: 1.2rem;
      font-weight: bold;
      color: #000;
      cursor: pointer;
    }

    a:first-child {
      @media (max-width: 950px) {
        display: none;
      }
    }

    a:last-child {
      @media (max-width: 800px) {
        display: none;
      }
      color: #f8f9fa;
      background-color: #000;
      padding: 0.5rem 1rem;
      border-radius: 30px;
    }
  }
}

#top {
  padding: 0 0;
  background-color: white;
  width: 100%;

  img {
    width: 100%;
  }
}

#about-us {
  background-color: #f8f9fa;
  width: 100%;

  .img-cards-container {
    display: flex;

    @media (max-width: 800px) {
      flex-direction: column;
    }

    img {
      @media (max-width: 1000px) {
        height: 15rem;
      }
      margin: -1.5rem;
      height: 20rem;
      clip-path: polygon(15% 10%, 85% 10%, 85% 90%, 15% 90%);
    }
  }
}

#services {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  .cards-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;

    div {
      background-color: #eae7e7;
      margin-bottom: 2rem;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 0.8rem 0.8rem rgba(0, 0, 0, 0.1);
    }

    h2 {
      color: #555;
    }

    p {
      color: #777;
      text-align: center;
    }

    button {
      margin-top: 1rem;
      padding: 0.5rem 1rem;
      background-color: #006c12;
      color: #f8f9fa;
      border: none;
      border-radius: 30px;
      cursor: pointer;
    }
  }
}

#highlight-sellers {
  background-color: #f8f9fa;

  .img-cards-container {
    width: 100vw;
    padding: 0 2rem;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    overflow-x: scroll;

    img {
      background-color: white;
      width: 20rem;
      padding: 0.7rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      margin-bottom: 2rem;
      margin-right: 1rem;
    }
  }
}

#billing {
  background-color: white;

  .cards-container {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    @media (max-width: 800px) {
      flex-direction: column;
    }

    img {
      overflow: hidden;
    }
  }

  .cards-container {
    @media (max-width: 1000px) {
      flex-direction: column;
    }
    .card {
      position: relative;
      padding: 1rem;
      margin: 0 1rem 1rem 1rem;
      width: 40rem;
      max-width: 21rem;
      background-color: #f16636;
      color: white;
      border: 1rem solid white;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      border-radius: 2em 20px 2.5em 0.2in;

      .price {
        padding: 0.5rem 1rem;
        border-radius: 0.3rem;
        background-color: white;
        text-align: center;
        color: #006c12;
        margin-bottom: 1rem;
      }

      button {
        width: 100%;
        padding: 0.7rem 2rem;
        background-color: #006c12;
        font-weight: bold;
        font-size: 1.5rem;
        border: none;
        color: white;
        border-radius: 0.5rem;
        margin-top: 1rem;
      }
    }
  }
}

#clientes {
  background-color: #f8f9fa;
  max-width: 100vw;

  .scroll-container {
    margin-top: -2rem;
    position: relative;
    overflow-x: hidden;
    height: 17em;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    border-radius: 9rem;

    @media (max-width: 1000px) {
      max-width: 100vw;
      width: 100vw;
      border-radius: 0;
    }

    img {
      width: 12em;
      margin-right: 2em;
      height: 12em;
      border-radius: 50%;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .carousel {
      z-index: 0;
      display: flex;
      position: absolute;
      top: 2em;
      left: 0em;
      animation: scroll-horizontal-zero linear 25s infinite;
    }

    img:hover {
      transform: scale(1.1);
      transition: transform 0.3s;
    }
  }
}

footer {
  color: white;
  background-color: #006c12;
  padding: 2rem 3rem;
  text-align: center;

  .logo {
    margin: 1rem 0;
    img {
      width: 20rem;
      color: white;
    }
  }

  .apps {
    p {
      margin: 1rem 0;
    }
  }

  .socials {
    margin-bottom: 1rem;
    img {
      width: 1.5rem;
      margin: 0 1rem;
    }
  }

  .address {
    font-size: 0.7rem;
    margin: 1rem 0;
  }

  .copyright {
    font-size: 0.7rem;
    width: 100%;
    text-align: center;
  }
}

@keyframes scroll-horizontal {
  0% {
    left: 87rem;
  }

  100% {
    left: -87rem;
  }
}

@keyframes scroll-horizontal-zero {
  0% {
    left: 0rem;
  }

  100% {
    left: -182em;
  }
}
