.hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.no-js__message {
    display: block;
    background: tomato;
    padding: 2rem;
    margin: 0 0 1rem;
    z-index: 99;
    font-weight: 700
}

.js-enabled .no-js__message {
    display: none
}

.no-js__message a:hover, .no-js__message a:focus {
    color: #000000;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 0.625rem;
    z-index: 100;
}

.skip-link:focus {
    top: 10px;
}

.a__link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container__link {
    position: relative;
    text-align: center;
}

.li__element {
    filter: grayscale(100%) opacity(70%);
    text-transform: uppercase;
}

.li__element:hover, .li__element:focus {
    filter: grayscale(0%) opacity(100%);
}

.sro {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

abbr {
    text-decoration: none;
}

.divider {
    background: url('../../img/background/divider.webp') repeat center;
    width: 100%;
    height: 4.688rem;
}

body {
    font-family: "TT Supermolot Neue Trl Variable", sans-serif;
    font-size: 1rem;
    background-color: black;
    color: white;
    margin: 0;
}

ul {
    list-style: none;
}

header {
    display: flex;
    align-items: center;
    gap: 10em;
    height: 6.25rem;
    padding: 0 3vw;
    justify-content: center;
}

.nav ul {
    display: flex;
    gap: 2vw;
}

.nav ul li {
    align-content: center;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.nav ul li a:hover, .nav ul li a:focus {
    color: #000000;
    transition: color 0.3s ease;
}

a {
    text-decoration: none;
    color: white;
    text-align: center;
}

.menu {
    display: flex;
    align-items: center;
    gap: 2.625em;
}

.menu div:first-child {
    background-color: #72a846;
    padding: 0.5em;
    text-transform: uppercase;
}

select {
    -webkit-appearance: none;
    border: none;
    background: none;
    color: white;
}

.introduction {
    display: flex;
    justify-content: center;
    height: 35.938rem;
    padding: 4.25rem 1.875rem 6.688rem;
    margin-top: -6.25rem;
    gap: 5.125rem;
    background-image: url("../../img/background/back.webp");
    background-size: cover;
    background-position: center;
}

#presentation {
    display: flex;
    flex-direction: column;
    max-width: 31.188rem;
}

#presentation h2 {
    order: 1;
    text-align: center;
    font-size: clamp(1.125rem, 5vw, 2.063rem);
    margin-top: 2.5rem;
}

#presentation #video {
    order: 2;
    position: relative;
    top: 1.25rem;
}

#presentation #video img, #presentation #video svg {
    position: absolute;
    left: 1.219rem;
}

#presentation #video svg {
    top: 5.563rem;
    left: 12.313rem;
}

#disponible ul {
    display: flex;
    gap: 1.875rem;
    margin-top: 1.75rem;
    justify-content: space-evenly;
    text-align: center;
}

#disponible {
    max-width: 49rem;
    align-self: flex-end;
    height: 17.125rem;
}

#disponible p:first-child {
    display: flex;
    flex-direction: row;
    gap: 0.563rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#disponible p:first-child span {
    font-weight: 600;
    font-size: clamp(1.125rem, 1.625rem, 2.063rem);
    width: 100%;
    text-align: center;
}

.li__element svg {
    width: 3.625rem;
    margin-bottom: 0.625rem;
    padding: 0 1.25rem;
}

.line {
    max-width: 14.5rem;
    height: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

@supports (-webkit-appearance: none) {
    .line {
        max-width: calc(100vw - 80%);
    }
}

.contour {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.active {
    position: unset;
    overflow: unset;
    height: unset;
    max-width: 10.938rem;
}

.edition {
    display: grid;
    grid-template-columns: repeat(6, 12.625rem);
    grid-template-rows: 12.5rem 41.938rem;
    grid-gap: 0.625rem;
    justify-content: center;
    padding: 5rem 0 6.813rem;
    background: url("../../img/background/edition-bg.webp") repeat-y;
    background-size: 100% auto;
}

.art-edition:nth-of-type(1) {
    grid-column: 1/3;
}

.art-edition:nth-of-type(2) {
    grid-column: 3/5;
}

.art-edition:nth-of-type(3) {
    grid-column: 5/7;
}

.art-edition h3 {
    text-align: center;
    height: 8.063rem;
    align-content: center;
    border: 0.625rem solid;
    font-size: 1.813rem;
    font-weight: 600;
}

.acquis__ul__liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.25rem;
}

.acquis__div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 41.938rem;
    border: 0.625rem solid;
}

