:root {
    --toggle-width: 20px; /* Change this variable to adjust the size */
    --primary-hue: 240;
    --primary-saturation: 80%;
    --primary-lightness: 70%;
    --primary-color-dark: hsl(var(--primary-hue), var(--primary-saturation), 30%);
    --primary-color-muted: hsl(var(--primary-hue), 60%, 50%);
    --primary-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-lightness));
    --menu-border-color: hsl(0, 0%, 10%);
    --vh: 100%; /* Fallback for browsers that don't support JS */

}

html.no-scroll {
    position: fixed;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, sans-serif;
    color: hsl(0, 0%, 100%);
    min-height: 100vh;
    overflow-x: hidden;
    background:
      linear-gradient(hsla(0, 0%, 0%, 0.92),
                      hsla(var(--primary-hue), var(--primary-saturation), 3%, 0.96)),
      url('../images/grainy_texture.png') repeat;
    background-size: cover, 70px 70px;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

img {
    max-width: 100%;
}

section {
    min-height: 100vh;
    display: flex;
    scroll-margin-top: 60px;
    justify-content: center;
    align-items: center;
}

.content {
    flex: 1;
}

hr {
    border: 0;
    border-top: 1px solid var(--menu-border-color);
    margin: 20px 0;
}

.footer {
    background-color: hsla(0,0%,50%, 0.1); /* Background color */
    color: #fff; /* Text color */
    padding: 40px 20px; /* Padding around the footer */
    text-align: center; /* Centered text */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 150px;
    margin: 10px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}


code {
    font-family: 'Nimbus Mono PS', 'Courier New', monospace;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        margin-top: 20px;
        -webkit-filter: blur(10px); /* Start with a blur */
    }
    80% {
        opacity: 1;
        margin-top: 0;
    }
    100% {
        -webkit-filter: blur(0); /* End with no blur */
        opacity: 1;
        margin-top: 0;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        margin-top: 20px;
        filter: blur(10px); /* Start with a blur */
    }
    80% {
        opacity: 1;
        margin-top: 0;
    }
    100% {
        filter: blur(0); /* End with no blur */
        opacity: 1;
        margin-top: 0;
    }
}

section:first-of-type {
    opacity: 0;
    -webkit-animation: fadeInUp 600ms ease-in-out forwards;
    animation: fadeInUp 600ms ease-in-out forwards;
}

/* DRAWER */
/* Drawer container */
.drawer {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #171717;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    z-index: 999;
}

/* List styles */
.drawer ul {
    list-style: none;
    /* padding should be 10 on top 0 all else*/

   padding:  4em 0 0 0;
    margin: 0;
}

/* List item styles */
.drawer ul li {
    margin: 0;
    padding: 0.25em 0.5em;
}

/* Link styles */
.drawer ul li a {
    color: white !important;
    display: block; /* Make the link fill the entire list item */
    padding: 15px 20px; /* Add padding for spacing inside the link */
    text-decoration: none;
    width: 100%;
    transition: background-color 0.3s ease;
    border-radius: 10px;

}

/* Hover effect */
.drawer ul li a:hover {
    background-color: #575757; /* Slightly lighter background on hover */
    text-decoration: none; /* Remove underline on hover */
    color: #fff; /* Ensure text stays white on hover */
    margin-left: auto;
    margin-right: auto;
}

/* Open drawer state */
.drawer.open {
    left: 0;
}


.menu-toggle {
    width: var(--toggle-width);
    height: calc(var(--toggle-width) * 0.75);
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: calc(var(--toggle-width) * 0.07);
    width: 100%;
    background: hsl(0, 0%, 100%);
    border-radius: calc(var(--toggle-width) * 0.15);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 100ms ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0;
    transform-origin: left center;
}

.menu-toggle span:nth-child(2) {
    top: calc(var(--toggle-width) * 0.3);
    transform-origin: left center;
}

.menu-toggle span:nth-child(3) {
    top: calc(var(--toggle-width) * 0.6);
    transform-origin: left center;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: calc(var(--toggle-width) * -0.05);
    left: calc(var(--toggle-width) * 0.1333);
}

.menu-toggle.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: calc(var(--toggle-width) * 0.65);
    left: calc(var(--toggle-width) * 0.1333);
}

.name-tag > .name {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.5em;
    margin-bottom: 1px;
}

.name-tag > .occupation {
    text-transform: uppercase;
    font-size: 0.6em;
    font-weight: 300;
    letter-spacing: 1px;
    color: #ccc;
    margin-bottom: 0;
}

