#timeline{
    margin-top: 25px;
    /* display: grid; */
}
#timeframe{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 150px;
    display: grid;
    height: calc(100% - 70px);
    z-index: 200;
    /* background: linear-gradient(rgba(0, 0, 0, 0), 40%, var(--c1)); */
    grid-template-rows: repeat(3, 1fr);
    animation: year-enter-transition 1.3s;
}
.year-circle{
    color: white;
    font-size: 25px;
    background: linear-gradient(135deg, #693327, rgb(3, 3, 3));
    box-shadow: 0px 0px 100px rgba(105, 51, 39, .6);
    width: 95px;
    height: 95px;
    border-radius: 50%;
    display: grid;
    margin: auto;
    cursor: pointer;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    transition: .2s;
    z-index: 99;
}
#curr-year-div{
    background: linear-gradient(135deg, #cd6149, rgb(3,3,3));
}
.year-circle::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 98;
    background: linear-gradient(135deg, #34162E, rgb(3, 3, 3));
    /* background: white; */
    border-radius: 50%;
    /* transform: translate(-50px, -50px); */
    transform: scale(0);
    transition: .2s;
    opacity: 0;
}
.year-circle:hover::before{
    opacity: 1;
    /* transform: translate(0px, 0px); */
    transform: scale(1);
}
.year-circle:nth-child(odd){
    width: 85px;
    height: 85px;
}
.year-title:nth-child(odd){
    font-size: 21px;
}
.year-title{
    z-index: 2;
    color: white;
    font-size: 23px;
    margin: auto;
    z-index: 200;
}
#events{
    z-index: -1;
    display: grid;
    grid-row-gap: 20px;
    cursor: pointer;
}
#event-div{
    width: 80%;
    color: white;
    padding: 30px 20px;
    margin: 0 auto;
    display: grid;
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(var(--c5-rgb), .1), rgba(0, 0, 0, 0));
    cursor: pointer;
    position: relative;
}
#event-div::before{
    background: linear-gradient(90deg, rgba(0,0,0,0), rgba(var(--c5-rgb), .15), rgba(0, 0, 0, 0));;
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: .3s;
    opacity: 0;
}
#event-div:hover::before{
    opacity: 1;
}
#event-title{
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-size: 20px;
    margin: 0;
    margin: auto;
    transition: .2s;
    z-index: 1;
}
#backdrop{
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .9);
    z-index: 201;
}
#read-more-popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--c5), var(--c1));
    /* background: var(--c2); */
    width: 40vw;
    height: 40vw;
    z-index: 201;
    border-radius: 50%;
    display: none;
    /* grid-template-rows: 80% 20%; */
}
#read-more-popup-inner{
    margin: auto;
    text-align: center;
    width: 87%;
}
#read-more-title{
    color: rgb(255, 255, 255);
    font-size: 35px;
    background-clip: text;
    margin-bottom: 35px;
}
#read-more-btn-div{
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10%;
}
#read-more-btn{
    padding: 12px 35px;
    color: white;
    background: linear-gradient(-45deg, rgba(0,0,0,.1), var(--c5));
    border-radius: 100px;
    border: none;
    font-size: 17px;
    cursor: pointer;
    position: relative;
    transition: .2s;
}
#read-more-btn::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0), rgba(var(--c3-rgb), .7));
    border-radius: 20px;
    z-index: -1;
    transition: .2s;
}
#read-more-btn:hover{
    transform: scale(1.05);
}
#venture-popup{
    position: absolute;
    width: 90%;
    height: 90%;
    background: var(--c1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: solid 2px var(--c3);
    border-radius: 15px;
    z-index: 202;
    display: grid;
}
#year-digits{
    width: 50%;
    height: 40%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: auto;
    grid-column-gap: 20px;
}
#year-digit-div{
    width: 100%;
    color: white;
    text-align: center;
    background: linear-gradient(var(--c5) 50%, rgba(var(--c5-rgb), .8) 50%);
    height: 80%;
    margin: auto;
    display: grid;
    animation: rotate 1s;
}
#year-digit{
    margin: auto;
    font-size: 50px;
}


@keyframes popup_open {
    0%{
        transform: translate(-50%, -50%) scale(0);
    }
}
@keyframes popup_close {
    100%{
        transform: translate(-50%, -50%) scale(0);
    }
}
@keyframes event-enter-transition{
    0%{
        opacity: 0;
        transform: translateX(-100vw);
    }
}
@keyframes event-transition{
    50%{
        opacity: 0;
        transform: translateX(-100vw);
    }
}
@keyframes year-enter-transition{
    0%{
        left: -600px;
    }
}
@keyframes year-transition{
    50%{
        left: -300px;
    }
}
@keyframes year-enter-transition-res{
    0%{
        opacity: 0;
        transform: scale(0);
    }
}
@keyframes year-transition-res{
    50%{
        opacity: 0;
        transform: scale(0);
    }
}