/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

* {
    box-sizing: border-box;
    cursor: none!important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    outline: none;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
textarea, select, input, button { outline: none; -webkit-appearance: none; border-radius: 0; }

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance:textfield; }

a {
    color: inherit;
    text-decoration: none;
}

/* Font Declaration */

@font-face {
    font-family: 'Atto';
    font-weight: normal;
    src: url(../fonts/Atto.woff2) format('woff2'), url(../fonts/Atto.woff) format('woff');
}

/* Cursor */

.cursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: transparent;
    transform: translate3d(var(--mouse-x), var(--mouse-y), 0);
}

.cursor__inner {
    transition: transform 300ms ease
}

.state--arrow-right .cursor__inner {
    transform: rotate(-90deg);
}

.state--arrow-left .cursor__inner {
    transform: rotate(90deg);
}

.state--cursor-hidden .cursor {
    display: none;
}

.cursor__arrow {
    position: absolute;
    left: -15px;
    top: -14px;
    display: block;
    width: 34px;
    height: 34px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transition: all 200ms ease;
}

.state--circle .cursor__arrow {
    border-radius: 50%;
    left: -21px;
    top: -20px;
    width: 0;
    height: 0;
    opacity: 0;
    transform: rotate(-180deg);
}

.cursor__line {
    position: absolute;
    left: 1px;
    top: -40px;
    display: block;
    width: 2px;
    height: 65px;
    border-right: 2px solid #fff;
    transition: all 200ms ease;
}

.state--circle .cursor__line {
    border-radius: 50%;
    width: 15px;
    height: 15px;
    left: -5px;
    top: -11px;
    border: none;
    background-color: #fff;
    transform: rotate(-180deg);
}

.state--hover.state--circle .cursor__line {
    width: 25px;
    height: 25px;
    left: -13px;
    top: -16px;
}

/* Styles */
html {
    cursor: none;
}

body {
    font-family: 'Atto';
    background-color: #c1bfbb;
    opacity: 0;
    transition: opacity 800ms ease-in 100ms;
}

body.transition-in {
    opacity: 1;
}

:root {
    font-size: 1.1rem;
    --window-height: 100vh;
}

.scrolling-container {
    height: var(--window-height);
    overflow: auto;
}

@media screen and (min-width: 700px) {
    :root {
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 1025px) {
    :root {
        font-size: 1.8rem;
    }
}

a {
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    background-color: #fff;
    width: 0;
    transition: width 300ms ease;
}

a:hover::after {
    width: 100%;
}


.will-appear {
    opacity: 0;
    transform: translate3d(0,50px,0);
    transition-property: opacity, transform;
    transition-duration: 800ms;
    transition-timing-function: ease;
}

.did-appear {
    opacity: 1;
    transform: translate3d(0,0,0);
}

.responsive-image {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;

    background-size: cover;
    overflow: hidden;
}

.responsive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transform-origin: bottom;
    transition: opacity 800ms ease, transform 800ms ease;
    will-change: opacity, transform;
}

.responsive-image img.did-appear {
    opacity: 1;
    transform: scale(1);
}

@media screen and (min-width: 700px) {
    .will-appear {
        opacity: 0;
        transform: translate3d(0,100px,0);
    }

    .did-appear {
        opacity: 1;
        transform: translate3d(0,0,0);
    }
}

/* content-styles */

.intro {
    height: var(--window-height);
    position: relative;
    overflow: hidden;
}

.intro__inner {
    height: 100%;
}

.intro__canvas {
    width: 100%;
    height: 100%;
}

.intro__video {
    display: none;
    pointer-events: none;
}

.intro__image {
    visibility: hidden;
}

.intro__image-size {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    height: 100%;
}

.state-wide .intro__image-size {
    width: 100%;
    height: auto;
}

.intro__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%,-70%,0);
    width: 60vw ;
    transition: width 300ms ease;
    z-index: 11;
}

.footer {
    padding: 1rem;
    color: #fff;
    min-height: var(--window-height);
    background-color: #c1bfbb;
    overflow: hidden;
}

.coiffeuse {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    font-size: var(--font-size);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.coiffeuse__contact {
    grid-column-start: 1;
    grid-column-end: 7;
}

.coiffeuse__dates {
    grid-column-start: 8;
    grid-column-end: 13;
}

.coiffeuse__dates-date {
    margin-bottom: 0.4rem;
}

.coiffeuse__dates-date.state--empty {
    margin-bottom: 0;
}

.address {
    width: 100%;
    font-size: var(--font-size);
    line-height: 1.3;
    margin-top: 2rem;
}

.address__break {
    display: block;
}

.swiper-container {
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-button-next,
.swiper-button-prev {
    top: 0;
    width: 50%;
    height: 100%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

@media screen and (min-width: 700px) {
    .intro__logo {
        width: 40vw;
    }

    .footer {
        display: flex;
        flex-direction: column;
        padding: 1rem
    }

    .footer__info {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .coiffeuse {
        display: block;
        margin-bottom: 4rem;

    }

    .coiffeuse:nth-child(2n) {
        transition-delay: 100ms;
    }

    .coiffeuse__contact {
        margin-bottom: 1.2rem;
    }

    .address__break {
        display: inline-block;
    }

    .address__break::after {
        content: ','
    }
    
    .address__break:last-child::after {
        content: '';
    }
    
}

@media screen and (min-width: 1024px) {
    .footer__info {
        grid-template-columns: repeat(4, 1fr);
    }

    .coiffeuse {
        margin-bottom: 2rem;
    }

    .coiffeuse:nth-child(2n) {
        transition-delay: 100ms;
    }

    .coiffeuse:nth-child(3n) {
        transition-delay: 200ms;
    }

    .coiffeuse:nth-child(4n) {
        transition-delay: 300ms;
    }

    .coiffeuse__contact {
        margin-bottom: 1.3rem;
    }

    .coiffeuse__dates-date {
        height: 70px;
    }

    .coiffeuse__dates-date.state--empty {
        margin-bottom: 0.4rem;
    }

}