/*GENERAL*/
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@700&display=swap');
@font-face {
    font-family: 'moderna';
    src: url('font/Moderna.woff2') format('woff2'),
        url('font/Moderna.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM display';
    src: url('font/DMSerifDisplay-Regular.woff2') format('woff2'),
        url('font/DMSerifDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    scroll-behavior: smooth;
    --light_blue: #B6F1E7;
    --blue: #00BAA6;
    --dark_blue: #0F564E;
    --red: #FB0100;
    --light_red: #FFD9D9;
    font-family: "League Spartan";
    font-weight: 400;
}

a {
    text-decoration: none;
    color: black;
}

button {
    background-color: var(--light_blue);
    color: var(--dark_blue);
    border: none;
    padding: 11px 25px 9px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.5s ease;
}

button:hover {
    background-color: var(--dark_blue);
    color: white;
    transition: 0.5s ease;
}

/*BODY*/
body {
    background-image: url(img/fond_comptences.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: 142.5vh;
}

@media screen and (max-width: 800px){
    body {
        background-position-y: 170.5vh;
    }
}

/*HEADER*/
header {
    width: 100vw;
    position: fixed;
    display: flex;
    justify-content: center;
    background-color: white;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: display 0.5s ease-in-out;
}

#header_tel{
    display: none;
    transition: display 0.5s ease-in-out;
}

#header_pc nav {
    width: 75vw;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header_pc nav ul {
    width: 520px;
    display: flex;
    justify-content: space-between;
}

nav img {
    width: 80px;
    height: 80px;
}

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

#header_pc nav ul li a {
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    font-size: 1.1rem;
}

#header_pc nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--red);
    left: 50%;
    bottom: 0;
    transition: width 0.4s ease, left 0.4s ease;
}

#header_pc nav ul li a:hover::after,
#header_pc nav ul li a.active::after {
    width: 100%;
    left: 0;
}

#header_pc nav ul li a:hover {
    color: var(--red);
    transition: 0.4s ease;
}

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

    #header_tel {
        position: fixed;
        display: flex;
        justify-content: space-around;
        align-items: center;
        column-gap: 40vw;
        height: 10vh;
        transition: display 0.5s ease-in-out;
    }

    #header_tel img{
        width: 80px;
        height: 80px;
    }
    
    #menu-overlay_tel {
        position: fixed;
        top: 0px;
        z-index: 998;
        height: 100vh;
        width: 45vw;
        background-color: white;
        box-shadow: -10px 0 120px rgba(0, 0, 0, 0.1);
        right: -100vw;
        transition: ease 0.7s;
    }
    
    #menu-overlay_tel.active {
        right: 0;
        transition: ease 0.7s;
    }
    
    #menu-overlay_tel ul {
        list-style-type: none;
        margin-top: 10vh;
        height: 15rem;
        margin-left: -2vw;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: start;
    }
    
    #menu-overlay_tel ul li {
        margin-bottom: 2vh;
    }
    
    #menu-overlay_tel a {
        text-decoration: none;
        color: black;
        transition: ease 0.5s;
    }

    #burger_tel{
        display: block;
        cursor: pointer;
        height: 35px;
        width: 35px;
        position: relative;
        z-index: 2000;
    }
    
    .burger span {
        background-color: var(--dark_blue);
        height: 4px;
        position: absolute;
        border-radius: 25px;
        transition: 0.2s linear;
        width: 100%;
    }
    
    .burger span:first-child {
        top: 0%;
    }
    
    .burger span:nth-child(2) {
        top: 40%;
        left: 0px;
    }
    
    .burger span:last-child {
        top: 81%;
    }
    
    .croix span {
        transform-origin: 0px;
        width: 47px;
        background-color: var(--red);
        transition: 0.2s linear;
    }
    
    .croix span:nth-child(1) {
        transform: translateY(-2px) rotate(43deg);
    }
    
    .croix span:nth-child(2) {
        opacity: 0;
        width: 0px;
    }
    
    .croix span:nth-child(3) {
        transform: translateY(2px) rotate(-43deg);
    }

    #header_pc{
        display: none;
        transition: display 0.5s ease-in-out;
    }
}

