/*
Theme Name: Darwin Thème
Theme URI: https://www.darwin-partners.com/
Author: Nexsol Tech
Author URI: https://nexsol.tech
Description: UThème WP du site web de Darwin.
Version: 1.0
License: Apache 2.0
License URI: https://www.apache.org/licenses/LICENSE-2.0
Text Domain: darwin-theme
*/

:root {
    --primary: #16A085;
    --primary-pastel: #BCFFF1;
    --accent: #2980B9;
    --accent-pastel: #90C0E0;
    --grey: #69686D;
    --grey-pastel: #959FA8;
    --ardoise: #2C3E50;
    --text-color: black;

    --linear-gradient: linear-gradient(130deg, rgba(144, 192, 224, 0.8) 0%, rgba(188, 255, 241, 0.8) 50%, rgba(188, 255, 241, 0.4) 100%);
}

html,
body {
    font-family: "Nunito", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

header,
main .container>*,
footer,
.sub-header h1 {
    width: 100%;
    max-width: clamp(320px, 90vw, 1280px);
    margin: 0 auto;
    padding: 0 16px;
    z-index: 1;
}

main {
    position: relative;
}

.mobile-menu-overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed;
    /* Stay in place */
    z-index: 999;
    /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    /* Black fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/opacity */
    overflow-x: hidden;
    /* Disable horizontal scroll */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.mobile-menu-overlay.active {
    width: 100%;
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%;
    /* 25% from the top */
    width: 100%;
    /* 100% width */
    text-align: center;
    /* Centered text/links */
    margin-top: 30px;
    /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.overlay-content a {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #FFF;
    text-decoration: none;
    display: block;
}

/* Position the close button (top right corner) */
.mobile-menu-overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

.full-height {
    height: 80vh;
}

.full-height img {
    object-fit: contain;
}

h2.wp-block-heading strong,
.gradient-text {
    background-image: linear-gradient(130deg, var(--primary), var(--accent));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    padding-left: 0;
    display: inline;
    overflow: visible;
    font-weight: inherit;
}

.background-gradient {
    position: relative;
    background: var(--linear-gradient);
    z-index: -1;
    max-width: initial !important;
    padding: 0 !important;
    margin: 0 auto;
}

.background-gradient>* {
    position: relative;
    z-index: 1;
    max-width: clamp(320px, 90vw, 1280px);
    padding: 0 16px;
    margin: 0 auto;
}

.background-gradient:before,
.white-blur {
    content: '';
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.3) 21%, rgba(255, 255, 255, 0.1) 62%, rgba(255, 255, 255, 1) 100%);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 3rem;
    box-sizing: border-box;
}

header img {
    max-width: 128px;
}

#menu-btn {
    position: absolute;
    top: -1000%;
    left: -1000%;
}

.menu-icon {
    visibility: hidden;
}

