/*

    JEAN LE BELLEGO, 2024
    Main Styles

*/

@import "vars.css";


* {
    padding: 0;
    margin: 0;
    border: none;
}

:root {
    font-variation-settings: var(--light);
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    height: 100%;
    font: 100%/1 var(--stack);
    font-variation-settings: var(--light);
    color: var(--text-color);
    background: var(--bg-color);
}

h1 {
    position: relative;
    display: flex;
    flex-direction: column;
    width: fit-content;
    font-size: calc(1em + 2vw);
    font-variation-settings: var(--extra-light);
    background-color: var(--bg-color);
    z-index: 1;

    & strong {
        display: block;
        font-size: 150%;
        font-variation-settings: var(--bold);
        text-transform: uppercase;
        color: var(--secondary-color);
        margin-top: 0.5rem;
    }

    & img {
        width: 6.8em;
        margin-left: auto;
    }

    & span {
        display: block;
        font-size: 80%;
        text-transform: lowercase;
        color: var(--text-color);
    }
}

h1, h2, h3, h4 {
	font-weight: normal;
}

h2 {
    font-size: calc(1.5em + 1vw);
    font-variation-settings: var(--bold);
    text-transform: uppercase;
    color: var(--secondary-color);
    background-color: var(--bg-color);
    margin-bottom: 0.8em;
}

h3 {
    font-size: calc(1.35em + 1vw);
    font-variation-settings: var(--bold);
    color: var(--secondary-color);
    background-color: var(--bg-color);
    margin-bottom: 0.5em;
}

p, li, dt, dd {
    font-size: calc(1em + 0.75vw);
}

a {
    color: var(--main-color);
    text-underline-offset: 4px;
}

a[target]::after {
    display: inline-block;
    overflow: hidden;
    content: "Ouvre nouvelle fenêtre";
    width: 1em;
    height: 1em;
    text-indent: 50em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794-1.414-1.414L17.585 5H13V3h8z' fill='%23F1D648'/%3E%3C/svg%3E");
    background-size: 0.8em;
    background-position: bottom;
    background-repeat: no-repeat;
    margin-left: .3em;
}

strong {
    font-variation-settings: var(--bold);
    color: var(--secondary-color);
}

button {
    border: none;
    border-radius: var(--bt-radius);
    cursor: pointer;
}

img {max-width: 100%;}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}


/* --------------------------- PAGE ---------------------------------- */

main {
    padding-bottom: calc(4rem + 1vw);
    margin: calc(1rem + 1vw) calc(1.5rem + 1vw) 0;
}


/* --------------------------- HEADER ---------------------------------- */

body > header {
    position: relative;
    padding: calc(4.5rem + 5vw) calc(1.5rem + 1vw) 0;
}

body:not(#home) > header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 2rem;
    padding: calc(1rem + 1vw) calc(1.5rem + 1vw);
}

p.logo span {height: 1cap;}

p.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(1em, calc(1em + 1vw), 2em);
    font-variation-settings: var(--medium);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: var(--text-color);

    & svg {
        flex: 0 0 35px;
    }
}

header p.logo {
    overflow: hidden;
    width: 35px;
    white-space: nowrap;
}

div.tools {
    display: flex;
    gap: 1rem;

    & button {     
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.7em;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
        color: var(--text-color);
        background-color: var(--bg-color);
        padding: 2px;
    }
    
    & span {height: 1.5cap;}
    & svg {
        width: 2.5cap;
        height: 2.5cap;
    }
}

body#home div.tools {
    position: absolute;
    top: calc(1rem + 1vw);
    right: calc(1.5rem + 1vw);
}

div.index {
    position: relative;
    z-index: 2;
}
div.svg-wrap {
    position: absolute;
    width: 100%;
    top: 2vw;
    left: -18vw;
    opacity: 0.5;
    z-index: 1;

    & path {
        stroke: var(--text-color);
    }
}


/* --------------------------- FOOTER ---------------------------------- */

