@import url("./fonts.css");

:root {
  --color-blue: rgb(60, 219, 192);
  --color-blue-dark: rgb(4, 46, 57);
  --color-pink: rgb(224, 27, 107);
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: Myriad Pro;
  font-weight: 400;
  background-color: var(--color-blue-dark);
  color: white;
}

.link-mega {
  position: absolute;
  top: 20px;
  right: 0;
  background-color: var(--color-pink);
  padding: 10px 15px;
  text-decoration: none;
  color: white;
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-weight: 700;

  @media (min-width: 1024px) {
    padding: 15px 20px;
    font-size: 18px;
  }
}

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

header.desktop {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  display: none;

  @media (min-width: 1024px) {
    display: flex;
  }

  .images {
    display: flex;
    align-items: center;
    gap: 80px;

    img {
      width: 250px;
      object-fit: cover;
      object-position: bottom;
    }
  }

  .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 910px;

    a {
      background-color: var(--color-pink);
      padding: 15px 10px;
      text-decoration: none;
      color: white;
      border-radius: 16px;
      font-size: 18px;
      display: flex;
      flex-direction: column;
      text-align: center;
      width: 280px;
    }
  }

  p {
    font-size: 14px;
    text-align: center;
    margin-top: 30px;
  }
}

header.mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 20px 0;
  gap: 30px;

  @media (min-width: 1024px) {
    display: none;
  }

  .top {
    display: flex;
    justify-content: center;
    border-bottom: 8px solid var(--color-blue);
    width: 100%;

    img {
      padding: 0 20px;
      width: calc(50vw - 40px);
      object-fit: contain;
      object-position: bottom;
    }

    .logo-top {
      padding-bottom: 10px;
    }
  }

  .middle {
    img {
      padding: 0 20px;
      width: calc(100vw - 40px);
    }
  }

  .bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    a {
      background-color: var(--color-pink);
      padding: 15px 30px;
      text-decoration: none;
      color: white;
      border-radius: 16px;
      font-size: 18px;
      display: flex;
      flex-direction: column;
      text-align: center;
    }
  }

  p {
    font-size: 14px;
    text-align: center;
    padding: 0 20px;
  }
}

#regulamento-e-metas {
  background-color: var(--color-blue);
  color: var(--color-blue-dark);
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 0;

  @media (min-width: 1024px) {
    align-items: center;
  }

  header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    img {
      width: 150px;
      display: none;

      @media (min-width: 1024px) {
        display: block;
      }
    }

    h1 {
      font-size: 30px;
      font-weight: 900;
      text-align: center;
      margin: 0;
    }
  }

  .awards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;

    @media (min-width: 1024px) {
      width: 900px;
      flex-direction: row;
      align-items: flex-start;
    }

    .award {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 10px;
      width: calc(100vw - 40px);

      @media (min-width: 1024px) {
        text-align: left;
        justify-content: flex-start;
      }

      h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 900;

        @media (min-width: 1024px) {
          font-size: 24px;
        }

        em {
          color: var(--color-pink);
          font-style: normal;
        }
      }

      .content {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        justify-content: center;
        width: 100%;

        @media (min-width: 1024px) {
          margin-bottom: 20px;
        }

        article {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 10px;
          width: 50%;

          h3 {
            background-color: var(--color-blue-dark);
            color: white;
            padding: 15px 30px;
            font-size: 20pxpx;
            font-weight: 900;
            text-align: center;
            width: 100%;
          }

          p {
            font-size: 18px;
          }
        }
      }
    }
  }
}

#destaques-do-mes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: var(--color-blue-dark);

  header {
    background-color: var(--color-pink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 30px 20px;
    width: 100%;
    color: white;
  }

  .highlights {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100vw;

    @media (min-width: 1024px) {
      gap: 160px;
      width: 900px;
      flex-direction: row;
    }

    .highlight {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px 0;

      h3 {
        font-size: 30px;
        font-weight: 900;
        text-align: center;
        margin: 0;

        &.pink {
          color: var(--color-pink);
        }
      }

      .pink {
        font-family: Quorva;
        color: var(--color-pink);
        font-weight: 400;

        &.bold {
          font-weight: 700;
        }

        @media (min-width: 1024px) {
          height: 60px;
        }
      }

      h4 {
        font-size: 20px;
        font-weight: 900;
        text-align: center;
        margin: 0;
      }

      .results {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;

        .result {
          display: flex;
          align-items: center;
          gap: 10px;

          p {
            font-size: 18px;
            font-weight: 900;
          }

          .data {
            width: 250px;
            border: 1px solid var(--color-blue-dark);
            padding: 5px 10px;
            font-size: 18px;
            color: var(--color-pink);
          }
        }
      }
    }
  }

  p {
    text-align: center;
    padding: 0 20px;
  }
}

footer {
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: white;
  color: var(--color-blue-dark);
  border: none;

  img {
    width: 200px;
    object-fit: contain;
  }

  p {
    padding-top: 40px;
    font-size: 14px;
    text-align: center;
  }
}