.acquis__div .button {
    line-height: 3.75rem;
    width: 20.25rem;
    font-size: clamp(0.75rem, 5vw, 1.063rem);
    font-weight: 600;
    background-color: #72a846;
    border: none;
    border-radius: 1rem;
    color: white;
    text-align: center;
    text-transform: uppercase;
}

.third .button {
    opacity: 60%;
}

.acquis {
    text-align: center;
    height: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-transform: uppercase;
}

.acquis svg {
    width: 8rem;
    height: 7.813rem;
}

h2 {
    font-size: clamp(1.5rem, 5vw, 3.75rem);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

#parcours {
    padding: 4.05rem;
    background: url("../../img/background/parcours-background.webp") repeat-y;
    background-size: 100% auto;
}

#parcours p {
    text-align: right;
    margin-bottom: 1.238rem;
    max-width: 81.625rem;
    margin-left: auto;
    margin-right: auto;

}

.parcours__ul__liste {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

#parcours .parcours__ul__liste p {
    text-align: left;
    line-height: 1.25rem;
    max-width: 24.063rem;

}

#parcours img {
    object-fit: cover;
    margin-bottom: 1.875rem;
    max-width: 100%;
    height: auto;
}


#hobbies article div img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

#experience {
    padding: 4.063rem 1.875rem;
    background: url("../../img/background/experience-bg.webp") repeat;
    background-size: auto;
}

#experience h2 {
    margin-bottom: 6.25rem;
}

#experience .div__exp {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

#experience article {
    padding: calc((35) * (100vw / 1600)) calc((50) * (100vw / 1600)) calc((40) * (100vw / 1600)) calc((39) * (100vw / 1600));
    max-width: 28.75rem;
    text-align: justify;
    width: 80%;
    background-color: rgba(50, 45, 32, 0.53);
}

#experience img {
    max-width: 10rem;
    height: 10rem;
}

#button__first, #button__second {
    width: 0.625rem;
    height: 0.625rem;
    display: block;
    background-color: #72a846;
}

#button__first:hover, #button__second:hover, #button__first:focus, #button__second:focus {
    background-color: #c4f89b;
}

#button__first.actif, #button__second.actif {
    background-color: #c4f89b;
}

.div__button__exp {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.exp__noActive {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#competence {
    padding: 5vw 7vw 10vw;
    background: url("../../img/background/competence-bg.webp") no-repeat;
    background-size: auto;
}

#competence h2 {
    margin-bottom: 2.25rem;
}

#competence ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.313rem;
    margin-top: 4.625rem;
    flex-wrap: wrap;
}

#competence p {
    text-align: center;
    font-weight: 500;
    font-size: clamp(0.938rem, 5vw, 1.5rem);
}

#competence article {
    margin-top: 9rem;
    display: flex;
    justify-content: center;
    gap: 3.125rem;
}


#competence article div {
    max-width: 38.438rem;
}

#competence article p {
    text-align: justify;
    font-size: clamp(0.75rem, 5vw, 1.063rem);
    font-weight: 500;
    line-height: 1.438rem;
}

#competence article p:first-of-type {
    text-align: justify;
    font-size: clamp(0.938rem, 5vw, 1.5rem);
    margin-bottom: 3.938rem;
    font-style: italic;
}

#competence ul li svg {
    max-width: 100%;
    height: auto;
    width: 7.188rem;
}

#competence ul li:hover, #competence ul li:focus {
    opacity: 100%;
    filter: grayscale(0%);
}

#competence ul li {
    filter: grayscale(50%);
    opacity: 40%;
    transform: scale(80%);
}

#competence ul li.actif__li {
    filter: grayscale(0%);
    opacity: 100%;
    transform: scale(100%);
}

.competence_article svg {
    width: 32.188rem;
}