/*MAIN PAGE*/
/*HERO*/
#hero {
    width: 100vw;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px;
    border-color: black;
}

#hero_contner {
    margin-top: 17.5vh;
    width: 75vw;
    height: 75vh;
    border-radius: 25px;
    background-image: url(img/hero.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: end;
}

#div_contner {
    margin: 0 0 18vh 7vw;
    width: 35vw;
    height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#div_contner h1{
    font-family: "League Spartan";
    font-weight: 700;
    font-size: 5.5rem;
    color: white;
    line-height: 0.95em;
    text-shadow: black 0 0 250px;
}

#motion {
    background-color: white;
    border-radius: 25px;
    height: 4.5vh;
    width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 3px;
    letter-spacing: 0.175em;
    font-size: 1.75rem;
}

#motion p{
    font-weight: 500;
}

#motion p span:first-of-type{
    color: var(--red);
    font-weight: 500;
}

#motion p span:last-of-type{
    color: var(--dark_blue);
    font-weight: 500;
}

@media screen and (max-width: 800px){
    #hero_contner {
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
        background-position-x: -50px;
    }

    #div_contner{
        margin-top: 2vh;
        height: 20vh;
    }

    #div_contner h1{
        font-size: 32pt;
    }

    #motion{
        font-size: 10.5pt;
        width: 225px;
        letter-spacing: 0.1em;
        height: 3vh;
    }
}

/*Presentation*/

#who {
    padding-top: 15vh;
    width: 100vw;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#pres {
    width: 75vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4.5vw;
}

#pres h2{
    font-family: "League Spartan";
    font-weight: 700;
    color: var(--dark_blue);
    font-size: 3.667rem;
}

#pres h3{
    font-family: "League Spartan";
    font-weight: 600;
    color: var(--blue);
    font-size: 2rem;
    font-weight: 500;
}

#pres div p {
    font-size: 1.333rem;
}

#pres img {
    width: 39.5vh;
    height: 39.5vh;
    border-radius: 35px;
}

#pres div {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: start;
}

#who a{
    color: var(--dark_blue);
    transition: 0.5s ease;
    background-color: var(--light_blue);
    border: none;
    padding: 11px 25px 9px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 22px;
}

#who a:hover{
    background-color: var(--dark_blue);
    color: white;
    transition: 0.5s ease;
}

@media screen and (max-width: 800px){
    #who{
        height: 84vh;
        padding-top: 5.5vh;
    }

    #pres {
        height: 60vh;
        width: 75vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 4.5vw;
    }

    #pres img {
        width: 50vw;
        height: 50vw;
        border-radius: 20px;
    }

    #pres h2{
        font-size: 23pt;
    }

    #pres h3{
        font-size: 14pt;
    }

    #pres div p {
        margin-top: 7.58px;
        font-size: 10pt;
    }
}

/*Skills*/

#skills {
    margin-top: 7vh;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#skills h2 {
    padding-top: 7.5vh;
    text-align: center;
    font-family: "League Spartan";
    font-weight: 600;
    color: white;
    font-size: 3.667rem;
    text-shadow: black 0 0 150px;
}

#skills_contner {
    width: 75vw;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.skill_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5vw;
}

.skill {
    width: 25.5vh;
    height: 25.5vh;
    border-radius: 25px;
    background-color: var(--light_blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 135px;
}

.skill_name{
    font-family: "League Spartan";
    font-weight: 600;
    color: white;
    font-size: 1.5rem;
    text-shadow: black 0 0 15px;
}

#illustrator {
    background-image: url(img/fond_illustrator.png);
    background-repeat: no-repeat;
    background-size: 115%;
    background-position: center;
}

#photoshop {
    background-image: url(img/fond_photoshop.png);
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: center;
}

#indesign {
    background-image: url(img/fond_indesign.png);
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: center;
}

#blender {
    background-image: url(img/fond_blender.png);
    background-repeat: no-repeat;
    background-size: 140%;
    background-position: center;
}

