* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    background-color: #474749;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

#LOGO {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
    position: absolute;
}

#LOGO h1 {
    display: none;
}

.imglogo {
    margin-right: 100px;
    margin-top: 30px;

}

/*---------------------------ACCUEIL--------------------------------*/

.MAIN1 {
    height: 90%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.PHOTO1 {
    width: 60%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.PHOTOACC {
    width: 80%;
    margin-bottom: -22px;
}

.BOIBOITE {
    width: 40%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.MAINACCUEIL {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border-radius: 20px;
    background-color: #FFFBFF;
    width: 500px;
    height: 250px;
    align-items: center;
}

.MAINACCUEILTEXT {
    font-family: 'aerodynamicbd';
    font-size: 50px;
    color: #BAE0C8;
    text-shadow: -0.7px -0.7px 0 #474749,
    0.7px -0.7px 0 #474749,
    -0.7px 0.7px 0 #474749,
    0.7px 0.7px 0 #474749;
    text-align: center;
}

.MAINACCUEIL img {
    margin-top: -50px;
}

/*---------------------------PRESENTATION--------------------------------*/

.MAIN2 {
    height: 90%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 2;
}

.MAINBOITE {
    margin-top: 120px;
    width: 100vw;
    height: 75%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
}

.BOITETEXT {
    margin-top: 90px;
    margin-left: 240px;
    width: 600px;
    height: 450px;
    background: #474749;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.PRESPHOTO {
    width: 40%;
    margin-top: 140px;
}

.PHOTO2 {
    width: 90%;
    margin-left: 65px;
}

.BOITETEXT1 {
    width: 100%;
    padding-left: 80px;
}

.BOITETEXT2 {
    width: 100%;
    padding-left: 350px;
}

.BOITETEXT3 {
    width: 100%;
    padding-left: 120px;
}

.BOITETEXT4 {
    width: 100%;
    padding-left: 300px;
}

.BOITETEXT5 {
    width: 100%;
    padding-left: 30px;
}

.BOITETEXT6 {
    width: 100%;
    padding-left: 440px;
}

#BOITPRES1 {
    width: 580px;
    height: 405px;
    background: #FFFBFF;
    border-radius: 20px;
    padding-top: 85px;
    padding-left: 40px;
    padding-right: 40px;
    z-index: 30;
    position: absolute;
    top: 110px;
    left: 250px;
    display: none;
}

#BOITPRES1 .FERME1 img {
    margin-top: 75px;
    margin-left: 235px;
}

#BOITPRES1:target {
    display: block;
}

#BOITPRES1 p {
    font-family: 'museo300';
    font-size: 16px;
    color: #474749;
    text-align: justify;
    line-height: 1.5em;
}

#BOITPRES2 {
    width: 580px;
    height: 405px;
    background: #FFFBFF;
    border-radius: 20px;
    padding-top: 40px;
    padding-left: 30px;
    padding-right: 30px;
    z-index: 30;
    position: absolute;
    top: 110px;
    left: 250px;
    display: none;
}

#BOITPRES2 .FERME2 img {
    margin-top: 70px;
    margin-left: 235px;
}

#BOITPRES2:target {
    display: block;
}

#BOITPRES2 p {
    font-family: 'museo300';
    font-size: 16px;
    color: #474749;
    text-align: justify;
    line-height: 1.5em;
}

#BOITPRES3 {
    width: 580px;
    height: 405px;
    background: #FFFBFF;
    border-radius: 20px;
    padding-top: 85px;
    padding-left: 40px;
    padding-right: 40px;
    z-index: 30;
    position: absolute;
    top: 110px;
    left: 250px;
    display: none;
}

#BOITPRES3 .FERME3 img {
    margin-top: 50px;
    margin-left: 235px;
}

#BOITPRES3:target {
    display: block;
}

#BOITPRES3 p {
    font-family: 'museo300';
    font-size: 16px;
    color: #474749;
    text-align: justify;
    line-height: 1.5em;
}

#BOITPRES4 {
    width: 580px;
    height: 405px;
    background: #FFFBFF;
    border-radius: 20px;
    padding-top: 145px;
    padding-left: 70px;
    padding-right: 40px;
    z-index: 30;
    position: absolute;
    top: 110px;
    left: 250px;
    display: none;
}