div.general-footer {
    position: relative;
    min-height: clamp(100px, 150px + 1vw, 200px);
    padding: 1.5rem 0 1rem;
    background-color: var(--footer-bg);
    background-image: url(../img/logolight.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: bottom -13px;
    padding: 2rem calc(1.5rem + 1vw) 6rem;
    z-index: 2;

    & p.logo svg {
        flex: 0 0 2cap;
    }

    & p.copy {
        text-transform: uppercase;
        margin-top: 0.5rem;
    }

    & p:not(.logo) {line-height: 1.3;}
}


footer {
    margin-top: 2rem;

    & p {
        font-size: 1em;
    }
}

ul.links-list {
    display: none;
    list-style-type: none;
}


/* --------------------------- NAV ---------------------------------- */

nav {
    box-sizing: border-box;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: var(--bg-color);
    padding: 0 2vw;
    border-top: 4px solid var(--main-color);
    z-index: 10;

    & ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 1rem;
        list-style-type: none;
    }

    & li {
        font-size: 0.85em;
    }

    & a, a:visited {
        display: block;
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;
        color: var(--main-color);
        background-color: var(--bg-color);
        padding: 1.25rem 0.5rem;
    }

    & a[aria-current] {
        color: var(--main-color);
        background-color: var(--bg-color);
    }
}

/* #home nav {display: none;} */


/* --------------------------- EDITORIAL ---------------------------------- */

.editorial :is(p, dt, dd, li) {
    line-height: 1.4;
}

.editorial p + p {
    margin-top: 0.8em;
}

div.top-intro {
    max-width: 50em;
    background-color: var(--bg-color);
    backdrop-filter: opacity(20%);
    padding: calc(1rem + 3vw) 0 calc(1rem + 3vw) 10vw;
    margin-bottom: 10vw;

    & p {
        font-size: calc(1.2em + 1vw);
    }
}

h2.whole {
    position: relative;
    font-variation-settings: var(--bold);
    text-transform: uppercase;
    letter-spacing: -3px;
    color: var(--n-dark0);
    background-color: var(--bg-color);
    margin-bottom: 0.5em;
}

/* --- ARTICLE --- */

article {

    & header {
        margin-bottom: calc(3rem + 1vw);
    }

    & h1 {
        font-size: calc(1em + 6vw);
        font-variation-settings: var(--bold);
        text-transform: uppercase;
        color: var(--secondary-color);
        background-color: var(--bg-color);
        margin-bottom: 0.5rem;
    }

    & p.p-summary {
        font-size: calc(1em + 2vw);
        font-variation-settings: var(--extra-light);
        line-height: 1.1;
        margin-bottom: 0.25rem;
    }
    & p.competence {
        font-size: calc(0.85em + 1vw);
        color: var(--main-color);
        background-color: var(--bg-color);
        padding-bottom: 1rem;
        margin: calc(2rem + 2vw) 0 calc(2rem + 1vw);
        border-bottom: 1px solid var(--n-dark0);
    }
    & p.date {
        font-size: calc(0.75em + 0.5vw);
        margin-top: 0;
    }
}

div.e-content {
    max-width: 50em;
    margin-bottom: calc(2rem + 2vw);
    
    & p + p {
        margin-top: 0.8em;
    }

    ul {
        margin: 1.3em;
    }
}

picture.master-photo {
    display: block;
    margin-bottom: calc(1.5rem + 4vw);

    & img {width: 100%;}
}

article > div.wrapper {
    display: flex;
    flex-direction: column;

    & header {order: 1; margin-bottom: 0;}
    & section.audio-wrap {
        order: 2;
        margin-bottom: calc(2rem + 1vw);
    }
    & .e-content {order: 3;}
}

.credit {
    font-size: 0.9em;
}
div.e-content span.credit {
    font-size: 70%;
}

p.photo, div.e-content p + p.photo {
    margin: calc(2rem + 1vw) 0;
}

p.main-photo {
    margin: calc(2rem + 1vw) 0;

    & img.jlb {
        width: 100%;
    }
}

