/*      General       */
/*@font-face {*/
/*    font-family: "Chillax-Regular";*/
/*    src: url("chillax-complete/Fonts/OTF/Chillax-Regular.otf") format("opentype");*/
/*    !*src: url("chillax-complete/Fonts/OTF/Chillax-Light.otf") format("opentype");*!*/
/*    !*src: url("chillax-complete/Fonts/OTF/Chillax-Bold.otf") format("opentype");*!*/
/*    !*src: url("chillax-complete/Fonts/OTF/Chillax-Extralight.otf") format("opentype");*!*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*}*/
@font-face {
    font-family: 'Chillax-Extralight';
    src: url('chillax-complete/Fonts/WEB/fonts/Chillax-Extralight.woff2') format('woff2'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Extralight.woff') format('woff'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Extralight.ttf') format('truetype');
    font-weight: 200;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Chillax-Light';
    src: url('chillax-complete/Fonts/WEB/fonts/Chillax-Light.woff2') format('woff2'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Light.woff') format('woff'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Chillax-Regular';
    src: url('chillax-complete/Fonts/WEB/fonts/Chillax-Regular.woff2') format('woff2'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Regular.woff') format('woff'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Chillax-Medium';
    src: url('chillax-complete/Fonts/WEB/fonts/Chillax-Medium.woff2') format('woff2'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Medium.woff') format('woff'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Chillax-Semibold';
    src: url('chillax-complete/Fonts/WEB/fonts/Chillax-Semibold.woff2') format('woff2'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Semibold.woff') format('woff'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Chillax-Bold';
    src: url('chillax-complete/Fonts/WEB/fonts/Chillax-Bold.woff2') format('woff2'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Bold.woff') format('woff'),
    url('chillax-complete/Fonts/WEB/fonts/Chillax-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}


body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ensures the body takes at least the full viewport height */
    font-family: "Chillax-Regular", sans-serif;
    background-color: #EED9C4;
    margin: 0;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
    /*display: grid;*/
    /*grid-template-rows: auto 1fr auto;*/
}
body.non-index-page {
    background-color: #f0efe9; /* Slightly lighter beige for non-index pages */
}

/* Fade-in effect when the page loads */
body.fade-in {
    opacity: 1;
}

/* Fade-out effect when navigating away */
body.fade-out {
    opacity: 0;
}

/* Footer styling for the index page */
.footer {
    text-align: center;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    color: #2B2D2F;
    background-color: #EED9C4; /* Match index page background */
    /*background-color: red; !* Lighter beige background for non-index pages *!*/
    /*position: absolute;*/
    bottom: 0;
    position:relative;
    font-family: Chillax-Extralight, sans-serif;
    transition: opacity 0.3s ease; /* Smooth transition for visibility */
    /*opacity: 0; !* Start hidden *!*/
    justify-content: flex-end;
    z-index: 1000;
}

/*.footer.visible {*/
/*    display: block; !* Show the footer when the user is at the bottom *!*/
/*    opacity: 1; !* Fully visible *!*/
/*}*/
/* Footer styling for non-index pages */
.non-index-page .footer {
    /*background-color: #f0efe9; !* Lighter beige background for non-index pages *!*/
    background-color: #f0efe9; /* Lighter beige background for non-index pages */
    /*z-index: 1000;*/
    /*position: relative;*/
    /*bottom: 0;*/
    /*align-items: end;*/
}
/*}*/
/*.non-index-page .footer {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    width: 100%;*/
/*    !*margin: 20px auto; !* Center the gallery on the page *!*!*/
/*    display: flex;*/
/*    flex-direction: column; !* Stack rows vertically *!*/
/*    !*padding-bottom: 50px;*!*/
/*    background-color: red;*/
/*}*/
/*.footer {*/
/*    text-align: center;*/
/*    width: 100%;*/
/*    padding: 10px;*/
/*    font-size: 14px;*/
/*    color: #2B2D2F;*/
/*    background-color: #EED9C4; !* Match index page background *!*/
/*    font-family: 'Chillax-Extralight', sans-serif;*/
/*    transition: opacity 0.3s ease; !* Smooth transition for visibility *!*/
/*    opacity: 1; !* Start hidden *!*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*}*/

/*.non-index-page .footer {*/
/*    background-color: red; !* Adjust as needed *!*/
/*}*/



/*      Index page        */
.circle-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-circles {
    width: 100%;
    height: 100%;
}
.svg-circles-alias {
    width: 100%;
    height: 100%;
}

/* Center text typing effect */
.center-text {
    position: absolute;
    text-align: center;
    font-size: 40px;
    font-weight: normal;
    font-family: "Chillax-Regular", sans-serif;
    color: #2B2D2F;
    z-index: 10;
}

.center-text h1 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #2B2D2F;
    width: 0;
    animation: typing 4s steps(17, end) forwards, blink-caret 0.75s step-end infinite;
}

/*.center-text-alias {*/
/*    position: absolute;*/
/*    text-align: center;*/
/*    font-size: 40px;*/
/*    font-weight: normal;*/
/*    font-family: "Chillax", sans-serif;*/
/*    color: #2B2D2F;*/
/*    z-index: 10;*/
/*    transition: transform 0.5s ease, opacity 0.5s ease; !* Smooth transitions *!*/
/*}*/

/*.center-text-alias h1 {*/
/*    margin: 0;*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    border-right: 3px solid #2B2D2F;*/
/*    width: 0;*/
/*    animation: blink-caret 0.75s step-end infinite;*/
/*}*/
/* Center text alias styling */
.center-text-alias {
    position: absolute;
    text-align: center;
    font-size: 40px;
    font-weight: normal;
    font-family: "Chillax-Regular", sans-serif;
    color: #2B2D2F;
    z-index: 10;
    transform: translateY(180px); /* Start below for drop animation */
    opacity: 1; /* Initially hidden */
    transition: transform 0.5s ease, opacity 0.5s ease; /* Smooth transitions */
}

.center-text-alias h1 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #2B2D2F; /* Caret */
    /* Remove typing animation */
    /* animation: typing 4s steps(16, end) forwards, blink-caret 0.75s step-end infinite; */
    animation: blink-caret 0.75s step-end infinite;
}

.center-text-alias .caret {
    display: inline-block;
    width: 10px; /* Adjust as needed */
    animation: blink-caret 0.75s step-end infinite;
}

/* Blinking Caret Animation */
/*@keyframes blink-caret {*/
/*    from, to { opacity: 1; }*/
/*    50% { opacity: 0; }*/
/*}*/



/* Typing animation */
@keyframes typing {
    from { width: 0; }
    to { width: 17ch; }
}

/* Blinking caret animation */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #2B2D2F; }
}

/* Fade-in animation for arcs */
.svg-circles {
    opacity: 0;
    animation: fadeIn 2s ease forwards;
    animation-delay: 4s;
}

.svg-circles-alias {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    /*animation-delay: 4s;*/
}

@keyframes fadeIn {
    to { opacity: 1; }
}







/*      Sidebar        */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 15%;
    height: 100%;
    background-color: #f0efe9;
    /*background-color: blue;*/

    /*background: linear-gradient(to left, #966FD6, rgba(238, 217, 196, 0)); !* Adjust colors as needed *!*/
    /*border-right: 1px dashed #E4CEBD;*/
    /*border-right: 5px solid transparent; !* Set a wider border width *!*/
    /*border-image: linear-gradient(to bottom, #966FD6 20%, transparent 30%) 1 100%;*/
    /*border-image-slice: 1;*/
    /*border-image-width: 5px;*/
    /*padding-right: 15px; !* Add padding to keep content away from the border *!*/
    /*border-image: linear-gradient(to bottom, #966FD6 30%, transparent 40%) 1 100%;*/
    /*border-right: 2px dashed #f0efe9; !* Set a thicker border and use `dashed` style *!*/
    /*padding-right: 5px; !* Add padding for spacing *!*/
    /* Optionally adjust dash length with border width */
    /*border-right-width: 5px;*/
    /*border-right-style: dashed;*/

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*padding-top: 20px;*/
    gap: 20px;
    /*box-shadow: 2px 0px 8px rgba(0, 0, 0, 0.1);*/
    z-index: 100;
}

/* Nav Button Styling - Miniature Arc Buttons */
.nav-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make navigation button font bold and larger */
.nav-button svg .mini-text {

    font-size: 50; /* Larger font size for button labels */
    font-weight: normal; /* Bold text */
    fill: #2B2D2F;
    font-family: Chillax-Medium, sans-serif;
}

.nav-button svg.mini-svg {
    width: 100%;
    height: 100%;
}

/* Rotating Animations for Arcs Only */
.mini-arc1, .mini-arc2, .mini-arc3, .mini-arc4,
.mini-arc-about, .mini-arc-ai, .mini-arc-work, .mini-arc-skills {
    transform-origin: 50% 50%;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}


/* Individual Animation Keyframes */
.mini-arc1, .mini-arc-skills {
    animation-name: rotateMiniArc1;
}

.mini-arc2, .mini-arc-ai {
    animation-name: rotateMiniArc2;
    animation-direction: reverse;
}

.mini-arc3, .mini-arc-work {
    animation-name: rotateMiniArc3;
}

.mini-arc4, .mini-arc-about {
    animation-name: rotateMiniArc4;
    animation-direction: reverse;
}

/* Define Keyframes for Rotations */
@keyframes rotateMiniArc1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateMiniArc2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateMiniArc3 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateMiniArc4 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Shattering effect keyframes */
@keyframes shatter {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    100% { transform: scale(0.1) rotate(360deg); opacity: 0; }
}

/* Add the shatter effect class to each arc */
.arc-shatter {
    animation: shatter 0.5s forwards; /* Adjust duration if needed */
}
/* Arrival effect keyframes */
@keyframes arrival {
    0% { transform: scale(0.1) rotate(-360deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Apply arrival animation to each nav button */
.sidebar .nav-button {
    animation: arrival 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--i)); /* Stagger effect */
    opacity: 0; /* Start hidden for arrival effect */
}
/* Drop effect after typing */
.center-text.drop {
    animation: dropText 0.5s ease forwards;
    animation-delay: 5s; /* Delay to start after typing and arc rotation */
}
.center-text-alias.drop {
    animation: dropText 0.5s ease forwards;
    /*animation-delay: 5s; !* Delay to start after typing and arc rotation *!*/
}

@keyframes dropText {
    0% { transform: translateY(0); }
    100% { transform: translateY(180px); }
}

/* Keyframes for dropping arcs after rotation */
@keyframes dropArc {
    0% { transform: translateY(0); }
    100% { transform: translateY(500px); } /* Adjust drop distance as desired */
}

.arc1 {
    transform-origin: 50% 50%;
    animation: rotateArc1 6s linear forwards, dropArc 0.5s ease forwards;
    animation-delay: 0s, 6s; /* Start drop after rotation */
}
.arc2 {
    transform-origin: 50% 50%;
    animation: rotateArc2 6s linear forwards, dropArc 0.5s ease forwards;
    animation-delay: 0s, 6s; /* Start drop after rotation */
}
.arc3 {
    transform-origin: 50% 50%;
    animation: rotateArc3 6s linear forwards, dropArc 0.5s ease forwards;
    animation-delay: 0s, 6s; /* Start drop after rotation */
}
.arc4 {
    transform-origin: 50% 50%;
    animation: rotateArc4 6s linear forwards, dropArc 0.5s ease forwards;
    animation-delay: 0s, 6s; /* Start drop after rotation */
}

.arc1-alias {
    transform-origin: 50% 50%;
    animation: dropArc 0.5s ease forwards;
    /*animation-delay: 0s, 6s; !* Start drop after rotation *!*/
}
.arc2-alias {
    transform-origin: 50% 50%;
    animation: dropArc 0.5s ease forwards;
    /*animation-delay: 0s, 6s; !* Start drop after rotation *!*/
}
.arc3-alias {
    transform-origin: 50% 50%;
    animation: dropArc 0.5s ease forwards;
    /*animation-delay: 0s, 6s; !* Start drop after rotation *!*/
}
.arc4-alias {
    transform-origin: 50% 50%;
    animation: dropArc 0.5s ease forwards;
    /*animation-delay: 0s, 6s; !* Start drop after rotation *!*/
}

/* Keyframes for smooth rotation */
@keyframes rotateArc1 {
    from { transform: rotate(180deg); }
    to { transform: rotate(0deg); }
}
@keyframes rotateArc2 {
    from { transform: rotate(180deg); }
    to { transform: rotate(360deg); } /* Adjusts to maintain a rainbow pattern */
}
@keyframes rotateArc3 {
    from { transform: rotate(270deg); }
    to { transform: rotate(0deg); }
}
@keyframes rotateArc4 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/*.content {*/
/*    position: relative;*/
/*    !*padding: 20px;*!*/
/*    !*margin-left: 10%;*!*/
/*    left: 7.5%;*/
/*    width: 85%;*/
/*    height: 100%;*/
/*    background-color: #f0efe9;*/
/*    !*background-color: red;*!*/
/*    !*border-image: linear-gradient(to left, rgba(238, 217, 196, 0), #EED9C4) 1;*!*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    !*align-items: flex-start;*!*/
/*    !*align-items: center;*!*/
/*    overflow-y: auto;*/
/*    justify-content: space-between; !* Distributes space between children *!*/
/*}*/

.content {
    /*flex: 1;*/
    position: relative;
    width: 85%;
    height: 100%;
    /*height: auto;*/
    /*min-height: 100vh; !* Ensure it stretches to the full height of the page *!*/
    background-color: #f0efe9;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Horizontally center */
    justify-content: flex-start; /* Vertically center */
    overflow-y: auto;
    left: 7.5%;
    /*margin: 0 auto; !* Center the content *!*/
    /*padding-bottom: 100px; !* Add space at the bottom *!*/
    /*transition: margin-bottom 0.3s ease; !* Smooth transition for margin changes *!*/
    /*z-index: 1000;*/
    /*margin-bottom: 50px;*/
    /*margin: 0 auto; !* Center the content *!*/
    /*transition: margin-bottom 0.3s ease; !* Smooth transition for margin changes *!*/
    /*margin-bottom: 0; !* Default state: no margin *!*/
}

/*.scroll-bottom {*/
/*    margin-bottom: 50px; !* Add margin when at the bottom *!*/

/*}*/




.non-home-heading {
    position: relative;
    /*margin: 0;*/
    top: 50px;
    /*left: 250px;*/
    /*left: 35%;*/
    text-align: center; /* Center text within the heading */
    margin-bottom: 100px;
}


/*      AI Projects page        */
/*.graph-container {*/
/*    width: 100%; !* Adjust width as necessary *!*/
/*    height: 120%; !* Takes full height of the parent *!*/
/*    display: flex;*/
/*    justify-content: center; !* Centers the SVG or content horizontally *!*/
/*    align-items: center; !* Centers the SVG or content vertically *!*/
/*    !*margin: auto;  !* Optionally center the container on the page *!*!*/
/*    !*overflow: auto;  !* Prevents content from spilling out *!*!*/
/*    position: relative;  !* Ensures the positioning context is set *!*/
/*    !*top: 190px;*!*/
/*    !*right: 150px;*!*/
/*    !*left: 50px;*!*/
/*    z-index: 200;*/
/*    !*bottom: 20px;*!*/
/*    !*overflow-y: auto;*!*/
/*    overflow: scroll;*/
/*    !*padding-bottom: 50px;*!*/
/*    flex-direction: column;*/
/*}*/
.graph-container {
    position: relative; /* Or keep it absolute if necessary */
    width: 100%;
    height: 100%; /* Allow the height to adjust based on content */
    /*max-height: 100vh; !* Restrict to viewport height *!*/
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Optional: Prevent horizontal scrolling */
    /*padding: 20px; !* Add padding for spacing, if necessary *!*/
    box-sizing: border-box; /* Ensure padding is included in dimensions */
    top: 5%;
}

.description-container {
    width: 250px; /* Adjust width as necessary */
    position: fixed; /* Position relative to the viewport, which makes it stay in place while scrolling */
    top: 70px; /* Align it at the top of the viewport */
    left: 15%;
    height: 10%; /* Auto height based on content, or set a fixed percentage */
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 40px;
    background: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    font-size: 16px; /* Sets the base font size */
    overflow-y: auto;
    transition: height 0.5s ease;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    z-index: 300;
}
.custom-margin {
    margin-top: 10px;
}
.text-left {
    text-align: left;
}
.text-bold {
    font-weight: bold;
}
.text-italic {
    font-style: italic;
}
.text-center {
    text-align: center;
}
p {
    margin-top: 4px; /* Remove top margin if any */
    margin-bottom: 16px; /* Larger space after paragraphs */
}
text:hover {
    opacity: 0.5;
}

.profile-picture-container {
    width: 100%; /* Adjust size as needed */
    height: auto; /* Ensure a perfect circle */
    display: flex;
    justify-content: left;
    align-items: flex-start;
    /*margin-top: 20px; !* Adjust as needed *!*/
    position: relative;
    /*top: 20%;*/
    left: 10%;
    flex-direction: row;
    margin-bottom: 20px;
}

.profile-picture {
    width: 350px; /* Adjust size as needed */
    height: 350px; /* Ensure a perfect circle */
    /*right: 7.5%;*/
    /*border-radius: 50%; !* Makes the image circular *!*/
    object-fit: cover; /* Ensures the image fits within the circle */
    /*border: 5px solid rgba(255, 255, 255, 0.5); !* Faded border *!*/
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Optional shadow for depth */
    transition: opacity 1s ease-in-out;
    opacity: 0; /* Start with the image hidden for fade-in effect */
    animation: fadeIn 2s forwards; /* Trigger fade-in animation */
    /*margin: 30px;*/
    border-radius: 10px; /* Optional rounded corners */
}
/* Caption styling */
.profile-caption {
    max-width: 600px; /* Adjust maximum width of the caption */
    font-size: 18px; /* Caption text size */
    color: #2B2D2F; /* Text color matching your theme */
    text-align: left; /* Align text to the left */
    line-height: 1.5; /* Improve readability */
    margin-left: 40px;


}
/* Add right offset on large screens */
@media screen and (min-width: 2800px) {
    .profile-picture-container {
        margin-left: 30%;
        /* Shifts the content right by 30% of the viewport width */
    }

    .center-text-alias {
        position: absolute;
        text-align: center;
        font-size: 40px;
        font-weight: normal;
        font-family: "Chillax-Regular", sans-serif;
        color: #2B2D2F;
        z-index: 10;
        transform: translateY(250px);
        /* Start below for drop animation */
        opacity: 1;
        /* Initially hidden */
        transition: transform 0.5s ease, opacity 0.5s ease;
        /* Smooth transitions */
    }
}
/* Default styling remains the same for smaller screens */

@media screen and (min-width: 2800px) {
    .sidebar {
        width: 15%;
        /* Increase sidebar width on large screens */
    }

    .nav-button {
        width: 150px;
        /* Make buttons larger */
        height: 150px;
        /* Make buttons larger */
    }

    .mini-svg {
        width: 150px;
        /* Match the button size */
        height: 150px;
        /* Match the button size */
    }

    /* Optionally adjust the text size within the SVGs */
    .mini-text {
        font-size: 600px;
        /* Increase from 500px */
    }

    /* Optionally adjust stroke width for better visibility */
    .mini-arc-group path {
        stroke-width: 200;
        /* Increase from 150 */
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Adjust positioning for large screens */
@media screen and (min-width: 2800px) {
    .description-container {
        width: 400px;
        top: 150px;
        /* Move it further down */
        left: 20%;
        /* Move it more to the right to align with the shifted content */
      
    }
}
@media screen and (min-width: 2800px) {
    .blog-container {
        padding: 20px 60px;
        /* Increase padding on the sides */
        margin-left: 0;
        /* Reset any left margin */
        width: 85%;
        /* Give more width to the container */
    }

    .content {
        margin-left: 0;
        /* Reset any left margin from the content container */
        padding-left: 30px;
        /* Add some padding to prevent leftmost cards from being cut off */
    }
}
@media screen and (min-width: 2800px) {
    .job-history {
        margin-top: 100px;
        /* Reduce top margin on large screens */
    }
}
@media screen and (min-width: 2800px) {
    /* .center-text.drop {
        animation-name: dropTextLarge;
    }
    .center-text-alias.drop {
        animation-name: dropTextLarge;
    } */


    /* @keyframes dropTextLarge {
        0% {
            transform: translateY(0);
        }

        100% {
            transform: translateY(250px);
        }

        /* Reduced distance for large screens */
    
    @keyframes dropText {
        0% {
            transform: translateY(0);
        }

        100% {
            transform: translateY(250px);
        }
    }
}
@media screen and (min-width: 2800px) {
    .center-text h1 {
        font-size: 100px;
        /* Adjust font size as needed for mobile */
        line-height: 1.4;
        /* Optional: Adjust line spacing for readability */
    }
    .center-text-alias h1 {
        font-size: 100px;
        /* Adjust font size as needed for mobile */
        line-height: 1.4;
        /* Optional: Adjust line spacing for readability */
    }
}

/* Gallery Section */
.gallery {
    position: relative;
    align-items: stretch;
    /*top: 70%;*/
    clear: both; /* Ensure it starts below the floating content, if any */
    width: 90%;
    margin: 20px auto; /* Center the gallery on the page */
    display: flex;
    flex-direction: column; /* Stack rows vertically */
    gap: 20px; /* Space between rows */
    flex-wrap: wrap;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Row in the gallery */
.gallery-row {
    display: flex;
    gap: 20px; /* Space between images */
    justify-content: center; /* Center items horizontally */
    align-items: center;
}

/* Row with a single full-width image */
.gallery-row.single .gallery-item {
    flex: 1; /* Image takes the full width */
    /* margin-bottom: 150px;
    margin-top: 200px; */
}

/* Individual gallery item */
.gallery-item {
    display: flex;
    flex-direction: column; /* Stack image and caption */
    align-items: center; /* Center the caption */
    width: calc(50% - 10px); /* Two items per row */
}

/* Image styling */
.gallery-item img {
    max-width: 800px;
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: opacity 1s ease-in-out;
    opacity: 0; /* Start with the image hidden for fade-in effect */
    animation: fadeIn 2s forwards; /* Trigger fade-in animation */
}

/* Caption styling */
.caption {
    margin-top: 8px;
    font-size: 14px;
    color: #2B2D2F; /* Match page text color */
    text-align: center;
}

/* Consistent styling for all videos in the gallery */
.gallery-item video {
    max-width: 650px;
    width: 100%; /* Make the video take up the full width of its container */
    height: auto; /* Maintain the video's aspect ratio */
    /* max-width: 100%; /* Prevent the video from exceeding the container's width */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for aesthetics */
    transition: opacity 1s ease-in-out;
    opacity: 0; /* Start with the image hidden for fade-in effect */
    animation: fadeIn 2s forwards; /* Trigger fade-in animation */
}
/* Style for embedded YouTube videos */
.gallery-item iframe {
    max-width: 800px;
    width: 100%; /* Make it responsive */
    height: auto; /* Maintain aspect ratio */
    aspect-ratio: 16 / 9; /* Set aspect ratio for YouTube videos */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for aesthetics */
}

/* Style for the symbols section */
.symbol-container, .symbol-container-alias {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 30px; /* Space between symbols */
    opacity: 0;
    /*transition: opacity 4s ease-in-out;*/
    /*animation: fadeIn 4s forwards; !* Trigger fade-in animation *!*/
    animation: fadeInSymbols 1s ease forwards; /* Fade-in effect */
}

/* Style for the symbols section */
.symbol-container {
    animation-delay: 6s; /* Start after 6 seconds */

}

.symbol-container a, .symbol-container-alias a {
    text-decoration: none;
    font-size: 0; /* Remove underline and text styles */
}

.symbol-container img, .symbol-container-alias img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.symbol-container img:hover, .symbol-container-alias img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}
/* Keyframe animation for fade-in */
@keyframes fadeInSymbols {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



/* Skills */
.skill-picture-container {
    width: 100%; /* Adjust size as needed */
    height: 100%; /* Ensure a perfect circle */
    /*height:auto;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-top: 20px; !* Adjust as needed *!*/
    position: relative;
    /*top: 10%;*/
    /*left: -20%;*/
    overflow-y: auto;
    overflow: auto;
    overflow: visible;
    /*overflow: visible;*/
    z-index: 999;
}

.skill-picture {
    width: 550px; /* Adjust size as needed */
    height: auto; /* Ensure a perfect circle */
    /*right: 7.5%;*/
    /*border-radius: 50%; !* Makes the image circular *!*/
    object-fit: cover; /* Ensures the image fits within the circle */
    /*border: 5px solid rgba(255, 255, 255, 0.5); !* Faded border *!*/
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); !* Optional shadow for depth *!*/
    transition: opacity 1s ease-in-out;
    opacity: 0; /* Start with the image hidden for fade-in effect */
    animation: fadeIn 2s forwards; /* Trigger fade-in animation */
    /*margin: 30px;*/
    border-radius: 10px; /* Optional rounded corners */
}

.text-box {
    max-width: 300px; /* Limit text box width */
    padding: 15px;
    margin: 10px;
    background-color: #f9f9f9; /* Light background color */
    border: 1px solid #ccc; /* Optional border */
    border-radius: 5px; /* Optional rounded corners */
    font-family: "Chillax-Regular", sans-serif;
    color: #2B2D2F; /* Text color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
    text-align: left;
}

/*.text-box.top-right {*/
/*    !*align-self: flex-start; !* Align to the right *!*!*/
/*    align-self: center; !* Align to the right *!*/

/*    !*top: 10%;*!*/
/*}*/

/*.text-box.bottom-left {*/
/*    !*align-self: flex-end; !* Align to the left *!*!*/
/*    align-self: center; !* Align to the left *!*/
/*    !*left: 50%;*!*/
/*    !*top: -10%;*!*/
/*}*/
.text-box.top-right {
    transform: translate(50%, -50%); /* Move closer to the center */
    margin-left: -200px; /* Adjust to fine-tune the position */
}

.text-box.bottom-left {
    transform: translate(-50%, 50%); /* Move closer to the center */
    margin-right: -200px; /* Adjust to fine-tune the position */
    margin-top: -300px;
}




/* Basic card styles */
/*.blog-container {*/
/*    display: grid;*/
/*    !*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); !* Flexible grid layout *!*!*/
/*    grid-template-columns: repeat(4, 1fr); !* Always 4 columns *!*/

/*    gap: 20px;*/
/*    padding: 20px;*/
/*    position:absolute;*/
/*    top: 20%;*/
/*}*/
.blog-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of carets */
    gap: 20px; /* Space between carets */
    align-content: flex-start; /* Align rows at the top */
    padding: 20px;
    position: relative;
    /*top:27%;*/
    padding-bottom: 0px; /* Adds space below the last row */

}

/*.blog-card {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    background: #f9f9f9;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*    cursor: pointer;*/
/*}*/
/*.blog-card {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: flex-start;*/
/*    align-items: center;*/
/*    padding: 10px;*/
/*    background: #f9f9f9;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
/*    overflow: hidden;*/
/*    cursor: pointer;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*}*/
.blog-card {
    flex: 1 1 calc(33.33% - 20px); /* 3 cards per row (adjust as needed) */
    max-width: calc(33.33% - 20px); /* Prevent exceeding row width */
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    flex-direction: column;
    width: 100%; /* Full width within the column */
    justify-content: center; /* Center items horizontally */
    align-items: center;

}


.blog-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.2);
}

.blog-card h2 {
    margin: 10px;
    font-size: 1.5rem;
}

.blog-card h3 {
    margin: 10px;
    font-size: 1rem;
}

.blog-card p {
    margin: 10px;
    color: #555;
}

.blog-card .content {
    display: none;
    padding: 15px;
    color: #333;
    font-size: 1rem;
}

.blog-card.expanded .content {
    display: block;
}

.blog-card.expanded img {
    height: auto;
    max-height: 300px;
}

.blog-card.expanded p {
    display: none;
}

.blog-caption {
    position: relative;
    /*left: 2%;*/
    width: 80%; /* Stretch across the container */
    min-width: 90%;
    /*margin-bottom: 10px; !* Space between the text box and the blog container *!*/
    /*padding: 10px 10px; !* Add padding inside the box *!*/
    /*background-color: #f0efe9; !* Light background for contrast *!*/
    /*border-radius: 40px; !* Rounded corners *!*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); !* Subtle shadow for depth *!*/
    font-family: "Chillax-Regular", sans-serif; /* Match your font */
    font-size: 1.1rem; /* Adjust text size */
    color: #2B2D2F; /* Text color */
    text-align: center; /* Center-align text */
    line-height: 1.5; /* Improve readability */
    /*top: 22%;*/
    border: none;

    /* Center the text vertically */
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */

}

/*.skills-container {*/
/*    display: flex;*/
/*    justify-content: center; !* Separate the headings *!*/
/*    !*justify-content: space-evenly;*!*/
/*    align-items: center; !* Align headings to the center *!*/
/*    position: relative;*/
/*    width: 90%;*/
/*    height: 50%;*/
/*    top:15%;*/
/*    !*margin-top: 50px; !* Space from the top content *!*!*/
/*}*/
/*.skills-container {*/
/*    display: flex;*/
/*    justify-content: space-evenly; !* Adjust if necessary *!*/
/*    !*align-items: center;*!*/
/*    position: relative;*/
/*    width: 100%; !* Ensure full width *!*/
/*    height: auto; !* Adjust based on content *!*/
/*    top: 20%;*/
/*}*/
.skills-container {
    display: flex;
    justify-content: space-between; /* Push items to the far left and far right */
    align-items: flex-start; /* Align boxes at the top */
    position: relative;
    width: 70%; /* Full width for container */
    height: auto; /* Dynamic height */
    /*top: 20%; !* Adjust positioning *!*/
    margin-bottom: 50px;
}


/*.soft-skills,*/
/*.hard-skills {*/
/*    !*top: -40%;*!*/
/*    display: flex;*/
/*    width: 5%; !* Adjust as needed *!*/
/*    !*text-align: center;*!*/
/*    font-family: "Chillax-Light", sans-serif;*/
/*    color: #2B2D2F;*/
/*    font-size: 1.3rem;*/
/*    position: relative;*/
/*    z-index: 2; !* Ensure text is above wires *!*/
/*    !*-webkit-justify-content: center;*!*/
/*    justify-items: center;*/
/*    !*margin-top: 20%;*!*/
/*    !*align-items: center;*!*/
/*    !*-webkit-align-items: center;*!*/
/*}*/


/*.soft-skills {*/
/*    left: 0; !* Push to the left *!*/
/*}*/
/*.hard-skills {*/
/*    right: 0; !* Push to the right *!*/
/*}*/


.soft-skills {
    display: flex;
    justify-content: flex-start; /* Align content inside the box to the start */
    width: auto; /* Adjust dynamically based on content */
}

.hard-skills {
    display: flex;
    justify-content: flex-end; /* Align content inside the box to the end */
    width: auto; /* Adjust dynamically based on content */
}


/*@supports (-webkit-touch-callout: none) {*/
/*    .hard-skills {*/
/*        right: 0; !* Center align for Safari *!*/
/*    }*/
/*}*/

.wires {
    position: absolute;
    /*justify-items: center;*/
    /*bottom: 0; !* Position wires at the bottom *!*/
    /*left: 50%; !* Center wires horizontally *!*/
    /*transform: translateY(25%);*/
    margin-top: 10%; /* Adjust instead of transform */
    width: 100%; /* Adjust based on SVG viewBox */
    height: 100%; /* Adjust to fit content */
    /*z-index: 1000; !* Ensure wires are behind text *!*/
    overflow: visible;
    /*top: -20%;*/

}
.wires svg {
    width: 100%;
    height: 100%;
}
/*.soft-skills, .hard-skills, .wires svg {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/

/*path {*/
/*    stroke: #2B2D2F; !* Wire color *!*/
/*    stroke-width: 5; !* Adjust thickness *!*/
/*    fill: transparent;*/
/*    stroke-linecap: round;*/
/*    transition: stroke 0.3s ease-in-out;*/
/*}*/

/*path:hover {*/
/*    stroke: #FFDE21; !* Highlight on hover *!*/
/*    stroke-width: 3; !* Increase thickness *!*/
/*}*/

.vertical-text {
    writing-mode: vertical-rl; /* Rotate text to vertical */
    text-orientation: upright; /* Ensure letters remain upright */
    font-family: "Chillax-Regular", sans-serif; /* Match your font */
    font-size: 1.5rem; /* Adjust font size */
    color: #2B2D2F; /* Text color */
    margin: 0; /* Remove default margins */
    text-align: center; /* Center-align the vertical text */
    line-height: 1.5; /* Adjust spacing between letters */
}

.job-history {
    position: relative;
    /*top: 30%;*/
    /*left: 7.5%;*/
    /*right: 7.5%;*/
    width: 80%;
    padding-bottom: 0pt;
    z-index: 9999;
}

.job-title {
    color: #966FD6;
    font-size: 1.3rem;
}

a {
    pointer-events: auto;
    /*text-decoration: underline;*/
    color: #966FD6;
}



@media screen and (max-width: 768px) {
    .center-text h1, .center-text-alias h1 {
        font-size: 34px; /* Adjust font size as needed for mobile */
        line-height: 1.2; /* Optional: Adjust line spacing for readability */
    }

    .non-home-heading {
        font-size: 28px;
        top: 20px;
    }

    .sidebar .nav-button svg.mini-svg {
        width: 90%; /* Reduce SVG size */
        height: 100%; /* Maintain aspect ratio */
        margin-left: 7pt;
    }

    .sidebar .nav-button {
        width: 80px; /* Adjust button size */
        height: 80px;
    }

    .mini-arc-group path {
        stroke-width: 100; /* Reduce the stroke width for smaller arcs */
    }

    .mini-text {
        font-size: 300; /* Adjust text size inside the arcs */
    }



    /*     Skills */
    .skills-container {
        width: 90%; /* Full width for container */

    }
    .wires {
        width: 80%;
        margin-left: 10%;
    }
    .vertical-text {
        font-size: 1rem;
    }

    /*    About */
    .gallery-item {
        width: 100%; /* Single column on smaller screens */
    }
    .gallery-row {
        flex-direction: column; /* Stack items vertically */
    }
}


/*@media screen and (max-width: 768px) {*/
/*    .profile-picture-container {*/
/*        display: flex;*/
/*        flex-direction: column; !* Stack items vertically *!*/
/*        align-items: center; !* Center-align content *!*/
/*        text-align: center; !* Center-align text inside *!*/
/*        margin-bottom: 20px; !* Add space below the profile section *!*/
/*    }*/

/*    .profile-picture {*/
/*        width: 80%; !* Adjust size of the profile picture *!*/
/*        max-width: 300px; !* Optional: Set a max width *!*/
/*        height: auto; !* Maintain aspect ratio *!*/
/*        margin-bottom: 10px; !* Add space below the picture *!*/
/*    }*/

/*    .profile-caption {*/
/*        width: 90%; !* Ensure it fits within the viewport *!*/
/*    }*/

/*    .gallery {*/
/*        display: flex;*/
/*        flex-direction: column; !* Stack rows vertically *!*/
/*        align-items: center; !* Center-align items *!*/
/*        gap: 20px; !* Space between gallery rows *!*/
/*    }*/

/*    .gallery-row {*/
/*        flex-direction: column; !* Stack gallery items vertically *!*/
/*        width: 100%; !* Ensure full width of each row *!*/
/*    }*/

/*    .gallery-item {*/
/*        width: 90%; !* Adjust gallery item width *!*/
/*        margin-bottom: 10px; !* Add space below each item *!*/
/*    }*/

/*    .gallery-item img,*/
/*    .gallery-item video,*/
/*    .gallery-item iframe {*/
/*        width: 100%; !* Make images and videos full width *!*/
/*        height: auto; !* Maintain aspect ratio *!*/
/*    }*/

/*    .caption {*/
/*        font-size: 14px; !* Adjust caption font size for readability *!*/
/*    }*/
/*}*/

/* For mobile devices (screens up to 768px wide) */
/* Ensure the profile section stacks correctly on mobile */
@media screen and (max-width: 768px) {
    .non-home-heading {
        margin-bottom: 50px;
    }

    /* Profile Section */
    .profile-picture-container {
        display: flex;
        flex-direction: column; /* Stack image and text vertically */
        align-items: flex-start; /* Center-align profile section */
        text-align: left; /* Align text inside container to the left */
        width: 90%; /* Match the gallery item width */
        max-width: 500px; /* Optional: Limit max width for large screens */
        margin: 0; /* Center the container */
        margin-left: 5px;
        /*top: 15%;*/

    }

    .profile-picture {
        width: 85%; /* Full width within container */
        max-width: 500px; /* Match other images */
        height: auto; /* Maintain aspect ratio */
        margin-bottom: 10px; /* Space below the profile picture */
        display: block; /* Ensure consistent block behavior */
    }

    .profile-caption {
        width: 85%; /* Match the image width */
        font-size: 0.9rem; /* Adjust for mobile readability */
        line-height: 1.5; /* Improve spacing between lines */
        margin: 0; /* Remove any extra margins */
        margin-left: 10px;

    }

    /* Gallery Section */
    .gallery {

        display: flex;
        flex-direction: column; /* Stack gallery items vertically */
        justify-content: flex-start;
        align-items: flex-start; /* Center gallery items */
        width: 90%; /* Match the profile section width */
        max-width: 500px; /* Optional: Limit maximum size */
        gap: 20px; /* Consistent spacing between gallery items */
        margin: 0; /* Center the gallery section */
        text-align: center;
    }

    .gallery-item {
        width: 85%; /* Full width for gallery items */
        max-width: 500px; /* Match the profile picture size */
        margin: 0 auto; /* Center-align gallery items */
        text-align: center; /* Center-align captions */
    }

    .gallery-row {
        justify-content: flex-start;
    }

    .gallery-item img {
        width: 100%; /* Match the container width */
        height: auto; /* Maintain aspect ratio */
        display: block; /* Ensure consistent block behavior */
        border-radius: 10px; /* Optional: Add rounded corners */
    }

    .gallery-item .caption {
        text-align: center; /* Align captions to the left */
        font-size: 14px; /* Adjust font size for mobile readability */
        margin-top: 10px; /* Space between image and caption */
    }
}

@media screen and (max-width: 768px) {
    /*.blog-container {*/
    /*    position: relative;*/
    /*    display: flex;*/
    /*    flex-direction: column; !* Stack items vertically *!*/
    /*    gap: 20px; !* Add space between items *!*/
    /*    !*top:28%;*!*/
    /*    align-content: center;*/
    /*    !*overflow-x: hidden; !* Prevent horizontal scrolling *!*!*/
    /*    !*box-sizing: border-box;*!*/
    /*    width: 100%;*/
    /*}*/

    /*.blog-card {*/
    /*    !*flex: none;*!*/
    /*    flex: 1 1 100%; !* Take full width *!*/
    /*    max-width: 100%; !* Ensure no extra width *!*/
    /*}*/
    .blog-container {
        display: grid;
        grid-template-columns: 1fr; /* One column layout */
        gap: 20px; /* Space between articles */
        width: 100%;
        padding: 10px;
        padding-bottom: 50px;
    }

    .blog-card {
        width: 90%; /* Full width for articles */
        max-width: 90%;
        margin: 0 auto; /* Center content if needed */
    }





    .blog-caption {
        font-size: 0.9rem;
        /*top: 15%;*/
    }

    .blog-card h2 {
        font-size: 1.2rem;
    }

    .blog-card h3 {
        font-size: 0.9rem;
    }

    .blog-card p {
        font-size: 0.8rem;
    }

    .blog-container footer {
        left: -5%;
    }
    .gallery footer {
        left: -4%;
    }
}
@media screen and (max-width: 768px) {

    .center-text-alias {
        transform: translateY(80px); /* Start below for drop animation */
    }
    @keyframes dropText {
        0% { transform: translateY(0); }
        100% { transform: translateY(80px); }
    }

    /* Keyframes for dropping arcs after rotation */
    @keyframes dropArc {
        0% { transform: translateY(0); }
        100% { transform: translateY(10px); } /* Adjust drop distance as desired */
    }

}
@media screen and (max-width: 768px) {
    .graph-container {
        /*width: 100%; !* Full width of the viewport *!*/
        /*height: 300px; !* Make it smaller on mobile *!*/
        /*overflow: hidden; !* Prevent overflow issues *!*/
        /*transform: scale(0.5); !* Scale down the entire graph *!*/
        /*transform-origin: top left; !* Ensure scaling starts from the top-left corner *!*/
        overflow-x: auto;
        top: 20%;
        /*position: relative;*/
    }
    .description-container {
        width: 50%; /* Adjust width as necessary */
        position: relative; /* Position relative to the viewport, which makes it stay in place while scrolling */
        /*top: 150px; !* Align it at the top of the viewport *!*/
        justify-self: center;
        height: 10%; /* Auto height based on content, or set a fixed percentage */
        font-size: 14px; /* Sets the base font size */
        text-align: center;
        margin-left: 0;
        margin-top: -50px;
        /*margin-right: 0;*/
    }

}

/* ---------- Article layout (blog post page) ---------- */

.article-page {
    width: min(800px, 92%);
    margin-top: 70px;
    /* replaces the old top:50px hacks */
    margin-bottom: 60px;
}

.article {
    width: 100%;
}

.article-title {
    margin: 0 0 14px 0;
    text-align: center;
    font-family: Chillax-Medium, sans-serif;
    color: #2B2D2F;
}

.article-summary {
    margin: 0 auto 26px auto;
    max-width: 65ch;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.85;
}

.article-hero {
    margin: 0 0 28px 0;
}

.article-hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.article-hero figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.75;
}

.article-body {
    margin-top: 10px;
}

.article-body p {
    margin: 0 0 18px 0;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2B2D2F;
}

.pull-quote {
    margin: 28px auto;
    padding: 14px 18px;
    max-width: 65ch;
    border-left: 4px solid rgba(43, 45, 47, 0.25);
    font-size: 1.15rem;
    line-height: 1.75;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
}


