* {
    margin: 0;
    box-sizing: border-box;
    color: black;
    font-family: 'Open Sans', sans-serif;
}

:root {
    --beige: #FDF6EC;
    --orange: #FFC283;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
}

/* INTRODUCTION */

.video img {
    width: 100vw;
}


/***** HEADER *****/

header {
    position: fixed;
}

header img {
    width: 8rem;
}

.bandeau {
    background-color: var(--orange);
    height: 12rem;
    width: 100vw;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0rem 0rem 0.1rem 0rem black;
}

.bandeau .logoclass {
    display: flex;
    align-items: center;

}

.bandeau .logoclass img {
    padding: 0rem 1rem;
}

h1 {
    font-size: 4rem;
    font-family: 'Satisfy', cursive;
    padding: 0rem 1rem;
}

header a {
    font-size: 2rem;
    color: black;
    text-decoration: none;
    padding: 0rem 2rem;
    transition: font-size 0.5s;

}

header .logolink {
    padding: 0rem;
}

header nav {
    display: flex;
}

a:hover {
    font-style: italic;
}

header nav img {
    width: 2rem;
    padding-right: 0.3rem;
}

header nav figure {
    display: flex;
    align-items: center;
}


/***** MAIN *****/

main {
    padding-top: 12rem;
}

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

h2 {
    text-align: center;
    padding: 5rem 15rem;
    font-size: 4rem;
    color: black;
    font-family: 'Satisfy', cursive;
}

h4 {
    font-size: 1.8rem;
    font-weight: normal;
}


/*section work*/

#work {
    padding: 0rem 2rem 5rem 2rem;
    background-color: var(--beige);
}

#work:target {
    padding-top: 12rem;
}

#work .sousWork {
    width: 100%;
    padding: 0rem 13rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#work img {
    width: 40rem;
}

#work .bloc {
    width: 50%;
    padding-right: 4rem;
}


/*section about*/

#about {
    padding: 0rem 2rem 10rem 2rem;
    background-color: var(--beige);
}

#about:target {
    padding-top: 12rem;
}

#about .sousAbout {
    width: 100%;
    padding: 0rem 13rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#about .presentation {
    width: 50%;
    padding-right: 4rem;
}

#about img {
    width: 35rem;
    border-radius: 2rem;
}


/*section compétences*/

#mescompetences {
    padding: 2rem 2rem 7rem 2rem;
    background-color: var(--beige);
}

#mescompetences:target {
    padding-top: 12rem;
}

.competences {
    text-align: center;
}

.sousCompetences {
    width: 100%;
    padding: 0rem 13rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.sousCompetences img {
    width: 8rem;
    padding-bottom: 2rem;
}

.graphisme {
    width: 35%;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

h5 {
    color: var(--orange);
    font-size: 2.2rem;
    font-weight: normal;
}

.italique {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

button {
    background-color: var(--orange);
    border: none;
    color: black;
    border-radius: 3rem 0.5rem 3rem 0.5rem;
    padding: 1.5rem 4rem;
    margin: 2rem 3rem;
}

button a {
    font-size: 1.5rem;
    text-decoration: none;
}

button:hover {
    text-decoration: none;
    background-color: var(--orange);
}

/*section contact*/

#contact {
    padding: 0rem 2rem 7rem 2rem;
    background-color: var(--beige);
}

.sousContact {
    padding: 0rem 13rem;
    display: flex;
    justify-content: center;
    align-content: space-between;
    align-items: center;
}

.sousContact .two {
    padding: 0rem 15rem 0rem 12rem;
}

.three img {
    width: 15rem;
    transform: rotate(-30deg);
}

.two p {
    line-height: 4rem;
    padding: 0rem 2rem;
}

.two figure {
    display: flex;
    justify-content: left;
    align-items: center;
}

.two img {
    height: 2.5rem;
}

/***** FOOTER *****/

.pieddepage {
    height: 10rem;
    background-color: var(--orange);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0rem 20rem;
}

.pieddepage p {
    padding: 0rem 3rem;
    font-size: 1.3rem;
}

.pieddepage p a {
    text-decoration: none;
}


/**********************************************
PAGE 2 GALERIE DE PROJETS
***********************************************/

#affiche:target {
    padding-top: 12rem;
}

#video:target {
    padding-top: 12rem;
}

#visuelle:target {
    padding-top: 12rem;
}

#photo:target {
    padding-top: 12rem;
}

main {
    background-color: var(--beige);
}

main nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 3rem;
}

main a {
    padding: 1rem 2rem;
    text-decoration: none;
}

main .sectionPage2 {
    text-align: center;
}

h3 {
    padding: 2rem 15rem 5rem 15rem;
    font-size: 3rem;
    color: black;
    font-family: 'Satisfy', cursive;
}

hr {
    margin-bottom: 2rem;
}

.box {
    padding: 0rem 15rem;
}

.page2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5rem 0rem 5rem 0rem;
    text-align: center;
}

.small {
    width: 35rem;
}

.marginright {
    margin-right: 5rem;
}

.marginleft {
    margin-left: 5rem;
}

.big {
    width: 50rem;
}

.medium {
    width: 42rem;
}

.box p {
    text-align: left;
}


/**********************************************
PAGE 3 MENTIONS LEGALES
***********************************************/

.retrait {
    padding: 0rem 15rem 5rem 15rem;
}