div.credits {
    display: grid;
    grid-template-columns: max-content auto;
    margin-top: calc(2rem + 2vw);
    border-top: 1px solid var(--n-dark0);

    & h2 {
        font-size: 1.5em;
        text-transform: uppercase;
        font-variation-settings: var(--medium);
        color: var(--text-color);
        background-color: var(--bg-color);
        padding: 1.5rem 1.5rem 0 0;
    }

    & dl {        
        padding-top: 1.5rem;
        border-left: 1px solid var(--n-dark0);
    }

    & dt {
        font-size: 1.1em;
        text-transform: uppercase;
        padding-left: 1.5rem;
    }

    & dd {
        padding-left: 1.5rem;
        font-size: calc(0.95em + 0.5vw)
    }

    & dd + dt {
        padding-top: 1em;
        margin-top: 0.8em;
        border-top: 1px solid var(--n-dark0);
    }
}

div.inner-nav ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    list-style-type: none;
    text-transform: uppercase;
    margin: calc(2rem + 2vw) 0 0;

    & li {
        line-height: 1.2;
        font-variation-settings: var(--regular);
    }

    & li a {
        font-size: 1.1rem;        
        text-decoration: none;
        color: var(--text-color);
        background-color: var(--bg-color);
        background-repeat: no-repeat;
        background-size: 1.3rem;
    }

    & li a:hover {
        color: var(--main-color);
    }

    & li:first-of-type a {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFF'%3E%3Cpath d='M8 12L14 6V18L8 12Z'%3E%3C/path%3E%3C/svg%3E");
        background-position: 0 0.1em;
        padding-left: 30px;
    }
    
    & li:last-of-type a {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFF'%3E%3Cpath d='M16 12L10 18V6L16 12Z'%3E%3C/path%3E%3C/svg%3E");
        background-position: right 0.1em;
        padding-right: 30px;
    }
}


/* -------------------------------- HOME ---------------------------- */


div.intro {
    max-width: 35em;
    background-color: var(--bg-color);
    padding: 2.5vw;
    margin-left: 10vw;
    margin-bottom: 10vw;
    border-left: 1px solid var(--n-dark0);

    & p {
        font-size: calc(1em + 0.9vw);
        line-height: 1.3;
    }
}

section.main {
    position: relative;
    margin-bottom: 15vw;

    & div.content {
        background-color: var(--bg-color);
    }

    & h2.whole {
        width: fit-content;
        font-size: clamp(1.5em, calc(1vw * 15.5), 9em);
    }
}

p.picture {
    width: 45vw;
    max-width: 200px;

    & svg {
        width: 200px;
        height: 182px;
    }
}

div.skill p {line-height: 1.3;}

div.skill + div.skill {
    margin-top: calc(2rem + 1vw);
}

section.work {
    position: relative;

    & h2.whole {
        font-size: clamp(1.5em, calc(1vw * 19), 9em);
    }
}

div.work-intro {
    margin: 5vw 0 10vw 10vw;

    & p {
        font-size: clamp(1em, calc(1em + 0.5vw), 2.2em);
    }
}

@keyframes high1 {
    0% {height: 0px;}
    25% {height: 20px;}
    50% {height: 15px;}
    75% {height: 6px;}
    100% {height: 10px;}
}
@keyframes high2 {
    0% {height: 0px; background-color: var(--text-color);}
    25% {height: 25px;}
    50% {height: 5px;}
    75% {height: 18px; background-color: var(--main-color);}
    100% {height: 3px;}
}
@keyframes high3 {
    0% {height: 0px;}
    25% {height: 13px;}
    50% {height: 2px;}
    75% {height: 25px;}
    100% {height: 10px;}
}

