:root {
  --redColorLigth: #ed4949;
  --textColorGray: #707070;
}

.abac {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  width: 100%;

  p {
    font-size: 1.2rem;
    text-align: start;
    text-wrap: balance;
    width: 60%;
    padding: 0;
    line-height: 2rem;
    color: var(--textColorGray);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
  }

  label,
  span {
    display: block;
  }
}
section {
  width: 70%;
  padding: 4rem;

  .title {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    .title-icon {
      color: #fff;
      background-color: var(--redColorLigth);
      padding: 0.8rem;
      font-size: 1rem;
      border-radius: 5px;
    }
  }
}

.hero {
  margin-top: 5px;

  border-radius: 10px;
  padding: 1rem;
  background-color: #ffd9d9a8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  width: 100%;
  padding-bottom: 4rem;
  > span {
    top: 2rem;
    left: 5rem;
    position: absolute;
    border: 1px solid var(--redColorLigth);
    padding: 1rem;
    width: min-content;
    text-wrap: nowrap;
    border-radius: 20px;
    color: var(--redColorLigth);
  }
  p {
    padding-left: 5rem;
    text-wrap: balance;
  }
  h2 {
    margin-top: 7rem;
    font-size: 5rem;
    padding-left: 5rem;
    margin-bottom: 1rem;
    span {
      color: rgb(186, 8, 8);
    }
  }
}

.card-container {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  align-items: stretch;

  gap: 1rem;

  .card {
    border: 1px solid #bbbbbb;
    padding: 2rem;
    width: 40%;
    border-radius: 5px;
    transition: 0.35s all;
    display: flex;
    flex-direction: column;
    h3 {
      font-size: 1.2rem;
    }
    > ul {
      list-style: disc;
      li {
        margin-bottom: 0.8rem;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        color: var(--textColorGray);
        font-size: 0.9rem;
      }
    }
  }

  .card:hover {
    border: 1px solid #f27979;
  }
}

.table-container {
  width: 100%;
  display: flex;
  padding: 2rem;
  justify-content: center;
  align-items: center;
  table {
    border-collapse: collapse;
    width: 70%;
    td,
    th {
      text-align: start;
      border: 1px solid var(--textColorGray);
      padding: 0.7rem;
    }

    th {
      font-size: 1.15rem;
    }

    td {
      font-family: Verdana, Geneva, Tahoma, sans-serif;
      font-size: 0.9rem;
    }
  }
}

.reporting-channel {
  width: 100%;
  align-items: center;
  background-color: #ffd9d985;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  user-select: auto;

  .channel-container {
    width: 70%;

    ul {
      display: flex;
      width: 100%;
      gap: 1rem;
      padding: 1rem;
      align-items: stretch;
      justify-content: center;

      li {
        background-color: #f9f9f9;
        width: 100%;
        padding: 1rem;
        border-radius: 5px;
        border: 2px solid #d6d6d6;
        a {
          text-decoration: none;
          text-align: center;
          color: #202020;
          display: flex;
          flex-direction: column;
          align-items: center;

          h2 {
            font-size: 1.5rem;
          }
          small {
            font-size: 0.9rem;
            color: var(--redColorLigth);
          }
        }
      }
      li:hover {
        border: 2px solid var(--redColorLigth);
      }
    }
  }
  .channel-icon {
    background-color: var(--redColorLigth);
    color: #eee;

    width: 50px;
    height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  p {
    width: 100%;
    text-align: center;
  }
}

@media (width <=750px) {
  .abac {
    p {
      font-size: 0.8rem;
      width: 100%;
      padding: 0.8rem;
      line-height: 1.5rem;
    }
  }
  section {
    padding: 1.5rem;
    width: 100%;
    p {
      width: 100%;
      font-size: 0.9rem;
      line-height: 0.9rem;
    }
    .title {
      padding: 0.4rem;
      .title-icon {
        padding: 0.5rem;
      }
      h2 {
        font-size: 1rem;
      }
    }
    h3 {
      font-size: 0.9rem;
    }
  }
  .hero {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    margin-top: 0;
    > span {
      left: 5px;
    }
    h2 {
      padding: 1rem;
      font-size: 3rem;
      span {
        font-size: 2rem;
      }
    }
  }

  .card-container {
    flex-direction: column;
    .card {
      width: 100%;
      padding: 1rem;
    }
  }

  .table-container {
    padding: 0.5rem;
    margin-top: 1rem;
    table {
      width: 100%;
      th,
      td {
        padding: 0.5rem;
      }
      td {
        font-size: 0.7rem;
      }
    }
  }
  .reporting-channel {
    .channel-container {
      width: 100%;
      ul {
        gap: 3rem;
        flex-direction: column;
      }
    }
  }
}