nav {
    background-color: var(--ardoise);
    border: 1px solid var(--ardoise);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 16px;
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

header.active nav {
    opacity: 0.8;
    transition: opacity 200ms ease;
}

header.active nav:hover {
    opacity: 1;
}

nav ul {
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}

nav ul li {
    list-style-type: none;
}

nav ul li a {
    border-radius: 8px;
    color: inherit;
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    transition: all 200ms ease;
}

nav ul li a:hover {
    color: #FFF;
}

nav ul li.current-menu-item a {
    background-color: var(--primary);
    color: #FFF;
    font-weight: bold;
}

h1 {
    font-size: 64px;
    font-weight: bold;
    text-align: center;
}

button.clear {
    align-items: center;
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    border-radius: 12px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    font-weight: bold;
    gap: 10px;
    padding: 10px 16px;
}

button.clear img {
    height: 16px;
    width: 16px;
}

button.clear:hover {
    background-color: color-mix(in srgb, var(--primary) 30%, transparent);
}

.wp-block-button__link,
div.wpforms-container-full button[type=submit].wpforms-submit,
button {
    align-items: center;
    background-color: var(--primary) !important;
    border-radius: 12px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    transition: background-color 200ms ease;
}

.wp-block-button__link img,
button img {
    height: 16px;
    width: 16px;
}

.wp-block-button__link:hover,
button:hover {
    background-color: color-mix(in srgb, var(--primary) 80%, transparent);
}

.wpforms-field-container input,
.wpforms-field-container select {
    width: 100% !important;
    max-width: unset !important;
}

.contact-block .wp-block-column.contact-figure {
    align-items: center;
    display: flex;
}

.sub-header {
    position: relative;
    background: var(--linear-gradient);
}

.sub-header h1 {
    position: relative;
    z-index: 2;
}

.mountain-container {
    position: relative;
    width: 100vw;
    height: calc(100vh + 300px);
    overflow: hidden;
    /* perspective: 100px; */
}

.clouds {
    width: 100%;
}

.mountain {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s linear;
    will-change: transform;
}

.mountain:nth-child(1) {
    transform: translateY(calc(var(--scroll) * -0.05px));
    top: -120px;
    z-index: 1;
}

.mountain:nth-child(2) {
    transform: translateY(calc(var(--scroll) * -0.07px));
    top: 100px;
    left: 0;
    z-index: 2;
}

.mountain:nth-child(3) {
    transform: translateY(calc(var(--scroll) * -0.09px));
    top: 300px;
    z-index: 3;
}

.mountain:nth-child(4) {
    transform: translateY(calc(var(--scroll) * -0.11px));
    top: 160px;
    z-index: 4;
}

.mountain:nth-child(5) {
    /* transform: translateY(calc(var(--scroll) * -0.13px)); */
    top: 60px;
    z-index: 5;
}

.mountain:nth-child(6) {
    /* transform: translateY(calc(var(--scroll) * -0.06px)); */
    top: unset;
    bottom: 0;
    z-index: 6;
}

.mountain:nth-child(7) {
    top: 300px;
    z-index: 7;
}

.down-mountain-container {
    background: white;
    overflow: visible;
    position: relative;
    width: 100vw;
    height: 200px;
}

.down-mountain-container:after {
    content: '';
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(180deg, rgba(0, 23, 22, 1) 0%, rgba(0, 23, 22, 1) 70%, rgba(255, 255, 255, 1) 72%, rgba(255, 255, 255, 1) 100%);
    z-index: 10;
}

.mountain.white-mountain {
    transform: unset;
    z-index: 11;
    height: auto;
    bottom: 0;
    top: unset;
}

#Sophia:hover,
#Flo:hover,
#Ludi:hover {
    cursor: pointer;
    opacity: 0.8;
}

.blocs {
    gap: 2rem;
    margin-bottom: 0 !important;
    padding-bottom: 25vh !important;
}

.blocs h1 {
    margin: 0 auto;
}

.blocs>.wp-block-columns {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    position: sticky;
    top: 10vh;
    min-height: 650px;
}

.blocs>.wp-block-columns .wp-block-columns {
    width: 100%;
}

.blocs>.wp-block-columns.wp-container-core-columns-is-layout-1 {
    top: 8vh;
}

.blocs>.wp-block-columns.wp-container-core-columns-is-layout-3,
.blocs>.wp-block-columns.wp-container-core-columns-is-layout-4 {
    top: 12vh;
}

