:root {
    --ca: #D3C9C0;
    --bc: #232221;
    --la: #F9F7F6;
    --bd: #1D1C1B;
    --ff: 'Sinistre S Caroline';
    --mf: 'Mulish';
    --mrg: 180px;
    --brd: 0px solid rgba(211, 201, 192, 0.5);
    --brr: 20px;
}

html[data-template="project"],
body[data-template="project"] {
    color: var(--ca);
    background-color: var(--bc);
    scroll-behavior: initial;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

body[data-template="project"]::before {
    content: "";
    background-image: url('/wp-content/themes/portfolio/assets/images/noise.gif');
    background-size: 120px;
    opacity: 0.12;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
}

body[data-template="project"] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-family: sans-serif;
    font-family: var(--mf), sans-serif;
}

body[data-template="project"] a {
    color: var(--ca);
    text-decoration: none;
    transition: all .6s cubic-bezier(0.76, 0, 0.24, 1);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--ca);
    letter-spacing: 1px;
}

body[data-template="project"] a:hover {
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--ca);
    letter-spacing: 4px;
}

li {
    list-style: none;
}

/* Frame Style */

.frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    color: var(--color-title);
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto 1fr;
    grid-template-areas: 'title title' 'prev back' 'demos demos' 'sponsor sponsor' 'nav nav';
    justify-content: start;
    align-content: start;
    align-items: start;
    z-index: 100;
    pointer-events: none;
    grid-gap: 1rem;
}
.frame a,
.frame button {
    pointer-events: auto;
}

/* Content Page Styles */

body[data-template="project"] #site-content .container {
    display: grid;
    max-width: 1200px;
    padding: 0 20px;
    justify-content: center;
    grid-template-columns: minmax(0, 1200px);
    will-change: transform;
}

body[data-template="project"] #site-content .container>div {
    z-index: 4;
    position: relative;
}

.inCont {
    display: grid;
    justify-content: center;
}

.dtitle {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 2.2em;
    letter-spacing: 1px;
    font-weight: 800;
    padding: 8px 0;
}

.ddetails {
    font-size: 22px;
    line-height: 1.8em;
    letter-spacing: 1px;
    font-weight: 400;
    text-align: justify;
}

body[data-template="project"] .c-line::before {
    content: "";
    width: 140%;
    height: 45%;
    position: absolute;
    left: -20%;
    top: 30%;
    right: 0;
    margin: auto;
    background: var(--bd);
    grid-column: 2 / span 2;
    grid-row: 1;
    opacity: 0.2;
    z-index: 0;
}

.noTop {
    padding: 0 0 var(--mrg);
}

/* background effect */

#blur {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -1;
    backdrop-filter: blur(80px);
}

#blob {
    z-index: 0;
    background-color: white;
    height: 200vw;
    width: 200vw;
    aspect-ratio: 1;
    position: fixed;
    left: 50%;
    top: 50%;
    translate: -50% -50%;

    border-radius: 50%;
    background: radial-gradient(circle, rgba(89, 82, 75, 1) 0%, rgba(35, 34, 33, 1) 20%, rgba(35, 34, 33, 1) 100%);
    animation: rotate 10s infinite;
    opacity: 0.5;
}

@keyframes rotate {
    from {
        scale: 1;
    }

    30% {
        scale: 1.5 1.5;
    }

    60% {
        scale: 1 1;
    }

    80% {
        scale: 1.5 1.5;
    }

    to {
        scale: 1;
    }
}
