body{
    background: radial-gradient(1000px circle at 50% -400px, rgba(32, 223, 223, 0.1), rgba(0, 0, 0, 0));
    background-color: var(--bg-color);
    box-sizing: border-box;
    overflow-y: scroll;
}

main {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}


.heading-container{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.heading-container p{
    font-size: 2.5rem;
    font-weight: 500;
    color: white;
    user-select: none;
    margin-bottom: 50px;
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    width: 900px;
    text-align: center;
    user-select: none;
}

.about{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    /* align-items: flex-start; */
    justify-content: space-between;
    /* gap: 50px; */
    padding: 50px 0;
    margin: 110px 0;
    box-sizing: border-box;
    margin-bottom: 200px;
}

.timeline{
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-evenly;
    min-height: 100vh;
}

.line{
    width: 3px;
    height: 100%;
    min-height: 100vh;
    background-color: white;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0px 0px 25px 0px rgba(255, 255, 255, 0.7);
}

.line:before{
    content: "";
    position: absolute;
    width: 3px;
    height: 150px;
    top: -160px;

    background-image: linear-gradient(rgb(255, 255, 255) 33%, rgba(255,255,255,0) 0%);
    background-position: right;
    background-size: 3px 15px;
    background-repeat: repeat-y;

    filter: drop-shadow(0px 0px 10px white);
}

.line i{
    position: absolute;
    bottom: -5px;
    transform: translateX(-50%) translateX(1.5px);
    font-size: 1.5rem;
    color: white;
    user-select: none;
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.7));
}

.timeline .entry{
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 1.7rem;
    font-weight: 500;
    color: white;
    user-select: none;
    box-sizing: border-box;
    width: 70%;
}

.timeline .entry:nth-child(odd){
    width: 90%;
}

.timeline .entry:nth-child(3n){
    width: 80%;
}


.entry .point{
    position: absolute;
    color: transparent;
    width : 10px;
    height: 10px;
    bottom:24px;
    background-color: white;
    right: -3.5px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease-in-out;
}

.entry:hover{
    cursor: pointer;
}

.entry:hover .point{
    transform: scale(2);
    box-shadow: 0px 0px 25px 0px #00eeb2;
    background-color: #00eeb2;
    border-radius: 1px;
}

.entry.active .point{
    background-color: #00caee;
    transform: scale(2.5);
    box-shadow: 0px 0px 25px 0px #00caee;
    border-radius: 1px;
}

.timeline-text{
    width: 47%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: s;
    padding-right: 3%;
}

.text-entry{
    display: none;
}

.text-entry hr{
    display: none;
    width: 100%;
    border: 1px solid white;
    position: relative;
    left: -20px;
}

.text-entry h2{
    font-size: 3rem;
    font-weight: 700;
    color: white;
    user-select: none;

}

.text-entry p{
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    user-select: none;
}

.text-entry.active{
    position: sticky;
    top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-entry div{
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 1.3;
}

@property --accent{
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

.entry hr{
    width: 100%;
    border: none;
    height: 1px;
    background: linear-gradient(90deg,  rgb(255, 255, 255), var(--accent));
    margin: 0;
    transition: --accent 0.3s ease-in-out;
}

.entry:hover hr{
    --accent: #00eeb2;
    background: linear-gradient(90deg, rgb(255, 255, 255), var(--accent));
}

.entry.active hr{
    --accent: #00caee;
    background: linear-gradient(90deg, rgb(255, 255, 255), var(--accent));
}

.entry .date{
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    user-select: none;
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.blink {
    animation: blink 1s infinite;
}

@media (max-width: 1000px) {
    main{
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
        width: 100%;
    }

    .date{
        visibility: hidden;
    }

    .timeline .entry{
        width: 95%;
        text-wrap:wrap;
        word-break:normal
    }
}

@media (max-width:500px){

    /* .about, .timeline, .line{
        min-height: auto;
    } */

    .text-entry h2{
        font-size: 2.2rem;
    }

    .timeline{
        width: 30px;
    }

    .text-entry hr{
        display: block;
        position: relative;
        overflow: visible;
        background: linear-gradient(-90deg, rgb(255, 255, 255), var(--accent));
        --accent: #00caee;
        height: 2px;
        border: none;
    }

    .text-entry.collapsed hr{
        --accent: white;
    }

    .timeline .entry{
        display: none;
    }
    .timeline-text{
        width: 100%;
        padding: 20px;
        gap: 20px;
        justify-content: space-evenly;
    }
    .text-entry{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .text-entry.active{
        position: static;
    }

    .text-entry hr::before{
        content: "";
        position: absolute;
        left: -2px;
        top: 0;
        width: 20px;
        height: 20px;
        background-color: #00caee;
        border-radius: 30%;
        box-shadow: 0px 0px 10px 0px #00caee;
        display: block;
        overflow: visible;
        transform: translateX(-50%) translateY(-50%) scale(1.5);
        transition: all 0.3s ease-in-out;
    }

    .text-entry div{
        overflow: hidden;
        height: auto;
        transition: max-height 0.3s ease-in-out;
    }

    .text-entry.collapsed hr::before{
        background-color: white;
        box-shadow: 0px 0px 10px 0px white;
        transform: translateX(-50%) translateY(-50%) scale(1);
        border-radius: 50%;
    }
}