.blocs>.wp-block-columns>div {
    border-radius: 12px;
    padding: 1rem 2rem;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.blocs h3 {
    font-size: 1.8rem;
}

.blocs figure {
    border-radius: 12px;
}

.blocs .kpi {
    text-align: center;
    width: 100%;
    font-size: 48px;
    display: block;
    font-weight: bold;
    margin: 3rem 0 0 0;
}

.line-animation {
    z-index: -1;
    position: sticky;
    inset: 0;
    top: 0;
    margin-left: -50px;
    overflow-x: clip;
    overflow-y: visible;
}

.line {
    width: 100%;
    height: 100%;
    position: absolute;
}

.line svg {
    stroke-dasharray: 8000;
    stroke-dashoffset: 8000;
    transition: stroke-dashoffset 0.5s ease;
}

main .computer-container {
    width: 100%;
    z-index: 100;
    scale: 0.8;
    transition: scale 500ms linear;
    margin-bottom: 80px;
}

main .computer-container.visible {
    scale: 1;
}

/*.kpi .kpi-item {
    background-color: #ebebeb;
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    overflow: hidden;
}

.kpi .kpi-item h2 {
    font-size: 2rem;
    margin: 0;
}

.kpi .kpi-item>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi .kpi-item.kpi-img {
    padding: 0;
}

.kpi .kpi-item.kpi-img figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

.kpi .kpi-item.kpi-img figure img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.kpi .kpi-item>div.number {
    align-items: center;
    flex: 0 1 25%;
}

.kpi p.title {
    font-weight: bold;
    margin: 0;
    font-size: 1.2rem;
    ;
}

.kpi p {
    margin-bottom: 0;
}*/

.computer {
    background: rgb(144, 192, 224);
    background: linear-gradient(130deg, rgba(144, 192, 224, 0.8) 0%, rgba(188, 255, 241, 0.8) 50%, rgba(188, 255, 241, 0.4) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
}

.bento {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.bento.visible {
    opacity: 1;
    transform: scale(1);
}

.bento>div {
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: scale 200ms ease, opacity 0.6s ease-out, transform 0.6s ease-out;
}

.bento.visible>div:hover {
    scale: 0.95;
}

.bento.visible>div:not(:hover):nth-child(1) {
    transition-delay: 0.2s;
}

.bento.visible>div:not(:hover):nth-child(2) {
    transition-delay: 0.4s;
}

.bento.visible>div:not(:hover):nth-child(3) {
    transition-delay: 0.6s;
}

.bento.visible>div {
    opacity: 1;
    transform: translateY(0);
}

.bento h2.right {
    position: absolute;
    font-size: 2.5rem;
    right: 1rem;
    top: 0;
    margin: 0;
}

.bento img {
    width: 100%;
    max-width: 450px;
}

.bento>div.grey {
    background-color: #E9E9E9;
}

.bento>div.green {
    background-color: var(--primary);
    color: #FFF;
    font-size: 2rem;
    text-align: center;
}

#sectors {
    margin-top: 20vh;
    text-align: center;
}

#sectors p {
    text-align: initial;
}

#sectors h2,
#certifications h2 {
    font-size: 2.5rem;
    text-align: center;
}

#sectors span.material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--primary);
}

#sectors .sectors-blocs {
    flex: 1 1 auto;
    z-index: 1;
}

#sectors .wave-container {
    margin: 1rem 0;
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fafafa;
}

#sectors .wave-container>div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.5rem;
}

.wave {
    position: absolute;
    aspect-ratio: 16 / 9;
    height: 250%;
    opacity: 0.6;
    left: 0;
    top: 0;
    margin-left: 15%;
    margin-top: -70%;
    /* background: linear-gradient(744deg, #2980B9, #16A085 60%, #2980B9); */

    background: linear-gradient(744deg, color-mix(in srgb, #2980B9 20%, transparent), color-mix(in srgb, #16A085 20%, transparent) 60%, color-mix(in srgb, #2980B9 20%, transparent));
    z-index: 0;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

.wave {
    border-radius: 40%;
    animation: wave 10s infinite linear;
}

.wave:nth-child(2) {
    animation-duration: 11s;
}

.wave:nth-child(3) {
    animation-duration: 12s;
}

.logo-center {
    padding: 60px 0;
    justify-content: center;
}

.logo-center figure {
    display: flex;
    justify-content: center;
    max-width: 450px;
    justify-self: center;
    z-index: 1;
}

#sectors .sector {
    align-items: center !important;
}

#sectors .sector>div:first-child {
    flex: 0 0 44px;
}

#nous-choisir {
    position: relative;
    min-height: 220vh;
}

#nous-choisir .wp-block-group__inner-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Blocs principaux */
#nous-choisir .wp-block-group__inner-container .wp-block-columns:first-child {
    position: relative;
    display: flex;
    align-items: center !important;
    justify-content: space-between;
}

/* Les glassy (les blocs gauche et droit) */
#nous-choisir .wp-block-group__inner-container .wp-block-columns:first-child .glassy {
    transition: opacity 0.8s ease;
}

#nous-choisir .wp-block-group__inner-container .wp-block-columns:first-child .glassy.left {
    padding-right: 10%;
    flex: 1 1 60%;
    opacity: 1;
    height: fit-content;
}

