/* Global style */

/* @font-face {
    font-family: 'Super Funky';
    src: url(font/Super-Funky.ttf) format('truetype');
    font-weight: normal;
} */


/* .text-underlined{
    text-decoration: rgb(128, 11, 0) wavy underline;

} */



@font-face {
    font-family: 'Motley Forces';
    src: url(font/MotleyForcesRegular-w1rZ3.ttf) format('truetype');
    font-weight: normal;

}

* {
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #1E1C1C;
    color: #FFF7E7;
    font-family: 'Gaegu', Courier, monospace;
    /* line-height: 1.3; */
}

.site-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    font-style: bold;
    margin-bottom: 0;
}

@media screen and (min-width:450px) {
    h1 {
        font-size: 3rem;
    }
}

h2,
a,
ul,
p {
    font-family: 'Montserrat', sans-serif;
}


/* a:visited {
    color: rgb(174, 173, 173);
    ;
  } */

a:hover {
    color: #EF2B2A;
}

.link-underlined {
    text-underline-offset: 5px;
}


/* FONT EN PETIT */


h2 {
    font-size: 1.3rem;
}


@media screen and (min-width:450px) {
    h2 {
        font-size: 1.5rem;
    }
}


ul {
    padding-left: 0;
}

li {
    margin-top: 0.625rem;
}


p {
    font-size: 1rem;
    line-height: 1.5;
}

@media screen and (min-width:450px) {
    p {
        font-size: 1.1rem;
    }
}


a {
    color: #FFF7E7;
    font-size: 1rem;
}

@media screen and (min-width:450px) {
    a {
        font-size: 1.3rem;
    }
}


@keyframes scrollText {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}


/**************************/
/* MENU - BURGER (mobile) */
/**************************/
.le_burger {
    display: flex;
}

@keyframes checked-anim {
    50% {
        width: 187.5rem;
        height: 187.5rem;
    }

    100% {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

@keyframes not-checked-anim {
    0% {
        width: 187.5rem;
        height: 187.5rem;
    }
}

.liste-burger {
    margin: 4.688rem 0 -3.438rem 0;
    color: #D97981;
    line-height: 1.8;
    font-size: medium;
    text-transform: none;
    list-style: none;
    outline: 0;
    display: none;
    text-indent: 3.5rem;
}

.liens_burger {
    padding: .313rem;
    transition: .2s;
    max-width: fit-content;
    text-decoration: none;
    color: #FFF7E7;
}

.liens_burger:focus {
    display: block;
    color: #1E1C1C;
    background-color: #FFF7E7;
    transition: all .5s;
}

#trigger,
#burger,
#burger:before,
#burger:after {
    position: absolute;
    top: 1.563rem;
    left: 1.563rem;
    background: #FFF7E7;
    width: 1.875rem;
    height: .313rem;
    transition: .2s ease;
    cursor: pointer;
    z-index: 1;
}

#trigger {
    height: 1.563rem;
    background: none;
}

#burger:before {
    content: " ";
    top: .625rem;
    left: 0;
}

#burger:after {
    content: " ";
    top: 1.25rem;
    left: 0;
}

#menu-toggle:checked+#trigger+#burger {
    top: 2.188rem;
    transform: rotate(180deg);
    transition: transform .2s ease;
}

#menu-toggle:checked+#trigger+#burger:before {
    width: 1.25rem;
    top: -0.125rem;
    left: 1.125rem;
    transform: rotate(45deg) translateX(-.313rem);
    transition: transform .2s ease;
}

#menu-toggle:checked+#trigger+#burger:after {
    width: 1.25rem;
    top: 0.125rem;
    left: 1.125rem;
    transform: rotate(-45deg) translateX(-.313rem);
    transition: transform .2s ease;
}

#menu {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 5.313rem;
    height: 4.688rem;
    background-color: #1E1C1C;
    border-radius: 0 0 10% 0;
    animation: not-checked-anim .2s both;
    transition: .2s;
    top: 0;
    left: 0;
}

#menu-toggle:checked+#trigger+#burger+#menu {
    animation: checked-anim 1s ease both;
}

