@font-face {
    font-family: 'CustomFont';
    src: url('./files/JoshuaSalako-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 300;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 60px);
    position: relative;
}

section:first-of-type {
    margin-top: 0;
}

section {
    margin-bottom: 30px;
    padding: 0 20px;
    background: transparent;
}

/* Adjust container padding for pages without header */
body:not(:has(header)) .container {
    padding-top: 80px;
}

/* Adjust background color for pages without header */
body:not(:has(header)) {
    background-color: #f5f5f5;
}

body.dark-theme:not(:has(header)) {
    background-color: #1a1a1a;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    width: 100%;
    position: relative;
    margin: 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.profile-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0;
    z-index: 2;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: translate(-50%, -50%) translateY(-3px);
}

h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 2.2em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3498db;
    transform: scale(1.1);
}

/* Base section styles */
section {
    margin-bottom: 30px;
    padding: 0 20px;
    background: transparent;
}

/* Section headings */
section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-size: 3em;
    font-weight: 600;
    letter-spacing: 2.5px;
}

/* Dark theme base */
body.dark-theme {
    background-color: #1a1a1a;
    color: #f5f5f5;
}

body.dark-theme section {
    background: transparent;
}

body.dark-theme section h2 {
    color: #f5f5f5;
}

.resume-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    transform: translateY(0);
    font-size: 1em;
}

.button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 15px 20px;
}

.project-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Only apply hover effect to project cards that have links */
.project-card:has(a) {
    cursor: pointer;
}

.project-card:has(a):hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.02);
}

.project-button {
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    padding: 8px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-button:hover {
    background-color: #2980b9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body.dark-theme .project-button {
    background-color: #5dade2;
}

body.dark-theme .project-button:hover {
    background-color: #3498db;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-family: 'CustomFont', 'Poppins', sans-serif;
    font-size: 1.3em;
}

.footer-content p {
    margin: 5px 0;
    font-family: 'CustomFont', 'Poppins', sans-serif;
    font-size: 1.3em;
}

.footer-content .fa-heart {
    color: #e74c3c;
    font-size: 1.2em;
}

.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1002;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.side-menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 1.1em;
    color: #2c3e50;
    display: block;
    transition: 0.3s;
    font-weight: 300;
}

.side-menu a:hover {
    color: #3498db;
    transform: translateX(10px);
}

.side-menu .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #2c3e50;
}

.side-menu h2 {
    color: #2c3e50 !important;
    text-align: center;
    margin-bottom: 20px;
}

/* Dark theme styles for side menu */
body.dark-theme .side-menu {
    background-color: #2d2d2d;
}

body.dark-theme .side-menu a,
body.dark-theme .side-menu h2,
body.dark-theme .side-menu .closebtn {
    color: #f5f5f5 !important;
}

