:root {
    font-size: 62.5%;
}

* {
    box-sizing: border-box;
}

img {
    display: block;
}

.container {
    background-color: #F6F2EF;
    display: flex;
    flex-direction: row;
    width: 100%
}

aside {
    border-right: black solid 2px;
    font-family: 'Audiowide', cursive;
    width: 15%;
    font-size: 4rem;
    text-align: end;
    padding: .5rem;


}

aside img {
    padding: 2rem 2rem 0rem 2rem;
    margin: 0;
    width: 100%;
}

aside #premier {
    margin-top: 15rem;
    margin-right: 2rem;
}

aside #deux {
    margin-top: 51.5rem;
    margin-right: 2rem;
}

aside #trois {
    margin-top: 73.5rem;
    margin-right: 2rem;
}

aside #quatre {
    margin-top: 68.5rem;
    margin-right: 2rem;
}

aside #cinq {
    margin-top: 55rem;
    margin-right: 2rem;
}


main {
    width: 85%;

}

/* HEADER 
jai peur*/

header {
    height: 10rem;
    padding: 2rem;
    display: flex;
    justify-content: end;
}

header ul {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    display: flex;
    margin: 2rem;
    color: black;
    text-transform: uppercase;
}

header ul li {
    text-decoration: none;
    color: black;
    list-style: none;
    padding-left: 2rem;
}

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

header li a:hover {
    color: #CE0F15;
}


/* Section 001 
okayyyyy lets go*/

.presentation {
    display: flex;
}

.presentation h1 {
    font-family: 'Climate Crisis', cursive;
    font-size: 9.6rem;
    text-transform: uppercase;
    margin: .5rem 0 0 10rem;

}

.presentation h2 {
    font-family: 'Climate Crisis', cursive;
    font-size: 9.6rem;
    text-transform: uppercase;
    margin: 0rem 0rem 0rem 25rem;
}

.boite1 {
    z-index: 100;
}

.presentation p {
    font-family: 'Poppins', sans-serif;
    margin-left: 10rem;
    margin-top: 7rem;
    text-align: justify;
    font-size: 1.5rem;
    line-height: 1.5;
    width: 50rem;
}

.presentation {
    position: relative;
}

.boite2 {
    position: absolute;
    top: 5rem;
    right: 13.5rem;
}

/* Section 002 
send help*/

.projets {
    border-top: black solid 2px;
    margin-top: 20rem;

}

.projets h2 {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
    font-size: 4rem;
    margin: 1rem;
}

.projets h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin: 0;
    text-align: end;
    padding: 0 10.5rem 0 0;
    position: relative;
    z-index: 100;
    opacity: 70%;
}


.projets .guilun {
    position: absolute;
    right: 51.5rem;
    top: 96rem;
    opacity: 60%;

}

.projets .guildeux {
    position: absolute;
    right: 4rem;
    top: 105.5rem;
    opacity: 60%;

}


.projets h4 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 300;
}

.projets h4:hover {
    color: #CE0F15;
}

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

.projetsparents {
    display: flex;
    margin: 0 8rem 0 8rem;
    object-fit: contain;

}

.graphisme {
    width: 25%;
    padding: 9.5rem 2.5rem 2.5rem 2.5rem;
    text-align: center;
}

.graphisme img {
    width: 100%;
    border: black solid 4px;
}

.graphisme img:hover {
    border: #CE0F15 solid 4px;
}


.charte {
    width: 25%;
    padding: 9.5rem 2.5rem 2.5rem 2.5rem;
    text-align: center;

}

.charte img {
    width: 100%;
    border: black solid 4px;

}

.charte img:hover {
    border: #CE0F15 solid 4px;
}


.ux {
    width: 25%;
    padding: 9.5rem 2.5rem 2.5rem 2.5rem;
    text-align: center;

}

.ux img {
    width: 100%;
    border: black solid 4px;
}