#menuHolder {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--menu-border-color);
    padding: 12px;
    backdrop-filter: blur(100px); /* Standard backdrop filter */
    -webkit-backdrop-filter: blur(100px); /* Safari backdrop filter */
    background: rgba(0, 0, 0, 0.5); /* Fallback background color */
    z-index: 1000;
}

.main-content {
    padding-top: 60px;
}

.logo-holder {
    border-radius: 50%;
    height: 36px;
    width: 36px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.name-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* This centers items vertically */
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.code-slide {
    background-color: hsla(0, 0%, 100%, 0.1);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--menu-border-color);
}

.reflection-top {
    transform: perspective(600px) rotateY(353deg) rotateX(5deg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.reflection {
    transform: perspective(600px) rotateX(247deg) rotateY(1deg) rotateZ(-7deg) scale(1.1);
    margin-top: -20px;
    box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
    filter: blur(4px) opacity(0.5) !important;
}

pre {
    margin: 0;
    font-family: monospace;
}


 .elevated-1 > * {
        max-width: 800px;
        text-align: center;

    }


@media screen and (min-width: 1100px) {
    #menuHolder {
        background-color: hsl(0, 0%, 1%);
        width: 60px;
        height: var(--vh);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        border-right: 1px solid var(--menu-border-color);
        border-bottom: none;
        padding: 20px 0;
    }



    .main-content {
        padding-top: 0;
        padding-left: 60px;
    }

    .logo-holder {
        margin-bottom: 20px;
    }

    .name-tag {
        transform-origin: left center;
        white-space: nowrap;
        margin: auto !important;
        transform: rotate(-90deg) translate(-20%, 66%);
    }

    .menu-toggle {
        margin-top: auto;
        margin-bottom: 20px;
        position: absolute;
        bottom: 20px;
    }

    .drawer {
        top: 0;
    }

    .drawer.open {
        left: 60px;
    }
}

.keyword {
    color: #c5a5c5; /* Purple */
}

.function-name {
    color: #dcdcaa; /* Light yellow */
}

.string {
    color: #ce9178; /* Light brown */
}

.function-call {
    color: #9cdcfe; /* Light blue */
}

@-webkit-keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 1em;
    background-color: #fff;
    -webkit-animation: blink 1s infinite;
    animation: blink 1s infinite;
}

h1 {
    font-size: 4em;
    padding-bottom: 0.5em;
}

.p1 {
    padding: 4em;
}

@-webkit-keyframes gradientAnimation {
    0% {
        color: #7575F0; /* Main Blurple */
    }
    25% {
        color: #A1A1F7; /* Light Blurple */
    }
    50% {
        color: #D0D0FF; /* Lightest Blurple */
    }
    75% {
        color: #A1A1F7; /* Light Blurple */
    }
    100% {
        color: #7575F0; /* Main Blurple */
    }
}

@keyframes gradientAnimation {
    0% {
        color: #7575F0; /* Main Blurple */
    }
    25% {
        color: #A1A1F7; /* Light Blurple */
    }
    50% {
        color: #D0D0FF; /* Lightest Blurple */
    }
    75% {
        color: #A1A1F7; /* Light Blurple */
    }
    100% {
        color: #7575F0; /* Main Blurple */
    }
}

a, .gradient-text {
    opacity: 1;
    -webkit-animation: gradientAnimation 5s linear infinite;
    animation: gradientAnimation 5s linear infinite;
}

p {
    line-height: 1.5em;
}

.svg-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
}

.experience-section {
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.experience {
    display: flex;
    gap: 40px;
    align-items: center;
}

.experience-content-column {
    flex: 1;
}

.experience-item {
    margin-bottom: 20px;
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    padding: 0.5em 0;
    border-bottom: 1px solid var(--menu-border-color);
}

.experience-item:hover {
    transform: scale(2);
}

.experience-item.active {
    -webkit-animation: experience_item_scroll_animation 0.6s linear forwards !important;
    animation: experience_item_scroll_animation 0.6s linear forwards !important;
    animation-delay: 2s;
}

.company-name img {
    display: block;
    margin-bottom: 10px;
}

.experience-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.experience-content p {
    font-size: 1em;
    line-height: 1.6;
}

.icon-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}

.icon-column img {
    width: 30px;
    height: 30px;
}

.experience-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transform: scale(0.9);
}

.company-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.company-name svg {
    width: 20px;
}

.experience-content {
    flex: 1;
}

.icon-column svg {
    width: 50px;
    height: 50px;
    transform: scale(0.8);
    filter: grayscale(0.1);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.icon-column svg:hover {
    filter: grayscale(0);
    transform: scale(1);
}
#Hero .arrow {
    padding-top: 20px;
}

