﻿/* all section */
.about-section {
    padding-top: 60px;
}

/* image central */
.about-img {
    height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.the-img {
    background: url(../img/quem-somos.webp) no-repeat center;
    background-size: cover;
    opacity: 1;
    filter: brightness(30%);
    width: 100%;
    height: 100%;
}

.the-text {
    position: absolute;
    top: 0;
    width: 88%;
    display: flex;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.the-text h1 {
    font-weight: 600;
    color: white;
    font-size: 4rem;
    text-shadow: 2px 0 #133769, -2px 0 #133769, 0 2px #133769, 0 -2px #133769, 1px 1px #133769, -1px -1px #133769, 1px -1px #133769, -1px 1px #133769;
}

.the-text h1::after {
    background-color: white;
    border-radius: 4px;
    content: "";
    display: block;
    height: 4px;
    left: 50%;
    margin: 20px auto 0px;
    width: 80px;
}

.the-text p {
    font-size: 17px;
    color: white;
    text-shadow: 2px 0 black, -2px 0 black, 0 2px black, 0 -2px black, 1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
    margin: 40px 0;
}

/* texto central de cada section */
.textcenter {
    width: 100%;
    margin: 0 0 35px 0;
    text-align: center;
}

.textcenter p {
    letter-spacing: 1px;
    color: #676767;
    font-size: 16px;
}

.textcenter h4 {
    font-size: 25px;
    color: #133769;
    font-weight: bold;
    border-radius: 30px;
}

/* texto principal */
.about-mong {
    max-width: 1250px;
    padding: 60px 0 80px;
}

.about-mong .mong-div {
    display: flex;
    justify-content: center;
}

.about-mong .mong-text {
    max-width: 500px;
}

.about-mong .mong-text.one {
    text-align: end;
}

.mong-div .new-line {
    background-color: #133769aa;
    width: 1px;
    margin: 0 40px;
}

.about-mong h3 {
    margin: 20px 0;
    letter-spacing: .5px;
    color: #133769;
    font-weight: bold;
}

.about-mong .mong-text p {
    font-size: 1.4rem;
    line-height: 28px;
}

/* fundadores */
.about-founderes {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.middle-things {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    max-width: 1250px;
    align-items: center;
}

.personal-info {
    margin-top: 15px;
}

.timeline-item {
    position: relative;
    padding-left: 37px;
    padding-bottom: 35px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    width: 2px;
    position: absolute;
    height: 100%;
    left: 6px;
    top: 0;
    background-color: #133769;
    opacity: .7;
}

.timeline-item .circle-dot {
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #133769;
}

.timeline-title {
    font-weight: 700;
    font-size: 18px;
    color: #000000;
}

.personal-info .info-item p {
    font-weight: 600;
    padding: 4px 0;
    font-size: 14px;
    color: #302e4d;
}

.personal-info .info-item p span {
    font-weight: 400;
    color: #575757;
    margin-left: 4px;
    font-size: 14px;
    display: flex;
}

.founder-img img {
    transform: scale(1) perspective(1040px) rotateY(-11deg) rotateX(2deg) rotate(2deg);
    box-shadow: 0px 0px 10px 2px #b5becb;
    transition: all .3s ease;
    width: 90%;
}

.founder-img img:hover {
    transform: rotate(0);
}

/* projetos */
.about-projects {
    background: #133769;
    padding: 60px 0;
    margin: 60px 0;
}

.about-projects .textcenter p {
    color: #abc4e8;
}

.about-projects .textcenter h4 {
    color: white;
}

.projects-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card {
    width: 320px;
    padding: 5px 30px;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: #112c53;
    border: 1px solid rgb(227 227 227 / 89%);
    transition: all .5s ease;
    cursor: default;
}

.card:hover {
    border: 1px solid #112c53;
    background: #6190d294;
}

.card.firs {
    max-height: 250px;
    height: 250px;
    justify-content: center;
}

.card h5 {
    color: white;
}

.card i {
    font-size: 40px;
    display: block;
    text-align: center;
    margin: 18px 0px;
    color: #ffffff;
}

.card-text p {
    color: rgb(186, 186, 186);
    font-size: 15px;
    line-height: 27px;
    margin-bottom: 25px;
}

.card-text .pp {
    margin-bottom: 0px;
}

/* ultima sessao */
.about-last {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px 0;
}

.last-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.last-things {
    max-width: 1200px;
    display: grid;
    grid-template-columns: .5fr 1fr;
    gap: 50px;
}

.last-things .last-thing p {
    font-size: 14px;
    line-height: 28px;
    color: #434343;
}

.about-last .button {
    margin: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.about-last .button a {
    text-transform: uppercase;
    background: green;
    color: white;
    padding: 8px 40px;
}

@media screen and (max-width: 1100px) {
    .about-mong {
        padding: 60px 15px 80px;
    }
    .middle-things {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .founder-img img {
        transform: rotate(0);
        width: 100%;
    }
}

@media screen and (max-width: 800px) {
    .the-text h1 {
        font-size: 3.1rem;
    }
    .the-text p {
        font-size: 16px;
        max-width: 450px;
        margin: 30px 0;
    }
    .about-mong .mong-div {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .about-mong .mong-text.one,
    .about-mong .mong-text.two {
        text-align: center;
    }
    .about-mong .mong-text p {
        font-size: 1.2rem;
    }
    .about-founders {
        max-width: 500px;
    }
    .timeline-item {
        padding: 0 15px 35px 26px;
    }
    .about-last {
        padding: 0 15px;
    }
    .last-things {
        display: flex;
        max-width: 500px;
        flex-direction: column;
        text-align: center;
    }
    .last-content img {
        max-width: 200px;
    }
    .about-last .button {
        margin: 30px 10px;
    }   
}