#resume_button{
    display: block;
    margin-inline: auto;

    font-size: 1.4em;
    color: rgb(255, 255, 255);
    padding: 0.2em 0.5em;
    margin-top: 0;

    background-color: rgba(172, 129, 248, 0.2);

    box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;

        
    border: none;
    border-radius: 16px;

    text-wrap: nowrap;
    
    &:hover{
        background-color: rgba(116, 54, 223, 0.55);
        transform: translateY(-2px);
        box-shadow: 
        0 6px 14px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
        cursor: pointer;

    }
    &:active{
        filter: brightness(0.85);
        translate: 0 2px;
        box-shadow: 
        inset 0 3px 6px rgba(0, 0, 0, 0.6),
        inset 0 -1px 2px rgba(255, 255, 255, 0.1);
    }
}
main{
    #highlight-heading{
        position: relative;
        padding-left: 1em;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 5px;

        star path{
            fill: transparent;
            stroke: #00e5ff;
            stroke-width: 10;
            stroke-dasharray: 1870;
            stroke-dashoffset: 1870;

            animation: textAnimation 3s ease-in-out infinite alternate;
        }
    }
    #highlight-heading::after{
        content: "";
        flex-grow: 1;

        height: 2px; width: 50%;
        bottom: 50%;

        background-image: linear-gradient(to right, rgba(0, 229, 255, 0.7), rgba(0, 229, 255, 0));
    }
}
@keyframes textAnimation{
        0%{
            stroke-dashoffset: 1870;
        }
        100%{
            stroke-dashoffset: 0;
            fill: rgb(145, 244, 255);
        }
    }
#hero_about{
    margin-top: 1em; padding-left: 1em;
    font-family: system-ui;
}

/* Eductaion */
.education{
    display: flex;
    flex-direction: column;
    padding: 0 2vw;

    h1{
        position: relative;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    h1::after{
        position: absolute;
        content: "";
        width: 0; height: 2px;
        border-radius: 4px;

        bottom: 1px; right: -5%;
        background: linear-gradient(270deg, #00e5ff, transparent);

        transition: width 0.5s ease-in-out;
    }
}
#dd{
    display: none;
}
.hidden{
    display: grid;
    grid-template-columns: 1fr 60px;
    grid-template-areas:
    "box2 box3"
    "box4 box5"
    "box6 box7";

    row-gap: 1em;
    padding-top: 0;
    position: relative;

    max-height: 0;
    overflow: hidden;
}
#dd:checked ~ .hidden{
    max-height: 500vh;
    padding-top: 1em;

    .content-card{
        transform: translateX(0);
        opacity: 1;
    }
}
.content-card{
    opacity: 0;
    transform: translateX(-20em) translateZ(0);
    transition: transform 0.6s ease, opacity 0.6s ease;  /* Cards Transition */
    will-change: transform, opacity;
}
/* Transition Delays */
#mait, #angle1 .dot, #angle1 .line{
    transition-delay: 0.1s;
}
#XII, #angle2 .dot, #angle2 .line{
    transition-delay: 0.15s;
}
#X, #angle3 .dot, #angle3 .line{
    transition-delay: 0.18s;
}
/* Transition delay end*/
.ed-sec{
    display: flex;
    gap: 1em;
    flex-direction: row;
    justify-content: start;
    align-items: start;

    border-radius: 16px;
    padding: 1vw;
    box-shadow: 
    0 0 10px rgba(0, 0, 0, 0.2),
    inset -1px 1px 0px rgba(255, 255, 255, 0.5),
    inset 0.8px -0.8px 0px rgba(255, 255, 255, 0.4);

    backdrop-filter: brightness(1.2);
    -webkit-backdrop-filter: brightness(1.2);
    user-select: none;
    -webkit-user-select: none;

    img{
        height: 150px; width: 150px;
        border-radius: 10px;

        box-shadow: 0 0 10px black;
        transition: translate 0.2s ease;

        &:hover{
            translate: 0 4px;
            box-shadow: none;
        }
    }
    h3,h2{
        color: #f8f9fa;
        font-family: "Roboto";
    }
    p{
        color: #94a3b8;
    }
}

/* Timeline */
.time-line-angle{
    position: relative;
    height: 100%;

    .dot{
        height: 1em; width: 1em;
        background-color: #00e5ff;
        border: 1px solid rgba(101, 2, 147, 0.498);
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: -0.5em;

        z-index: 1;
        opacity: 0;
        translate: -5em 0;
        transform: translateZ(0);
        transition: opacity 0.5s ease, translate 0.5s ease;
        will-change: opacity, transform;
    }
    .line{
        height: calc(50% + 0.5em); width: 50%;
        border-bottom: 2px solid rgba(255, 255, 255, 0.639);
        border-bottom-right-radius: 10px;

        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.5s ease;
    }
}
#dd:checked ~ .hidden .dot{
    opacity: 1;
    translate: 0 0;
}
#dd:checked ~ .hidden .line{
    transform: scaleX(1);
}
.main-timeline{
    position: absolute;
    width: 30px; height: calc(250% + 1.5rem * 2.5 - 1.9em / 4 - 1px + 1em * 3 - 10px);
    border-right: 2px solid rgba(255, 255, 255, 0.568); border-bottom: 2px solid rgba(255, 255, 255, 0.532);
    border-bottom-right-radius: 10px;
    right: 28px; bottom: calc(50% - 0.5em);

    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s ease;
}
#dd:checked ~ .hidden .main-timeline{
    transform: scaleY(1);
}
/* education-header */
#education-header{
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 0.5em 1em;
    font-size: 0.7em;
    z-index: 10;

    &:hover h1::after{
        width: 105%;
    }
}
#dd-angle{
    font-size: 1.5em;
    border-radius: 50%;
    height: 1em; width: 1em;

    transition: transform 0.3s ease;
}
#dd-label{
    height: 1.9em; width: 1.9em;
    margin-right: calc(30px - 0.75em - 1em - 0.2em - 1px);
    z-index: 15;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    box-shadow: 
    0 0 12px rgba(0, 0, 0, 0.4),
    inset -0.5px 0.5px 1px white,
    -0.5px 0.5px 2px black;
    border-radius: 50%;

    &:hover{
        cursor: pointer;
    }
    &:hover #dd-angle{
        background-color: rgba(255, 255, 255, 0.2);
    }
}
#dd:checked ~ #education-header #dd-angle{
    transform: rotate(180deg);
}

/* display: Flex */
.flex{
    border-radius: 16px;
    box-shadow: 
    0 0 10px rgba(0, 0, 0, 0.2),
    inset -1px 1px 0.1px rgba(255, 255, 255, 0.6),
    inset 1px -1px 0.1px rgba(255, 255, 255, 0.4);
    backdrop-filter: brightness(1);
    -webkit-backdrop-filter: brightness(1);

    min-height: 40vh; width: calc(100%-1em);
    margin: 1em;
    padding: 0.5em 1em;
}
#flex_header{
    width: fit-content;
    margin: auto;

    font-family: Monospace;
    font-weight: 400;
    font-style: italic;

    border-radius: 16px;
    box-shadow: 
    0 0 10px rgba(0, 0, 0, 0.2),
    inset -1px 1px 0.1px rgba(255, 255, 255, 0.5),
    inset 1px -1px 0.1px rgba(255, 255, 255, 0.3);

    padding: 10px;
}
/* @media(max-width: 675px){
    .education{
        margin-right: 1.5em;
        padding: 1em;
    }
    .content-card{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;

        font-size: 75%;
        padding: 1em;
    }
} */