@import url(https://fonts.googleapis.com/css?family=Exo+2);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
@import url(https://fonts.googleapis.com/css2?family=Inspiration&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Anton&family=Golos+Text&display=swap);

html {
    scroll-behavior: smooth
}

body {
    transition: 250ms ease-in-out;
    overflow-x: hidden;
    margin: 0;
    min-block-size: 100vw;
    font-size: 100%;
}

.titre {
    overflow: hidden;
    display: flex;
    width: 100vw;
    height: 100vh;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: .95;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000
}

@keyframes myAnim {
    0% {
        animation-timing-function: ease-out;
        transform: scale(1);
        transform-origin: center center
    }

    10% {
        animation-timing-function: ease-in;
        transform: scale(.91)
    }

    17% {
        animation-timing-function: ease-out;
        transform: scale(.98)
    }

    33% {
        animation-timing-function: ease-in;
        transform: scale(.87)
    }

    45% {
        animation-timing-function: ease-out;
        transform: scale(1)
    }
}

#logo {
    display: block;
    width: 600px
}

#bouton {
    display: block;
    width: 80px;
    animation: myAnim 2s ease 0s infinite normal forwards;
    z-index: 1
}

.titrebox {
    display: flex;
    flex-wrap: wrap;
    height: 60vh;
    flex-direction: column;
    align-items: center;
    justify-content: space-around
}

.titre video {
    position: fixed;
    object-fit: cover;
    height: 100vh;
    width: 100vw;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -10
}

main {
    padding-top: 8%;
    background-image: url(jpg/ep_naturalwhite.webp);
    background-size: 15%
}

.grille {
    display: grid;
    max-width: 1400px;
    width: 100vw;
    margin: auto;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px
}

.photo {
    margin-top: 30px;
    align-self: center;
    grid-column: 2/3;
    grid-row: 1/2
}

.photo img {
    width: 330px
}

.presentation {
    margin-top: 5%;
    align-self: flex-start;
    margin-left: 30px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    grid-column: 3/6;
    grid-row: 1/2
}

.titre_presentation {
    margin-bottom: 30px;
    font-family: Inspiration, cursive;
    font-size: 4em;
    margin-top: 15px;
}