#nous-choisir .wp-block-group__inner-container .wp-block-columns:first-child .glassy.right {
    padding-left: 10%;
    flex: 1 1 40%;
    opacity: 0;
    text-align: right;
}

#nous-choisir .wp-block-group__inner-container .wp-block-columns:first-child .glassy.right .wp-block-buttons {
    justify-content: flex-end;
}

/* Console (dernier bloc) */
#nous-choisir .wp-block-group__inner-container .wp-block-columns:last-child {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(100%, -50%);
    transition: transform 0.8s ease;
    min-height: 40%;
    width: 50%;
}

/* ÉTAT SCROLLÉ */
#nous-choisir.scrolled .wp-block-group__inner-container .wp-block-columns:first-child .glassy.left {
    opacity: 0;
    flex: 1 1 40%;
    height: 0;
}

#nous-choisir.scrolled .wp-block-group__inner-container .wp-block-columns:first-child .glassy.right {
    opacity: 1;
    flex: 1 1 60%;
    height: fit-content;
}

#nous-choisir.scrolled .wp-block-group__inner-container .wp-block-columns:last-child {
    transform: translate(0, -50%);
}

/* Responsive */
@media (max-width: 992px) {
    #nous-choisir {
        height: fit-content;
        min-height: auto;
    }

    #nous-choisir .wp-block-group__inner-container {
        position: relative;
        top: auto;
        height: auto;
        overflow: visible;
    }

    #nous-choisir .wp-block-group__inner-container .wp-block-columns:first-child {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        pointer-events: auto;
    }

    #nous-choisir .wp-block-group__inner-container .wp-block-columns:first-child .glassy {
        margin: 0 auto;
        opacity: 1 !important;
        /* Forcer visible */
        flex: none;
        transform: none !important;
        /* Supprimer toute translation éventuelle */
    }

    #nous-choisir .wp-block-group__inner-container .wp-block-columns:last-child {
        position: relative;
        /* Au lieu de static pour éviter que la console remonte sur la glassy */
        top: auto;
        left: auto;
        right: auto;
        transform: none !important;
        transition: none;
        margin-top: 30px;
        width: 100%;
        min-height: auto;
    }
}


.glassy {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.6px);
    -webkit-backdrop-filter: blur(3.6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    gap: 1rem;
    padding: 1rem;
}

.glassy h2 {
    margin-top: 0;
    font-size: 2.5rem;
}

.console {
    font-family: 'Roboto Mono';
    border-radius: 0 0 12px 12px;
    background-color: #FFF;
    position: relative;
    margin-top: 40px !important;
    padding: 1rem;
}

.console-header {
    position: absolute;
    top: -40px;
    border-radius: 12px 12px 0 0;
    background-color: #E2E8F0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.console-header:before {
    content: '🟢 🟠 🔴';
    left: 1rem;
    position: inherit;
}

.console p {
    margin: 0;
}

.console strong {
    background-image: linear-gradient(130deg, var(--primary), var(--accent));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    padding-left: 0;
    display: inline;
    overflow: visible;
    font-size: 1.1rem;
    text-transform: uppercase;
}

#certifications .wp-block-group__inner-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 10vh !important;
}

.medals {
    margin-top: 5vh !important;
}

.medals .wp-block-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.medals img {
    max-width: 400px;
}

.contact-links {
    text-align: center;
    padding: 20vh 16px !important;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-links img {
    width: 350px !important;
    max-width: 100%;
}

.contact-links h1 {}

.contact-links .wp-block-buttons {
    justify-content: center;
    gap: 2rem;
}

footer {
    padding: 32px 16px;
}

footer section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

footer section aside {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
}

footer section aside h2 {
    margin: 0;
}

footer section article {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
}

footer section article .container {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
    flex: 1 1 100%;
    flex-wrap: wrap;
}

footer section article .title {
    color: #000;
    font-weight: bold;
    font-size: 20px;
}

footer section article ul {
    padding: 0;
}

footer section article ul li,
footer section article p {
    color: var(--grey);
    font-family: 'Roboto Mono';
    list-style-type: none;
    margin-bottom: 0.5rem;
}

footer section article ul li a {
    color: inherit;
    text-decoration: none;
}

footer section article ul li a:hover {
    text-decoration: underline;
}

footer section article ul li:before {
    content: '>_';
    margin-right: 0.2rem;
}

footer h2 {
    font-weight: bold;
    font-size: 40px;
}

.bottom-bar {
    padding: 32px 16px;
    border-top: 1px solid color-mix(in srgb, #16A085 30%, transparent);
    ;
}

.wp-block-button#join-us {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    color: #FFF;
    z-index: 10000;
    text-align: center;
}

.wp-block-button#join-us a {
    cursor: pointer;
    gap: 10px;
    width: 64px;
    height: 64px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 1000px !important;
}

