html {
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
}

body {
    background-color: #E9E6DB;
}

header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

/* LOGO CELINE-------------------------------------- */

#logo {
    height: 45%;
    width: 45%;
    cursor: url(../images/menu.png), auto;
}

/* SVG----------------------------------------- */
/* bouche rose */
.st0 {
    fill: #FADCD5;
    -webkit-animation-name: on;
    animation-name: on;
    fill-opacity: 0;

    -webkit-animation-delay: 2s;

    animation-delay: 2s;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
}

@-webkit-keyframes on {
    from {
        fill-opacity: 0;
    }

    to {
        fill-opacity: 1;
    }
}

@keyframes on {
    from {
        fill-opacity: 0;
    }

    to {
        fill-opacity: 1;
    }
}

/* feuille verte */
.st1 {
    fill: #C1CDBC;
    -webkit-animation-name: on;
    animation-name: on;
    fill-opacity: 0;

    -webkit-animation-delay: 2s;

    animation-delay: 2s;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
}

/* mot celine */
.st2 {
    fill: none;
    stroke: #8E8D8A;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    stroke-dasharray: 2788;
    -webkit-animation:
        dash 2s linear 0s normal both;
    animation:
        dash 2s linear 0s normal both;
}

@-webkit-keyframes dash {
    from {
        stroke-dashoffset: -2788;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    from {
        stroke-dashoffset: -2788;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* point rouge */
.st3 {
    fill: rgb(232, 90, 79);
}

.st4 {
    fill: none;
    stroke: #8E8D8A;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    -webkit-animation: onstroke 1s linear 2s normal both;
    animation: onstroke 1s linear 2s normal both;
    stroke-dasharray: 200;

}

@-webkit-keyframes onstroke {
    from {
        stroke-dashoffset: 200;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes onstroke {
    from {
        stroke-dashoffset: 200;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* BTN PULSE----------------------------------------- */

#pulse {
    fill: rgb(232, 90, 79);
    fill-opacity: 0;
    -webkit-transform-origin: 29% 71%;
    transform-origin: 29% 71%;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
    -webkit-animation-name: pulse;
    animation-name: pulse;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    cursor: pointer;
}

@-webkit-keyframes pulse {
    from {
        /* stroke-width: 3px; */
        fill-opacity: 1;
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
    }

    to {
        /* stroke-width: 0; */
        fill-opacity: 0;
        -webkit-transform: scale(1.8);
        transform: scale(1.8);
    }
}

@keyframes pulse {
    from {
        /* stroke-width: 3px; */
        fill-opacity: 1;
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
    }

    to {
        /* stroke-width: 0; */
        fill-opacity: 0;
        -webkit-transform: scale(1.8);
        transform: scale(1.8);
    }
}

/* TITRE--------------- */
h1 {
    font-weight: 400;
    font-size: 2.1rem;
    
    letter-spacing: 0.08px;
    padding: 2rem 0 2rem 0;
    color: rgba(232, 92, 79, 0.5);
    transform: rotate(0);
    text-align: center;
}
h1 span{
    text-transform: uppercase;
}

.intro{
    position: absolute;
    top: 10%;
}
.intro nav{
    min-width: 100%;
    padding-top: 1rem;
}
.intro nav ul{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.intro nav ul li a{
    color: #ACBEA8;
    font-weight: 300;
    font-size: 1.5rem;
    text-transform: uppercase;
    padding: 0 1rem;
    transition: .2s;
}
.intro nav ul li a:hover{
    transform: translateY(-5px);
}


/* NAVIGATION----------------------------------------- */


.titre{
    position: absolute;
    left: 20%;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}
h2 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.5rem;
    color: #8D8C89;
    text-align: center;
    line-height: 8.1rem;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.navigation {
    position: absolute;
    right: 20%;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
            z-index: 1;
}
nav {
    width: 8.1rem;
}

.navigation ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cv {
    font-weight: 600;
    font-size: 1.6rem;
    color: #8D8C89;
    padding: 0.6rem 0;
    height: 3rem;
}

.fab {
    font-size: 1.8rem;
    color: #8D8C89;
    text-transform: none;
    padding: 0.6rem 0;
}

.fab:hover,
.cv:hover {
    color: #E7594E;
}

/*----------------------------------------- */




/*
=====
MAIN MENU
=====
*/


/* ITEM MENU */
a {
    display: inline-block;
    text-decoration: none;
}

.link {
    color: white;
    -webkit-transition: .3s;
    transition: .3s;
}

.link:hover {
    color: #ACBEA8;
}


/*
  =====
  LEVEL 2. MENU STYLES
  =====
  */

/* menu */

.pastilleMenu {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    color: white;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    position: fixed;
    top: 88px;
    z-index: 9998;
}

.active {
    display: none;
}

#close {
    position: fixed;
    bottom: 5%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    text-align: center;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 999999999;
}

.menu {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding-bottom: 55px;

    height: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    opacity: 0;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;

    position: fixed;
    top: 0;
    left: 0;
}

.menu__list {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    max-height: 100%;
    display: none;

    margin: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.menu__group {

    text-align: center;
    padding: 20px;

    text-transform: uppercase;

    font-weight: 500;
    font-size: 75px;
    color: white;
    letter-spacing: 0.4px;
    text-align: center;
    line-height: 81px;
}

.hamburger:before {
    content: "";
    width: 0px;
    height: 0px;
    background-color: #E7594E;
    border-radius: 50%;

    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform-origin: top center;
    transform-origin: top center;
}

.js-menu_activated {
    overflow: hidden;
}

.js-menu_activated .menu {
    height: 100%;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.js-menu_activated .hamburger:before {
    width: 100vw;
    height: 100vw;
    -webkit-transform: translate3d(-50vw, -50vw, 0) scale(5);
    transform: translate3d(-50vw, -50vw, 0) scale(5);
}

.js-menu_activated .menu__list {
    display: block;
}


/*
  =====
  LEVEL 3. MOBILE ANIMATION STYLES
  =====
  */

.menu {
    -webkit-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
}

.js-menu_activated .menu {
    will-change: opacity;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
}

.hamburger:before {
    will-change: width, height;
    -webkit-transition: width .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        height .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        -webkit-transform .3s cubic-bezier(0.04, -0.1, 0.29, 0.98);
    transition: width .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        height .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        -webkit-transform .3s cubic-bezier(0.04, -0.1, 0.29, 0.98);
    transition: transform .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        width .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        height .3s cubic-bezier(0.04, -0.1, 0.29, 0.98);
    transition: transform .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        width .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        height .3s cubic-bezier(0.04, -0.1, 0.29, 0.98),
        -webkit-transform .3s cubic-bezier(0.04, -0.1, 0.29, 0.98);
}

.js-menu_activated .hamburger:before {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
}


/** LIGHTBOX  **/

.lightbox {
    display: none;

    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: url(../images/close.png), auto;
}

.lightbox:after {
    content: "";
    background-image: url(../images/close.png);
    width: 4rem;
    height: 4rem;
    background-repeat: no-repeat;
    background-position: center center;
    position: fixed;
    top: 5%;
    right: 5%;
}


.lightbox img {
    width: 50%;
    height: 80%;
    -o-object-fit: contain;
    object-fit: contain;
    z-index: 1000;

}

.lightbox:target {
    outline: none;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.copyright{
    margin: auto;
}
.copyright{
    text-align: center;
    padding: 2rem 0;
    font-weight: 600;
    font-size: 1.2rem;
    color: #8D8C89;
}

/* RESPONSIVE-------------------------------------- */

@media only screen and (max-width: 1084px) {
    .menu__group {
        padding: 1.5rem;
        font-size: 4rem;
        line-height: 5rem;
    }

    .navigation {
        position: absolute;
    left: 50%;
    bottom: 20%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 1;
    top: auto;
    right: auto;
    }
    .titre{
        top: 15%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    }

    h2 {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    .navigation ul {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        -webkit-box-align: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
    }
    #logo {
        width: 70%;
    }
    .intro{
        position: absolute;
        top: 5%;
    }
    
}


@media only screen and (max-width: 474px) {
    .menu__group {
        padding: 1.5rem;
        font-size: 4rem;
        line-height: 5rem;
    }
    h1{
        padding: 0 2rem;
    }

}

@media only screen and (max-width: 320px) {
    .menu__group {
        padding: 1rem;
        font-size: 3rem;
    }

    #logo {
        width: 70%;
    }

    .lightbox img {
        width: 70%
    }

}