.ux img:hover {
    border: #CE0F15 solid 4px;
}

.photographie {
    width: 25%;
    padding: 9.5rem 2.5rem 2.5rem 2.5rem;
    text-align: center;

}

.photographie img {
    width: 100%;
    border: black solid 4px;
}

.photographie img:hover {
    border: #CE0F15 solid 4px;
}

/* Section 003 
oscour */

.parcours {
    border-top: black solid 2px;
    margin-top: 10rem;
}

.parcours h2 {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
    font-size: 4rem;
    margin: 1rem;
}

.parcours h3 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 2.5rem;
}

.parcours p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
}

.information1 {
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin-bottom: 3rem;
}

.titres {
    margin-right: 20rem;
    margin-top: 10rem;
    text-align: end;
}


.titres h3 {
    margin-bottom: 12rem;
}

.softskills {
    margin-top: -1rem;
}

.ctUni {
    margin-top: -1.5rem
}

.irUni {
    margin-top: -1.5rem;
}

.espagnol {
    margin-top: -1rem;
}

.volonteriat {
    margin-top: -1.5rem;
}


.details {
    margin-top: 11rem;
    margin-right: 17rem;
}

.details p {
    margin-bottom: 8rem;
}

.swiper-pagination-bullet {
    background-color: #CE0F15;
}

/* Section 004
jvais mourir */


.knowme {
    border-top: black solid 2px;
    margin-top: 7rem;
}

.knowme h2 {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
    font-size: 4rem;
    margin: 1rem
}

.icons {
    display: flex;
    object-fit: contain;
    padding: 3rem;

}

.voyages {
    width: 33.33%;

}