ul.work-list {
    list-style-type: none;

    & li {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        max-width: 250px;
        line-height: 1.2;
        text-align: center;
        padding: calc(2.5rem + 2vw) 0;
        margin: 0 auto;
    }

    & p {
        display: flex;
        flex-direction: column;
        font-size: 100%;
        line-height: 1;
    }

    & li + li {
        padding-top: 0;
    }

    & li::before, li::after, li span::before {
        position: absolute;
        display: block;
        content: "";
        width: 20px;
        height: 0px;
        background-color: var(--text-color);
        transition: all 1s;
        z-index: 3;
    }

    & li::before {
        bottom: 50%;
        left: calc(50% - 35px);
    }
    & li::after {        
        bottom: 50%;
        left: calc(50% - 10px);
    }
    & li span::before {
        bottom: 50%;
        left: calc(50% + 15px);
    }

    & span {
        display: block;
        font-size: clamp(0.95rem, 90%, 1.25rem);
        margin-top: 0.5rem;
    }

    & strong {        
        display: block;
        font-size: clamp(0.95rem, 90%, 1.25rem);
        font-variation-settings: var(--regular);
    }
}

ul.work-list a {
    display: block;
    font-variation-settings: var(--bold);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

ul.work-list a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

ul.work-list a:hover::after {
    backdrop-filter: brightness(160%);
}



/* --------------------------- WORK ENTRIES ----------------------------- */

section.work-entry {
    max-width: 75rem;

    & h2 {
        font-size: calc(1.5em + 1.5vw);
        font-variation-settings: var(--regular);
        margin-bottom: 0.25em;
    }

    & p {
        font-size: calc(0.95em + 0.5vw);
    }

    & li {
        font-size: calc(0.85em + 0.4vw);
        line-height: 1.3;
    }

    & ul {margin: 1em;}

    & div.group {        
        margin: 1.5rem 0;
    }

    & dl {
        padding: 0.5rem 0;
        margin-bottom: 1.5rem;
        border-top: 1px dotted currentColor;
        border-bottom: 1px dotted currentColor;
    }

    & dl div {
        display: grid;
        grid-template-columns: 3em auto;
        gap: 1.5rem;
    }

    & div + div {margin-top: 0.5rem;}

    & dt {
        text-transform: uppercase;
        font-size: clamp(0.75em, calc(0.7em + 0.5vw), 1em);
    }

    & dd {
        font-size: clamp(0.85em, calc(0.95em + 0.5vw), 1.1em);
        line-height: 1.2;
    }

    & figure.player {
        background-color: var(--body-bg);
        padding: 0;
    }

    & div.sound {
        align-items: center;
    }

    & p.illustration {display: none;}

    & p.illustration img {
        vertical-align: bottom;
    }
}


section.work-entry + section.work-entry {
    margin-top: calc(4rem + 3vw);
}


/* --------------------------- PLAYER ---------------------------------- */

div.video-wrap {
        position: relative;
        width: 100%;
        max-width: 50em;
        height: 0;
        padding-bottom: 56.25%; 
        margin: calc(1.5rem + 1vw) 0;
        border: 1px solid var(--secondary-color);

      & iframe {
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
      }
} 

div.video-wrap.foxes {
    height: fit-content;
    padding-bottom: 0;
}

section.audio-wrap {
    box-sizing: border-box;
    /* max-width: 50em; */
    background-color: var(--n-dark1);
    padding: calc(1.5rem + 1vw);

    & h2 {
        background-color: rgba(0,0,0,0);
    }
}

figure.player {
    display: flex;
    flex-direction: column-reverse;

    & figcaption {
        font-size: 1.2em;
        margin: 0.75rem 0 0 calc(35px + 1rem);
    }
}

figure.player + figure.player {
    margin-top: 3rem;
}

div.sound {
    display: grid;
    grid-template-columns: 35px auto;
    align-items: end;
    gap: 1rem;
}

button[data-playing] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: rgba(0,0,0,0);
    border: 2px solid var(--main-color);
    transition: all 0.5s;

    & svg {fill: var(--main-color);}
}
button[data-playing]:hover {
    background-color: var(--main-color);
    border-width: 4px;
    border-radius: 0.2em;

    & svg {
        fill: var(--bg-color);
        pointer-events: none;
    }
}