body.dark-theme .side-menu {
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.hamburger {
    position: fixed;
    left: 20px;
    top: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-menu {
    position: fixed;
    left: 100px;
    top: 25px;
    z-index: 999;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.theme-toggle {
    position: fixed;
    right: 20px;
    top: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
    z-index: 999;
    transition: all 0.3s ease;
}

.hamburger:hover,
.theme-toggle:hover {
    color: #3498db;
    transform: scale(1.1);
}

/* Navigation styles for pages with header (home page) */
body:has(header) .nav-menu a,
body:has(header) .hamburger,
body:has(header) .theme-toggle {
    color: white;
}

/* Dark theme overrides */
body.dark-theme .nav-menu a,
body.dark-theme .hamburger,
body.dark-theme .theme-toggle {
    color: #f5f5f5;
}

@media screen and (max-height: 450px) {
    .side-menu {
        padding-top: 15px;
    }

    .side-menu a {
        font-size: 18px;
    }
}

h3 {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: 200;
}

p {
    font-size: 1.1em;
    font-weight: 150;
}

.read-more-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.read-more-content.show {
    display: block;
    opacity: 1;
}

.read-more-btn {
    display: inline-block;
    margin: 10px 20px;
    color: #3498db;
    cursor: pointer;
    font-weight: 400;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #2980b9;
}

/* Dark Theme Styles */
body.dark-theme {
    background-color: #1a1a1a;
    color: #f5f5f5;
}

body.dark-theme section {
    background: transparent;
}

body.dark-theme .project-card {
    background: #2d2d2d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

body.dark-theme h2 {
    color: #f5f5f5;
}

body.dark-theme .project-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.about-content {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: justify;
    line-height: 1.8;
    color: #fff;
}

.about-content p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.read-more-btn {
    display: inline-block;
    margin: 5px 0;
    color: #3498db;
    cursor: pointer;
    font-weight: 400;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.read-more-btn:hover {
    color: #2980b9;
}

body.dark-theme .about-content {
    color: #f5f5f5;
}

.nav-menu {
    position: fixed;
    left: 100px;
    top: 25px;
    z-index: 999;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
    transform: scale(1.1);
}

body.dark-theme .nav-menu a {
    color: #f5f5f5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 15px 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

body.dark-theme .gallery-item {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Navigation bar container */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: #f5f5f5;
    z-index: 998;
    transition: background-color 0.3s ease;
}

body.dark-theme .nav-wrapper {
    background-color: #2c3e50;
}

/* Adjust existing navigation elements */
.hamburger {
    position: fixed;
    left: 20px;
    top: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
    z-index: 999;
}

.nav-menu {
    position: fixed;
    left: 100px;
    top: 25px;
    z-index: 999;
    display: flex;
    gap: 25px;
}

.theme-toggle {
    position: fixed;
    right: 20px;
    top: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
    z-index: 999;
}

/* Adjust container padding to account for fixed nav */
.container {
    padding-top: 90px;
}

/* Home page specific adjustments */
body:has(header) .nav-wrapper {
    background-color: transparent;
    box-shadow: none;
}

body:has(header) .container {
    padding-top: 0;
}

/* Single column for mobile devices */
@media screen and (max-width: 768px) {
    .projects {
        grid-template-columns: 1fr;
    }
}

.project-tag {
    color: #3498db;
    font-weight: 500;
    /*margin-top: 15px;*/
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.platform-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

body.dark-theme .project-tag {
    color: #5dade2;
}

.project-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 500;
    text-decoration: underline;
}

body.dark-theme .project-card h3 {
    color: #f5f5f5;
}

.project-card p {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 10px;
}

body.dark-theme .project-card p {
    color: #ccc;
}

/* Navigation styles */
.nav-menu {
    position: fixed;
    left: 100px;
    top: 25px;
    z-index: 999;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

/* Mobile navigation styles */
@media screen and (max-width: 768px) {
    .nav-menu {
        left: 80px;
        gap: 15px;
        max-width: calc(100% - 140px);
        /* Account for hamburger and theme toggle */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .nav-menu a {
        font-size: 0.9em;
        white-space: nowrap;
        /* Prevent text wrapping */
    }
}

@media screen and (max-width: 480px) {
    .hamburger {
        left: 15px;
        font-size: 20px;
    }

    .nav-menu {
        left: 60px;
        gap: 10px;
        max-width: calc(100% - 100px);
        /* Adjust space for smaller screen */
    }

    .theme-toggle {
        right: 15px;
        font-size: 20px;
    }
}

/* Projects grid mobile styles */
@media screen and (max-width: 768px) {
    .projects {
        grid-template-columns: 1fr;
    }
}

/* Background styles */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/1111.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.background-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

/* Adjust container and content for better contrast */
.container {
    position: relative;
    z-index: 1;
}

/* Adjust project cards for better visibility */
.project-card {
    background: rgba(248, 249, 250, 0.95);
}

body.dark-theme .project-card {
    background: rgba(45, 45, 45, 0.95);
}

/* Make text more visible */
section h2 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Adjust nav wrapper for transparency */
.nav-wrapper {
    background: rgba(44, 62, 80, 0.8);
}

body.dark-theme .nav-wrapper {
    background: rgba(26, 26, 26, 0.8);
}

/* Ensure footer is visible */
footer {
    position: relative;
    z-index: 1;
    background: rgba(44, 62, 80, 0.9);
}

/* Navigation elements */
.hamburger,
.theme-toggle {
    color: white;
    transition: all 0.3s ease;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.hamburger:hover,
.theme-toggle:hover {
    color: #3498db;
    transform: scale(1.1);
}

/* Dark theme navigation */
body.dark-theme .hamburger,
body.dark-theme .nav-menu a,
body.dark-theme .theme-toggle {
    color: #f5f5f5;
}

.ribbon {
    position: absolute;
    bottom: 25px;
    right: -50px;
    background: #3498db;
    color: white;
    text-align: center;
    width: 200px;
    padding: 5px 0;
    font-size: 0.9em;
    font-weight: 500;
    transform: rotate(-45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Adjust project card for ribbon */
.project-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body.dark-theme .ribbon {
    background: #5dade2;
}

.award-tag {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-theme .award-tag {
    color: #ccc;
}

/* Gallery Styles */
.gallery-container {
    column-count: 3;
    column-gap: 20px;
    padding: 20px;
}

@media (max-width: 1200px) {
    .gallery-container {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        column-count: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.gallery-item img:hover {
    filter: brightness(1.1);
}

/* Gallery Page Full-width Styles */
.gallery-page {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.gallery-page .container {
    max-width: 100%;
    padding: 0 20px;
}

.gallery-page h2 {
    text-align: center;
    margin: 40px 0;
}

.gallery-container {
    column-count: 4;
    column-gap: 20px;
    padding: 0 20px 40px;
    width: 100%;
}

@media (max-width: 1400px) {
    .gallery-container {
        column-count: 3;
    }
}

@media (max-width: 1000px) {
    .gallery-container {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-container {
        column-count: 1;
        padding: 0 10px 20px;
    }
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lightbox.show {
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: fixed;
    border-radius: 5px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.close-btn,
.download-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show .close-btn,
.lightbox.show .download-btn {
    opacity: 1;
}

.close-btn {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1003;
}

.close-btn:hover {
    color: #bbb;
}

.gallery-item {
    cursor: pointer;
}

/* Animation */
@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

.publications {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px 20px;
}

/* Buy Me a Coffee Button */
.bmc-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FFDD00;
    color: #000000;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.bmc-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: #FFE333;
}

.bmc-button i {
    font-size: 1.2em;
}

/* Mobile responsiveness for Buy Me a Coffee button */
@media screen and (max-width: 768px) {
    .bmc-button {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media screen and (max-width: 480px) {
    .bmc-button span {
        display: none;
    }

    .bmc-button {
        padding: 12px;
        border-radius: 50%;
    }

    .bmc-button i {
        margin: 0;
    }
}

.download-btn {
    position: fixed;
    top: 15px;
    left: 35px;
    color: #f1f1f1;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1003;
}

.download-btn a {
    color: #f1f1f1;
    text-decoration: none;
}

.download-btn:hover {
    color: #bbb;
}

.download-btn:hover a {
    color: #bbb;
}

@media screen and (max-width: 768px) {
    .close-btn {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }

    .download-btn {
        top: 10px;
        left: 20px;
        font-size: 25px;
    }
}

@media screen and (max-width: 480px) {
    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .download-btn {
        top: 10px;
        left: 15px;
        font-size: 22px;
    }
}

.pdf-container {
    width: 100%;
    max-width: 800px;
    margin: 10px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pdf-viewer {
    display: block;
    border: none;
    background: #fff;
}

/* Dark theme support */
.dark-theme .pdf-container {
    background: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Navigation styles */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

/* Add margin-top to the first section to prevent navbar overlap */
section:first-child {
    margin-top: 60px;
    /* Height of the navbar */
}

/* Gallery specific spacing */
.gallery-page section:first-child {
    margin-top: 80px;
    /* Increased margin for gallery page */
}

/* Reset the general first-child margin for other pages */
section:first-child {
    margin-top: 0;
}

/* Profile image container and orbiting elements */
.profile-img-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto 20px;
}

.profile-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    margin: 0;
    z-index: 2;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: translate(-50%, -50%) translateY(-3px);
}

.orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.orbit-image {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animation for orbiting images */
@keyframes orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateY(-250px) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateY(-250px) rotate(-360deg);
    }
}

.orbit-django {
    animation: orbit 20s linear infinite;
}

.orbit-flutter {
    animation: orbit 20s linear infinite;
    animation-delay: -4s;
}

.orbit-tensor {
    animation: orbit 20s linear infinite;
    animation-delay: -8s;
}

.orbit-pytorch {
    animation: orbit 20s linear infinite;
    animation-delay: -12s;
}

.orbit-python {
    animation: orbit 20s linear infinite;
    animation-delay: -16s;
}

/* Snowflakes */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
        transform: translateY(100vh);
    }
}

@keyframes diagonal-fall {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
        transform: translate(10vw, 100vh);
    }
}

.christmas-tree {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: 3.5em;
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: treeFloat 3s ease-in-out infinite;
}

.christmas-tree:hover {
    transform: scale(1.1);
    color: #27ae60;
}

@keyframes treeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.intro-text {
    font-weight: 100;
    font-size: 50px;
}

.typing-text {
    font-weight: 600;
    font-size: 70px;
}

.cursor {
    font-weight: 100;
    font-size: 70px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.gallery-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    padding: 0 20px;
}

.gallery-description p {
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.6;
    color: #ffffff;
}

.gallery-description .note {
    font-size: 0.85em;
    color: #888;
    font-style: italic;
}

.gallery-description .support-note {
    font-size: 0.9em;
    color: #ffffff;
}

.gallery-description .fa-heart {
    color: #e74c3c;
    font-size: 0.9em;
}

.gallery-description .fa-info-circle {
    color: #3498db;
    margin-right: 5px;
}

.gallery-footer {
    max-width: 800px;
    margin: 40px auto 20px;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
}

.gallery-footer .support-note {
    font-size: 0.9em;
    color: #777;
    line-height: 1.6;
}

.gallery-footer .fa-heart {
    color: #e74c3c;
    font-size: 0.9em;
}

.coffee-notification {
    position: fixed;
    top: -100px;
    right: 20px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 15px;
    z-index: 1000;
    transition: transform 0.3s ease-out;
    transform: translateY(0);
}

.coffee-notification.show {
    transform: translateY(120px);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
}

.notification-content .fa-mug-hot {
    color: #2c3e50;
    font-size: 1.2em;
}

.notification-content button {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.notification-content button:hover {
    background: #3498db;
}

.close-notification {
    cursor: pointer;
    font-size: 1.2em;
    color: #666;
    padding: 0 5px;
}

.close-notification:hover {
    color: #333;
}

/* Dark theme support */
body.dark-theme .coffee-notification {
    background: #2c3e50;
    color: white;
}

body.dark-theme .notification-content .fa-mug-hot {
    color: #3498db;
}

body.dark-theme .notification-content button {
    background: #3498db;
}

body.dark-theme .notification-content button:hover {
    background: #2980b9;
}

/* Add responsive sizing for smaller screens */
@media screen and (max-width: 768px) {

    .footer-content,
    .footer-content p {
        font-size: 1.1em;
    }
}