.section-hero {
  height: 70vh;
  background-image: url('../images/banner_sobre.png');
  background-size: cover;
  background-position: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.section1-title {
    bottom: 40px; 
    left: 11rem; 
    text-align: left; 
    position: absolute;
    color: #f5f5f5;
}

.btn-header h1{
    margin-right: 11rem;
}
/* Barra informativa abaixo da imagem */
.barra-informativa {
  background-color: #8f959b;
  font-size: 0.95rem;
}

.links {
  color: #f5f5f5; 
  font-family: 'Questrial', sans-serif;
  font-weight: 500;
  text-decoration: none;
  margin: 0 24px;
  position: relative;
  padding-bottom: 4px;
}

.links.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 0;
  margin: auto;
  width: 120%;
  height: 2px;
  background-color: #c73626;
  border-radius: 1px;
  transform: translateX(-50%);
}

/* SECTION2 */

#section2 {
  /* background-color: #f8f9fa; */
  text-align: justify;
  color: #6b737a;
}

#section2 h2 {
  margin-bottom: 20px;
}

#section2 p {
  line-height: 1.6;
}

.svg-corner {
    position: absolute;
    top: -30px;
    right: -40px;
    width: 150px;
    height: 150px;
}

#section2 img.img-fluid {
    border-radius: 0 25px 0 0;
}


/* SECTION3 */

#section3 {
  /* background-color: #f8f9fa; */
  position: relative;
}

.timeline-line {
  position: absolute;
  left: calc(50% - 26px);
  top: 100px;
  bottom: 0px;
  width: 2px;
  background-color: #8f959b;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.timeline-year {
  font-weight: bold;
  color: #6b737a;
  font-size: 1.6rem;
}

.timeline-dot {
  position: relative;
  width: 50px;
  height: 50px;
  background-color: #8f959b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  z-index: 1; /* Certifica-se de que as bolinhas fiquem sobre a linha */
}

.inner-dot {
  width: 25px;
  height: 25px;
  background-color: #475259;
  border-radius: 50%;
}

.timeline-images {
  display: flex;
  flex-direction: column;
}

.timeline-images img {
  max-width: 120px;
  margin-top: 5px;
}

#section3 .timeline-images img {
  width: 100px;
}

.btn-section4 {
  background-color: #c73626 !important;
  color: #f5f5f5 !important;
}

.btn-section4:hover {
  background-color: #4A5359 !important;
}


/* SECTION4 */

#section4 p {
  text-align: justify;
  color: #6b737a;
}

/* Section 5 Styles */

#section5 {
  background-color: #475259;
  color: #f5f5f5;
  padding-bottom: 6rem;
}

#section5 h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#section5 p {
    line-height: 1.8;
    font-size: 1.1rem;
}

#section5 .btn-section4:hover {
  background-color: #f5f5f5 !important;
  color: #475259 !important;
}

.img-sec5 {
  border-radius: 0 25px 0 0;
}

.sec5-insta-icon {
  width: 30px;
}

/* SECTION6 */

#section6 {
  padding-top: 3rem !important;
  color: #6b737a;
}

/* SECTION7 */

#section7 {
  background-size: cover;
  background-image: url('../images/sobre-section7-bg.png');
  background-position: center;
  height: 400px;
}

/* SECTION8 */

#section8 {
  background-size: cover;
  background-image: url('../images/section3-bg.png');
  background-position: center;
}

#section8 iframe {
  border-radius: 0 25px 0 0;
}

#section8 .ratio {
  max-width: 800px;
  margin: 0 auto;
}

.svg-corner-sec8 {
  top: -30px;
  left: 710px;
  width: 150px;
  height: 150px;
  z-index: 1;
}




@media screen and (max-width: 768px) {
    .svg-corner {
        display: none;
    }

    .svg-corner-sec8 {
      display: none;
    }

    /* .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-dot::before {
        left: 10px;
    } */

} 

@media screen and (min-width: 769px) { 
    #section2 .col-md-6 {
        padding-right: 40px; /* Add space between the text and the image */
    }

    #section2 img.img-fluid {
        margin-left: 40px; /* Add space on the left side of the image to create a gap */
    }

    .custom-gap {
        padding-left: 100px; /* 32px */
    }
}