.btnPopupVoy {
    width: 100%;
    scale: 55%;

    --b: 8px;
    /* border thickness*/
    --s: 70px;
    /* size of the corner*/
    --g: 14px;
    /* the gap*/
    --c: #CE0F15;

    padding: calc(var(--b) + var(--g));
    background-image:
        conic-gradient(from 90deg at top var(--b) left var(--b), #0000 25%, var(--c) 0),
        conic-gradient(from -90deg at bottom var(--b) right var(--b), #0000 25%, var(--c) 0);
    background-position:
        var(--_p, 0%) var(--_p, 0%),
        calc(100% - var(--_p, 0%)) calc(100% - var(--_p, 0%));
    background-size: var(--s) var(--s);
    background-repeat: no-repeat;
    cursor: pointer;
    transition:
        background-position .3s var(--_i, .3s),
        background-size .3s calc(.3s - var(--_i, .3s));
}

.voyages img.alt {
    background-image:
        conic-gradient(from 180deg at top var(--b) right var(--b), #0000 25%, var(--c) 0),
        conic-gradient(from 0deg at bottom var(--b) left var(--b), #0000 25%, var(--c) 0);
    background-position:
        calc(100% - var(--_p, 0%)) var(--_p, 0%),
        var(--_p, 0%) calc(100% - var(--_p, 0%));

}

.voyages img:hover {
    background-size: calc(100% - var(--g)) calc(100% - var(--g));
    --_p: calc(var(--g)/2);
    --_i: 0s;
}


.lectures {
    width: 33.33%
}

.btnPopupLec {
    width: 100%;
    scale: 55%;


    --b: 8px;
    /* border thickness*/
    --s: 70px;
    /* size of the corner*/
    --g: 14px;
    /* the gap*/
    --c: #CE0F15;

    padding: calc(var(--b) + var(--g));
    background-image:
        conic-gradient(from 90deg at top var(--b) left var(--b), #0000 25%, var(--c) 0),
        conic-gradient(from -90deg at bottom var(--b) right var(--b), #0000 25%, var(--c) 0);
    background-position:
        var(--_p, 0%) var(--_p, 0%),
        calc(100% - var(--_p, 0%)) calc(100% - var(--_p, 0%));
    background-size: var(--s) var(--s);
    background-repeat: no-repeat;
    cursor: pointer;
    transition:
        background-position .3s var(--_i, .3s),
        background-size .3s calc(.3s - var(--_i, .3s));
}

.lectures img.alt {
    background-image:
        conic-gradient(from 180deg at top var(--b) right var(--b), #0000 25%, var(--c) 0),
        conic-gradient(from 0deg at bottom var(--b) left var(--b), #0000 25%, var(--c) 0);
    background-position:
        calc(100% - var(--_p, 0%)) var(--_p, 0%),
        var(--_p, 0%) calc(100% - var(--_p, 0%));

}

.lectures img:hover {
    background-size: calc(100% - var(--g)) calc(100% - var(--g));
    --_p: calc(var(--g)/2);
    --_i: 0s;
}




.cinema {
    width: 33.33%;
}

.btnPopupCin {
    width: 100%;
    scale: 55%;

    --b: 8px;
    /* border thickness*/
    --s: 70px;
    /* size of the corner*/
    --g: 14px;
    /* the gap*/
    --c: #CE0F15;

    padding: calc(var(--b) + var(--g));
    background-image:
        conic-gradient(from 90deg at top var(--b) left var(--b), #0000 25%, var(--c) 0),
        conic-gradient(from -90deg at bottom var(--b) right var(--b), #0000 25%, var(--c) 0);
    background-position:
        var(--_p, 0%) var(--_p, 0%),
        calc(100% - var(--_p, 0%)) calc(100% - var(--_p, 0%));
    background-size: var(--s) var(--s);
    background-repeat: no-repeat;
    cursor: pointer;
    transition:
        background-position .3s var(--_i, .3s),
        background-size .3s calc(.3s - var(--_i, .3s));
}

.cinema img.alt {
    background-image:
        conic-gradient(from 180deg at top var(--b) right var(--b), #0000 25%, var(--c) 0),
        conic-gradient(from 0deg at bottom var(--b) left var(--b), #0000 25%, var(--c) 0);
    background-position:
        calc(100% - var(--_p, 0%)) var(--_p, 0%),
        var(--_p, 0%) calc(100% - var(--_p, 0%));
}

.cinema img:hover {
    background-size: calc(100% - var(--g)) calc(100% - var(--g));
    --_p: calc(var(--g)/2);
    --_i: 0s;
}

/* mais c genial j'adore */

.popupContainerVoy {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.popupvoy {
    border: black solid 2px;
    height: 40rem;
    width: 60rem;
    border-radius: 1rem;
    background-color: #F6F2EF;
}

.hidePopup {
    display: none;
}

.textevoy {
    display: flex;
}

.popupvoy img {
    width: 30%;
    margin-top: -3rem;
    scale: 55%;

}

.popupvoy p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    width: 70%;
    line-height: 1.5;
    padding: 4rem 2rem 2rem 4rem;
    margin: 0;
}

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

.popupvoy .carreR span {
    height: 12px;
    width: 12px;
    background-color: #CE0F15;
    display: flex;
    flex-direction: column;
    margin: 2rem;
    margin-left: 6rem;
}


.popupvoy li {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2;
    list-style-type: none;


}

/* okay c à mon tour */

.popupContainerLec {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.popupLec {
    border: black solid 2px;
    height: 40rem;
    width: 60rem;
    border-radius: 1rem;
    background-color: #F6F2EF;
}

.hidePopuplec {
    display: none;
}

.texteLec {
    display: flex;
}

.popupLec img {
    width: 30%;
    margin-top: -3rem;
    scale: 55%;

}

.popupLec p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    width: 70%;
    line-height: 1.5;
    padding: 4rem 2rem 2rem 4rem;
    margin: 0;
}

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

.popupLec .carreR span {
    height: 12px;
    width: 12px;
    background-color: #CE0F15;
    display: flex;
    flex-direction: column;
    margin: 2rem;
    margin-left: 6rem;
}

.popupLec li {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2;
    list-style-type: none;


}

/* et le dernier lets gooo */

.popupContainerCin {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.popupCin {
    border: black solid 2px;
    height: 40rem;
    width: 60rem;
    border-radius: 1rem;
    background-color: #F6F2EF;
}

.hidePopupCin {
    display: none;
}

.texteCin {
    display: flex;
}

.popupCin img {
    width: 30%;
    margin-top: -3rem;
    scale: 55%;


}

.popupCin p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    width: 70%;
    line-height: 1.5;
    padding: 4rem 2rem 2rem 4rem;
    margin: 0;
}

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

.popupCin .carreR span {
    height: 12px;
    width: 12px;
    background-color: #CE0F15;
    display: flex;
    flex-direction: column;
    margin: 2rem;
    margin-left: 6rem;
}

.popupCin li {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2;
    list-style-type: none;


}

/* Section 005 
okay ca va un peu mieux :)*/

.contact {
    border-top: black solid 2px;
    margin-top: 7rem;
    margin-bottom: 2rem;
}

.contact h2 {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
    font-size: 4rem;
    margin: 1rem
}


.infos {
    display: flex;
    flex-direction: column;
    align-items: end;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    text-align: justify;
    margin-right: 40rem;
    margin-top: 10rem;
}

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

.btn {
    font-family: 'Michroma', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    background-color: black;
    border-radius: .8rem;
    padding: .6rem .8rem .6rem .8rem;
    display: inline-block;
}

.btn a {
    text-decoration: none;
    color: #F6F2EF;
    padding: 1rem;
    border: 1px solid #FFF;
    margin-top: .2rem;
    margin-bottom: .2rem;
    display: block;
    border-radius: .4rem;
}

.btn:hover {
    background-color: #CE0F15;
}

.cv {
    display: flex;
    justify-content: end;
    margin-right: 7rem;
    margin-top: 5rem;
}

.infos a:hover {
    color: #CE0F15;
}

/* Mobile Responsive (Iphone 12 Pro) */

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

    aside {
        display: none;
    }

    main {
        width: 100%;
    }

    header {
        display: none;
    }

    .presentation h1 {
        font-size: 4rem;
        margin: 5rem 1rem 1rem 4rem;

    }

    .presentation h2 {
        font-size: 4rem;
        margin-right: 10rem;


    }

    .boite2 {
        display: none;
    }

    .presentation p {
        margin: 3rem 0 0 4rem;
        font-size: 1rem;
        width: 80vw;
        text-align: justify;
    }

    /* section 002 */

    .projets {
        margin-top: 5rem;
    }

    .projets h2 {
        font-size: 2.5rem;
        margin: 0.5rem;
    }

    .quote {
        display: none;
    }

    .projetsparents {
        margin: 0;
        flex-wrap: wrap;
    }

    .graphisme {
        width: 50%;
        padding: 1rem;
        margin-top: 3rem;
    }

    .charte {
        width: 50%;
        padding: 1rem;
        margin-top: 3rem;
    }

    .ux {
        width: 50%;
        padding: 1rem;
    }

    .photographie {
        width: 50%;
        padding: 1rem;
    }

    /* Section 003 */

    .parcours {
        margin-top: 5rem;
    }

    .parcours h2 {
        font-size: 2.5rem;
    }

    .information1 {
        justify-content: flex-start;
        margin-left: 1rem;
    }

    .details {
        margin: 9rem 0 0 -6rem;
        font-size: 1rem;
    }

    .titres {
        text-align: justify;
        font-size: .7rem;
        margin: 4rem 0 0 1.5rem;

    }

    .softskills {
        margin-top: 15rem;
    }

    .irUni {
        margin-top: 7rem;
        text-align: left;
    }

    .ctUni {
        text-align: left;
    }


    /* Section 004 */

    .knowme h2 {
        font-size: 2.5rem;
    }

    .icons {
        padding-top: 7rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .btnPopupVoy {
        scale: 100%;
        --b: 4px;
        --s: 30px;
        --g: 7px;


    }

    .btnPopupCin {
        scale: 100%;
        --b: 4px;
        --s: 30px;
        --g: 7px;
    }

    .btnPopupLec {
        scale: 100%;
        --b: 4px;
        --s: 30px;
        --g: 7px;
    }

    .popupContainerVoy {
        width: 75%;
        left: 5vh;
        top: 15vh;
        height: 40vh;
    }

    .popupvoy img {
        display: none;
    }

    .popupvoy p {
        font-size: 1rem;
        width: 100%;
    }

    .popupvoy li {
        font-size: 1rem;
        line-height: 3;
    }

    .popupvoy ul {
        padding-left: .5rem;
    }

    .popupvoy .carreR span {
        height: 8px;
        width: 8px;
        margin: 2.2rem;
        margin-left: 6rem;
    }

    /* lectures */

    .btnPopupLec {
        scale: 100%;
        --b: 4px;
        --s: 30px;
        --g: 7px;


    }

    .btnPopupLec {
        scale: 100%;
        --b: 4px;
        --s: 30px;
        --g: 7px;
    }


    .popupContainerLec {
        width: 75%;
        left: 5vh;
        top: 15vh;
        height: 40vh;
    }

    .popupLec img {
        display: none;
    }

    .popupLec p {
        font-size: 1rem;
        width: 100%;
    }

    .popupLec li {
        font-size: .9rem;
        line-height: 3.25;
    }

    .popupLec ul {
        padding-left: .3rem;
    }

    .popupLec .carreR span {
        height: 8px;
        width: 8px;
        margin: 2.1rem;
        margin-left: 6rem;
        margin-right: 1rem;
    }

    /* tv */

    .btnPopupCin {
        scale: 100%;
        --b: 4px;
        --s: 30px;
        --g: 7px;


    }

    .btnPopupCin {
        scale: 100%;
        --b: 4px;
        --s: 30px;
        --g: 7px;
    }


    .popupContainerCin {
        width: 75%;
        left: 5vh;
        top: 15vh;
        height: 40vh;
    }

    .popupCin img {
        display: none;
    }

    .popupCin p {
        font-size: 1rem;
        width: 100%;
    }

    .popupCin li {
        font-size: .9rem;
        line-height: 3.25;
    }

    .popupCin ul {
        padding-left: .3rem;
    }

    .popupCin .carreR span {
        height: 8px;
        width: 8px;
        margin: 2.1rem;
        margin-left: 6rem;
        margin-right: 1rem;
    }

    .contact h2 {
        font-size: 2.5rem;
    }

    .infos {
        align-items: baseline;
        margin-right: 1rem;
        margin-left: 8rem;
        margin-top: 3rem;
    }

}

/* More responsive */

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


    .presentation h1 {
        margin-left: 8rem;
    }

    .presentation h2 {
        margin-left: 18.4rem;
    }

    .presentation p {
        margin-left: 7rem;
    }

    aside #premier {
        margin-top: 17rem;
    }

    aside #deux {
        margin-top: 51rem;
    }

    aside #trois {
        margin-top: 70.5rem;
    }

    aside #cinq {
        margin-top: 52.5rem;

    }

}

/* One more */

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

    .presentation h1 {

        margin: 0rem 0 0 5rem;
    }

    .presentation h2 {

        margin: 0 0 0 17rem;
    }

    .boite2 {
        scale: 80%;
        top: .5rem;
        right: 14rem;
    }

    .presentation p {
        margin-left: 6rem;
        font-size: 1.35rem;


    }

    .projets .guilun {
        top: 90rem;
    }

    .projets .guildeux {
        top: 99rem;
    }

}

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

    .presentation h2 {

        margin: 0 0 0 7rem;
    }
}