.wp-block-button#join-us a .txt {
    background-color: #fafafa;
    position: absolute;
    right: 80%;
    bottom: 60%;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 12px;
    padding: 0.5rem;
    width: fit-content;
    display: block;
    min-width: 160px;
    font-family: 'Roboto Mono';
    text-align: center;
    text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff,
        1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
    transition: all 200ms ease;
}

.wp-block-button#join-us:hover a {
    background-color: #fafafa !important;
    color: var(--primary);
}

.wp-block-button#join-us:hover a .txt {
    background-color: var(--primary);
    color: #FFF;
    text-shadow: none;
}


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

@media screen and (max-width: 991px) {
    h1 {
        padding-left: 0;
        padding-right: 0;
        font-size: 58px;
    }

    .computer .mySlides .text p {
        display: none;
    }
}

@media screen and (max-width: 479px) {
    footer section article .title {
        text-align: center;
    }

    footer section article li {
        text-align: center;
    }

    footer section article li:before {
        display: none;
    }

    .mountain-container {
        height: 50vh;
    }

    .mountain:not(.white-mountain):nth-child(1) {
        display: none;
    }


    h1 {
        letter-spacing: 0;
        padding-left: 0;
        padding-right: 0;
        font-size: 48px;
    }

    .computer .mySlides h1 {
        font-size: 1.5rem;
    }

    .computer .mySlides img {
        display: none;
    }

    .line-animation {
        display: none;
    }

    .console-header {
        padding-left: 90px;
    }
}

@media screen and (max-width: 1100px) {

    header button.clear {
        display: none;
    }

    nav {
        right: 1rem;
        left: unset;
    }

    nav ul {
        display: none;
    }

    .menu-icon {
        grid-area: hamburger;
        cursor: pointer;
        display: flex;
        justify-content: flex-end;
        align-items: baseline;
        /* padding: 30px 20px 30px 0; */
        padding: 1rem;
        position: relative;
        user-select: none;
        visibility: visible;
    }

    .navicon {
        background: #FFF;
        display: block;
        height: 4px;
        width: 24px;
        position: relative;
    }

    .navicon:before {
        top: 8px;
    }

    .navicon:after {
        top: -8px;
    }

    .navicon:before,
    .navicon:after {
        background: #FFF;
        display: block;
        width: 100%;
        height: 100%;
        content: "";
        position: absolute;
        transition: all 0.2s ease-out;
    }

    .menu-btn:checked~.menu {
        max-height: 240px;
    }

    .menu-btn:checked~.menu-icon .navicon {
        background: transparent;
    }

    .menu-btn:checked~.menu-icon .navicon:before {
        transform: rotate(-45deg);
    }

    .menu-btn:checked~.menu-icon .navicon:after {
        transform: rotate(45deg);
    }

    .menu-btn:checked~.menu-icon .navicon:before,
    .menu-btn:checked~.menu-icon .navicon:after {
        top: 0;
    }
}


/** KEYFRAMES **/

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/** Surcharge plugin linkedin **/

body .sk-ww-linkedin-page-jobs .sk-job-date {
    opacity: .6;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.sk-ww-linkedin-page-jobs a.sk-button {
    opacity: 0 !important;
    transition: opacity 200ms ease;
    position: absolute;
    top: -1rem;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sk-ww-linkedin-page-jobs .sk-job-item:hover a.sk-button {
    opacity: 0.8 !important;
    background-color: var(--primary) !important;
}

body .sk-ww-linkedin-page-jobs .sk-job-body {
    align-self: flex-start;
}