button[aria-checked=false] svg.play {display: block;}
button[aria-checked=false] svg.pause {display: none;}
button[aria-checked=true] svg.play {display: none;}
button[aria-checked=true] svg.pause {display: block;}
/* button[data-playing=false] svg.play {display: block;}
button[data-playing=false] svg.pause {display: none;}
button[data-playing=true] svg.play {display: none;}
button[data-playing=true] svg.pause {display: block;} */

@keyframes shine {
    0% {text-shadow: none;}
    50% {text-shadow: 0 0 13px rgb(255, 255, 255);}
    100% {text-shadow: none;}
}
@keyframes slideUp {
    0% {translate: 0;}
    100% {translate: 0 -3rem;}
}

div.slider {
    display: none;
    background-color: var(--bg-color);
    margin-bottom: 10vw;

    & h2 {
        font-size: clamp(1em, calc(1em + 0.5vw), 1.5em);
        color: var(--main-color);
        background-color: transparent;
    }

    & ul {
        /* display: flex; */
        overflow: hidden;
        height: calc(3cap + 1vw);
        list-style-type: none;
    }

    & li {
        font-size: clamp(2em, calc(2em + 0.5vw), 2.5em);
        text-transform: uppercase;
        padding-top: 0.25em;
        animation: 1s slideUp forwards, 1s shine 1s;
    }
}


/* ---------------------------- UTILITIES --------------------------------- */

.frame {
    border: 1px solid var(--n-dark0);
}


/***************************************************
 * Generated by SVG Artista on 10/27/2024, 12:56:55 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/

 svg.sound .svg-elem-1 {
    stroke-dashoffset: 982.32177734375px;
    stroke-dasharray: 982.32177734375px;
    transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
  }
  
  svg.sound.active .svg-elem-1 {
    stroke-dashoffset: 1964.6435546875px;
  }
  
  svg.sound .svg-elem-2 {
    stroke-dashoffset: 693.6292114257812px;
    stroke-dasharray: 693.6292114257812px;
    transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.12s;
  }
  
  svg.sound.active .svg-elem-2 {
    stroke-dashoffset: 1387.2584228515625px;
  }
  
  svg.sound .svg-elem-3 {
    stroke-dashoffset: 512.2031555175781px;
    stroke-dasharray: 512.2031555175781px;
    transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.24s;
  }
  
  svg.sound.active .svg-elem-3 {
    stroke-dashoffset: 1024.4063110351562px;
  }
  
  svg.sound .svg-elem-4 {
    stroke-dashoffset: 834.7037963867188px;
    stroke-dasharray: 834.7037963867188px;
    transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.36s;
  }
  
  svg.sound.active .svg-elem-4 {
    stroke-dashoffset: 1669.4075927734375px;
  }
  

/* ----------------- A PROPOS ------------- */

div.main-photo {
    margin: 5vw 0;
}

p.main-photo.contact {
    display: none;
}


/* ---------------------------- MEDIA QUERIES --------------------------------- */

@media (prefers-reduced-motion) {
    * {
        animation-name: none;
        animation-duration: 0s;
    }
}

@media screen and (min-width: 25rem) {
    section.work-entry div.group {
        display: grid;
        grid-template-columns: 90px auto;
        align-items: center;
        gap: 1.5rem;
    }

    section.work-entry p.illustration {
        display: block;
    }
}

@media screen and (min-width: 31rem) {
    nav li {
        font-size: calc(0.95em + 0.75vw);
    }
    ul.work-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 300px));
        gap: 4vw;
        max-width: 1200px;
        margin: 5vw auto;
    }
    ul.work-list li {
        padding: 0;
    }
    header p.logo {
        position: static;
        overflow: visible;
        width: 40%;
        top: calc(1rem + 1vw);
        width: 50%;
        white-space: initial;
    }
    header p.logo svg {
        flex: 0 0 2cap;
    }

    section.work-entry div.content {
        margin-left: calc(90px + 1.5rem);
    }
}