h3 {
    font-weight: 600;
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

#hobbies {
    padding: 5vw 10vw 10vw 10vw;
    position: relative;
    background: url("../../img/background/competence-bg.webp") no-repeat;
    background-size: auto;
}

#hobbies span {
    position: absolute;
    top: 34.135rem;

}

#hobbies span img {
    width: 4.063rem;
}

#hobbies span:first-of-type {
    left: 1.25rem;
}

#hobbies span:nth-of-type(2) {
    right: 1.25rem;
}

#hobbies h2 {
    margin-bottom: 3.25rem;
}

#hobbies article {
    display: flex;
    flex-direction: column;
}

#hobbies article div {
    align-self: center;
    position: relative;

}

#hobbies article div h3 {
    position: absolute;
    bottom: 0.063rem;
    left: 3.75rem;
    backdrop-filter: blur(1.875rem);
}

#hobbies article p {
    max-width: 74.25rem;
    align-self: center;
    font-size: clamp(0.75rem, 5vw, 1.063rem);
    line-height: 1.563rem;
    padding: 1.813rem 1.125rem 0 2.063rem;
    text-align: justify;
}

#qualites {
    padding: 3.688rem 0 5.938rem;
    background: url("../../img/background/competence-bg.webp") no-repeat;
    background-size: auto;
}

#qualites h2 {
    margin-bottom: 3.375rem;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    animation: slide 50s linear infinite;
}

.slider-item {
    display: flex;
    justify-content: center;
}

.slider-item img {
    width: 31.563rem;
    max-height: 21.875rem;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-250%); /* Fait défiler le carrousel vers la gauche */
    }
}


#formulaire {
    color: black;
    display: flex;
    padding: 3.875rem 6.25rem 5rem;
    justify-content: center;
    gap: 1.875rem;
    background-color: #8a826e;
    background-image: url("../../img/background/contact-bg.webp");
    background-size: auto;
    background-position: center;
}

#formulaire a {
    color: black;
}

#formulaire h2 {
    font-size: 1.375rem;
}

#formulaire .formulaire_item {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#formulaire .formulaire_item p, #formulaire .formulaire_item li {
    font-size: 1.25rem;
    margin-bottom: 0.938rem;
    font-weight: 500;
}

#formulaire form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

#formulaire input {
    height: 1.875rem;
    width: 100%;
}

textarea {
    width: 100%;
}

footer {
    padding: 5.75rem 7.5rem 1.813rem;
}

footer svg {
    width: 3.625rem;
}

footer .footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.125rem;
}

footer div {
    display: flex;
    align-items: center;
    gap: 3.125rem;
}

footer div a:first-of-type {
    order: 2;
}

footer ul {
    display: flex;
    gap: 1.25rem;
    min-width: 13.375rem;
    flex-wrap: wrap;
}

footer p {
    margin-top: 1.5rem;
    text-align: center;
}

a {
    display: inline-block;
}

@media (max-width: 1279px) {
    .third {
        position: absolute;
        overflow: hidden;
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
    }

    .art-edition:nth-of-type(1) {
        grid-column: 2/4;
    }

    .art-edition:nth-of-type(2) {
        grid-column: 4/6;
    }

    #disponible ul {
        padding: 0;
    }

    .div_button_edition {
        position: static;
        overflow: visible;
        clip: auto;
        height: auto;
        width: auto;
        margin: 0;
        padding: 0;
        border: none;
    }

    .introduction {
        flex-wrap: wrap;
        gap: 18.75rem;
        height: auto;
    }

    .edition div {
        grid-row: 3/4;
        grid-column: 3/5;
        display: flex;
        justify-content: center;
        gap: 0.625rem;
    }

    .button__edition {
        width: 0.625rem;
        height: 0.625rem;
        display: block;
        background-color: #72a846;
    }
}

