@import "./globals.css";

.main {
    overflow: hidden;
}

.about .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.swiper {
    overflow: visible !important;
}


.header-details {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

@media screen and (max-width: 850px) {
    .header-details {
        display: flex !important;
        gap: 0;
    }

}

.header-details .header-detail {
    width: 100%;
    height: auto;
    padding: 36px 31px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    background-color: var(--color-tertiary);
}

.header-details .header-detail .header-detail-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-details .header-detail:nth-child(1) .header-detail-icon {
    background-color: var(--yellow-opacity);
}

.header-details .header-detail:nth-child(2) .header-detail-icon {
    background-color: var(--black-opacity);
}

.header-details .header-detail:nth-child(3) .header-detail-icon {
    background-color: var(--red-opacity);
}

.header-details .header-detail h2 {
    color: var(--text-primary);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.header-details .header-detail p {
    max-width: 250px;
    color: var(--text-secondary);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.about .section-content {
    display: flex;
    flex-direction: column;
    gap: 6rem 0;
}


.topics-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
    align-items: center;
}

.topics-list .topic-box {
    max-width: 500px;
    align-self: end;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.topics-list .topic-box:nth-child(odd) {
    align-self: start;
}

.timeline {
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: var(--yellow-opacity);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}


.timeline-point {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--yellow-opacity);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}


.topics-list .topic-box h3 {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 130%;
    text-align: center;
}

.topics-list .topic-box p {
    color: var(--text-primary);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

@media screen and (max-width: 1150px) {
    .topics-list {
        padding-left: 4rem;
    }

    .topics-list .topic-box {
        max-width: 800px;
        align-self: start;
    }

    .timeline {
        left: 20px;
    }

    .topics-list .topic-box h3 {
        text-align: left;
    }

    .topics-list .topic-box p {
        text-align: left;
    }   
}