.cv_ddl {
    margin-top: 5%;
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.cv_ddl img {
    display: block;
    width: 90px;
}


.download {
    padding: 12px 20px;
    cursor: pointer;
    font-family: arial;
    font-size: 1em;
    color: #fff;
    background-color: #262626;
    border-radius: 15px;
    border: 3px solid #fff;
    box-shadow: 3px 3px 8px #444;
}

.download:hover {
    background-color: #009c34;
}


.titre_exp_pro {
    margin-top: 20%;
    margin-bottom: 5%;
    align-self: flex-start;
    text-align: right;
    position: relative;
    border-style: solid none solid none;
    border-width: 1px;
    border-color: #7e7e7e;
    grid-column: 2/6;
    grid-row: 2/3
}


.logo_cap {
    display: flex;
    flex-direction: column;
    padding-top: 7%;
    justify-content: flex-start;
    text-align: center;
    grid-column: 2/3;
    grid-row: 3/4
}

.logo_cap img:hover {
    transform: scale(1.2);
    transition-duration: 150ms
}

.exp_cap {
    text-align: justify;
    padding-left: 10px;
    padding-right: 10px;
    grid-column: 3/6;
    grid-row: 3/5
}

.logo_GD {
    display: flex;
    flex-direction: column;
    padding-top: 7%;
    justify-content: flex-start;
    text-align: center;
    grid-column: 2/3;
    grid-row: 5/6
}

.logo_GD img:hover {
    transform: scale(1.2);
    transition-duration: 150ms
}

.exp_degaud {
    text-align: justify;
    padding-left: 10px;
    padding-right: 10px;
    grid-column: 3/6;
    grid-row: 5/6
}

.titre_formation {
    margin-top: 20%;
    margin-bottom: 5%;
    align-self: flex-start;
    text-align: left;
    position: relative;
    border-style: solid none solid none;
    border-width: 1px;
    border-color: #7e7e7e;
    grid-column: 2/6;
    grid-row: 6/7
}

.titre_formation h3 {
    margin: 20px
}

.BTS {
    padding: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    grid-column: 2/5;
    grid-row: 7/8
}

.logo_Argouges {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 5/6;
    grid-row: 7/8
}

.logo_Argouges img:hover {
    transform: scale(1.2);
    transition-duration: 150ms;

}

.BAC {
    padding: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    grid-column: 2/5;
    grid-row: 8/9
}

.logo_BAC {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 5/6;
    grid-row: 8/9
}

.logo_BAC img:hover {
    transform: scale(1.2);
    transition-duration: 150ms
}

.competences {
    margin-top: 20%;
    margin-bottom: 5%;
    align-self: flex-start;
    text-align: center;
    position: relative;
    border-style: solid none solid none;
    border-width: 1px;
    border-color: #7e7e7e;
    grid-column: 2/6;
    grid-row: 9/10
}

.competences h3 {
    margin: 20px
}

.adobe_txt {
    align-self: center;
    justify-self: flex-end;
    grid-column: 2/4;
    grid-row: 10/11
}

.grille_logo_Adobe {
    grid-column: 4/6;
    grid-row: 10/11;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 20px;
    gap: 23px
}

.machines_txt {
    align-self: center;
    justify-self: flex-end;
    grid-column: 2/4;
    grid-row: 11/12
}

.grille_machines {
    grid-column: 4/6;
    grid-row: 11/12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-end;
    margin: 20px;
    gap: 25px
}

.dev_txt {
    align-self: center;
    justify-self: flex-end;
    grid-column: 2/4;
    grid-row: 12/13
}

.grille_dev {
    grid-column: 4/6;
    grid-row: 12/13;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 20px;
    gap: 25px
}

.portfolio {
    margin-top: 150px;
    align-self: flex-start;
    text-align: center;
    position: relative;
    border-style: solid none none none;
    border-width: 1px;
    border-color: #7e7e7e;
    grid-column: 2/6;
    grid-row: 13/14
}

.portfolio h3 {
    margin: 20px
}

.gallerie {
    grid-column: 1/7;
    grid-row: 14/17;
    display: grid;
    height: auto;
    width: 80%;
    margin: auto;
    grid-template-columns: repeat(auto-fill, 250px);
    justify-content: center;
    gap: 10px
}

.gallerie_items {
    width: 250px;
    height: 250px;
    overflow: hidden
}

.contact {
    margin-top: 150px;
    text-align: center;
    border-style: solid none solid none;
    border-width: 1px;
    border-color: #7e7e7e;
    grid-column: 2/6;
    grid-row: 17/18
}

.contact h3 {
    margin: 20px
}

.slogan_contact {
    grid-column: 1/7;
    grid-row: 18/19;
    margin-top: 3%;
    margin-bottom: 3%;
    font-weight: bold;
    text-align: center;
}

.contact_box {
    grid-column: 1/7;
    grid-row: 19/20;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    margin-bottom: 150px
}

.contact_box iframe {
    width: 350px;
    height: 300px;
    border: 0;
    margin-top: 20px;
}

.contact_phone {
    padding-right: 15px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center
}

.formulaire {
    padding-left: 15px;
    display: flex;
    align-content: center;
    width: 400px;
    margin-inline: 50px
}

.merci {
    display: flex;
    margin-top: 15vh;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center
}

input[type=email],
input[type=text],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    margin-right: 0;
    margin-left: 0;
    resize: vertical
}

label {
    margin-right: 0;
    margin-left: 0;
    font-family: 'Golos Text', sans-serif;
    font-size: 1.1em;
    line-height: 1.4em;
    color: #646464
}

input[type=submit] {
    background-color: #383838;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Golos Text', sans-serif;
    font-size: 1.1em;
}

input[type=reset] {
    background-color: #383838;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Golos Text', sans-serif;
    font-size: 1.1em;
}

input[type=submit]:hover {
    background-color: #009c34
}

input[type=reset]:hover {
    background-color: #c00000
}

.footer {
    padding: 5px;
    background-color: #000;
}

