/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/365651");

@font-face {
    font-family: "TTNorms";
    font-weight: 900;
    src: url("../webfonts/365651_4_0.eot");
    src: url("../webfonts/365651_4_0.eot?#iefix") format("embedded-opentype"),
    url("../webfonts/365651_4_0.woff2") format("woff2"),
    url("../webfonts/365651_4_0.woff") format("woff"),
    url("../webfonts/365651_4_0.ttf") format("truetype");
}

@font-face {
    font-family: 'TTNorms';
    font-weight: 600;
    src: url('../webfonts/365651_E_0.eot');
    src: url('../webfonts/365651_E_0.eot?#iefix') format('embedded-opentype'),
    url('../webfonts/365651_E_0.woff2') format('woff2'),
    url('../webfonts/365651_E_0.woff') format('woff'),
    url('../webfonts/365651_E_0.ttf') format('truetype');
}

@font-face {
    font-family: "TTNorms";
    font-weight: 400;
    src: url("../webfonts/365651_F_0.eot");
    src: url("../webfonts/365651_F_0.eot?#iefix") format("embedded-opentype"),
    url("../webfonts/365651_F_0.woff2") format("woff2"),
    url("../webfonts/365651_F_0.woff") format("woff"),
    url("../webfonts/365651_F_0.ttf") format("truetype");
}

:root {
    font-family: 'TTNorms', sans-serif;
    font-weight: normal;
}

.large {
    font-weight: 900;
    font-size: 2rem;
    text-align: center;
}

.medium {
    font-weight: 400;
    font-size: 1.875rem;
    text-align: center;
}

.small {
    font-weight: 400;
    font-size: 1.25rem;
    display: inline-block;
    margin: 0 1em;
    text-align: center;
}

.centered {
    text-align: center;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-block-start: 0;
    margin-block-end: 1rem;
}

.boo {
    display: none;
}

body {
    align-items: center;
    background: #fff;
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 1rem 0 0 0;
    width: 100%;
}

body.home {
    margin: 2rem 0 0 0;
}

@media screen and (min-width: 768px) {
    body.home {
        margin-top: 5rem;
    }
}

html {
    width: 100%;
    height: 100%;
    box-sizing: content-box;
    padding: 0;
    margin: 0;
}

.head {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    height: fit-content;
    width: fit-content;
    align-items: center;
    margin-block-end: 2.8rem;
}

.head__horizontal {
    flex-direction: row;
    align-items: flex-end;
}

.head__horizontal .head--title {
    padding-block-end: 1rem;
}

.ananas {
    width: 180px;
}

.head__horizontal .ananas {
    width: 90px;
}

.head__horizontal .medium {
    font-size: 1.4rem;
}

.head__horizontal .large {
    font-size: 2rem;
    letter-spacing: 0.2rem;
}

.infos {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.infos > li,
.infos > li > a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: black;
    text-decoration: none;
}

.infos > li > a:hover {
    text-decoration: underline;
    text-underline-offset: 8px;
    animation-duration: 5s;
    animation-name: rainbow;
    animation-iteration-count: infinite;
}

.icon {
    height: 2rem;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon > svg {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.infos > li:hover svg {
    animation-duration: 5s;
    animation-name: rainbow;
    animation-iteration-count: infinite;
}

.insta {
    fill: #fff;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
}

.email {
    fill: none;
    stroke: #000;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5px;
}

.etsy-1,
.etsy-2,
.etsy-3 {
    fill: none;
    stroke: #000;
    stroke-linejoin: round;
}

.infos > li:hover .etsy-3 {
    stroke: #f6a100;
    animation-duration: 10s;
    animation-name: rainbow;
    animation-iteration-count: infinite;
}

.etsy-1 {
    stroke-width: 5px;
}

.etsy-2,
.etsy-3 {
    stroke-width: 5px;
}

.etsy-3 {
    stroke-linecap: round;
}

@keyframes rainbow {
    0% {
        fill: orange;
        color: orange;
        text-decoration-color: orange;
    }
    14% {
        fill: #ffed00;
        color: #ffed00;
        text-decoration-color: #ffed00;
    }
    28% {
        fill: #00ee00;
        color: #00ee00;
        text-decoration-color: #00ee00;
    }
    42% {
        fill: #00ddff;
        color: #00ddff;
        text-decoration-color: #00ddff;
    }
    72% {
        fill: #a070f0;
        color: #a070f0;
        text-decoration-color: #a070f0;
    }
    86% {
        fill: magenta;
        color: magenta;
        text-decoration-color: magenta;
    }
    100% {
        fill: orange;
        color: orange;
        text-decoration-color: orange;
    }
}

@media screen and (min-width: 768px) {
    .grid {
        font-size: 1.3rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        width: 65rem;
    }
}

.grid h2 {
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
    padding: 0;
}

.lien-atelier {
    color: currentColor;
    display: flex;
    flex-direction: column;
    font-size: 2.2rem;
    font-weight: 600;
    gap: 1rem;
    text-align: center;
    text-decoration: none;
}

.photo-atelier {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.dates {
    padding: 1.5rem;
    margin-block-end: 3rem;
}

.dates__item > *:not(:last-child) {
    margin-block-end: 0.5rem;
}

.dates__head {
    display: flex;
    justify-content: space-between;
}

.dates a {
    color: currentColor;
    text-decoration-thickness: 0.25rem;
    text-decoration-color: #fd50d6;
    text-decoration-skip-ink: none;
    text-underline-offset: 0.5rem;
    padding-block: 0.2rem;
    padding-inline-end: 0.2rem;
}

.dates a:hover {
    color: #fd50d6;
    font-weight: 900;
}

@media screen and (max-width: 768px) {
    .dates__item:not(:last-child) {
        margin-block-end: 1rem;
    }

    main {
        padding: 0.8rem;
    }

    .lien-atelier {
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }
}