#figma {
    background-image: url(img/fond_figma.png);
    background-repeat: no-repeat;
    background-size: 140%;
    background-position: center;
}

#davinci {
    background-image: url(img/fond_davinci.png);
    background-repeat: no-repeat;
    background-size: 138%;
    background-position: center;
}

#after {
    background-image: url(img/fond_after.png);
    background-repeat: no-repeat;
    background-size: 140%;
    background-position: center;
}

#premiere {
    background-image: url(img/fond_premiere.png);
    background-repeat: no-repeat;
    background-size: 140%;
    background-position: center;
}

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

    #skills{
        height: 90vh;
    }

    #skills h2 {
        padding-top: 2.5vh;
        font-size: 23pt;
    }

    #skills_contner{
        flex-direction: row;
    }

    .skill_row{
        flex-direction: column;
    }

    .skill{
        width: 15vh;
        height: 15vh;
    }

    .skill_name{
        font-size: 10.5pt;
    }

    .skill div{
        height: 11vh;
    }

    .skill div img{
        height:7.5vh;
        width: 7.5vh;
    }

    #blender img{
        width: 8.5vh;
    }
}

/*Realisations*/

#real {
    width: 100vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    padding-top: 15vh;
    margin-bottom: 5vh;
}

#real h2 {
    padding-top: 5vh;
    font-family: "League Spartan";
    font-weight: 600;
    color: var(--red);
    font-size: 2.75rem;
    text-shadow: white 0 0 100px;
}

#filter-buttons {
    width: 45vw;
    display: flex;
    justify-content: space-around;
}

.filter-btn {
    margin: 5vh 0;
    padding: 11px 25px 10px;
}

.filter-btn.active{
    background-color: var(--dark_blue);
    color: white;
}

#filter-buttons .filter-btn:nth-child(1){
    background-color: var(--light_red);
    color: var(--red);
}

#filter-buttons .filter-btn:nth-child(1):hover{
    background-color: var(--red);
    color: white;
}

#filter-buttons .filter-btn:nth-child(1).active{
    background-color: var(--red);
    color: white;
}

#filter-buttons .filter-btn:nth-child(3){
    background-color: var(--light_red);
    color: var(--red);
}

#filter-buttons .filter-btn:nth-child(3):hover{
    background-color: var(--red);
    color: white;
}

#filter-buttons .filter-btn:nth-child(3).active{
    background-color: var(--red);
    color: white;
}

.content-section {
    display: none;
    padding: 20px;
    border-radius: 10px;
}

.content-section.active {
    display: block;
}

#rush {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#rush h3{
    font-family: 'Moderna';
    font-size: 5rem;
    margin-top: 50px;
    margin-bottom: 80px;
}

#bde{
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bde h3{
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 25px;
}

#CDC{
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#CDC h3{
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 25px;
}

.description{
    width: 50vw;
    height: 30vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5vh;
}


.description p{
    width: 45%;
    font-size: 1rem;
}

.description p span{
    font-size: 1.45rem;
    font-weight: 550;
}

.description a{
    background-image: url(img/3canettes_eau.webp);
    background-size: cover;
    background-position: center;
    width: 45%;
    height: 100%;
    border-radius: 20px;
}

#bde .description p{
    width: 40%;
}

#bde .description a{
    background-image: url(img/t-shirt_jaune_noir.webp);
    width: 55%;
}

#CDC .description > a{
    background-image: url(img/montage.jpg);
    width: 55%;
}

#CDC .description p{
    width: 40%;
}

#CDC .description p a{
    background-image: none;
    text-decoration: underline;
    color: black;
}

#web-doc{
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#web-doc img{
    margin-bottom: 5vh;
}

#web-doc a{
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#web-doc video {
    height: 100%;
    object-fit: contain;
    position: center;
}

#grimoire{
    margin-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#grimoire h3{
    font-family: 'DM display';
    margin-bottom: 25px;
    font-size: 1.625rem;
}

#grimoire .description a{
    background-image: url(img/mockup_livre_couleur.png);
}

.carousel {
    width: 50vw;
    height: 45vh;
    position: relative;
    border-radius: 20px;
}

