/* --------- FONTS --------- */

@font-face {
    font-family: 'MontrealMedium';
    src: url('fonts/MontrealMedium.woff2') format('woff2')
}

@font-face {
    font-family: 'MontrealLight';
    src: url('fonts/MontrealLight.woff2') format('woff2')
}

@font-face {
    font-family: 'Voyage';
    src: url('fonts/voyage-bold.woff2') format('woff2')
}

span {
    color: #C5A422;
}

/* --------- Téléphone (Iphone 14 Pro Max) ---------*/

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    height: 100%;
    display: flex;
    height: fit-content;
}

body {
    margin: 0;
    background-image: url(images/gradientBg.png);
    font-family: "MontrealLight";
    color: white;
    width: 100%;
    height: fit-content;
}


.headerComplet {
    display: none;
}

.headerReduit {
    display: flex;
    margin: 20px 40px;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.logoSiteImg {
    width: 50px;
}

.boutonMenu {
    z-index: 2;
    position: relative;
    width: 30px;
}

.menuDeroulant {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1D1D1D;
    z-index: 1;
    transform: translateX(-100%);
    transition: 500ms;
}

.ouvert {
    transform: translateX(0);
    transition: 500ms;
}

.boutonsHeaderReduit {
    display: flex;
    gap: 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.boutonProjetsReduit {
    border-bottom: 0px solid transparent;
    transition: 200ms;
    font-weight: bold;
    font-size: 2rem;
}

.boutonProjetsReduit:hover {
    border-bottom: 1px solid #C5A422;
    transition: 200ms;
}

.boutonContactReduit {
    border-bottom: 0px solid transparent;
    transition: 200ms;
    font-weight: bold;
    font-size: 2rem;
}

.boutonContactReduit:hover {
    border-bottom: 1px solid #C5A422;
    transition: 200ms;
}

a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    height: fit-content;
}

.boutonContact {
    font-family: "MontrealMedium";
}

.languesReduit {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.languesReduit img {
    width: 70px;
}

.francais {
    transition: 100ms;
}

.francais:hover {
    content: url(images/flagFranceHover.svg);
    transition: 100ms;
}

.englais {
    transition: 100ms;
}

.englais:hover {
    content: url(images/flagEnglandHover.svg);
    transition: 100ms;
}

.espagnol {
    transition: 100ms;
}

.espagnol:hover {
    content: url(images/flagSpainHover.svg);
}

.accueil {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    text-align: center;
    height: fit-content;
    gap: 230px;
    align-items: center;
    height: calc(100vh - 80px - 34px);
    margin-bottom: 50px;
}


.accueilMain {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
}


.titreMain {
    width: 350px;
}

.titreMainContainer h1 {
    display: none;
}

.titreMainContainer h2 {
    display: none;
}

.boutonCvContainer {
    border: 2px solid #C5A422;
    width: 280px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 300ms;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    position: relative;
    transition: all 1s;
    overflow: hidden;
    z-index: 0;
}

.boutonCvContainer::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 0%;
    top: 0;
    left: -40px;
    transform: skewX(45deg);
    background-color: #C5A422;
    z-index: -2;
    transition: all 1s;
}

.boutonCvContainer:hover::before {
    width: 160%;
}

.boutonCv {
    font-weight: bold;
    font-size: 1.5rem;
}

.projets {
    height: 100%;
    position: relative;
    margin-bottom: 50px;
}

.splide {
    padding-top: 50px;
    margin-bottom: 30px;
}

li img {
    width: 100%;
}

.splide__slide a {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: white;
    transition: 200ms;
}

.splide__slide a:hover {
    color: #C5A422;
    transition: 200ms;
}

a h2 {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 2.5rem;
}

a h3 {
    margin-top: 5px;
    font-weight: 200;
    font-size: 1.5rem;
}

.arrows {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.arrows img {
    width: 100px;
}

.flecheGauche:hover {
    content: url(images/flecheGaucheHover.svg);
}

.flecheDroite:hover {
    content: url(images/flecheDroiteHover.svg);
}

.footerProjets {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    bottom: 0;
    padding: 10px 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footerProjets img {
    width: 50px;
}

h1 {
    font-family: 'MontrealLight';
    font-weight: normal;
    font-size: 3rem;
    margin: 0;
}

.contact {
    height: 100%;
    position: relative;
}

.contactMain {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 40px;
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formulaire {
    height: 100%;
}

.profil {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.inputBox {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.formulaire input {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid white;
    color: white;
    font-family: 'MontrealLight';
    font-size: 1.5rem;
    width: 70%;
}

textarea {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid white;
    resize: none;
    color: white;
    font-family: 'MontrealLight';
    font-size: 1.5rem;
    width: 70%;
}

textarea:focus,
input:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: white;
}

.photoProfil {
    width: 60%;
}

.footerContact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    bottom: 0;
    padding: 10px 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footerContact img {
    width: 50px;
}

.formBas {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.formBas input {
    background-color: white;
    border: none;
    font-family: 'MontrealMedium';
    font-size: 1.3rem;
    padding: 15px 25px;
    color: #404040;
    transition: 300ms;
}

.formBas input:hover {
    background-color: #C5A422;
    color: white;
    transition: 300ms;
}

.reseaux {
    display: flex;
    gap: 10px;
}

.reseaux img {
    width: 50px;
}

.profil h3 {
    position: absolute;
    font-family: 'Voyage';
    font-size: 2.2rem;
}

.emailh3 {
    bottom: 50px;
    left: 40px;
}

.telh3 {
    bottom: 0px;
    right: 0x;
}

.boutonInsta i {
    color: white;
    transition: 200ms;
}

.boutonInsta:hover>i {
    color: #C5A422;
    transition: 200ms;
}

.boutonLink i {
    color: white;
    transition: 200ms;
}

.boutonLink:hover>i {
    color: #C5A422;
    transition: 200ms;
}

.mainProjet {
    width: auto;
    height: 100%;
    padding-bottom: 50px;
}

.projetContainer {
    margin-left: 20px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 20px;
}

.boutonRetourContainer img {
    width: 15px;
}

.boutonRetourContainer a {
    font-family: MontrealMedium;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 200ms;
}

.boutonRetourContainer a:hover {
    color: #C5A422;
    transition: 200ms;
}

.descriptionContainer {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 30px;
}

.descriptionContainer p {
    flex: 1;
    font-size: 1.2rem;
}

.logiciel {
    border-top: 1px solid #ffffff;
    padding-top: 20px;
}

.logiciel h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.logiciel p {
    margin: 0;
}

.iframeContainer {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}

iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.footerProjet {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 10px;
    align-items: center;
    justify-content: space-between;
}

.footerProjet img {
    width: 12px;
}

.footerProjet a {
    font-family: MontrealMedium;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    gap: 6px;
    transition: 200ms;
}

.footerProjet a:hover {
    color: #C5A422;
    transition: 200ms;
}

.footerProjet p {
    margin: 0;
    font-size: 1rem;
    display: none;
}

.langues {
    display: none;
}



/* --------- PC Petit Ecran --------- */



@media (min-width: 1300px) {

    .headerComplet {
        margin: 40px 120px;
        display: flex;
        justify-content: space-between;
    }

    .headerReduit {
        display: none;
    }

    .menuDeroulant {
        display: none;
    }

    .boutonsHeader {
        display: flex;
        gap: 130px;
    }

    .boutonProjets {
        border-bottom: 0px solid transparent;
        transition: 200ms;
    }

    .boutonProjets:hover {
        border-bottom: 1px solid #C5A422;
        transition: 200ms;
    }

    .boutonContact {
        border-bottom: 0px solid transparent;
        transition: 200ms;
    }

    .boutonContact:hover {
        border-bottom: 1px solid #C5A422;
        transition: 200ms;
    }

    main {
        display: block;
        width: 100%;
    }

    .accueil {
        gap: 200px;
        margin-bottom: 50px;
    }

    .accueilMain {
        gap: 50px;
    }

    .titreMain {
        width: 550px;
    }

    .boutonCvContainer {
        width: 330px;
    }

    .boutonCvContainer:hover::before {
        width: 160%;
    }

    .boutonCv {
        font-size: 1.8rem;
    }

    .languesReduit {
        display: none;
    }

    .langues {
        position: absolute;
        display: flex;
        flex-direction: column;
        gap: 10px;
        left: 40px;
        bottom: 40px;
    }

    .langues img {
        width: 40px;
    }

    .francais {
        transition: 100ms;
    }

    .francais:hover {
        content: url(images/flagFranceHover.svg);
        transition: 100ms;
    }

    .englais {
        transition: 100ms;
    }

    .englais:hover {
        content: url(images/flagEnglandHover.svg);
        transition: 100ms;
    }

    .espagnol {
        transition: 100ms;
    }

    .espagnol:hover {
        content: url(images/flagSpainHover.svg);
    }

    .projets {
        height: 100vh;
    }

    li img {
        width: 100%;
    }

    .arrows img {
        width: 45px;
    }

    a h2 {
        margin-top: 20px;
        margin-bottom: 0;
        font-size: 1.5em;
    }

    a h3 {
        margin-top: 5px;
        font-weight: 200;
        font-size: 1.17em;
    }

    .arrows {
        margin-bottom: 0;
        justify-content: end;
        margin-right: 50px;
    }

    .footerProjets {
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        position: absolute;
        bottom: 0;
        padding: 20px 40px;
    }

    .footerProjets img {
        width: 75px;
    }

    h1 {
        font-size: 6rem;
    }

    .contact {
        height: 100vh;
        position: relative;
    }

    .contactMain {
        display: flex;
        flex-direction: row;
        padding: 50px;
        gap: 0px;
    }

    .form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .formulaire {
        height: 100%;
    }

    .profil {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .inputBox {
        display: flex;
        flex-direction: column;
        height: 100%;
        gap: 50px;
        align-items: center;
        justify-content: center;
    }

    .formulaire input {
        background-color: transparent;
        border: none;
        border-bottom: 2px solid white;
        color: white;
        font-family: 'MontrealLight';
        font-size: 1.5rem;
        width: 50%;
    }

    textarea {
        background-color: transparent;
        border: none;
        border-bottom: 2px solid white;
        resize: none;
        color: white;
        font-family: 'MontrealLight';
        font-size: 1.5rem;
        width: 50%;

    }

    textarea:focus,
    input:focus {
        outline: none;
    }

    input::placeholder,
    textarea::placeholder {
        color: white;
    }

    .photoProfil {
        width: 45%;
    }

    .footerContact {
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        position: absolute;
        bottom: 0;
        padding: 20px 40px;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .footerContact img {
        width: 75px;
    }

    .formBas {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }

    .formBas input {
        background-color: white;
        border: none;
        font-family: 'MontrealMedium';
        font-size: 1.5rem;
        padding: 10px 45px;
        color: #404040;
        transition: 300ms;
        width: 200px;
    }

    .formBas input:hover {
        background-color: #C5A422;
        color: white;
        transition: 300ms;
    }

    .reseaux {
        display: flex;
        gap: 10px;
    }

    .reseaux img {
        width: 50px;
    }

    .profil h3 {
        position: absolute;
        font-family: 'Voyage';
        font-size: 4rem;
    }

    .emailh3 {
        bottom: 40px;
        left: 40px;
    }

    .telh3 {
        bottom: -50px;
        right: 175px;
    }

    .boutonInsta i {
        color: white;
        transition: 200ms;
    }

    .boutonInsta:hover>i {
        color: #C5A422;
        transition: 200ms;
    }


    .boutonLink i {
        color: white;
        transition: 200ms;
    }

    .boutonLink:hover>i {
        color: #C5A422;
        transition: 200ms;
    }

    .mainProjet {
        width: auto;
        padding-bottom: 50px;
    }

    .projetContainer {
        margin-left: 300px;
        margin-right: 300px;
        display: flex;
        flex-direction: column;
        height: 100%;
        gap: 20px;
    }

    .boutonRetourContainer img {
        width: 15px;
    }

    .boutonRetourContainer a {
        font-family: MontrealMedium;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: 200ms;
    }

    .boutonRetourContainer a:hover {
        color: #C5A422;
        transition: 200ms;
    }

    .descriptionContainer {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 30px;
    }

    .descriptionContainer p {
        flex: 1;
        font-size: 1rem;
        margin: 0;
    }

    .logiciel {
        border-left: 1px solid #ffffff;
        border-top: none;
        padding-left: 20px;
        padding-top: 0;
    }

    .logiciel h3 {
        margin-top: 0;
        font-size: 1.17rem;
    }

    .logiciel p {
        margin: 0;
    }

    .iframeContainer {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-top: 56.25%;
    }

    iframe {
        border: none;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .footerProjet {
        display: flex;
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        padding-top: 5px;
        align-items: center;
        justify-content: space-between;
    }

    .footerProjet img {
        width: 12px;
    }

    .footerProjet a {
        font-family: MontrealMedium;
        display: flex;
        align-items: center;
        font-size: 1.2rem;
        gap: 6px;
        transition: 200ms;
    }

    .footerProjet a:hover {
        color: #C5A422;
        transition: 200ms;
    }

    .footerProjet p {
        margin: 0;
        font-size: 1.2rem;
        display: block;
    }

    .popup {
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .popup h1 {
        font-size: 3rem;
        margin-bottom: 30px;
        padding-bottom: 10px;
        border-bottom: 1px solid #c5a422;
    }

    .popup a {
        font-size: 2rem;
        font-weight: bold;
        color: white;
        transition: 300ms;
    }

    .popup a:hover {
        transition: 300ms;
        color: #C5A422;
    }

    .popup .messageInvalide {
        font-size: 2rem;
    }
}


/* --------- PC 1920/1080 Grand Ecran --------- */


@media (min-width: 1700px) {

    .footerProjets {
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        position: absolute;
        bottom: 0;
        padding: 20px 40px;
    }

    .footerProjets img {
        width: 100px;
    }

    h1 {
        font-size: 9rem;
    }

    .contact {
        height: 100vh;
        position: relative;
    }

    .contactMain {
        display: flex;
        flex-direction: row;
        padding: 50px;
        gap: 0px;
    }

    .form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .formulaire {
        height: 100%;
    }

    .profil {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .inputBox {
        display: flex;
        flex-direction: column;
        height: 100%;
        gap: 50px;
        align-items: center;
        justify-content: center;
    }

    .formulaire input {
        background-color: transparent;
        border: none;
        border-bottom: 2px solid white;
        color: white;
        font-family: 'MontrealLight';
        font-size: 1.5rem;
        width: 40%;
    }

    textarea {
        background-color: transparent;
        border: none;
        border-bottom: 2px solid white;
        resize: none;
        color: white;
        font-family: 'MontrealLight';
        font-size: 1.5rem;
        width: 40%;

    }

    textarea:focus,
    input:focus {
        outline: none;
    }

    input::placeholder,
    textarea::placeholder {
        color: white;
    }

    .photoProfil {
        width: 45%;
    }

    .footerContact {
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        position: absolute;
        bottom: 0;
        padding: 20px 40px;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .footerContact img {
        width: 100px;
    }

    .formBas {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }

    .formBas input {
        background-color: white;
        border: none;
        font-family: 'MontrealMedium';
        font-size: 1.5rem;
        padding: 10px 45px;
        color: #404040;
        transition: 300ms;
        width: 200px;
    }

    .formBas input:hover {
        background-color: #C5A422;
        color: white;
        transition: 300ms;
    }

    .reseaux {
        display: flex;
        gap: 10px;
    }

    .reseaux img {
        width: 50px;
    }

    .profil h3 {
        position: absolute;
        font-family: 'Voyage';
        font-size: 5rem;
    }

    .emailh3 {
        bottom: 40px;
        left: 40px;
    }

    .telh3 {
        bottom: -50px;
        right: 175px;
    }

    .boutonInsta i {
        color: white;
        transition: 200ms;
    }

    .boutonInsta:hover>i {
        color: #C5A422;
        transition: 200ms;
    }


    .boutonLink i {
        color: white;
        transition: 200ms;
    }

    .boutonLink:hover>i {
        color: #C5A422;
        transition: 200ms;
    }

    .mainProjet {
        width: auto;
        height: 100%;
        padding-bottom: 50px;
    }

    .projetContainer {
        margin-left: 500px;
        margin-right: 500px;
        display: flex;
        flex-direction: column;
        height: 100%;
        gap: 20px;
    }

    .boutonRetourContainer img {
        width: 15px;
    }

    .boutonRetourContainer a {
        font-family: MontrealMedium;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: 200ms;
    }

    .boutonRetourContainer a:hover {
        color: #C5A422;
        transition: 200ms;
    }

    .descriptionContainer {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 30px;
    }

    .descriptionContainer p {
        flex: 1;
        font-size: 1rem;
    }

    .logiciel {
        border-left: 1px solid #ffffff;
        border-top: none;
        padding-top: 0;
        padding-left: 20px;
    }

    .logiciel h3 {
        margin-top: 0;
        font-size: 1.17rem;
    }

    .logiciel p {
        margin: 0;
    }

    .iframeContainer {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-top: 56.25%;
    }

    iframe {
        border: none;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }

    .footerProjet {
        display: flex;
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        padding-top: 5px;
        align-items: center;
        justify-content: space-between;
    }

    .footerProjet img {
        width: 12px;
    }

    .footerProjet a {
        font-family: MontrealMedium;
        display: flex;
        align-items: center;
        font-size: 1.2rem;
        gap: 6px;
        transition: 200ms;
    }

    .footerProjet a:hover {
        color: #C5A422;
        transition: 200ms;
    }

    .footerProjet p {
        margin: 0;
        font-size: 1.2rem;
    }

}