:root {
    --bg-color: #130d17;
    --text-main: rgba(239, 194, 255, 0.8);
    --text-muted: rgba(239, 194, 255 0.6)
}
.light-mode {
    --bg-color: hsl(34, 70%, 96%);
    --text-main: #633913;
    --text-muted: #633813be;
}
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;

    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

.page-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    width: 100%;
    box-sizing: border-box;
    padding: 40px;
    scroll-snap-align: start; 
}


#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

header h1, header h3, header h4, .about-me h5, .education-title, .jobtitle, resume {
    color: var(--text-main);
}
header {
    text-align: center;
    z-index: 10;
    padding-top: 10vh;
}

header h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    margin: 0;
}

header h4 {
    font-size: clamp(1.2rem, 5vw, 2rem);
    margin: 10px 0 0 0;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px; 
}



.image-container {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 90px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-top: 70px;
}

.header-image, .header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.header-video {
    opacity: 0;
    z-index: 1;
}

.image-container:hover .header-image {
    opacity: 0;
}

.image-container:hover .header-video {
    opacity: 1;
}
.about-me {
    max-width: 65ch;
    color: var(--text-main);
    margin-left: 20px;

}
.about-me h5 {
    font-size: 40px;
    color: var(--text-main);
    margin-bottom: -15px;
}

.about-me bold {
    font-weight: bolder;
}


resume, form, footer {
    color: var(--text-muted);
}

resume {
    display: block;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    color: var(--text-muted);
}
resume h2 {
    font-weight: 1000;
    color: var(--text-main);
    margin-bottom: -6px;
}
resume bold {
    font-weight: bolder;
}

.education-title, .jobtitle {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    color: var(--text-main);
}
.education-title h3, .jobtitle h3 {
    margin: 0;
}

form {
    display: block;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}
form h2 {
    font-weight: 1000;
    color: var(--text-main);
}




footer {
    margin-top: auto;
    padding-bottom: 20px;
    text-align: center;
}