.carousel>ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p_mobile{
    display: none;
}

.p_pc{
    display: block;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 150ms opacity ease-in-out;
    border-radius: 20px;
}

.slide[data-active] {
    opacity: 1;
    z-index: 1;
    transition-delay: 0ms;
}

.slide:nth-child(2) {
    background-color: #FB0100;
}

.slide:nth-child(3) {
    background-color: #0F564E;
}

.slide:nth-child(4) {
    background-color: aquamarine;
}

.slide:nth-child(5) {
    background-color: black;
}

#rush .carousel{
    height: 50vh;
}

#rush .slide:first-child {
    background-image: url(img/baniere_rush.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#rush .slide:nth-child(2) {
    background-image: url(img/baniere_rush_2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#rush .slide:nth-child(3) {
    background-image: url(img/baniere_rush_3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#rush .slide:nth-child(4) {
    background-image: url(img/baniere_rush_4.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#bde .slide:first-child {
    background-image: url(img/T-shirt_imma_noir.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#bde .slide:nth-child(2) {
    background-image: url(img/T-shirt_imma_blanc.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#bde .slide:nth-child(3) {
    background-image: url(img/baniere_bde_3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#bde .slide:nth-child(4) {
    background-image: url(img/baniere_bde_4.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#web-doc .slide:first-child {
    background-image: url(img/banière_guillon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#web-doc .slide:nth-child(2) {
    background-image: url(img/banière_guillon_2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#web-doc .slide:nth-child(3) {
    background-image: url(img/banière_guillon_3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#web-doc .slide:nth-child(4) {
    background-image: url(img/banière_guillon_6.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#web-doc .slide:nth-child(5) {
    background-image: url(img/banière_guillon_4.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#web-doc .slide:nth-child(6) {
    background-image: url(img/banière_guillon_5.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#grimoire .slide:first-child {
    background-image: url(img/T-shirt_imma_noir.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#grimoire .slide:nth-child(2) {
    background-image: url(img/T-shirt_imma_blanc.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#grimoire .slide:nth-child(3) {
    background-color: #0F564E;
}

#grimoire .slide:nth-child(4) {
    background-color: aquamarine;
}

#grimoire .slide:nth-child(5) {
    background-color: black;
}

button.carousel-button {
    position: fixed;
    padding: 0;
    height: 35px;
    width: 35px;
    z-index: 2;
    background: none;
    border: none;
    font-size: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    border-radius: 55px;
    box-shadow: 0px 0px 55px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.fleche {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    margin-left: -2px;
    transition: border 0.2s ease-in-out;
}

.gauche {
    transform: translate(-50%, -50%) rotate(135deg);
    margin-left: 1.5px;
}

button.carousel-button:hover {
    background-color: rgb(0, 0, 0);
    height: 36px;
    width: 36px;
    transition: all 0.2s ease-in-out;
}

button.carousel-button:hover .fleche{
    border: solid white;
    border-width: 0 2px 2px 0;
    transition: border 0.2s ease-in-out;
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

#graphism_grid {
    display: grid;
    grid-template-columns: 42vh 42vh 42vh;
    grid-template-rows: repeat(5, 42vh);
    gap: 20px;
    padding: 20px;
}

#graphism_grid>div {
    background-color: black;
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.item1 {
    grid-column: 1 / 4;
    background-image: url(img/Xenosoon_baniere.png);
    background-repeat: no-repeat;
    background-size: cover;
}

/* First row, full width */
.item2 {
    grid-column: 1 / 3;
    grid-row: 2 / 4;
    background-image: url(img/affiche_cyberpunk.png);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Large square */
.item3 {
    grid-column: 3;
    grid-row: 2 / 3;
    background-image: url(img/Logo_bde_eicnam.png);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Small square right top */
.item4 {
    grid-column: 3;
    grid-row: 0 / 5;
    background-image: url(img/Fretti_logo.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Tall rectangle right */
.item5 {
    grid-column: 1;
    grid-row: 4 / 5;
    background-image: url(img/halle_des_douves_logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: black;
}

/* Small square bottom left */
.item6 {
    grid-column: 3;
    grid-row: 4 / 5;
    background-image: url(img/magic_forest.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.item7 {
    grid-column: 2;
    grid-row: 4 / 5;
    background-image: url(img/gare_a_vous.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Small square bottom middle */
.item8 {
    grid-column: 1;
    grid-row: 5 / 6;
    background-image: url(img/Illustration_mmi_companion.png);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Bottom row right */
.item9 {
    grid-column: 2 / 4;
    grid-row: 5 / 6;
    background-image: url(img/mockup_livre_couleur.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: -9vh;
}

.video_line {
    width: 75vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 5vh;
}

  
.video-container {
    height: 35vh;
    width: 55vh;
    background-color: #ccc;
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

iframe{
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

#blender_grid {
    height: 60vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7vw;
}

#blender_grid>div {
    height: 50vh;
    width: 50vh;
    background-color: #ccc;
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.blender1{
    background-image: url(img/blender_city.PNG);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.blender2{
    background-image: url(img/blender_room.PNG);
    background-repeat: no-repeat;
    background-size: cover;
}

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

    #real {
        padding-top: 4vh;
    }

    #real h2 {
        font-size: 23pt;
    }

    #filter-buttons {
        width: 90vw;
        display: flex;
        justify-content: space-around;
    }

    .filter-btn {
        margin: 2vh 0;
        padding: 6px 15px 5px;
        font-size: 10pt;
    }

    #rush h3{
    font-size: 30pt;
    margin-top: 5px;
    margin-bottom: 33px;
    }

    #bde{
        margin-top: 5vh;
    }

    #bde h3{
        text-align: center;
    font-size: 22pt;
    margin-bottom: 25px;
    }

    #CDC h3{
        font-size: 2rem;
        text-align: center;
    }

    #web-doc{
        margin-top: 5vh;
    }

    #web-doc img{
        height: 27vw;
        width: 35vw;
    }

    .description{
    width: 85vw;
    height: 20vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5vh;
    }

    .description p span{
        font-size: 10pt;
    }

    .description p{
        font-size: 9pt;
    }

    .description a{
    width: 45%;
    height: 90%;
    border-radius: 15px;
    }

    .p_mobile{
    display: block;
    }

    .p_pc{
        display: none;
    }

    #bde .description a{
    background-image: url(img/a_bde.jpg);
    width: 45%;
    }

    .carousel {
    width: 85vw;
    height: 20vh;
    border-radius: 15px;
    }

    #rush .carousel {
    height: 22vh;
    }

    #graphism_grid {
        width: 90vw;
        display: grid;
        grid-template-columns: 28vw 28vw 28vw;
        grid-template-rows: repeat(5, 28vw);
        gap: 10px;
        padding: 0;
    }

    #graphism_grid>div {
        border-radius: 15px;
    }

    .item9 {
        background-position-y: -3vh;
    }

    #videos{
        padding: 0;
        padding-top: 20px;
    }

    .video_line {
        width: 75vw;
        flex-direction: column;
        gap: 10px;
        align-items: center ;
    }

    .video-container {
        height: 20vh;
        width: 35vh;
    }

    #video_grid {
        display: flex;
        width: 100vw;
        flex-direction: column;
        justify-content: center;
        align-items: center ;
    }

    #video_grid .video_line:nth-child(1){
        margin-bottom: 35px;
    }

    #blender_render{
        padding: 0;
        padding-top: 20px;
    }

    #blender_grid {
        flex-direction: column;
        height: 70vh;
    }
    
    #blender_grid>div {
        height: 75vw;
        width: 75vw;
    }
    
}

/*Contact*/

#contact {
    width: 100%;
    height: 75vh;
    background-image: url(img/Fond.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact>div{
    width: 1440px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12.5vw;
}

#rsn{
    height: 55vh;
    width: 576px;
    display: flex;
    flex-direction: column;
}

#rsn h2{
    font-family: "League Spartan";
    font-weight: 600;
    color: white;
    font-size: 4.5rem;
    text-shadow: black 0 0 125px;
}

#rsn a{
    color: white;
    font-size: 1.667rem;
    position: relative;
}

#rsn a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    left: 50%;
    bottom: 0;
    transition: width 0.4s ease, left 0.4s ease;
}

#rsn a:hover::after,
#rsn a.active::after {
    width: 100%;
    left: 0;
}

#insta{
    margin-top: 5vh;
    width: 302px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#insta img{
    height: 45px;
    width: 45px;
}

#linkedin{
    margin-top: 2.5vh;
    width: 288px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#linkedin img{
    height: 45px;
    width: 45px;
}

#form{
    background-color: white;
    border-radius: 25px;
    padding: 25px 0;
    height: 450px;
    width: 576px;
}