.social {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.social a {
    display: block;
    margin-inline: 7px;
    width: 33px;
    margin-top: 5px;
}

.social img:hover {
    transform: scale(1.2);
}


h1 {
    font-family: "Exo 2", sans-serif;
    text-transform: uppercase;
    text-shadow: 4px 4px 10px #1d1d1d;
    text-align: center;
    font-size: 10em;
    color: #fff
}

h2 {
    font-family: "Exo 2", sans-serif;
    text-align: center;
    font-size: 2.5em;
    margin-top: -6rem;
    text-shadow: 2px 2px 4px #1d1d1d;
    color: #fff
}

h3 {
    font-family: 'Golos Text', sans-serif;
    letter-spacing: 0.2rem;
    font-size: 1.8rem;
    color: #333
}

h4 {
    font-family: 'Golos Text', sans-serif;
    font-size: 1.2125em;
    color: #313131
}

p {
    font-family: 'Golos Text', sans-serif;
    font-size: 1.125rem;
    line-height: 1.5em;
    color: #646464
}

.contact_phone p {
    line-height: 0.4rem;
}

.contact_phone img {
    margin-top: 25px
}


ul {
    list-style-type: none
}

.navbar {
    position: relative;
    width: 100vw;
    padding: 10px;
    font-family: "Exo 2", sans-serif;
    text-transform: uppercase;
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background-image: url(jpg/binding_dark.webp);
    z-index: 200
}

.navbar a {
    color: #fff;
    text-decoration: none;
    list-style: none
}

.navbar a:hover {
    text-shadow: 0 0 5px #fff
}

.navbar .nav-links ul {
    display: flex
}

.navbar .nav-links ul li {
    margin: 0 30px
}

.navbar .nav-links ul li:hover {
    transform: scale(1.25)
}

.navbar .menu-hamburger {
    display: none;
    position: absolute;
    top: 15px;
    right: 10px
}

.sticky {
    position: fixed;
    top: 0;
    width: 100vw
}

@media screen and (max-width:900px) {
    .navbar {
        padding: 0
    }

    .navbar .menu-hamburger {
        display: block
    }

    .nav-links {
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(29, 29, 29, .65);
        backdrop-filter: blur(7px);
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all .5s ease
    }

    .nav-links.mobile-menu {
        margin-left: 0
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .navbar .nav-links ul li {
        margin: 30px 0;
        font-size: 1.2em;
        text-shadow: 2px 2px 4px rgba(29, 29, 29, .6)
    }
}

.hamburger {
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: .15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible
}

.hamburger:hover {
    opacity: .7
}

.hamburger.is-active:hover {
    opacity: .7
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::after,
.hamburger.is-active .hamburger-inner::before {
    background-color: #fff
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px
}

.hamburger-inner,
.hamburger-inner::after,
.hamburger-inner::before {
    width: 40px;
    height: 4px;
    background-color: #000;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: .15s;
    transition-timing-function: ease
}

body.dark .hamburger-inner,
body.dark .hamburger-inner::after,
body.dark .hamburger-inner::before {
    background-color: #fff
}

.hamburger-inner::after,
.hamburger-inner::before {
    content: "";
    display: block
}

.hamburger-inner::before {
    top: -10px
}

.hamburger-inner::after {
    bottom: -10px
}

.hamburger--elastic .hamburger-inner {
    top: 2px;
    transition-duration: 275ms;
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55)
}

.hamburger--elastic .hamburger-inner::before {
    top: 10px;
    transition: opacity 125ms 275ms ease
}

.hamburger--elastic .hamburger-inner::after {
    top: 20px;
    transition: transform 275ms cubic-bezier(.68, -.55, .265, 1.55)
}

.hamburger--elastic.is-active .hamburger-inner {
    transform: translate3d(0, 10px, 0) rotate(135deg);
    transition-delay: 75ms
}

.hamburger--elastic.is-active .hamburger-inner::before {
    transition-delay: 0s;
    opacity: 0
}

.hamburger--elastic.is-active .hamburger-inner::after {
    transform: translate3d(0, -20px, 0) rotate(-270deg);
    transition-delay: 75ms
}

.btn-toggle {
    position: absolute;
    top: 113vh;
    right: 40px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    z-index: 2
}

body.dark main {
    background: #171e25;
    color: #71c2fb
}

body.dark p {
    color: rgba(255, 255, 255, .555);
    font-weight: 100
}

body.dark .navbar {
    background-image: none;
    background-color: #0c2f44
}

body.dark h3 {
    color: #71c2fb;
    font-weight: lighter
}

body.dark h4 {
    color: #71c2fb;
    font-weight: lighter
}

body.dark .photo img {
    width: 312px;
    filter: grayscale(15%);
    border: 3px solid #71c2fb;
    border-radius: 50%;
    padding: 5px;
    -webkit-box-shadow: 0 0 30px 1px rgba(0, 171, 250, .9);
    -moz-box-shadow: 0 0 30px 1px rgba(0, 171, 250, .9);
    box-shadow: 0 0 30px 1px rgba(0, 171, 250, .9)
}

body.dark .logo_cap img {
    filter: grayscale(1) brightness(1.2)
}

body.dark .logo_GD img {
    filter: brightness(200%) contrast(200%) saturate(70%)
}

body.dark .logo_Argouges img {
    background-color: #ffffffcb;
    padding: 10px;
    border-radius: 10px
}

body.dark .logo_BAC img {
    background-color: #ffffffcb;
    padding: 10px;
    border-radius: 10px
}

body.dark .grille_logo_Adobe img {
    background-color: #557386;
    padding: 2px;
    border-radius: 18%
}

body.dark .grille_machines img {
    filter: brightness(0) saturate(100%) invert(76%) sepia(25%) brightness(108%) contrast(97%)
}

body.dark .contact_phone img {
    filter: invert(1) brightness(1.2)
}

body.dark label {
    color: rgba(255, 255, 255, .555)
}