@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap');
* {
    font-family: "Didact Gothic", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

@media screen and (min-width: 768px) {
    body {
        padding-top: 80px;
    }
}


.img-top {
    width: 100%;
    height: 300px; 
    background: url(../../imagens/sobrenos/historias/Header_Margreth.jpg) no-repeat center center;
    background-size: cover;
    background-position: center;
}
@media (max-width: 600px) {
    .img-top {
        height: 200px;
    }
}

.icones {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-top: 40px;
}

.icones > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3.5rem;
    flex: 1;
    height: 285px;
}

.icones h4, .icones p {
    width: 70%;
    padding: 10px;
}
.icones p {
    font-size: 14px;
}
.icones a {
    text-decoration: none;
    color: #f29400;
    font-size: 14px;
}
.icones img {
    width: 100px;
    transition: transform 0.5s ease;
}

.icones img:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .icones {
      flex-direction: column;
      padding: 10px;
    }
  
    .icones > div {
      width: 100%;
      margin-bottom: 20px;
    }
  
    .icones h4, .icones p {
      width: 80%;
    }
  
    .icones img {
      width: 100px;
    }
  }


.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}
.divider::before {
    content: "";
    display: block;
    width: 100%;
    border-top: 2px solid #f29400;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.divider::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #f29400;
    position: absolute;
    top: calc(100% - 1px);
    left: calc(50% - 30px); 
}


.tooltip {
    position: relative;
    display: inline;
}
.tooltip .highlight {
    color: #f29400;
    padding: 2px 5px;
    border-radius: 3px;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: black;
    color: #fff;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    bottom: 90%;
    left: 20%; 
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
.text {
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}
.text p:first-of-type {
    font-size: 30px;
    padding-bottom: 20px;
}
.text p:last-child {
    text-align: center; 
    width: 80%; 
    margin: 0 auto; 
    font-size: 14px;
}
.tooltiptext{
    font-size: 14px;
}


.middle{
    background-color: #878484;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    position: relative;     
}
.middle p{
    color: white;
    font-size: 14px;
}
#title{
    font-size: 30px;
}
.middle p{
    padding: 15px;
    text-align: center; 
    width: 90%; 
    margin: 0 auto; 
    font-size: 14px;
}
.arrow-down {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #878484;
    position: absolute;
    bottom: -30px;
    left: calc(50% - 30px); 
    z-index: 2;
}


.topicos {
    text-align: center;
    background-color: #e8e8e8;
    position: flex;
    width: 100%;
    height: 100%; 
    padding: 5%;
    box-sizing: border-box;
    padding-top: 40px;
    
}
.topicos p{
    font-size: 30px;
    padding-bottom: 20px;
    padding-top: 10px;
}
.topicos ul {
    list-style-type: none; 
    padding: 0;
    
}
.topicos li {
    display: flex; 
    margin-bottom: 20px; 
    text-align: center;
    justify-content: center;
    align-items: center;
}
.topicos li img {
    margin-right: 10px;
}



.end {
    position: relative;
    text-align: center;
    width: 100%;
    margin-top: 30px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 100%;
    padding-bottom: 3rem;
}

.title {
    width: 100%; 
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

.cards {
    width: 100%;
    background-color: #f5f5f5;
    background-size: 100%; 
    padding: 40px;

}

#title {
    color: black;
    margin-top: 0px;
    font-size: 30px;
}

.title p {
    padding-top: 15px;
    font-size: 16px;
}


.innovations {
    display: flex;
    justify-content: space-between;
    list-style: none;
    height: 50vh; 
}

.innovations li {
    width: calc(50% - 20px);
    margin: 20px;
    margin-top: 80px;
    position: relative;
    height: 50%;
}

.innovations .col-md-6 {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.innovations img {
    display: block;
    margin: 0 auto;
    width: 50px; 
    height: 50px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.innovations h3, .innovations p.initial {
    display: block;
    text-align: center;
}

.innovations h5, .innovations p.hidden, .innovations a {
    display: none;
    text-align: center;
    padding: 10px;
}

.innovations a {
    text-decoration: none;
    color: white;
    font-size: 20px;
}

.innovations a:hover span {
    background-color: black;
}

.link-background {
    background-color: gray;
    padding: 2px 5px;
    border-radius: 3px;
}

@media screen and (max-width: 800px) { 
    .innovations { 
        height: 100%;
    }
}

@media screen and (max-width: 768px) {
    .innovations li {
        margin-bottom: 60px;
    }
    .end {
        margin-top: 30px; 
        padding-bottom: 3rem;
    }

    .innovations {
        flex-direction: column; 
        align-items: center; 
    }

    .innovations li {
        width: 100%; 
        margin: 0; 
    }

    .innovations .col-md-6 {
        margin-bottom: 40px; 
    }

    .title {
        font-size: 24px;
        padding-bottom: 20px; 
    }
    .topicos li {
        text-align: start;
        justify-content: start;
        align-items: start;
    }
    .cards {
        background-size: contain;
    }
    .topicos p {
        font-size: 24px;
    }
    .text p:first-of-type {
        padding-bottom: 20px;
        font-size: 24px;
    }
    #title{
        font-size: 24px;
    }
}


@media screen and (min-width: 1500px) {
    .icones,
    .text,
    .middle,
    .topicos,
    .end {
        padding-right: 300px;
        padding-left: 300px;
    }
}