
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Coming Soon Course Styles */
.coming-soon-courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.course.coming-soon {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
}

.course.coming-soon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

h3 a {
    text-decoration: none;
    color: inherit;
    /* Keeps the color of the <h3> */
}

h3 a:hover {
    color: var(--primary-color);
    /* Example color on hover */
}

/* Love 404 Section Styles */
.love-404 {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dark-theme .love-404{
    background: linear-gradient(145deg, #1a1a1a, #2c2c2c);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.love-404:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.love-404 h2 {
    font-size: 3rem;
    color: var(--love-color);
    margin-bottom: 20px;
}

.love-404 h2::after {
    content: none;
    /* Remove the underline */
}

.love-404 p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.love-404 .error-code {
    font-size: 6rem;
    font-weight: bold;
    color: var(--love-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.love-404 .heart {
    font-size: 5rem;
    color: var(--love-color);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}
/* Media queries for mobile responsiveness */
@media screen and (max-width: 768px) {
    .love-404 {
        padding: 20px;
    }
    
    .love-404 h2 {
        font-size: 2rem;
    }

    .love-404 p {
        font-size: 1rem;
    }

    .love-404 .error-code {
        font-size: 4rem;
    }

    .love-404 .heart {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 480px) {
    .love-404 {
        padding: 10px;
    }

    .love-404 h2 {
        font-size: 1.5rem;
    }

    .love-404 .error-code {
        font-size: 3rem;
    }

    .love-404 .heart {
        font-size: 2.5rem;
    }
}
body {
    font-family: 'Kantumruy', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

h1,
h2,
h3 {
    font-weight: 700;
    /* Bold */
}

p,
.skill,
.course p,
.tutorial p {
    font-weight: 400;
    /* Regular */
}

.skill {
    cursor: pointer;
}

.title {
    font-weight: 300;
    /* Light */
}

:root {
    --primary-color: #6C63FF;
    --secondary-color: #2C3E50;
    --background-color: #F8F9FA;
    --text-color: #333;
    --card-background: #FFFFFF;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --course-color: #E74C3C;
    --tutorial-color: #27AE60;
    --particle-color: #ffffff;
}

.dark-theme {
    --primary-color: #BB86FC;
    --secondary-color: #03DAC6;
    --background-color: #121212;
    --text-color: #E0E0E0;
    --card-background: #1E1E1E;
    --card-shadow: 0 5px 15px rgba(187, 134, 252, 0.1);
    --course-color: #CF6679;
    --tutorial-color: #03DAC6;
    --particle-color: #BB86FC;
}

.course,
.tutorial {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

/* Updated Full-screen image viewer styles */
.fullscreen-viewer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.fullscreen-viewer.active {
    opacity: 1;
    pointer-events: all;
    background-color: rgba(0, 0, 0, 0.9);
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.fullscreen-viewer.active .fullscreen-image {
    transform: scale(1);
    opacity: 1;
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-viewer.active .close-viewer {
    opacity: 1;
}

/* Make course and tutorial images clickable */

.card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 2px;
    cursor: pointer;
}

.card-content {
    padding: 20px;
}

.course h3,
.tutorial h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.course p,
.tutorial p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.dark-theme .course,
.dark-theme .tutorial {
    background: linear-gradient(145deg, #1a1a1a, #2c2c2c);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.course::before,
.tutorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--course-color);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.tutorial::before {
    background-color: var(--tutorial-color);
}

.tutorial::before {
    background-color: var(--tutorial-color);
}

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

/* body {
font-family: 'Poppins', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background-color);
min-height: 100vh;
overflow-x: hidden;
transition: all 0.3s ease;
}*/
#theme-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.theme-btn:hover {
    transform: scale(1.1);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    height: 100vh;
    /* Set the container to full viewport height */
    overflow: hidden;
    /* Hide overflow */
}

.sidebar {
    background-color: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 20px;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-y: auto;
    /* Add vertical scrollbar if content overflows */
}

.main-content {
    padding: 40px;
    background-color: var(--card-background);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    /* Add vertical scrollbar */
    max-height: calc(100vh - 40px);
    /* Set maximum height */
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: var(--primary-color) var(--background-color);
    /* For Firefox */
}

.main-content::-webkit-scrollbar {
    width: 8px;
    /* Width of the scrollbar */
}

.main-content::-webkit-scrollbar-track {
    background: var(--background-color);
    /* Color of the tracking area */
}

.main-content::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    /* Color of the scrollbar */
    border-radius: 20px;
    /* Roundness of the scrollbar */
    border: 3px solid var(--background-color);
    /* Creates padding around the scrollbar */
}

/* ... (rest of the styles remain unchanged) ... */

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .main-content {
        max-height: none;
        overflow-y: visible;
    }
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.title {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-weight: 600;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.skill {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.3);
}

.contact-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.courses,
.tutorials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.course,
.tutorial {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.course:hover,
.tutorial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.course h3,
.tutorial h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.course p,
.tutorial p {
    font-size: 0.9rem;
    color: #666;
}

#theme-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-color);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    color: white;
}

.social-icon i {
    font-size: 20px;
}

.dark-theme .social-icon {
    background-color: rgba(187, 134, 252, 0.2);
    color: var(--text-color);
}

.dark-theme .social-icon:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
    }
}