#form h2 {
    padding-left: 1.75vw;
    font-family: "League Spartan";
    font-weight: 400;
    font-weight: normal;
    font-size: 2rem;
}

.contact-form {
    height: 400px;
    max-width: 500px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.contact-form .form-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 0;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Style pour les champs invalides */
.contact-form input:invalid,
.contact-form textarea:invalid {
    border-bottom-color: black;
}

/* Style pour enlever l'apparence par défaut des champs autocomplétés */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 5px;
    transition: bottom 0.5s ease-in-out;
    z-index: 1000;
}

.notification.success {
    background: var(--light_blue);
    color: var(--dark_blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notification.error {
    background: var(--light_red);
    color: var(--red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notification.show {
    bottom: 20px;
}

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

    #contact{
        align-items: none;
        justify-content: none;
        height: 88vh;  
    }


    #contact > div{
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }

    #rsn{
        height: auto;
        width: 76vw;
        margin-top: 25px;
        text-align: center;
    }
    
    #rsn h2{
        font-size: 26pt;
        width: 100%;
    }

    #rsn a{
        font-size: 11pt;
    }

    #insta{
        width: 164px;
    }

    #insta img{
        height: 25px;
        width: 25px;
    }

    #linkedin{
        width: 157px;
    }

    #linkedin img{
        height: 25px;
        width: 25px;
    }

    #form{
        height: 100vw;
        width: 75vw;
    }

    #form h2{
        font-size: 1.5rem;
        padding-left: 5.8vw;
    }

    .contact-form {
        height: 90.5vw;
        max-width: 61.6vw;
        margin: 20px auto;
        font-family: Arial, sans-serif;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    button{
        padding: 5px 20px 5px;
        font-size: 10pt;
    }
}

