/* ----- TYPO ----- */

@font-face {
    font-family: 'typo_perso';
    src: url('typos/typo_perso.woff2') format('woff2'),
        url('typos/typo_perso.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Trickster_Regular';
    src: url('typos/Trickster-Regular.woff2') format('woff2'),
        url('typos/Trickster-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DuctusCalligraphic';
    src: url('typos/DuctusCalligraphic.woff2') format('woff2'),
        url('typos/DuctusCalligraphic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fructidor';
    src: url('typos/Adelphe-FructidorRegular.woff2') format('woff2'),
        url('typos/Adelphe-FructidorRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ---- CONCERNE TOUTES LES PAGES ---- */

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

main {
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}

main img {
    width: 100%;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}



/* menu principal */

.principal {
    position: absolute;
    bottom: 30px;
    right: 30px;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    text-align: right;
    z-index: 2;
}

.principal li {
    margin: 0 30px;
    font-size: 20px;
    cursor: pointer;
    transition: all ease-out .2s;
    color: #fff;
}

.principal .bg_menu {
    background: #E71C77;
    height: 30px;
    display: block;
    width: calc(100% + 20px);
    position: relative;
    left: -10px;
    top: -24px;
    position: relative;
    z-index: -1;
    transition: background ease-out .1s;
}

.principal li:hover .bg_menu {
    background: #000;
}

.principal li:hover {
    color: #fff;
}

.anim-5 {
    animation: anim-5 1s step-end infinite;
}

.anim10 {
    animation: anim10 1s step-end infinite;
}

.anim-10 {
    animation: anim-10 1s step-end infinite;
}

.anim5 {
    animation: anim5 1s step-end infinite;
}

.anim-15 {
    animation: anim-15 1s step-end infinite;
}




/* animations du menu principal */

@keyframes anim-5 {
    0% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

@keyframes anim10 {
    0% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

@keyframes anim-10 {
    0% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(-10deg);
    }
}

@keyframes anim5 {
    0% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

@keyframes anim-15 {
    0% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(-15deg);
    }
}

h4 {
   font: normal 'DuctusCalligraphic', sans-serif;
}

h5 {
    
    font: normal 20px 'DuctusCalligraphic', sans-serif;
    padding: 10px 20px;
    margin: 0;
}

h6 {

    font: normal 60px 'typo_perso', sans-serif;
    padding: 10px 20px;
    margin: 0;
}



/* menu secondaire (burger) */
.secondaire {
    box-sizing: border-box;
    background: #000;
    text-align: center;
    width: 180px;
    position: absolute;
    top: 0;
    right: -250px;
    transition: right .3s ease-out;
    margin: 0;
    padding: 100px 30px 0 30px;
}

.secondaire a {
    transition: color .2s ease-out;
    color: #fff;
}

.secondaire a:hover {
    color: #E71C77;
}

.secondaire li {
    font-size: 20px;
    list-style: none;
    margin-bottom: 30px;
}

.secondaire.actif {
    right: 0;
}


/* icone burger */

.burger {
    height: 30px;
    width: 50px;
    position: absolute;
    top: 40px;
    right: 65px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1;
}

.burger span {
    background: #E71C77;
    height: 6px;
    border-radius: 6px;
    transition: transform .2s ease;

}

.barre1.burgerClick {
    transform: rotate(45deg) translateY(10px) translateX(7px);
}

.barre2.burgerClick {
    opacity: 0;
    transform: rotate(0deg);
}

.barre3.burgerClick {
    transform: rotate(-45deg) translateY(-10px) translateX(7px);
}