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

/* ===========================
   PROJECT FILES AURORA EFFECT
   =========================== */

:root {
    --bg: #000000;
    /* --pf-clr-1: #00c2ff; */
    /* --clr-2: #33ff8c; */
    --clr-3: #ffc640;
    --clr-4: #e54cff;
    --blur: 1rem;
    --pf-fs: clamp(3rem, 8vw, 7rem);
    --pf-ls: clamp(-1.75px, -0.25vw,
            -3.5px);
    --sub-head:#3498db;
}

.pf-aurora-body {
    overflow: hidden;
}

/* ---- Aurora Content ---- */
.pf-aurora-content {
    display: flex;
    justify-content: center;
}

/* ---- Aurora Title ---- */
.pf-title1 {
    font-family: 'Macondo', sans-serif;
    font-size: var(--pf-fs);
    width: fit-content;
    font-weight: 800;
    letter-spacing: var(--pf-ls);
    position: relative;
    overflow: hidden;
}

/* ---- Aurora Animation Container ---- */
.pf-aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    mix-blend-mode: darken;
    pointer-events: none;
}

/* ---- Aurora Animated Items ---- */
.pf-aurora__item {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background-color: var(--pf-clr-1);
    border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
    filter: blur(var(--blur));
    mix-blend-mode: overlay;
}


.pf-aurora__item:nth-of-type(1) {
    top: -50%;
    animation: pf-aurora-border 6s ease-in-out infinite,
        pf-aurora-1 5s ease-in-out infinite alternate;
}

.pf-aurora__item:nth-of-type(2) {
    background-color: var(--clr-3);
    right: 0;
    top: 0;
    animation: pf-aurora-border 6s ease-in-out infinite,
        pf-aurora-2 5s ease-in-out infinite alternate;
}

.pf-aurora__item:nth-of-type(3) {
    background-color: var(--clr-2);
    left: 0;
    bottom: 0;
    animation: pf-aurora-border 6s ease-in-out infinite,
        pf-aurora-3 3s ease-in-out infinite alternate;
}

.pf-aurora__item:nth-of-type(4) {
    background-color: var(--clr-4);
    right: 0;
    bottom: -50%;
    animation: pf-aurora-border 6s ease-in-out infinite,
        pf-aurora-4 13s ease-in-out infinite alternate;
}

@keyframes pf-aurora-1 {
    0% {
        top: 0;
        right: 0;
    }

    50% {
        top: 100%;
        right: 75%;
    }

    75% {
        top: 100%;
        right: 25%;
    }

    100% {
        top: 0;
        right: 0;
    }
}

@keyframes pf-aurora-2 {
    0% {
        top: -50%;
        left: 0%;
    }

    60% {
        top: 100%;
        left: 75%;
    }

    85% {
        top: 100%;
        left: 25%;
    }

    100% {
        top: -50%;
        left: 0%;
    }
}

@keyframes pf-aurora-3 {
    0% {
        bottom: 0;
        left: 0;
    }

    40% {
        bottom: 100%;
        left: 75%;
    }

    65% {
        bottom: 40%;
        left: 50%;
    }

    100% {
        bottom: 0;
        left: 0;
    }
}

@keyframes pf-aurora-4 {
    0% {
        bottom: -50%;
        right: 0;
    }

    50% {
        bottom: 0%;
        right: 40%;
    }

    90% {
        bottom: 50%;
        right: 25%;
    }

    100% {
        bottom: -50%;
        right: 0;
    }
}

@keyframes pf-aurora-border {
    0% {
        border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
    }

    25% {
        border-radius: 47% 29% 39% 49% / 61% 19% 66% 26%;
    }

    50% {
        border-radius: 57% 23% 47% 72% / 63% 17% 66% 33%;
    }

    75% {
        border-radius: 28% 49% 29% 100% / 93% 20% 64% 25%;
    }

    100% {
        border-radius: 37% 29% 27% 27% / 28% 25% 41% 37%;
    }
}