#BOITPRES4 p {
    font-family: 'museo300';
    font-size: 17px;
    color: #474749;
    text-align: justify;
    line-height: 1.5em;
}

#BOITPRES4 .FERME4 img {
    margin-top: 130px;
    margin-left: 205px;
}

#BOITPRES4:target {
    display: block;
}

#BOITPRES5 {
    width: 580px;
    height: 405px;
    background: #FFFBFF;
    border-radius: 20px;
    padding-top: 45px;
    padding-left: 30px;
    padding-right: 30px;
    z-index: 30;
    position: absolute;
    top: 110px;
    left: 250px;
    display: none;
}

#BOITPRES5 p {
    font-family: 'museo300';
    font-size: 17px;
    color: #474749;
    text-align: justify;
    line-height: 1.5em;
    padding-left: 10px;
}

#BOITPRES5 iframe {
    margin-top: 10px;
    margin-left: 80px;
}

#BOITPRES5 .FERME5 img {
    margin-top: 40px;
    margin-left: 240px;
}

#BOITPRES5:target {
    display: block;
}

#BOITPRES6 {
    width: 580px;
    height: 405px;
    background: #FFFBFF;
    border-radius: 20px;
    padding-top: 45px;
    padding-left: 40px;
    padding-right: 40px;
    z-index: 30;
    position: absolute;
    top: 110px;
    left: 250px;
    display: none;
}

#BOITPRES6 p {
    font-family: 'museo300';
    font-size: 17px;
    color: #474749;
    text-align: justify;
    line-height: 1.5em;
}

#BOITPRES6 iframe {
    margin-top: -10px;
    margin-left: 55px;
}

#BOITPRES6 .FERME6 img {
    margin-top: 0px;
    margin-left: 240px;
}

#BOITPRES6:target {
    display: block;
}

.BOITETEXT a {
    text-decoration: none;
}

.ref {
    font-family: 'museo300';
    font-weight: 300;
    font-size: 33px;
}

.ref:hover {
    text-decoration: underline;
}

@keyframes clignote {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.20;
    }
    100% {
        opacity: 1;
    }
}

.BOITETEXT1 {
    animation-name: clignote;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 1s;
}

.ref1 {
    color: #F4E6BF;
}

.BOITETEXT2 {
    animation-name: clignote;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 4s;
}

.ref2 {
    color: #FFC2BB;
}

.BOITETEXT3 {
    animation-name: clignote;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 2s;
}

.ref3 {
    color: #BAE0C8;
}

.BOITETEXT4 {
    animation-name: clignote;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 3s;
}

.ref4 {
    color: #F4E6BF;
}

.BOITETEXT5 {
    animation-name: clignote;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.ref5 {
    color: #FFC2BB;
}

.BOITETEXT6 {
    animation-name: clignote;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: 5s;
}

.ref6 {
    color: #BAE0C8;
}

/*---------------------------EXPERIENCES--------------------------------*/

.MAIN3 {
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
}

.BOITEEXP2 {
    height: 80%;
    width: 1500px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.EXP {
    width: 300px;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;

}

.BOITEEXP2 .STADE {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    background: #FFFBFF;
    position: relative;
    top: 0;
    left: 0;
}

.logoexpstade1 {
    position: relative;
    top: 110px;
    left: 8px;
}

.BOITEEXP2 .STADE a img {
    position: relative;
    top: 181px;
    left: 130px;
}

.BOITEEXP2 #STADE {
    width: 300px;
    height: 540px;
    border-radius: 30px;
    background: #FFFBFF;
    position: absolute;
    top: 20px;
    z-index: 20;
    display: none;
}

#STADE:target {
    display: block;
}

.logoexpstade2 {
    position: relative;
    top: 25px;
    left: 8px;
}

.BOITEEXP2 #STADE a img {
    position: relative;
    top: 45px;
    left: 130px;
}


.BOITEEXP2 .WNP {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    background: #FFFBFF;
    position: relative;
    top: 0;
    left: 0;
}

