html{
    max-height: 100%!important;
    background-image: url('../assets/fullcanvas-twotone.jpg');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

* {
    box-sizing: border-box;
}

body{
    font-family: 'Open Sans';
    color: #616161;
    margin: 0px!important;
    font-family: 'Whitney Semibold';
}

/* Set a background image */
.container-body {
    /* font-family: Helvetica, sans-serif; */
    /* height: 50%!important;*/
    width: 100%; 
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.yearSelector {
    font-size:  20px;
    background-color: white;
    font-family: 'Whitney Semibold';
    display: flex;
    justify-content: center;
    border-bottom: 3px solid #8dc63f;
    padding-top: 15px;
    padding-bottom: 15px;
    list-style-type: none;
    margin: 0;
    /* margin-top: 15px; */
    width: 100%;
    /* margin-bottom: 20px; */
}


.yearSelector li {
    position: relative;
    text-align: center;
}

.yearSelector li.active::after {
    content: " ";
    height: 0;
    position: absolute;
    width: 0;
    z-index: 1;
    bottom: -15px;
    left: calc(50% - 10px);
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #8dc63f transparent ;
}

.yearSelector li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: .1s ease all
}

.yearSelector li.active a {
    color: #8dc63f;
}

.yearSelector li:not(.active):hover a {
    background-color: #8dc63f;
    color: #fff;
}

.splide[data-slide="first"] .splide__arrows .splide__arrow--prev,
.splide[data-slide="last"] .splide__arrows .splide__arrow--last
{
    visibility: hidden;
}

.splide figure {
    margin: 0;
}

.splide figcaption {
    text-align: right;
    margin-right: 1rem;
    margin-top: .5rem;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    --lineYOffset: 50px;
    position: reletive;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
    padding: 50px;
}

.containerTimeline {
    margin-top: 50px;
}

/* The actual timeline (the vertical ruler) */
.containerTimeline::after {
    content: '';
    position: absolute;
    width: 6px;
    height: calc(100% - var(--lineYOffset) * 2);
    background-color: white;
    top: var(--lineYOffset);
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    opacity: .6;
    backdrop-filter: blur(2px);
}

.end-line{
    content: '';
    width: 6px;
    height: 40px;
    margin-left: -4px;
    margin-top: 32px;
    position: absolute;
    transform: rotate(90deg);
    background-color: white;
    opacity: .6;
    backdrop-filter: blur(2px);
    left:50%;
    right: 50%;

}

/* Container around content */
.container, .extended{
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    transition: all .4s ease-in-out;
    z-index: 9;
    opacity: 1;
}

/* The circles on the timeline */
.container-circle,
.year-circle
{
    --size: 50px;
    position: absolute;
    width: var(--size);
    height: var(--size);
    right: -25px;
    background-color: #8dc63f;
    border: 4px solid #8dc63f;
    color: #fff;
    top: 7px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container-description{
    font-size: 16px;
    line-height: 20px;
}

.year-circle {
    border: 0;
    background-color: #fff;
    color: #8dc63f;
    font-weight: bold;
    left: calc(50% - var(--size) / 2);
    top: 50px;
}

.container-circle .day {
    font-weight: bold;
    font-size: 1.1rem;
}

.container-circle .month {
    text-transform: uppercase;
    font-size: .8rem;
}

.show-next, .show-previous{
    --size: 50px;
    position: relative;
    width: var(--size);
    height: var(--size); 
    left: calc(50% - var(--size) / 2);
    margin: 0 auto;
    text-align: center;
    background-color: white;
    /* top: 15px; */
    border-radius: 50%;
    border: 0;
    z-index: 1;
    outline: none!important;
    cursor: pointer;
}

.show-next:active, .show-previous:active {
    border-top: 1px solid rgba(0,0,0,0);
    border-left: 1px solid rgba(0,0,0,0);
}

.show-previous {
    top: calc(var(--size) + var(--size) / 2);
}

.arrow-img{
    border-radius: 100%;
    width: auto;
}


/*Floating Back-To-Top Button*/
#myBtn {
    position: fixed;
    bottom: 0px;
    float: right;
    right: 10%;
    left: 90%;
    /* max-width: 30px; */
    width: 4%;
    /* font-size: 12px; */
    height: 40px;
    background-color: #8dc63f;
    padding: 10px;
    border:none;
}


/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    /* border: medium solid white; */
    border-width: 10px 0 10px 10px;
    /* border-color: transparent transparent transparent white; */
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    /* border: medium solid white; */
    border-width: 10px 10px 10px 0;
    /* border-color: transparent white transparent transparent; */
}

/* Fix the circle for containers on the right side */
.right .container-circle {
    left: -24px;
}

/* The actual content */
.content {
    /* padding: 20px 30px; */
    background-color: white;
    position: relative;
    border-radius: 3px;
    border-top: solid 6px #8dc63f;
}

.content-body{
    padding: 20px 30px;
}

@media screen and (max-width: 900px) {
    .container-description{
        font-size: 10px;
    }

}


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
    .timeline {
        padding: 0;
        padding-top: 50px;
    }
    /* Place the timelime to the left */
    .containerTimeline::after {
        left: 31px;
    }

    .end-line{
        left: 31px;
        margin-top: -17px;
    }

    .year-circle {
        left: 7px;
        top: 45px;
    }

    /* Full-width containers */
    .container {
        width: 100%;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .container .content {
        margin-left: 30px;
    }

    /* Make sure all circles are at the same spot */
    .left .container-circle,
    .right .container-circle {
        left: 7px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }

    .show-previous, .show-next {
        left: 7px;
    }
}