@media screen and (min-width: 37rem) {    
    article {
        margin-left: calc(3rem + 1vw);

        & header p {
            margin-left: 0.5rem;
        }
    }

    div.inner-nav {
        margin-left: calc(3rem + 1vw);
    }    

    section.work-entry {
        & dl {
            display: flex;
            gap: 1.5rem;
            padding: 0;
        }
        & dl div {
            display: block;            
            padding: 0.5rem 0;
        }
        
        & dl div + div {
            padding: 0.5rem 0 0.5rem 1rem;
            margin-top: 0;
            border-left: 1px dotted currentColor;
        }
    }
}

@media screen and (min-width: 59rem) {
    article > h1 {
        margin-bottom: calc(3rem + 5vw);
    }
    div.grid-1-1 {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        align-items: start;
        gap: 5vw;
    }
    p.main-photo {
        position: relative;
        margin: 0;
    }
    p.main-photo.contact {
        display: block;
    }
}

@media screen and (min-width: 62rem) {
    section.work-entry {
        position: relative;
        padding-left: 200px;

        & div.group {display: block;}

        & div.content {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            align-items: start;
            gap: 5vw;
            margin-left: 0;
        }

        & dl {order: 2;}

        & p.illustration {
            position: absolute;
            width: 170px;
            top: 0;
            left: 0;
        }
        & figure.player {
            margin: 0 0 2.5rem;
        }
    }
}

@media screen and (min-width: 35rem) and (max-width: 65rem) {    
    div.skill {
        display: grid;
        grid-template-columns: 200px auto;
        align-items: center;
        gap: 0 4vw;
    }
}


@media screen and (min-width: 62.5rem) { 
    section.work .wrap {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 8vw;
        max-width: 1700px;
    }
}

@media screen and (min-width: 65rem) {
    article.h-entry div.wrapper {
        display: grid;
        grid-template-columns: auto 0.5fr;
        align-items: start;
        gap: 0 8vw;
        max-width: 87rem;
        margin: 0 auto;

        & header {margin-bottom: calc(3rem + 1vw);}
        & .e-content {order: 2;}
        & section.audio-wrap {order: 3;}
    }
    article.h-entry header, article.h-entry picture {
        grid-column: 1/span 2;
    }    

    section.audio-wrap {
        max-width: 50rem;
        min-width: 334px;
    }

    div.e-content {margin-bottom: 0;}
    
    section.main div.content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3vw 10vw;
        max-width: 1200px;
        margin: 0 auto;
    }

    div.skill + div.skill {margin-top: 0;}

    div.video-wrap:last-child {
        margin-bottom: 0;
    }
}


@media screen and (min-width: 75rem) {
    footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

@media screen and (min-width: 87.5rem) {
    nav {
        position: relative;
        background-color: rgba(0,0,0,0);
        padding-left: 0;
        margin-left: calc(3.5rem + 1vw);
        border-top: 1px solid var(--n-medium);

        & ul {
            justify-content: flex-start;
            gap: 8vw;
            margin-left: -0.5rem;
        }

        & a:not([aria-current]), a:visited:not([aria-current]) {
            color: var(--text-color);
            background-color: rgba(0,0,0,0);
        }

        & a:not([aria-current]):hover {
            color: var(--main-color);
        }
    }

    #home nav {
        margin-left: 0;
        margin-top: calc(2.5rem + 1vw);
        border-bottom: 1px solid var(--n-medium);
    }

    ul.links-list {
        position: absolute;
        display: flex;
        justify-content: flex-end;
        gap: 2rem;
        width: 50%;
        top: 3rem;
        right: calc(1.5rem + 1vw);
    }

    ul.links-list li {
        font-size: clamp(0.95em, calc(0.95em + 0.75vw), 1.2em);
    }

    ul.links-list a, ul.links-list a:visited {
        text-decoration: none;
        color: var(--body-text);
    }
    ul.links-list a:hover {
        color: var(--main-color);
    }

    div.general-footer {margin-bottom: 0;}
    footer {
        position: absolute;
        width: calc(100% - calc(3rem + 2vw));
        bottom: 1.5rem;
    }
}