.logoexpWNP1 {
    position: relative;
    top: 95px;
    left: 45px;
}

.BOITEEXP2 .WNP a img {
    position: relative;
    top: 169px;
    left: 135px;
}

.BOITEEXP2 #WNP {
    width: 300px;
    height: 540px;
    border-radius: 30px;
    background: #FFFBFF;
    position: absolute;
    top: 20px;
    z-index: 20;
    display: none;
}

#WNP:target {
    display: block;
}

.textWNP1 {
    margin-top: -20px;
}

.logoWNP1 {
    margin-top: -15px;
}

.logoexpWNP2 {
    position: relative;
    top: 15px;
    left: 45px;
}

.BOITEEXP2 #WNP a img {
    position: relative;
    top: 10px;
    left: 130px;
}

.BOITEEXP2 .CASTEL {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    background: #FFFBFF;
    position: relative;
    top: 0;
    left: 0;
}

.logoexpCASTEL1 {
    position: relative;
    top: 95px;
    left: 23px;
}

.textCASTEL {
    margin-top: -15px;
}

.BOITEEXP2 .CASTEL a img {
    position: relative;
    top: 167px;
    left: 135px;
}

.BOITEEXP2 #CASTEL {
    width: 300px;
    height: 540px;
    border-radius: 30px;
    background: #FFFBFF;
    position: absolute;
    top: 20px;
    z-index: 20;
    display: none;
}

#CASTEL:target {
    display: block;
}

.logoexpCASTEL2 {
    position: relative;
    top: 15px;
    left: 23px;
}

.BOITEEXP2 #CASTEL a img {
    position: relative;
    top: 15px;
    left: 130px;
}

.BOITEEXP2 .INSEEC {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    background: #FFFBFF;
    position: relative;
    top: 0;
    left: 0;
}

.logoexpINSEEC1 {
    position: relative;
    top: 95px;
    left: 30px;
}

.textINSEEC {
    margin-top: -10px;
}

.logoINSEEC {
    margin-top: -10px;
}

.BOITEEXP2 .INSEEC a img {
    position: relative;
    top: 173px;
    left: 135px;
}

.BOITEEXP2 #INSEEC {
    width: 300px;
    height: 470px;
    border-radius: 30px;
    background: #FFFBFF;
    position: absolute;
    top: 55px;
    z-index: 20;
    display: none;
}

#INSEEC:target {
    display: block;
}

.logoexpINSEEC2 {
    position: relative;
    top: 15px;
    left: 30px;
}

.BOITEEXP2 #INSEEC a img {
    position: relative;
    top: -45px;
    left: 130px;
}


.textexp {
    position: relative;
    top: 110px;
    font-family: 'museo300';
    font-size: 18px;
    color: #474749;
    text-align: center;
}

.exptext2 {
    position: relative;
    top: 40px;
    font-family: 'museo300';
    font-size: 18px;
    color: #474749;
    padding: 25px;
    height: 400px;
}

/*---------------------------PROJETS--------------------------------*/

.MAIN4 {
    height: 80%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    z-index: 2;
}

.BOITEPROJET1 {
    width: 100%;
    height: 80%;
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.PROJETSK1 {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    background: #FFFBFF;
    position: 0;
    top: 0;
    left: 0;
}

.logoprojetSK1 {
    position: relative;
    top: 15px;
    left: 92px;
}

.textprojetSK1 {
    font-family: 'museo300';
    font-size: 18px;
    color: #474749;
    padding: 25px;
    padding-left: 40px;
    width: 100%;
    position: relative;
    top: 20px;
}

.PROJETSK1 .boutonprojetSK1 {
    position: relative;
    top: 30px;
}

.boutonprojetSK1 {
    position: relative;
    left: 135px;
}

#PROJETSK2 {
    width: 300px;
    height: 550px;
    border-radius: 30px;
    background: #FFFBFF;
    border-radius: 30px;
    position: absolute;
    top: 10px;
    left: calc( 50% - 150px);
    z-index: 20;
    display: none;
}

#PROJETSK2:target {
    display: block;
}

