body {
    user-select: none;

    height: 100vh;
    margin: 0;
    --x: calc(var(--posX, 0) * 1px);
    --y: calc(var(--posY, 0) * 1px);
    background-image:
        linear-gradient(115deg,
            rgb(68, 61, 80),
            rgb(20 10 40)
        ),
        radial-gradient(90% 100% at calc(50% + var(--x)) calc(0% + var(--y)),
            rgb(73, 2, 167),
            rgb(35 20 70)
        ),
        radial-gradient(100% 100% at calc(80% - var(--x)) calc(0% - var(--y)),
            rgb(98, 35, 121),
            rgb(45 10 60)
        ),
        radial-gradient(150% 210% at calc(100% + var(--x)) calc(0% + var(--y)),
            rgb(180 120 255),
            rgb(40 20 120)
        ),
        radial-gradient(100% 100% at calc(100% - var(--x)) calc(30% - var(--y)),
            rgb(88, 22, 69),
            rgb(90 60 160)
        );

    background-blend-mode: overlay, overlay, difference, difference, difference, normal;
}

a{
    text-decoration: underline;
    color: white;
}

.contHead{
    position: absolute;
    top: 5vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    z-index: 1000;
}

.contHead ul{
    list-style: none;
    display: flex;
    gap: 5rem;
    padding: 0;
    margin: 0;
    color: white;
    font-family: "Google Sans Code", monospace;
    font-weight: 300;
    font-size: 1rem;
}

.contHead ul li a:hover{
    background-color: white;
    color: black;
    transition: .3s;
}

.contHead h1{
    font-family: "Google Sans Code", monospace;
    color: white;
    text-align: center;
    font-weight: 100;
    font-size: 2rem;
}

h2 {
    position: absolute;
    bottom: 2vh;
    width: 100%;
    text-align: center;
    color: white;
    font-family: "Google Sans Code", monospace;
    font-weight: 300;
    font-size: 0.9rem;
    margin: 0;
}

.section-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(20, 10, 40, 0.95);
    border: 1px solid rgba(180, 120, 255, 0.3);
    border-radius: 12px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.section-modal.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.95);
}

.modal-content {
    color: white;
    font-family: "Google Sans Code", monospace;
}

.modal-content h3 {
    font-size: 2rem;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1rem;
}

.projects-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.projects-list li {
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 300;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(180, 120, 255, 0.1);
    border-left: 3px solid rgba(180, 120, 255, 0.5);
    border-radius: 4px;
}

#projectsSection .modal-content p {
    font-size: 0.95rem;
}

@media (max-width: 720px) {
    .contHead {
        flex-direction: column;
        gap: 0.75rem;
        top: 6vh;
    }

    .contHead ul {
        gap: 1.5rem;
        justify-content: center;
    }

    .contHead h1 {
        font-size: 1.25rem;
    }
}