@import url(https://fonts.bunny.net/css?family=abril-fatface:400|montserrat:200,400,600,800);

/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
    margin: 0;
}

/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/*
    5. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/*
    6. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
    font: inherit;
}

/*
    7. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/*
    8. Create a root stacking context
  */
#root,
#__next {
    isolation: isolate;
}

/*//////////////*/

:root {
    font-size: clamp(12px, .5vw, 18px);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #33333b;
}

header {
    height: clamp(400px, 30vw, 800px);
    display: grid;
    place-content: center;
    background-image: url('./img/fond-mandala-low.png');
    background-size: cover;
    background-position: center;
}

header img {
    max-height: clamp(200px, 15vw, 400px);
    width: 100%;
    object-fit: contain !important;
    transform: translateY(-1rem);
}

h1 {
    font-family: 'Abril Fatface';
    font-size: 5em;
    line-height: 110%;
    padding-bottom: 2rem;
}

.heading-content {
    margin-bottom: 2rem;
}

.heading-content span {
    line-height: 1rem;
    font-size: 2em;
    font-weight: 800;
    background: -webkit-linear-gradient(0deg, #C30017, #950095, #E347FF, #FF9000, #F2FF19);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.horaires {
    margin-top: 4rem;
}

.horaires h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.contact h2 {
    display: block;
    width: fit-content;
    font-size: 2rem;
    padding: 10px 120px 10px 20px;
    background-image: linear-gradient(135deg, #950095, #E347FF, #FF9000, #F2FF19);
    color: white;
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-zone {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-zone a {
    display: flex;
    text-decoration: none;
    color: inherit;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    width: fit-content;
}

.contact-zone a img {
    max-height: 2rem;
    max-width: 1.67rem;
    object-fit: contain;
}

main {
    position: relative;
    display: flex;
    min-height: 800px;
    z-index: 20;
}

.column {
    flex: 1;
    padding: 4rem;
}

.wave {
    aspect-ratio: 1167/91;
    width: 100%;
    z-index: 10;
    transform: translateY(-100%);
    margin-bottom: -10%;
}

.une {
    margin: 6rem;
    margin-right: 2rem;
    background-image: url('./img/AdobeStock_284848102.jpeg');
    background-size: cover;
    background-position: left;
    display: flex;
    align-items: end;
    flex: 6;
    min-height: 400px;
}

.deux {
    flex: 4;
    padding-top: 6rem;
}

.deux h4 {
    font-size: 1.5rem;
    margin: 2rem 0;
}

ul {
    list-style-type: none;
    display: flex;
    gap: .5rem;
    padding: 0;
    flex-wrap: wrap;
}

@media only screen and (max-width: 600px) {
    ul li {
        flex: 1 0 100% !important;
    }

    ul .separator {
        display: none !important;
    }

    .horaires ul li:not(.separator)::before {
        display: inline-block;
        width: 1.5rem;
        height: 1.5rem;
        content: "·";
        line-height: 1rem;
        font-size: 3rem;
        padding-left: .267rem;
        border-radius: 50%;
        color: white;
        font-weight: 800;
        transform: translateY(.2rem);
        background-color: #f57300;
        margin-right: 1rem;
    }
}

li {
    font-size: 2.5rem;
    font-weight: 200;
}

.horaires li {
    font-weight: 400;
    font-size: 1.3rem;
}

li.separator::after {
    display: inline-block;
    width: 1.67rem;
    height: 1.67rem;
    content: "·";
    line-height: 1.2rem;
    font-size: 3rem;
    padding-left: .34rem;
    border-radius: 50%;
    color: white;
    font-weight: 800;
    transform: translateY(.2rem);
}

.separator.pink::after {
    background-color: #ff3dc9;
}

.separator.orange::after {
    background-color: #f57300;
}

blockquote {
    font-size: 1.5rem;
    /*background-color: #00000010;*/
    margin-top: 6rem;
    max-width: 670px;
}

blockquote footer {
    font-size: 1.5rem;
    font-weight: 800;
}

blockquote::before {
    content: "“";
    font-size: 10rem;
    font-weight: 800;
    font-family: 'Abril Fatface';
    display: block;
    line-height: 0rem;
    color: #00000042;
}

blockquote::after {
    content: '”';
    font-size: 10rem;
    font-weight: 800;
    font-family: 'Abril Fatface';
    display: block;
    float: right;
    line-height: 4rem;
    color: #00000042;
}

.yoga-alliance {
    display: flex;
    align-items: center;
    height: 100px;
    max-width: 550px;
}

.yoga-alliance h4 {
    flex: 11;
    font-weight: 600;
    color: #000000a0;
}

.yoga-alliance img {
    flex: 1;
    height: 100%;
    object-fit: contain;
}

.icon-facebook {
    transform: translateX(-2px);
    margin-right: -5px;
    background: -webkit-linear-gradient(0deg, #C30017, #E347FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media only screen and (max-width: 1200px) {
    main {
        flex-flow: column-reverse;
    }

    .column {
        flex: 1 !important;
    }

    h1 {
        font-size: clamp(4rem, 6vw, 6rem);
    }

    .une {
        margin: 0 !important;
    }
}

body>footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 20px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

body>footer a {
    color: #C30017;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

body>footer a:hover {
    color: #33333b;
    text-decoration: underline;
}