#timeline {
    margin-left: 100px;
    margin-right: 100px;
}

.event {
    padding: 50px;
    width: 80%;
    overflow-x: scroll;
    display: flex;
    flex-direction: column
}

.event img{
    display:block;
    border: 2px dashed darkorchid;
    box-shadow: 10px 10px 2px grey;
    margin-right: auto;
    margin-left: auto;
    /* height: auto; */
    /* width: 70%; */
    /* max-height: 25rem; */
    /* height: 15rem; */
    width: auto;
    max-width: 100%;
}

.event p{
    padding: 40px;
    background-color: #d4cad65b;
    text-shadow: 3px 3px 3px rgb(236, 213, 241); 
    letter-spacing: -2px;
    line-height: 1.6rem;
    color: #392541;
}

.event ul{
    text-align: left;
    padding: 40px;
    background-color: #d4cad65b;
    text-shadow: 3px 3px 3px rgb(236, 213, 241); 
    letter-spacing: -2px;
    line-height: 1.6rem;
    color: #392541;
}

.event li{
    margin-bottom: 1rem;
}

.event h2{
    color: rgb(112, 77, 124);
    text-shadow: 3px 3px 3px rgb(236, 213, 241); 
}

.event em{
    color: grey;
    text-shadow: 3px 3px 3px rgb(236, 213, 241); 
    margin-bottom: 40px;
}

.swiper-container-wrapper--timeline .swiper-slide {
    display: flex;
    background: hwb(291 88% 9% / 0.089);
    min-height: 300px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.swiper-container-wrapper--timeline .swiper-slide .container {
    padding: 0;
    width: 100%;
}
.swiper-container-wrapper--timeline .swiper-slide .title {
    font-size: 18px;
    opacity: 0;
    transition: 0.5s ease 0.5s;
}
.swiper-container-wrapper--timeline .swiper-slide-active .title {
    opacity: 1;
}
.swiper-container-wrapper--timeline .swiper-pagination-progressbar {
    position: relative;
    margin-bottom: 30px;
    background-color: transparent;
    height: 4px;
    border-bottom: 1px solid #888;
    width: 75%;
}
.swiper-container-wrapper--timeline .swiper-pagination-progressbar-fill {
    background-color: #000;
    height: 3px;
    top: 2px;
    background: rgb(112, 77, 124) !important;
}
.swiper-container-wrapper--timeline .swiper-pagination-progressbar:before {
    position: absolute;
    top: 2px;
    left: -100%;
    width: 100%;
    height: 3px;
    background-color: #000;
    content: "";
}
.swiper-container-wrapper--timeline .swiper-pagination-progressbar:after {
    position: absolute;
    top: 3px;
    right: -100%;
    width: 0;
    height: 1px;
    background-color: #888;
    content: "";
}
.swiper-container-wrapper--timeline .swiper-pagination-custom {
    position: relative;
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    line-height: 1.66;
    bottom: 0;
    z-index: 11;
    width: 75%;
    display: flex;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch {
    position: relative;
    line-height: 30px;
    display: block;
    min-width: 200px;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch .switch-title {
    /*position: absolute;*/
    font-weight: 400;
    right: 0;
    transform: translateX(50%);
    transition: 0.2s all ease-in-out;
    transition-delay: 0s;
    cursor: pointer;
    z-index: 1;
    color: rgb(112, 77, 124);
    text-shadow: 3px 3px 3px #ffffff;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch .switch-title:after {
    position: absolute;
    top: calc(100% + 19px);
    right: 50%;
    transform: translateX(50%) translateY(-50%);
    width: 12px;
    height: 12px;
    background: rgb(112, 77, 124);;
    border-radius: 2rem;
    content: "";
    transition: 0.2s all ease-in-out;
    transition-delay: 0s;
    z-index: 1;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active .switch-title {
    font-weight: 400;
    transition-delay: 0.4s;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active .switch-title:after {
    background: rgb(112, 77, 124);
    width: 25px;
    height: 25px;
    transition-delay: 0.4s;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active ~ .swiper-pagination-switch .switch-title {
    color: #888;
    font-weight: 16px;
}
.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active ~ .swiper-pagination-switch .switch-title:after {
    background: #888;
}

@media screen and (max-width: 730px){
    #timeline {
        margin-left: 10px;
        margin-right: 10px;
    }

    .event p {
        padding-left: 0;
        padding-right: 0;
    }
    .event {
        padding: 0;
    }
}

@media screen and (max-width: 470px){
    .event img {
        width: 94%;
    }

    .event h2 {
        font-size: 15px;
    }

    .event p {
        font-size: 12px;
    }
}