.child.section-relation-2,
.child.section-relation-3 {
  min-height: fit-content;
}
.section-relation-1 {
  background-image: url('images/bg-about.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  h1 {
    text-align: center;
    line-height: 1;
    margin-top: clamp(200px, calc(10vw + 200px), 800px);
    font-weight: 800;

    color: white;
    text-transform: uppercase;
  }

  .text-content {
    max-width: 80%;
  }
  .btn {
    text-transform: uppercase;
    width: clamp(300px, 2vw, 381px);
    margin-top: 10px;
  }
}

.section-relation-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  h2 {
    font-family: 'Saira';
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    color: white;
  }
  .text-content {
    max-width: 50%;
    text-align: center;
  }
  .btn {
    margin-top: 10px;
    padding: 0 22px;
  }
  .container-report {
    width: 100%;
    margin-top: 8%;
    display: flex;
    .container-year {
      width: 50%;
      .year-report {
        font-weight: 600;
        font-size: 2em;
        text-transform: uppercase;
        color: white;
        line-height: 1em;
        border-left: 4px solid white;
        padding: 16px 24px;
        opacity: 0.4;
        cursor: pointer;
        &.active {
          opacity: 1;
        }
      }
    }
    .report-content {
      width: 50%;
      display: none;
      gap: 20px;
      flex-wrap: wrap;
      .card-report {
        flex: 1 1 calc(50% - 20px);
        background-color: #212121;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        img {
          width: 56px;
          height: 56px;
        }
        h3 {
          font-family: 'Saira';
          line-height: 1em;
          font-weight: 500;
          font-size: 24px;
          text-align: center;
          color: white;
        }
        .btn {
          width: clamp(120px, 1vw, 200px);
        }
      }
    }
  }
}

.section-relation-3 {
  max-height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10%;
  .text-title {
    text-transform: uppercase;
  }
  h2 {
    font-family: 'Saira';
    font-weight: 500;
    font-size: 20px;
    color: white;
    text-align: center;
  }
  .text-content {
    width: 60%;
  }
  .btn {
    padding: 0 22px;
    text-transform: uppercase;
  }
  .container-opportunities {
    display: none;
    gap: 16px;
    flex-wrap: wrap;
    .card-opportunity {
      flex: 1 1 calc(33.3% - 16px);
      background-color: #212121;
      img {
        width: 100%;
        max-height: 380px;
      }
      .text-date {
        font-family: 'Saira';
        font-weight: 300;
        font-size: 20px;
        color: white;
        opacity: 0.65;
        padding: 24px;
      }
      h3 {
        font-family: 'Saira';
        font-weight: 500;
        font-size: 24px;
        color: white;
        padding: 0 24px;
      }
      .text-content {
        width: 100%;
        text-align: left;
        padding: 0 24px;
      }
      span {
        display: flex;
        gap: 8px;
        font-family: Syne;
        font-weight: 700;
        font-size: 14px;
        line-height: 21.19px;
        color: white;
        padding: 24px;
      }
      .btn-readmore {
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border: none;
        margin-right: 10px;
      }
    }
  }
  .dots-opportunities {
    text-align: center;
    margin-top: 30px;
  }

  .dot-opportunities {
    width: 8px;
    height: 8px;
    margin: 8px;
    background-color: #ffffff33;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
    &.active {
      background-color: white;
    }
  }
}

.child.section-relation-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10%;
  h2 {
    color: white;
    font-family: 'Saira';
    font-weight: 500;
    font-size: 20px;
    text-align: center;
  }
  .container-shareholder {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    gap: 16px;
    .card-shareholder {
      display: grid;
      grid-template-columns: subgrid;
      grid-template-rows: subgrid;
      grid-column: span 1;
      grid-row: span 5;
      width: 100%;
      background-color: #212121;
      img {
        width: 100%;
        max-height: 380px;
      }
      .text-date {
        font-family: 'Saira';
        font-weight: 300;
        font-size: 20px;
        color: white;
        opacity: 0.65;
        padding: 0 24px;
      }
      .text-content {
        text-align: left;
        padding: 0 24px;
      }
      h3 {
        font-family: 'Saira';
        font-weight: 500;
        font-size: 24px;
        color: white;
        padding: 0 24px;
        line-height: 1.4;
      }
      span {
        display: flex;
        gap: 8px;
        font-weight: 700;
        font-size: 14px;
        line-height: 21.19px;
        color: white;
        padding: 0 24px;
      }
      .btn-readmore {
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border: none;
        margin-right: 10px;
      }
    }
  }
  .dots-shareholder {
    text-align: center;
    margin-top: 30px;
  }

  .dot-shareholder {
    width: 8px;
    height: 8px;
    margin: 8px;
    background-color: #ffffff33;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
    &.active {
      background-color: white;
    }
  }
}
@media screen and (max-width: 640px) {
  .section-relation-1 {
    .text-title {
      font-size: 2.5em;
    }
    .text-content {
      max-width: 100%;
    }
  }
  .section-relation-2 {
    .text-content {
      max-width: 100%;
    }
    .container-report {
      .container-year {
        .year-report {
          font-size: 1.5em;
        }
      }
      .report-content {
        .card-report {
          h3 {
            font-size: 1.5em;
          }
        }
      }
    }
  }
  .section-relation-3 {
    .text-content {
      width: 100%;
    }
    .container-opportunities {
      .card-opportunity {
        flex: 1 1 100%;
      }
    }
  }
  .child.section-relation-4 {
    .container-shareholder {
      .card-shareholder {
        grid-template-columns: 1fr;
      }
    }
  }
}