.textprojetSK2 {
    position: relative;
    font-family: 'museo300';
    font-size: 18px;
    color: #474749;
    padding: 25px;
    padding-left: 35px;
    height: 330px;
    width: 100%;
}

.lienprojetSK2 {
    margin-top: 60px;
    margin-left: 67px;
    font-family: 'aerodynamicbd';
    font-size: 20px;
    color: #474749;
}

.lienprojetSK2:hover {
    color: #BAE0C8;
}

.logoprojetSK2 {
    position: relative;
    top: 10px;
    left: 92px;
}

.boutonprojetSK2 {
    position: relative;
    top: 20px;
    left: 135px;
}

/*---------------------------CONTACT--------------------------------*/

.MAIN5 {
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2;
}

.contacttext {
    margin-top: 150px;
    margin-left: 100px;
    width: 450px;
    height: 210px;
    background: #FFFBFF;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacttext h1 {
    margin-bottom: 20px;
    font-family: 'museo500';
    font-size: 18px;
    color: #474749;
    text-align: center;
}

.contacttext p {
    font-family: 'museo300';
    font-size: 15px;
    color: #474749;
    text-align: justify;
    line-height: 1.2em;
    padding-left: 25px;
    padding-right: 25px;
}

.contacttext a {
    display: inline-block;
    margin-left: 280px;
    margin-top: 20px;
    font-family: 'aerodynamicbd';
    font-size: 13px;
    color: #474749;
    text-decoration: none;
    text-transform: uppercase;
}

.contacttext a:hover {
    color: #BAE0C8;
    text-decoration: underline;
}

.CONTACT {
    margin-top: 150px;
    margin-right: 100px;
    height: 550px;
    width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.CONTACT1 {
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.CONTACT1 .mailtext {
    background: #FFFBFF;
    border-radius: 8px;
    height: 25px;
    width: 220px;
    padding: 3px;
    opacity: 0;
}

.CONTACT1:hover .mailtext {
    opacity: 1;
}

.CONTACT1 p {
    font-family: 'museo300';
    font-size: 18px;
    color: #474749;
    text-align: center;
}


.CONTACT2 {
    height: 25%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.insta {
    padding-left: 50px
}

.linkedin {
    padding-right: 50px
}

.twitter {
    padding-left: 50px
}

.blog {
    padding-right: 50px
}


.CONTACT3 {
    height: 25%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.CONTACT4 {
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.CONTACT4 .teltext {
    background: #FFFBFF;
    border-radius: 8px;
    height: 30px;
    width: 150px;
    opacity: 0;
}

.CONTACT4:hover .teltext {
    opacity: 1;
}

.CONTACT4 p {
    font-family: 'museo300';
    font-size: 20px;
    color: #474749;
    margin-top: 4px;
    text-align: center;
}


/*---------------------------404--------------------------------*/

.BOIBOITE404 {
    display: flex;
    width: 100vw;
    height: 350px;
    justify-content: center;
    align-content: center;
}

.BOITE404 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
}

.TEXT404 {
    font-family: 'aerodynamicregular';
    font-size: 40px;
    color: #BAE0C9;
    text-align: center;
}

/*---------------------------FOOTER--------------------------------*/

footer {
    background-image: url(../images/footer.svg);
    background-repeat: repeat-x;
    position: absolute;
    bottom: 0;
    height: 20%;
    width: 100%;
    z-index: 50;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#MENU {
    width: 100vw;
    margin-bottom: 25px;
    line-height: 50px;
    margin-left: 250px;
    margin-right: 250px;
}

ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}


#MENU ul li a {
    color: #474749;
    text-transform: uppercase;
    font-family: 'aerodynamicbd';
    font-size: 22px;
    letter-spacing: 0.7px;
}



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

.selection::before {
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 9px;
    background-color: #F4E6BF;
    transform: translateX(25px);
}

.selection a {
    z-index: 20;
}

.survol {
    z-index: 30;
    display: flex;
    justify-content: space-between;

}

.survol:hover::before {
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 9px;
    background-color: #FFC2BB;
    transform: translateX(-25px);
    opacity: 1;
    position: absolute;
}

.survol a {
    z-index: 20;
}