#menu-toggle:checked+#trigger~#menu>li,
.liens-burger {
    display: block;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    display: none;
}

.menu {
    display: none;
    z-index: 1;
}

/******************/
/* MENU (desktop) */
/******************/
@media screen and (min-width:1024px) {
    .le_burger {
        display: none;
    }

    .menu {
        display: flex;
        justify-content: center;
        background-color: #1E1C1C;
        position: fixed;
        top: 0;
        width: 100%;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .liste_liens_menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex: 1;
        column-gap: 1.875rem;
        font-size: 1.3rem;
        list-style-type: none;
        padding-inline-start: 0;
    }

    .liste_liens_menu>li {
        margin-top: 0;
    }

    .liens_menu {
        color: #FFF7E7;
        font-family: 'Montserrat', sans-serif;
        text-decoration: none;
    }

    .liens_menu.page-courante {
        color: #EF2B2A;
        text-decoration: underline;
        text-underline-offset: 10px;
    }

    .liens_menu:hover {
        text-decoration: underline;
        text-underline-offset: 10px;
    }
}

@media screen and (min-width:1200px) {
    .menu {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media screen and (min-width:1400px) {
    .menu {
        padding-left: 10rem;
        padding-right: 10rem;
    }
}

@media screen and (min-width:2200px) {
    .menu {
        padding-left: 25rem;
        padding-right: 25rem;
    }
}


/*******************/
/* Partie 1 - Home */
/*******************/

.partie1-home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1E1C1C;
    /* background-image: url("img/fond raye.png") ;
    background-size: cover; */
    color: #FFF7E7;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;

}

@media screen and (min-width:2200px) {
    .partie1-home {
        padding-left: 25rem;
        padding-right: 25rem;
    }
}

@media screen and (min-width:1024px) {
    .partie1-home {
        /* justify-content: flex-start;
        align-items: flex-end; */
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media screen and (min-width:1200px) {
    .partie1-home {
        /* justify-content: flex-start;
        align-items: flex-end; */
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media screen and (min-width:1400px) {
    .partie1-home {
        padding-left: 10rem;
        padding-right: 10rem;
    }
}

.container_mon_logo {
    padding: 1.25rem;

}

@media screen and (min-width:1024px) {
    .container_mon_logo {
        display: none;
    }
}

.home_texte {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    height: 100vh;
}

@media screen and (min-width:1024px) {
    .home_texte {
        align-items: flex-start;
        justify-content: center;
        padding-top: 5rem;
    }
}

/* .home_mon_nom {
   padding-bottom: 30px;
} */

.home_mon_nom p {
    font-size: 1.45rem;
    padding-bottom: 0.938rem;
    margin: 0;
}

@media screen and (min-width:1800px) {
    .home_mon_nom p {
        font-size: 2rem;
    }
}

@media screen and (min-width:2200px) {
    .home_mon_nom p {
        font-size: 2rem;
    }
}

.portforlio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.portfolio_h1 {
    font-family: 'Super Funky', 'Motley Forces', courier, monospace;
    font-size: 5rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (min-width:1024px) {
    .portfolio_h1 {
        font-size: 9rem;
    }
}

@media screen and (min-width:1200px) {
    .portfolio_h1 {
        font-size: 10rem;
    }
}

@media screen and (min-width:1800px) {
    .portfolio_h1 {
        font-size: 14rem;
    }
}

@media screen and (min-width:2200px) {
    .portfolio_h1 {
        font-size: 16rem;
    }
}

.home_sous_titre {
    display: none;
}

@media screen and (min-width:1024px) {
    .home_sous_titre {
        display: flex;
    }
}

.home_sous_titre p {
    font-size: 1.45rem;
    margin-top: 2rem;
    width: max-content;
}

@media screen and (min-width:1800px) {
    .home_sous_titre p {
        font-size: 2rem;
    }
}

@media screen and (min-width:2200px) {
    .home_sous_titre p {
        font-size: 2rem;
    }
}

.sous-titres {
    margin-top: 2rem;
    padding-left: 0;
}

.home_sous_titre-phone {
    display: flex;
    justify-content: center;
    font-size: 1.3rem;
}

@media screen and (min-width:1024px) {
    .home_sous_titre-phone {
        display: none;
    }
}

.home_mon_portrait {
    display: flex;
    /* max-width: 50vw; */
    justify-content: center;
}

.home_mon_portrait img {
    max-width: 85vw;
}

@media screen and (min-width:1024px) {
    .home_mon_portrait {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .home_mon_portrait img {
        max-width: 50vw;
    }

}

@media screen and (min-width:1400px) {
    .home_mon_portrait img {
        max-width: 50vw;
    }
}

@media screen and (min-width:1800px) {
    .home_mon_portrait img {
        max-width: 50vw;
    }
}

@media screen and (min-width:2000px) {
    .home_mon_portrait img {
        max-width: 45vw;
    }
}


/***************************/
/* Partie 2 - Presentation */
/***************************/
.partie2-presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 3rem;
    margin-right: 3rem;
}

@media screen and (min-width:1024px) {
    .partie2-presentation {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-end;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media screen and (min-width:1200px) {
    .partie2-presentation {
        /* flex-direction: row;
        justify-content: flex-start;
        align-items: flex-end; */
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media screen and (min-width:1400px) {
    .partie2-presentation {
        padding-left: 10rem;
        padding-right: 10rem;
        margin-right: 3rem;
        margin-left: 3rem;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

@media screen and (min-width:2200px) {
    .partie2-presentation {
        padding-left: 25rem;
        padding-right: 25rem;
    }
}


.ma-photo-desktop {
    display: none;
    margin-right: 4rem;
    max-width: 30vw;
    margin-top: 4rem;
}

.ma-photo-mobile {
    margin-right: 4rem;
    max-width: 70vw;
    margin-top: 1rem;
}

@media screen and (min-width:1024px) {
    .ma-photo-mobile {
        display: none;
    }

    .ma-photo-desktop {
        display: flex;
    }
}

.mon-nom {
    font-weight: 600;
    color: #EF2B2A;
}

.lien-paragraphe-iut {
    font-size: 1.1rem;
}

.lien_cv {
    margin-top: 2.5rem;
    margin-bottom: 4rem;
}

#cv {
    color: #1E1C1C;
    background-color: #FFF7E7;
    border-radius: .625rem;
    border: solid 0.15rem #FFF7E7;
    padding: 0.75rem;
    text-decoration: none;
}

#cv:hover {
    color: #FFF7E7;
    background-color: transparent;
}


/**************************/
/* Partie 3 - Competences */
/**************************/

/* Section */
.partie3-competences {
    margin-top: 5rem;
    margin-left: 3rem;
    margin-right: 3rem;
}



@media screen and (min-width:1024px) {
    .partie3-competences {
        padding-left: 3rem;
        padding-right: 3rem;
        font-size: 1.3rem;
    }
}

@media screen and (min-width:1200px) {
    .partie3-competences {
        padding-left: 6rem;
        padding-right: 6rem;
        margin-left: 6rem;
        margin-right: 6rem;
    }
}

/* @media screen and (min-width:1400px) {
        .partie3-competences {
            padding-left: 10rem;
            padding-right: 10rem;
            margin-left: 10rem;
            margin-right: 10rem;
        }
    } */

@media screen and (min-width:2200px) {
    .partie3-competences {
        /* padding-left: 25rem;
        padding-right: 25rem; */
        margin-left: 25rem;
        margin-right: 25rem;
    }
}

/* Groupes */
.groupes_competences {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width:768px) {
    .groupes_competences {
        flex-direction: row;
        column-gap: 30px;
    }
}

.groupe1 {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.groupe2 {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.groupe1 ul,
.groupe2 ul {
    padding-left: 1.25rem;
}

@media screen and (min-width:768px) {

    .groupe1 ul,
    .groupe2 ul {
        padding-right: 5rem;
    }
}

.container-comp {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-right: 0;
    border: #FFF7E7 solid 2px;
    border-radius: 2rem;
    padding: 1.5rem;
    height: fit-content;
    margin-bottom: 2rem;
}

@media screen and (min-width:450px) {
    .container-comp {
        padding: 2rem;
    }
}


.container-comp.cache-en-mobile {
    display: none;
}


@media screen and (min-width:768px) {
    .container-comp.cache-en-desktop {
        display: none;
    }

    .container-comp.cache-en-mobile {
        display: flex;
    }
}

.images-groupe {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.logo_logiciel {
    height: 2.5rem;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

@media screen and (min-width:450px) {
    .logo_logiciel {
        margin-left: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

@media screen and (min-width:1024px) {
    .logo_logiciel {
        height: 3.125rem;
    }
}



/************/
/* Partie 4 */
/************/

#partie4 {
    margin-top: 7rem;
    margin-left: 3rem;
    margin-right: 3rem;
}

@media screen and (min-width:1200px) {
    #partie4 {
        margin-right: 6rem;
        margin-left: 6rem;
    }
}

@media screen and (min-width:1400px) {
    #partie4 {
        margin-right: 10rem;
        margin-left: 10rem;
    }
}

@media screen and (min-width:2200px) {
    #partie4 {
        margin-right: 25rem;
        margin-left: 25rem;
    }
}

#partie4 a {
    text-decoration: none;
}

#partie4 h2 {
    margin-top: 2rem;
}

#partie4 li {
    list-style: none;
}

.realisation_listes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width:768px) {
    .realisation_listes {
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 1.875rem;
        row-gap: .625rem;
    }

}

/* 
    .ma_realisation {
        max-height: 40rem;
        max-width: 75vw;
        border-radius: 1rem;

        filter:  linear-gradient(0deg, rgba(234, 224, 224, 0.9) 0%, rgba(0, 0, 0, 0) 50%);
    } */

/* test */

.ma_realisation {
    position: relative;
    max-height: 40rem;
    max-width: 75vw;
    border-radius: 1rem;
    overflow: hidden;
    /* Empêche le débordement du pseudo-élément */
}

.ma_realisation::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 1rem;
    z-index: 2;
    /* S'assurer qu'il est au-dessus */
    pointer-events: none;
    /* Empêche le blocage des interactions */
}

.ma_realisation:hover::after {
    opacity: 1;
}

/* test */

@media screen and (min-width:450px) {
    .ma_realisation {
        max-height: 24rem;
        border: transparent solid 0.08rem;
        border-radius: 1rem;
    }
}

@media screen and (min-width:1400px) {
    .ma_realisation {
        max-height: 30rem;
        max-width: 20rem;
    }
}

@media screen and (min-width:1800px) {
    .ma_realisation {
        max-height: 50rem;
        max-width: 30rem;
    }
}

/* .ma_realisation:hover {
        border: #FFF7E7 solid 0.08rem;
        
    } */





/*******************************/
/* Footer : Contact */
/*******************************/

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
}

@media screen and (min-width:1024px) {
    .contact {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        column-gap: 3.125rem;
        margin-top: 5rem;
    }
}

.coordonnés {
    font-size: 2rem;
}

@media screen and (min-width:1024px) {
    .coordonnés {
        font-size: 3rem;
        margin: 0;
    }
}

.logo {
    max-width: 2.813rem;
}

.les-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    column-gap: 1.875rem;
}

.les-logos a {
    margin-top: 0;
}

.les-logos li {
    list-style-type: none;
}

.indication {
    margin-left: 60vw;
    font-style: italic;
    margin-top: -2.5rem;
}

.copyright {
    display: flex;
    justify-content: center;
    font-size: 0.5rem;
    margin-right: 2rem;
}








.Comp {
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-sizing: border-box;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    padding-left: 25px;
    padding-right: 25px;
    width: 100%;
    margin-bottom: 1rem;
}

@media screen and (min-width:768px) {
    .Comp {
        border-radius: 1rem;
        border: 1px solid #e5e7eb;
        box-sizing: border-box;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        padding-left: 25px;
        padding-right: 25px;
        width: 25%;
    }
}

.mes-Comp {
    display: flex;
    justify-content: center;
    padding-left: 3rem;
    padding-right: 3rem;
    width: 100%;
    flex-direction: column;
}


@media screen and (min-width:768px) {
    .mes-Comp {
        margin-top: 4rem;
        display: flex;
        justify-content: space-evenly;
        padding-left: 6rem;
        padding-right: 6rem;
        width: 100%;
        flex-direction: row;
    }

}

.red {
    color: #EF2B2A;
}


.footer {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    margin-left: 1.563rem;
    margin-right: 1.563rem;
}

@media screen and (min-width:768px) {
    .footer {
        flex-direction: row;
        justify-content: space-evenly;
        margin-top: 3rem;
    }
}
@media screen and (min-width:2000px) {
    .footer {
        flex-direction: row;
        justify-content: space-evenly;
        margin-top: 3rem;
        margin-left: 20rem;
        margin-right: 20rem;
    }
}

.footer-submenu{
    display: flex;
    justify-content: space-between;
}

@media screen and (min-width:768px) {
    .footer-submenu {
        column-gap: 8rem;
    }
}
@media screen and (min-width:1600px) {
    .footer-submenu {
        column-gap: 12rem;
    }
}

.voir_plus {
    display: inline-block;
    padding: 12px 16px;
    background-color: #EF2B2A;
    color: #FFF7E7;
    cursor: pointer;
    border-radius: 1rem;
    margin-top: 2rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: large;
    text-decoration: none;
}

.voir_plus:hover {
    background-color: #FFF7E7;
    color: #EF2B2A;
}

.bouton-wrapper {
    text-align: center;
}



/* Page projets  */
* {
    box-sizing: border-box;
}



/* Center website */
.main {
    max-width: 100vw;
    margin: auto;
}

@media screen and (min-width:768px) {
    .main {
        max-width: 75vw;
    }
}

.titre-realisations {
    font-size: 2.5em;
    color: #EF2B2A;
    overflow-wrap: normal;
}

@media screen and (min-width:768px) {
    .titre-realisations {
        font-size: 3.125em;
    }
}


.titre-detail-projet {
    display: flex;
    justify-content: center;
    margin-top: 6rem;
    font-size: 2.5em;
    color: #EF2B2A;
    overflow-wrap: normal;
    text-align: center;
}

@media screen and (min-width:768px) {
    .titre-detail-projet {
        font-size: 3.125em;
    }
}

@media screen and (min-width:1200px) {
    .titre-detail-projet {
        margin-top: 8rem;
    }
}

@media screen and (min-width:1800px) {
    .titre-detail-projet {
        margin-top: 10rem;
    }
}



.marge {
    margin-top: 6rem;
}

@media screen and (min-width:1800px) {
    .marge {
        margin-top: 6rem;
    }
}

.row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* margin: 10px -16px; */
    align-items: center;
    row-gap: 1.875rem;
    margin-top: 1.875rem;
}

@media screen and (min-width:768px) {
    .row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        row-gap: 1.875rem;
        column-gap: 1.875rem;
    }
}

.column {
    /* Hide all elements by default */
    display: none;
}

.img-projet {
    border-radius: 1rem;
    width: 18.75rem;
    border: transparent solid 3px;
}

@media screen and (min-width:1600px) {
    .img-projet {
        width: 28.125rem;
    }
}

.img-projet:hover {
    border-radius: 1rem;
    border: #EF2B2A solid 3px;
}


/* The "show" class is added to the filtered elements */
.show {
    display: block;
}

#myBtnContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Style the buttons */
.btn-filtre-projets {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: #FFF7E7;
    cursor: pointer;
    border-radius: 1rem;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    margin-top: 2rem;
    font-size: 1rem;
    border: transparent solid 3px;
    color: #1E1C1C;
}

.btn-filtre-projets:hover {
    background-color: #FFF7E7;
    border: #EF2B2A solid 3px;
    color: #EF2B2A;
}

.btn-filtre-projets.active {
    background-color: #EF2B2A;
    color: white;
}