

a {
    color: white;
}

header {
    background-color: #212121 !important;
}

.title-principal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5px 20px;
    margin-top: 20px;

}

.title-principal h1 {
    font-size: var(--fs-titulo);
    font-weight: var(--font-bold-titulo);
    background-image: var(--cor-degrade);
    font-weight: var(--font-bold-titulo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    padding: 0;
}

.title-principal hr {
    background-color: var(--cor-primaria);
    opacity: 100;
    width: 100px;
    height: 5px;
    border: none;
}

.card-history {
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-history {

    width: 550px;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    color: #212121;

}

.content-history {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-author {
    align-self: flex-start;
}

.image-author img {
    width: 150px;
    height: 200px;
}

.image-author,
.text-author {
    padding: 10px;

}

.text-author p {
    text-align: justify;
    font-family: var(--fonte-principal);

}

.resume-history {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-block: 10px 100px;
}

.image-resume img {
    width: 250px;
    height: 250px;
}

.data-resume {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 50px 0;
}

.text-resume {
    margin: 20px 0;
    padding: 5px 20px;
}

.text-resume p {
    font-family: "Poppins", sans-serif;
    text-align: justify;
    line-height: 1.6;
    font-size: var(--fs-pequeno);
    color: #212121;
}

.button-line-time {
    background-color: var(--cor-primaria);
    padding: 10px 20px;
    text-decoration: none;
    font-size: var(--fs--button);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.button-line-time i {
    font-size: var(--fs-pequeno);
    transition: transform 0.3s ease;
}

.button-line-time:hover i {
    transform: translateY(4px);
}

.button-line-time:hover {
    background-color: #fbc12dec;
}

.buttons-more {
    display: flex;
    align-self: flex-end;
    gap: 10px;
    padding: 10px 50px;

}

.container-resume {
    display: flex;
    flex-direction: column;
}

.content-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/*TimeLine*/
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #FBC02D, #fcbe21);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: calc(50% - 30px);
    position: relative;
    min-height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
    border-right: 0;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
    border-left: 0;
}

.timeline--line-history {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
} 

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--cor-primaria);
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    z-index: 10;
}

.timeline-title {
    font-size: var(--fs-titulo);
    font-weight: var(--font-bold-titulo);
    background-image: var(--cor-degrade);
    font-weight: var(--font-bold-titulo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: var(--fs-subtitulo);
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.timeline-text p {
    color: #212121;
    line-height: 1.6;
    font-size: var(--fs-pequeno);
    text-align: justify;
    font-family: "Poppins", sans-serif;
}


.timeline-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    background-size: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*Responsividade timeline*/
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }

    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
        border-right-color: white !important;
        border-left: 0 !important;
    }

    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
    }

}

/*Fim responsividade timeline*/
/*Fim timeline*/


/*Historia completa*/
.text-complete {
    max-width: 1200px;
    margin: 20px auto;
    padding: 5px 20px;
}

.text-complete p {
    text-align: justify;
    font-family: "Poppins", sans-serif;
    font-size: var(--fs-pequeno);
    line-height: 1.6;
    color: #212121;
}

.text-title {
    margin: 30px 0;
}

.text-title h2 {
    font-family: "Poppins", sans-serif;
    font-size: var(--fs-titulo);
    font-weight: 700;
    margin-bottom: 20px;
}

.image-text {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;

    margin: 30px 0;
}

.image-text p {
    flex: 1 1 300px;
    min-width: 300px;
}

.image-text img {
    width: 500px;
    max-width: 100%;
    flex-shrink: 0;
}

/*Fim Historia completa*/

/*RESPONSIVIDADE*/

@media screen and (max-width: 1440px) {}

@media (max-width: 1024px) {

    .text-complete {
        max-width: 900px;
    }


}

@media (max-width: 768px) {

    .title-principal {
        text-align: center;
    }

    .data-resume {
        flex-direction: column;
    }

    .container-resume {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .buttons-more {
        flex-direction: column;
        margin: 0 auto;
    }




    
}

@media (max-width: 515px) {

    .text-resume p {
        font-size: var(--fs-normal);
    }

    .timeline-text p {
        font-size: var(--fs-normal);
    }

}