html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1;
    background-image: url(./images/fond.webp);
}

main {
    margin: 5%;
    display: flex;
    flex-direction: column;
    position: relative;
}

nav {
    position: relative;
}

section{
    scroll-margin-top: 12rem;
}

.menu {
    border-style: dashed;
    border-radius: 0.3em;
    position: relative;
    border-top: 10%;
    border-width: 1%;
    padding: 5px 8px 8px 8px;
    border-color: rgba(113, 151, 90, 0.55);
    background-color: white;
    box-shadow: 10% 10% 10% rgba(0, 0, 0, 0.644);
    background-size: cover;
    transition-duration: 90ms;
    transition-timing-function: ease-in;
}

.menu:hover {
    border-style: solid;
    border-radius: 0.3em;
    position: relative;
    border-top: 10%;
    border-width: 1%;
    padding: 5px 8px 8px 8px;
    border-color: rgba(117, 156, 92, 0.55);
    background-color: rgb(17, 17, 17);
    box-shadow: 10% 10% 10% rgba(0, 0, 0, 0.644);
    background-size: cover;
    transition-duration: 90ms;
    transition-timing-function: ease-in;
    color: whitesmoke;
}

.menu::before {
    content: ""; /*J'aurais pu mettre l'url directement ici*/
    background-image: url(.././images/greenline.svg);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: -140%;
    left: -70%;
    z-index: -1;
    width: 320%;
    height: 380%;

}

.conteneur {
    display: flex;
    justify-content: space-between;
    padding-right: 1rem;
    align-items: center;
    margin-bottom: 12%;
}


.description {
    justify-content: space-between;
    margin-right: 8vh;
}


header {
    background-color: whitesmoke; 
    color: black; 
    padding: 1.1% 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: solid;
    border-bottom-width: 4%;
    border-top-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    border-color: beige;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0vh 2vh 3vh rgba(0, 0, 0,0.4);
    overflow: hidden; /* Pour pas que mes lignes vertes dépassent */
}

.logo {
    width: 4.5em;
    height: 4.5em;
}

.pfp {
    padding: 1%;
    border: solid;
    border-color: black;
    border-radius: 5%;
    border-width: 1vh;
    width : 35vh;
    height : 35vh;
    max-width : 60vh;
    max-height : 60vh;
    justify-content: space-between;
    flex : 1;
    box-shadow: 2vh 2vh 3vh rgba(255, 255, 255, 0.2);
    margin: 2.5vh;
    margin-right: 2.5vh; 
    filter: brightness(140%); 
}

.conteneur div:last-child {
    position: relative;
    background-size: cover;
}

.pfp::before {
    content: ""; /*J'aurais pu mettre l'url directement ici*/
    background-image: url(./images/davinciresolve.svg);
    display: block;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: -50%;
    left: -50%;
    z-index: -1;
    width: 10em;
    height: 10em;

}

h1, h2 {
    font-family: 'Edu NSW ACT Foundation';
}

h1 {
    margin: 0;
    flex : 1;
    margin: 1.5vh;
    font-size: 7vh;
    font-style: italic;

}

h2 {
    font-size: 3rem;
}

.icon-NB {
    padding-left: 2vh ;
    padding-right: 2vh;
    width: 8vh;
    height: 8vh;
}

p {
    font-size: 2rem;
    margin: 0;
    padding-bottom: 1rem;
    margin-left: 4vh;
    font-family: 'Exo', sans-serif;
}

strong {
    font-weight: bold;
    color: rgb(59, 93, 38);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    color: black;
}

nav li {
    color: black;
    margin-right: 3rem; 
    font-size: 3.5vh;
    font-family: 'Edu NSW ACT Foundation';
}

nav a {
    text-decoration: none;
    color: black; 
}

.experience {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12%;
    flex-wrap: wrap;
    justify-content: center;
}

.experience::before {
    position: absolute;
    content: "";
    background-image: url(...);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
    top: 50%;
    right: 0%;
    z-index: -1;

}

.xp-left {
    display: flex;
    flex-direction: column;
    margin: 2.5vh 8vh;
    /* padding-right: 12%; */
    width: 32rem;
    justify-content: center ;
    flex-basis: auto;
}

.xp-right {
    flex-direction: row;
    margin: 2.5vh 8vh;
    background-color: white;
    display: flex;
    position: relative;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 2%;
    border-style: solid;
    border-radius: 3em;
    border-color: rgb(121, 167, 93);
    box-shadow: 1vh 1vh 6vh rgba(0, 0, 0, 0.555);
    transition-duration: 90ms;
    transition-timing-function: ease-in;
    box-sizing: border-box;
    width: 55rem;
    justify-content: center;
    flex-basis: auto;
    
}

.xp-right p {
    justify-content: space-between ;
    padding: 1.5%;
}

.xp-right:hover {
    flex-direction: row;
    margin: 2.5vh 8vh;
    background-color: white;
    display: flex;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 2%;
    border-style: solid;
    border-radius: 3em;
    border-color: rgb(121, 167, 93);
    box-shadow: 1vh 1vh 6vh rgba(0, 0, 0, 0.555);
    transition-duration: 90ms;
    transition-timing-function: ease-in;
    scale: 1.02;

}

