/* Create global variables */
html {
    --featured-projects-height: 61vh;
}

/* Rotating Background */
#clip-rotating-background {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rotating-background {
    /* --radius is set in JS */
    --radius: 0px;
    width: var(--radius);
    height: var(--radius);
    position: fixed;
    left: calc(50% - calc(var(--radius) / 2));
    top: calc(50% - calc(var(--radius) / 2));
    transform: translate(-50%, -50%) rotate(0deg);
    filter: hue-rotate(0deg);
    z-index: 0;
    --expand-time: 0.7s;
    transition: width var(--expand-time), height var(--expand-time), left var(--expand-time), top var(--expand-time);
    user-select: none;
}

/* Featured Projects */
#featured-projects {
    position: absolute;
    top: var(--featured-projects-height);
    transition: top 0.2s;
}

/* Set footer height */
footer {
    --top: calc(var(--featured-projects-height) + 500px);
    transition: top 0.2s;
}