/* ===== END PROJECT FILES AURORA EFFECT ===== */
/* ===========================
   PROJECT FILES VISUALIZER
   =========================== */

/* ---- Visualizer Container ---- */
.pf-header-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #222;
    position: relative;
}

/* ---- Visualizer Bars ---- */
.pf-visualizer {
    display: flex;
    gap: 5px;
    padding: 10px;
    background-color: #22222237;
    border-radius: 5px;
    cursor: pointer;
    align-items: center;
}

.pf-bar {
    width: 3px;
    height: 8px;
    background: white;
}

.pf-visualizer:hover .pf-bar {
    animation: pf-bounce 1s infinite ease-in-out;
}

/* ---- Visualizer Animation ---- */
@keyframes pf-bounce {

    0%,
    100% {
        height: 8px;
    }

    50% {
        height: 40px;
    }
}

/* ===== END PROJECTVISUALIZER ===== */

/* ===========================
   PROJECT FILES MAIN CONTENT
   =========================== */

/* ---- Body Styles ---- */
body.pf-body {
    background: none;
    position: relative;
    overflow-x: hidden;
    margin: 0px;
}

.pf-main-content {
    margin: 3rem 5rem;
    padding: 1rem;
}

/* ---- Main Content Container ---- */
.pf-main-content h1 {
    margin-top: 4rem;
    font-size: 4.5rem;
}

.pf-program-list h3 {
    font-family: "Poppins", serif;
    font-weight: 400;
    color: #f39c12;
    font-size: 2em;
    border-bottom: 2px solid var(--sub-head);
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
}

.pf-program-list h2 {
    color: var(--sub-head);
    font-size: 1.2em;
    padding: 0.3rem;

}

.pf-main-content p {
    font-size: 1.2em;
    margin: 20px 0 40px;
    display: flex;
    justify-content: center;
    
}

/* ---- Background Video ---- */
.pf-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.9;
    pointer-events: none;
}

/* ---- Program List Section ---- */

.pf-program-list {
    max-width: 800px;
    margin: auto;
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}


.code-container {
    position: relative;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 12px;
    background-color: var(--sub-head);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.code-container pre {
    background: #1e1e1e;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 6px;
    margin-top: 1rem;
}

.code-container code {
    font-family: Consolas, monospace;
    font-size: 14px;
    color: #f8f8f2;
    display: block;
    white-space: pre;
}

/* ---- Program List Items ---- */

.pf-program-list ul {
    list-style: none;
    padding-left: 0;
}

.pf-program-list li {
    margin: 1rem 0;
    background: #3a3a3a;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.pf-main-content a {
    color: #f39c12;
    /* Bright yellow color for the links */
    text-decoration: none;
    font-size: 1.1em;
}

.pf-main-content a:hover {
    color: #ecf0f1;
    /* Light color on hover */
    text-decoration: underline;
}

/* ---- Cards Grid ---- */
.pf-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-template-rows: auto;
    gap: 50px;
    margin: 20px 0;
    padding: 20px;
}

.pf-cards-grid::before,
.pf-cards-grid::after {
    content: "";
    grid-column: span 1;
}

.pf-cards-grid> :nth-child(1),
.pf-cards-grid> :nth-child(2),
.pf-cards-grid> :nth-child(3),
.pf-cards-grid> :nth-child(4),
.pf-cards-grid> :nth-child(5),
.pf-cards-grid> :nth-child(6) {
    grid-column: span 1;
}

/* ---- Responsive Cards Grid ---- */
@media (min-width: 600px) and (max-width: 1024px) {
    .pf-main-content {
        margin: 3rem 2rem;
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .pf-main-content {
        margin: 3rem 2rem;
    }
}

.pf-cards-grid {
    grid-template-columns: 1fr;
    padding: 20px;
}


/* ===== END PROJECT FILES MAIN CONTENT ===== */