﻿.history-carousel {
    background: transparent !important;
}

    .history-carousel .owl-item {
        display: flex;
        background: transparent !important;
    }

    .history-carousel .owl-thumbs {
        display: none;
        background: transparent !important;
    }

    .history-carousel .history-item {
        width: 1500px;
        display: flex;
        padding-top: 5rem;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        overflow: visible;
        margin: 0 auto;
        padding-bottom: calc(5rem + 20px);
        padding-right: 15px;
    }

.history-content-box {
    z-index: 1;
    color: white;
    padding-right: 10rem;
}

    .history-content-box .history-tag {
        background: linear-gradient(-135deg, #3c8de0, #48be3f);
        color: #ffffff;
        padding: 5px 12px;
        border-radius: 10px;
        font-size: 1.5rem;
        display: inline-block;
        margin-bottom: 10px;
        font-weight: 600;
    }

.timeline-img {
    border-radius: 10px;
    box-shadow: 10px 10px 28px 0px #00000082;
}

.history-content-box h2 {
    margin: 2rem 0 30px;
    font-weight: 900;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 1s ease 0s;
    background: linear-gradient(45deg, #b3d9ff, #ceffca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-move 3s infinite linear;
    font-size: 5rem;
}

.history-content-box p {
    font-size: 2rem;
    color: #ffffff;
}

.history-carousel .owl-nav {
    position: absolute;
    top: 5rem;
    width: 1470px;
    display: flex;
    z-index: 10;
    gap: 10px;
    left: 50%;
    transform: translateX(-50%);
}

    .history-carousel .owl-nav button {
        background: rgb(60 141 224) !important;
        color: white !important;
        border: none !important;
        font-size: 2rem !important;
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

.history-timeline-nav {
    text-align: left;
    z-index: 5;
    min-width: 100%;
    bottom: 0;
    display: flex;
    position: relative;
    padding: 4rem 3rem 0 3rem;
    gap: 3rem;
    overflow-x: scroll;
}

.history-timeline-nav {
    overflow: scroll;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

    .history-timeline-nav::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }

.history-timeline-line {
    height: 8px;
    width: 100%;
    z-index: 7;
    background: linear-gradient(135deg, #45b45e, #3d92cf);
}

.history-timeline-nav .history-year {
    display: inline-block;
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1;
    color: #46b55b;
    background: linear-gradient(135deg, #45b45e, #3d92cf);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Montserrat';
    padding-bottom: 1rem;
    opacity: .8;
    transition: all .3s ease;
    flex: 1 1 0;
    color: #46b55b;
    background: linear-gradient(135deg, #45b45e, #3d92cf);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-move 3s infinite linear;
    min-width: fit-content;
}

span.history-year.active {
    transform: translateY(-3rem);
    opacity: 1;
    background: linear-gradient(45deg, #70b5fa, #8bff82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-move 3s infinite linear;
}

.history-timeline-nav .history-year .label {
    display: block;
    margin: 1rem 0;
    font-size: 2rem;
    line-height: 1.5;
    font-family: 'Open Sans';
}

.history-timeline-nav .history-year::after {
    content: '';
    width: 4px;
    height: 4rem;
    background: linear-gradient(135deg, #45b45e, #3d92cf);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 100px;
    transition: all .3s ease;
}

.history-timeline-nav .history-year.active::before {
    background: #fff;
    border-color: #fff;
}

.history-timeline-nav .history-year::after {
    content: '';
    width: 4px;
    height: 4rem;
    background: linear-gradient(135deg, #45b45e, #3d92cf);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 100px;
}

.history-year.active::after {
    height: 7rem;
}

.gradient-border {
    position: relative;
    padding: 20px;
}

    .gradient-border:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: -1;
        background: linear-gradient(135deg, #3c8de0, #48be3f);
        border-radius: 10px;
        box-shadow: 10px 10px 28px 0px #00000082;
    }

.history-timeline-nav-box {
    position: relative;
}

    .history-timeline-nav-box:before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 100%;
        z-index: 6;
        background: #071322;
        background: -webkit-linear-gradient(90deg, rgba(7, 19, 34, 1) 0%, rgba(255, 255, 255, 0) 100%);
        background: -moz-linear-gradient(90deg, rgba(7, 19, 34, 1) 0%, rgba(255, 255, 255, 0) 100%);
        background: linear-gradient(90deg, rgba(7, 19, 34, 1) 0%, rgba(255, 255, 255, 0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#071322", endColorstr="#FFFFFF", GradientType=1);
        width: 40px;
    }

    .history-timeline-nav-box:after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        height: 100%;
        z-index: 6;
        background: #071322;
        background: -webkit-linear-gradient(270deg, rgba(7, 19, 34, 1) 0%, rgba(255, 255, 255, 0) 100%);
        background: -moz-linear-gradient(270deg, rgba(7, 19, 34, 1) 0%, rgba(255, 255, 255, 0) 100%);
        background: linear-gradient(270deg, rgba(7, 19, 34, 1) 0%, rgba(255, 255, 255, 0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#071322", endColorstr="#FFFFFF", GradientType=0);
        width: 100px;
    }

@media (max-width: 1500px) {
    .history-carousel .owl-nav {
        left: 15px;
        width: 100%;
        transform: none;
    }

    .history-content-box h2 {
        font-size: 4rem;
    }

    .history-content-box p {
        font-size: 1.8rem;
    }

    .history-content-box h2 {
        margin: 0rem 0 15px;
    }

    .history-content-box {
        padding-right: 5rem;
    }

        .history-content-box .history-tag {
            font-size: 1.25rem;
        }

    .history-box.align-items-center {
        align-items: center !important;
    }

    .history-carousel .owl-nav button {
        width: 40px;
        height: 40px;
    }

    .history-timeline-nav .history-year {
        font-size: 4.5rem
    }

        .history-timeline-nav .history-year .label {
            font-size: 1.9rem;
        }
}

@media (max-width: 1250px) {
    .history-timeline-nav .history-year {
        font-size: 4rem
    }

        .history-timeline-nav .history-year .label {
            font-size: 1.8rem;
        }
}

@media (max-width: 992px) {
    .history-content-box {
        padding: calc(40px + 1rem) 0px 3rem;
        text-align: center;
    }

    .history-carousel .owl-nav {
        left: 0;
        width: 100%;
        transform: none;
        text-align: center;
        justify-content: center;
    }

    .history-carousel .history-item {
        padding-right: 0;
    }

    .history-carousel .owl-nav {
        top: 3rem;
    }

    .history-content-box h2 {
        font-size: 3.8rem;
    }

    .history-content-box p {
        font-size: 1.7rem;
    }

    .history-content-box h2 {
        margin: 0rem 0 15px;
    }

    .history-content-box .history-tag {
        font-size: 1.25rem;
    }
}