.muted {
    opacity: 0.5;
}

.main-content.blurred {
    filter: blur(5px); /* Standard filter */
    -webkit-filter: blur(5px); /* Safari filter */
    pointer-events: none;
    transition: filter 0.3s ease-in-out, -webkit-filter 0.3s ease-in-out;
}

.experience-content h3 {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

.experience-content p {
    font-size: 14px;
    line-height: 1.6;
}

.tag-pill {
    display: inline-block;
    padding: 5px 10px; /* Adjust padding for size */
    font-size: 12px; /* Adjust font size */
    color: #fff; /* Text color */
    background-color: var(--primary-color); /* Background color */

    border-radius: 50px; /* Makes the pill shape */
    font-weight: 800; /* Optional: Makes the text bold */
    white-space: nowrap; /* Prevents the text from wrapping */
    cursor: pointer; /* Optional: Changes cursor on hover */
    transition: background-color 0.3s ease; /* Optional: Smooth background transition */
    text-transform: uppercase; /* Optional: Makes the text uppercase */

}

.tag-pill:hover {
    background-color: var(--primary-color-muted); /* Darker shade on hover */
}


.tag-holder {
    display: flex;
    gap: 10px;
    margin-top: 1em;
    margin-bottom: 1em;
}

.experience-date {
    margin-bottom: 0.5em;
    color: var(--primary-color);
    font-weight: 600;
}

.profile-image {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    background-color: #ccc;
}



.projects {
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
}

h1 {
    font-size: 3rem;

}

.project {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}


p {
    margin: 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tech-icons img {
    width: 40px;
    margin-right: 10px;
}

.project-image {
    width: 45%;
    background-color: #ccc;
    height: 200px;
}


.center {
    text-align: center;
}


.profile-image-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    min-height: 200px;
}

.profile-image-container > * {
    transition: transform 0.3s ease-in-out;
    transform: scale(0.9)
}

.profile-image-container > *:hover {
    transform: scale(1);
}

.profile-image-container > .large-icon > a > svg {
    width: 60px;
    height: 60px;
}


.elevated-1 {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: auto;
    height: 100%;

}

a {
    text-decoration: none;
}


@-webkit-keyframes experience_item_scroll_animation {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes experience_item_scroll_animation {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.project:nth-child(odd) .project-content {
    order: 2;
}

.project:nth-child(odd) .project-image {
    order: 1;
}

.project:nth-child(even) .project-content {
    order: 1;
}

.project:nth-child(even) .project-image {
    order: 2;
}

.experience-content li {
    margin-bottom: 1em;
    font-size: 0.95em;
}

ul {
    list-style: none;

}


@keyframes bobbing {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bobs {
  animation: bobbing 2s ease-in-out infinite;
}


.btn {
    background-color: var(--primary-color);
    border: none;
    color: white !important;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 0.5em;
    transition: transform 0.3s ease;

}

.btn:hover {
    transform: scale(1.05);
}

.skip-to-nav {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-to-nav:focus {
    top: 0;
}

#blog-posts {
    padding: 2rem 0;
}

.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-post {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 5px;
}

.blog-post h3 {
    margin: 0 0 0.5rem;
}

.blog-post-meta {
    font-size: 0.9rem;
    color: #666;
}

.blog-post p {
    margin: 0 0 1rem;
}

.blog-post a {
    text-decoration: none;
}

.blog-post a:hover {
    text-decoration: underline;
}


/* Basic styles for blog post with bp- prefix */
.bp-blog-post {
    width: 70%;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.bp-post {
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 680px;
}

.bp-post-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.bp-post-title {
    font-size: 2rem;
    color: hsla(0, 0%, 100%, 1);
    margin: 0;
}

.bp-post-meta {
    font-size: 0.9rem;
    color: hsla(0, 0%, 100%, 0.75);
}

.bp-post-content p {
    margin-bottom: 1.5em;
    font-size: 1rem;
    color: hsla(0, 0%, 100%, 1);
}

.bp-post-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
    margin-top: 20px;
}

.bp-post-footer a {
    text-decoration: none;
}

.bp-post-footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .hidden-mobile {
        display: none;
    }

    .mobile-block {
        display: block;
    }

    .p1 {
        padding: 1em;
    }

    .bp-blog-post {
        width: 95%;
    }

    .experience-section {
        padding: 10px;
    }

    section {
        padding-top: 60px;
    }

    .drawer {
        width: 100%;
        left: -100%;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hidden-tablet {
        display: none;
    }





}

@media screen and (min-width: 1024px) {
    .hidden-desktop {
        display: none;
    }

        .project-content {
        max-width: 45%;
    }



}