.atouts {
    margin-top: 10%;
    padding-left: 4%;
    padding-right: 4%;
    border-style: solid;
    border-radius: 3em;
    padding-bottom: 2%;
    border-color: rgb(121, 167, 93);;
    background-color: white;
    box-shadow: 1vh 1vh 6vh rgba(0, 0, 0, 0.555);
    transition-duration: 90ms;
    transition-timing-function: ease-in;
    position: relative;
    flex-basis: auto;
}


.atouts:hover {
    margin-top: 10%;
    padding-left: 4%;
    padding-right: 4%;
    border-style: solid;
    border-radius: 3em;
    padding-bottom: 2%;
    border-color: rgb(121, 167, 93);;
    background-color: white;
    box-shadow: 1vh 1vh 6vh rgba(0, 0, 0, 0.555);
    transition-duration: 90ms;
    transition-timing-function: ease-in;
    scale: 1.04;
    flex-basis: auto;
}

/* .atouts:hover::after {
    transform: scale(1.04);
} */

.parcours {
    background-color: white;
    padding-left: 4%;
    padding-right: 4%;
    border-style: solid;
    padding-bottom: 2%;
    border-radius: 3em;
    border-color: rgb(121, 167, 93);
    box-shadow: 1vh 1vh 6vh rgba(0, 0, 0, 0.555);
    transition-duration: 90ms;
    transition-timing-function: ease-in;
    flex-basis: auto;
}

.parcours:hover {
    background-color: white;
    padding-left: 4%;
    padding-right: 4%;
    border-style: solid;
    padding-bottom: 2%;
    border-radius: 3em;
    border-color: rgb(121, 167, 93);
    box-shadow: 1vh 1vh 6vh rgba(0, 0, 0, 0.555);
    transform: scale(1.04);
    transition-duration: 90ms;
    transition-timing-function: ease-in;
    flex-basis: auto;
}

.compétences {
    display: flex;
    flex-direction: column;
    flex-basis: auto;
}

.coordonnees {
    color: green;
    text-decoration: underline;
    padding-left: 10vh;
}

fieldset {
    border-style: hidden;
}


.galerie {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.galerie div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 1rem;
    width: 18rem;
    border-style: solid;
    border-radius: 2rem;
    align-items: center;
    background-color: rgba(245, 245, 245, 0.55);
}

.galerie h2 {
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    padding: 0 1% 0 1%;
}



.galerie p {
    margin: 5%;
    
    align-items: start;
}

.galerie div img {
    display: flex;
    width: 75%;
    align-items: center;
}


.galerie a {
    display: flex;
    border : solid;
    border-color: rgba(121, 167, 93, 0.689);
    background-color: rgba(121, 167, 93, 0.689);
    border-radius: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-align: center;
    color: black;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    width: 70%;
    height: 3em;
    padding: 0;
    margin: 2em 0 2em 0;
    transition-duration: 150ms;
    transition-timing-function: ease-in;
}

.galerie a:hover {
    border : solid;
    border-color: rgba(121, 167, 93, 0.689);
    background-color: rgba(121, 167, 93, 0.689);
    border-radius: 0.4rem;
    width: 70%;
    height: 3em;
    padding: 0;
    margin: 2em 0 2em 0;
    font-size: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
    filter: brightness(130%);

    transition-duration: 150ms;
    transition-timing-function: ease-in;
}



/* .galerie button {
    border-radius: 1.5em;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    background-color: transparent;
    border: 0;
} */

footer {
    margin-top: 16em;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 6em ;
    padding-bottom: 0px;
    justify-content: space-between;
    background-color: whitesmoke;
    box-shadow: 0vh -2vh 5vh rgba(0, 0, 0, 0.412);
    border-top-style:solid ;
    border-color: antiquewhite;
    background: url(./images/contact.webp), whitesmoke;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 65%;
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: space-around;

}

.homemade {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-style: italic;
    color: green;
    margin-top: 2%;
}

form{
    border: solid;
    border-radius: 2rem ;
    padding: 4%;
    padding-top: 2.5%;
    padding-bottom: 1%;
    padding-right: 6%;
    margin-top: 4vh;
    margin-bottom: 0.5vh;
    margin-right: 15%;
}

legend {
    font-size: 2rem ;
}

fieldset {
    display: flex;
    flex-direction: column;
    
}

label {
    font-size: 2rem;
}

input {
    box-sizing: border-box;
    display: flex;
    border: solid;
    border-radius: 0.5em;
    border-width: 0.05em;
    margin-top: 2%;
    margin-bottom: 2%;
    width: 100%;
    height: 1.5em;
    font-size: 2em;
    padding-left: 2%;
    transition-duration: 70ms ;
    transition-timing-function: ease-in;
}

input::placeholder {
    align-items:center;
    font-family: Arial, Helvetica, sans-serif;

}