@media (max-width: 1022px) {
    .exp_pro {
        position: absolute;
        overflow: hidden;
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
    }

    .nav div {
        display: block;
        position: absolute;
        top: 2.625rem;
        left: 3.125rem;
        z-index: 1;
        user-select: none;
    }

    .nav div a {
        text-decoration: none;
        color: white;
        transition: color 0.3s ease;
    }

    .nav div input {
        display: block;
        width: 2.5rem;
        height: 2rem;
        position: absolute;
        top: -0.438rem;
        left: -0.313rem;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }

    .nav div span {
        display: block;
        width: 2.063rem;
        height: 0.25rem;
        margin-bottom: 0.313rem;
        position: relative;
        background: #cdcdcd;
        border-radius: 0.188rem;
        z-index: 1;
        transform-origin: 0.25rem 0;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
    }

    .nav div span:first-child {
        transform-origin: 0 0;
    }

    .nav div span:nth-last-child(2) {
        transform-origin: 0 100%;
    }

    .nav div input:checked ~ span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: white;
    }

    .nav div input:checked ~ span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    .nav div input:checked ~ span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    .nav div ul {
        position: absolute;
        width: 100vw;
        max-height: 100vh;
        margin: -6.25rem 0 0 -3.125rem;
        padding: 7.813rem 3.125rem 3.125rem 3.125rem;
        box-sizing: border-box;
        overflow-y: auto;
        background: rgba(0, 0, 0, 0.6);
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        transform-origin: 0 0;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    .nav div ul li {
        padding: 0.625rem 0;
        font-size: 1.375rem;
    }

    .nav div ul li label {
        cursor: pointer;
    }

    .nav div input:checked ~ ul {
        transform: none;
        flex-direction: column;
    }

    header {
        justify-content: flex-end;
    }

    #competence article {
        flex-direction: column;
    }

    #competence article div {
        align-self: center;
        text-align: center;
    }

    #competence article svg {
        align-self: center;
    }

    footer .footer {
        flex-direction: column;
    }

    footer div {
        flex-direction: column;
    }

    footer div a:first-of-type {
        order: 0;
    }

    footer ul {
        flex-wrap: nowrap;
        justify-content: center;
    }

    #hobbies article p {
        padding-top: 1.813rem;
    }

}

@media (max-width: 874px) {
    .edition {
        grid-template-columns: repeat(6, 10.625rem);
    }

    .container__hobbies__button {
        display: flex;
        justify-content: center;
    }

    #hobbies span {
        position: static;
    }
}

@media (max-width: 767px) {
    .art-edition:nth-of-type(1) {
        grid-column: 3 / 5;
    }

    .button__edition:last-of-type {
        position: static;
        overflow: visible;
        clip: auto;
        margin: 0;
        padding: 0;
        border: none;
    }

    .second {
        position: absolute;
        overflow: hidden;
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
    }


    .parcours__ul__liste {
        flex-wrap: wrap;
    }

    #parcours p {
        text-align: center;
    }

    #formulaire {
        flex-direction: column;
    }

    #disponible ul {
        flex-wrap: wrap;
    }

    #presentation #video img, #presentation #video svg {
        position: absolute;
        overflow: hidden;
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
    }

    .button__video {
        position: static;
        overflow: visible;
        clip: auto;
        margin: 0;
        padding: 1rem;
        border: none;
        background-color: #72a846;
        border-radius: 0.375rem;
        width: 50%;
        height: auto;
    }

    .introduction {
        gap: 6.25rem;
        text-align: center;
        padding: 4.25rem 1.875rem 13.438rem;
    }

}

@media (max-width: 694px) {
    #competence article svg {
        position: absolute;
        overflow: hidden;
        clip: rect(0 0 0 0);
        height: 1px;
        width: 1px;
        margin: -1px;
        padding: 0;
        border: 0;
    }

    #disponible li:nth-child(3) p {
        width: 4.375rem;
    }
}

@media (max-width: 605px) {
    .slider-item img {
        width: 100vw;
        height: 60vh;
    }

    #experience .div__exp {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 500px) {
    #disponible ul {
        gap: 0.313rem;
    }
    .line{
        position: absolute;
        left: -10000px;
        top: auto;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }
}

@media (max-width: 410px) {
    .monLogo {
        width: 100%;
    }

    footer {
        padding: 0.563rem 0.75rem;
    }

    footer ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .acquis img {
        max-width: 3.125rem;
    }

    #disponible svg {
        max-width: 3.125rem;
    }

    .acquis {
        height: 4.375rem;
    }

    .acquis__div .button {
        width: 100%;
    }
}
