*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    list-style: none;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #111111;
    --second-bg-color: #151515;
    --text-color: white;
    --main-color: #771196;
}

body::-webkit-scrollbar{
    width: 0.3rem;
}

body::-webkit-scrollbar-track{
    background: var(--bg-color);
}

body::-webkit-scrollbar-thumb{
    background: var(--main-color);
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
}

body{
    background: var(--bg-color);
    color: var(--text-color);
}

.sidebar{
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 6rem;
    height: 33vh;
    background-color: #272626;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.sidebar a{
    color: var(--text-color);
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid transparent;
}

.sidebar a:hover{
    color: var(--main-color);
}

@media (max-width: 768px) {
    .sidebar{
        top: initial;
        transform: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 6rem;
        border-radius: 0;
        flex-direction: row;
        justify-content: space-around;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        border-right: none;
        border-bottom: none;
        border-left: none;
    }

    .sidebar a i{
        font-size: 1.8rem;
    }

    .sidebar a:hover{
        color: var(--main-color);
    }
}

section{
    min-height: 100vh;
    padding: 10rem 9% 10rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.home-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 3rem;
}

span{
    color: var(--main-color);
}

.logo span{
    color: var(--main-color);
}

.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;    
}

.home-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-img {
    position: relative;
    border-radius: 50%;
    width: 22vw;
    height: 22vw;
    min-width: 25vh;
    min-height: 25vh;
}

.home-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: opacity 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.img2 {
    opacity: 0;
}

.home-img:hover .img1 {
    opacity: 0;
    box-shadow: none;
}

.home-img:hover .img2 {
    opacity: 1;
    box-shadow: 0 0 50px var(--main-color), 0 0 100px var(--main-color);
}


.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    font-size: 3rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 2rem 3rem 2rem;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover{
    color: var(--text-color);
    transform: scale(1.3)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}

.about{
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 10rem;
    background: var(--second-bg-color);
    color: var(--text-color);
}

.about h2 span:hover{
    color: var(--main-color);
    text-shadow: 0 0 50px var(--main-color);
}

.conferences h2 span:hover{
    color: var(--main-color);
    text-shadow: 0 0 50px var(--main-color);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 6rem auto 0;
    padding: 2rem;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--main-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 1rem 4rem;
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 2rem;
    height: 2rem;
    background: var(--text-color);
    border-radius: 50%;
    right: -1rem;
    top: 1.5rem;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -1rem;
}

.timeline-content {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 1rem;
    border: 0.1rem solid var(--text-color);
    transition: 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    border-color: var(--main-color);
}

.timeline-content h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.timeline-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.timeline-date {
    font-size: 1.4rem;
    color: var(--text-color);
    opacity: 0.8;
}

.timeline-date span {
    color: var(--main-color);
    opacity: 1;
    font-weight: bold;
}

.timeline-location {
    font-size: 1.4rem;
    color: var(--text-color);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-location i {
    color: var(--main-color);
    font-size: 1.6rem;
}

.timeline-talks {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.timeline-talks li {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--text-color);
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    color: var(--text-color);
    transition: 0.3s ease;
}

.timeline-link:hover {
    color: var(--main-color);
    transform: scale(1.05);
}

.timeline-link i {
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 0rem;
    }

    .timeline::after {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 3rem;
        padding-right: 2rem;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 0;
        right: auto;
        transform: translateX(-50%);
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.8rem;
    }

    .timeline-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .timeline-date, .timeline-location {
        font-size: 1.2rem;
    }

    .timeline-talks {
        margin: 1rem 0;
        padding-left: 1.5rem;
    }

    .timeline-talks li {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .timeline-link {
        font-size: 1.2rem;
    }

    .timeline-link i {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .timeline {
        padding-left: 0rem;
    }

    .timeline-item {
        padding-left: 2.5rem;
        padding-right: 1rem;
    }

    .timeline::after {
        left: 0;
    }

    .timeline-dot {
        left: 0;
        width: 1.5rem;
        height: 1.5rem;
        transform: translateX(-50%);
    }

    .timeline-content h3 {
        font-size: 1.6rem;
    }

    .timeline-date, .timeline-location {
        font-size: 1.1rem;
    }

    .timeline-talks li {
        font-size: 1.3rem;
    }
}

.heading{
    margin-top: 8rem;
    font-size: 8rem;
}

@media (max-width: 768px) {
    .heading {
        font-size: 5rem;
    }
    
    .home-content h1 {
        font-size: 5rem;
    }
    
    .home-content h3 {
        font-size: 2.5rem;
    }
    
    .project-card h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 4rem;
    }
    
    .home-content h1 {
        font-size: 4rem;
    }
    
    .home-content h3 {
        font-size: 2rem;
    }
}

.projects {
    background: var(--second-bg-color);
    display: flex;
    justify-content: start;
    align-items: start;
}

.projects-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg-color);
    border-radius: 1rem;
    padding: 3rem;
    margin-top: 6rem;
    border: 0.1rem solid var(--text-color);
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    border-color: var(--main-color);
}

.project-card h3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.project-card p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-color);
}

.project-links {
    display: flex;
    gap: 2rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    transition: 0.3s ease;
}

.project-link:hover {
    color: var(--main-color);
    transform: scale(1.05);
}

.project-link i {
    font-size: 2rem;
}