/*FOOTER*/
footer {
    height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#footer_contner {
    width: 60vw;
    height: 17.5vh;
    margin-top: 3vh;
    display: flex;
    justify-content: space-between;
    align-items: top;
}

#footer_contner img {
    width: 120px;
    height: 120px;
}

#footer_contner>div{
    display: flex;
    width: 35vw;
    justify-content: space-between;
}

#mail{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#sitemap{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#sitemap ul{
    width: 150%;
    display: flex;
    justify-content: space-around;
}

#footer_contner a{
    position: relative;
}

#footer_contner a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: black;
    left: 50%;
    bottom: 0;
    transition: width 0.4s ease, left 0.4s ease;
}

#footer_contner a:hover::after,
#footer_contner a.active::after {
    width: 100%;
    left: 0;
}

footer p {
    margin-top: 2vh;
    height: 1.5vh;
    padding-bottom: 1vh;
    text-align: center;
}

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

    footer{
        align-items: none   ;
    }

    #footer_contner{
        width: 100vw;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    #footer_contner>div{
        display: flex;
        width: 95vw;
        height: 75%;
        flex-direction: column;
        justify-content: space-between;
    }

    #footer_contner img{
        height: 20vw;
        width: 20vw;
    }

    #footer_contner p{
        font-size: 0.875rem;
        margin-top: 0;
    }

    #footer_contner a{
        font-size: 0.875rem;
    }

    #mail{
        flex-direction: row;
        width: 100%;
    }

    #sitemap{
        margin-top: 25px;
    }

    #sitemap ul{
    width: 80%;
    display: flex;
    justify-content: space-around;
    margin-left: 0;
    }

    footer > p{
        font-size: 8pt;
    }
}