input:hover {
    filter: brightness(150%);
    transform: translateX(1%) translateY(5%);
    transition-duration: 70ms ;
    transition-timing-function: ease-in;
}

input:focus {
    padding-left: 2%;
    transition-duration: 70ms ;
    transition-timing-function: ease-in;
}

textarea {
    width: 100%;
    height: 9em;
    font-size: 2em;
    border-radius: 1em;
    box-sizing: border-box;
    padding: 2%;
    font-family: Arial, Helvetica, sans-serif;

}

textarea:hover {
    filter: brightness(150%);
    transform: translateX(0.5%) translateY(2.5%);
    transition-duration: 70ms ;
    transition-timing-function: ease-in;
}

textarea:focus {
    font-family: Arial, Helvetica, sans-serif;
    padding: 2%;
    box-sizing: border-box;
    transition-duration: 70ms ;
    transition-timing-function: ease-in;

}

.nomprenom {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.nomprenom input:first-child {
    margin-right: 0.5em;
}

.nomprenom input:last-child {
    margin-left: 0.5em;
}

.file.demande {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.file {
    width: 45%;
    align-items: center;
}

.demande {
    display: flex;
    flex-direction: column;
    width: 45%;
}

/* footer section:last-child h2 {
    display: flex;
    flex-direction: column;
} */


.socialnetworks {
    display: flex;
    flex-direction: column;
    margin-left: 0;
    margin-bottom: 5em;
    background-color: rgba(255 ,255, 255, 0.5);
    border-radius: 2rem;
    padding: 5%;
}

.socialnetworks a {
    box-sizing: border-box;
    margin-top: 3%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 2rem;
    text-decoration: none;
    color: black;
    font-family: 'Exo', sans-serif;
}

.socialnetworks a img {
    padding-right: 10%;
    font-size: 70%;
}

.submit {
    display: flex;
    justify-content: center;
}

footer button {
    width: 7em;
    height: 7em;
    background-color: transparent;
    border-width: 0;
    background-image: url(./images/submit.svg);
    transition-duration: 90ms;
    transition-timing-function: ease-in ;
}

footer button img{
    width: 100%;
}

footer button:hover {
    filter: brightness(200%);
    transform: rotateY(360deg);
    scale: 1.15;
    transition-duration: 100ms;
    transition-timing-function: ease-in ;
}


/* GALERIE */


.bodygalerie {

    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;

}

.footergalerie {
    margin-top: auto;
}

.valid {
    color: white;
    background-color: rgba(25, 173, 25, 0.7);
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 1%;
    transition-duration: 150ms;
    transition-timing-function: ease-in;
}

.notvalid {
    padding: 0.8%;
    color: white;
    margin: 0;
    background-color: rgba(184, 6, 6, 0.7);
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    width: 100%;
    transition-duration: 150ms;
    transition-timing-function: ease-in;
}

.maingalerie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1%;
    margin: 0;
}

.maingalerie h2{
    margin: 0;
    margin-bottom: 1%;
}

.maingalerie p {
    padding: 0;
    margin: 1em 0;
}

.maingalerie a {
    display: flex;
    border : solid;
    border-color: rgba(121, 167, 93, 0.689);
    background-color: rgba(121, 167, 93, 0.689);
    border-radius: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-align: center;
    color: black;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    width: 90%;
    height: 3em;
    padding: 0%;
    margin: 2% 4% 2% 4%;
    transition-duration: 150ms;
    transition-timing-function: ease-in;
    box-sizing: border-box;
}

.maingalerie a:hover {
    border : solid;
    border-color: rgba(121, 167, 93, 0.689);
    background-color: rgba(121, 167, 93, 0.689);
    border-radius: 0.4rem;
    width: 90%;
    height: 3em;
    padding: 0%;
    margin: 2% 4% 2% 4%;
    font-size: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
    filter: brightness(130%);
    
    box-sizing: border-box;
    transition-duration: 150ms;
    transition-timing-function: ease-in;
}

.maingalerie section:first-of-type img {
    padding: 3%;
    box-sizing: border-box;
    width: 90%;
}

.boxgalerie img {
    
    width: 100%;
}

.descriptiongalerie {
    width: 20%;
    margin: 2%;
    padding: 1%;
    border:solid;
    border-radius: 2em;
    background-color: whitesmoke;
}

.ressourcesgalerie {
    width: 40%;
    margin: 2%;
}

section.boxgalerie:first-of-type {
    border:solid;
    border-radius: 1em;
    background-color: whitesmoke;
    padding: 1rem;
    margin:0px 0px 7% 0px;
    display: flex;
    flex-direction: column;
}

section.boxgalerie:last-of-type {
    border:solid;
    border-radius: 1em;
    background-color: whitesmoke;
    padding: 1rem;
    margin:7% 0px 0px 0px ;
}

.detailsgalerie {
    width: 38%;
    padding: 1rem;
    margin: 2%;
    border:solid;
    border-radius: 2em;
    background-color: whitesmoke;
}

.arborescence:hover {
    transform: scale(2);
}