﻿
@font-face {
    font-family: 'montserrat-regular';
    src: url('../fonts/montserrat-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'baskervville-bold';
    src: url('../fonts/baskervville-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'montserrat-bold';
    src: url('../fonts/montserrat-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'baskervville-medium';
    src: url('../fonts/baskervville-medium.ttf') format('truetype');
}

.timeline {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    position: relative;
}

.timeline__event {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    margin: 20px 0;
    border-radius: 6px;
    align-self: center;
    width: 100%;
}

 /*   .timeline__event:nth-child(2n + 1) {
        flex-direction: row-reverse;
    }*/

        .timeline__event:nth-child(2n + 1) .timeline__event__date {
            border-radius: 30px 30px 30px 30px;
        }

        .timeline__event:nth-child(2n + 1) .timeline__event__content {
            border-radius: 30px 30px 30px 30px;
        }

        .timeline__event:nth-child(2n + 1) .timeline__event__icon:before {
            content: "";
            width: 2px;
            height: 100%;
            background: #a16157;
            position: absolute;
            top: 0%;
            left: 50%;
            right: auto;
            z-index: -1;
            transform: translateX(-50%);

            animation: fillTop 1s forwards 1s ease-in-out;
        }

    .timeline__event:nth-child(2n + 1) .timeline__event__icon:after {
        content: "";
        width: 100%;
        height: 2px;
        background: #a16157;
        position: absolute;
        left: 0%;
        z-index: -1;
        top: 50%;
        transform: translateY(-50%);
        animation: fillLeftOdd 1s forwards 1s ease-in-out;
    }

.timeline__event__title {
    font-size: 1.2rem;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 600;
    color: #a16157;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.testIcon {
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #edeae1;
}

.timeline__event__content {
    padding: 20px;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
    background: #edeae1;
    width: 100%;
    border-radius: 30px 30px 30px 30px;
}

.timeline__event__date {
    color: #f6a4ec;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0 20px;
    width: 250px;
    border-radius: 30px 30px 30px 30px;
}
.imagesize{
    width:60px;
}

.timeline__event__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9251ac;
    padding: 20px;
    align-self: center;
    background: #f4f4f4;
    margin: 0 20px;
    border-radius: 100%;
    width: 40px;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
    padding: 40px;
    height: 40px;
    position: relative;
}

    .timeline__event__icon i {
        font-size: 32px;
    }

    .timeline__event__icon:before {
        content: "";
        width: 2px;
        height: 100%;
        background: #a16157;
        position: absolute;
        top: 0%;
        z-index: -1;
        left: 50%;
        display:none!important;
        transform: translateX(-50%);
        animation: fillTop 1s forwards 1s ease-in-out;
    }

    .timeline__event__icon:after {
        content: "";
        width: 100%;
        height: 2px;
        background: #a16157;
        position: absolute;
        left: 0%;
        z-index: -1;
        top: 50%;
        transform: translateY(-50%);
        animation: fillLeftOdd 1s forwards 1s ease-in-out;
    }

.timeline__event__description {
    flex-basis: 60%;
}
.timeline__event__description p {
    color: #a5a5a5
}


    @media (max-width: 786px) {
        .timeline__event {
        flex-direction: column;
        align-self: center;
    }

    .timeline__event__content {
        width: 100%;
    }

        .timeline__event__icon {
            width: 85px;
            margin-bottom: 10px;
            box-shadow: none;
        }

        .timeline__event__icon:before, .timeline__event__icon:after {
            display: none;
        }

    .timeline__event__date {
        border-radius: 0;
        padding: 20px;
        width: 100%;
        height: 400px;
    }

    .timeline__event:nth-child(2n + 1) {
        flex-direction: column;
        align-self: center;
    }

        .timeline__event:nth-child(2n + 1) .timeline__event__date {
            border-radius: 0;
            padding: 20px;
            width:100%;
            height:400px;
        }

     
}

@keyframes fillLeft {
    100% {
        right: 100%;
    }
}

@keyframes fillTop {
    100% {
        top: 100%;
    }
}

@keyframes fillLeftOdd {
    100% {
        left: 100%;
    }
}

.hover {
    overflow: hidden;
    position: relative;
    padding-bottom: 60%;
}

.hover-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    transition: all 0.4s;
}

.hover img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

.hover-content {
    position: relative;
    z-index: 99;
}

.hover-3::after {
    content: '';
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    border: 1px solid #fff;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 90;
    transition: all 0.3s;
    transform: scale(1.1);
    opacity: 0;
    display: block;
    opacity: 0;
}

.hover-3-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 99;
}

.hover-3-description {
    opacity: 0;
    transform: scale(1.3);
    transition: all 0.3s;
    font-size: 16px !important;
    color: #edeae1 !important;
}

.hover-3 img {
    width: 110%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hover-3-title {
    color: #edeae1 !important;
}

.hover-3 .hover-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.hover-3:hover img {
    width: 100%;
}

.hover-3:hover::after {
    opacity: 1;
    transform: none;
}

.hover-3:hover .hover-3-description {
    opacity: 1;
    transform: none;
}

.hover-3:hover .hover-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.container-fluid2 {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

    .container-fluid2 > .col-lg-6 {
        margin-right: 20px;
    }

        .container-fluid2 > .col-lg-6:last-child {
            margin-right: 0; /* prevent extra space on right side */
        }

.divheight {
    flex: 0 0 calc(50% - 10px);
    height: 600px;
}

@media (max-width: 500px) {
    .divheight {
        flex: 0 0 100%;
        float: none !important;
        margin-bottom: 20px !important;
        height: 450px !important;
    }

    .container-fluid2 {
        display: block !important;
    }
}

@media only screen and (min-width: 501px) and (max-width: 1200px) {
    .divheight {
        height: 500px !important;
    }
}
.aBase {
    opacity: 0;
    transform: scale(1.3);
    transition: all 0.3s;
}

.aBase {
    font-size: 16px;
    border: 1px solid #f4f4f4;
    padding: 10px;
    color: #f4f4f4;
    text-decoration: none !important;
    border-radius: 20px;
}

    .aBase:hover {
        background: #f4f4f4 !important;
        color: #a16157;
        border-color: #f4f4f4 !important;
    }

.hover-3:hover .aBase {
    opacity: 1;
    transform: none;
}