/*
** TITLES
*/
h1 {
    font-size: 80px;
}

h1 .first-word::before {
    width: 191px;
    height: 97px;
    left: 6px;
    top: -2px;
    background-image: url("images/circle.png");
    z-index: -1;
}

@keyframes blink {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(.95);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotateStar {
    0% {
        rotate: 0deg;
    }

    100% {
        rotate: 360deg;
    }
}

h1 .first-word::after {
    content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 60px;
    right: -26px;
    top: -2px;
    background-color: transparent;
    background-image: url("images/star.png");
    background-size: contain;
    background-repeat: no-repeat;
    animation-name: blink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

h1 .first-word:hover::after {
    animation-name: rotateStar;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

@media screen and (min-width: 576px) {
    h1 {
        font-size: 110px;
    }

    h1 .first-word::before {
        width: 261px;
        height: 133px;
        left: 8px;
        top: -2px;
    }

    h1 .first-word::after {
        width: 70px;
        height: 70px;
        right: -32px;
        top: 10px;

    }
}

@media screen and (min-width: 768px) {
    h1 {
        font-size: 120px;
    }

    h1 .first-word::before {
        width: 302px;
        height: 154px;
        left: -8px;
        top: -11px;
    }

    h1 .first-word::after {
        width: 80px;
        height: 80px;
        right: -34px;
        top: 3px;
    }
}

/*
** END TITLES
*/

/*
** HEADER
*/

header {
    font-family: "Epilogue", sans-serif;
    font-weight: 900;
    height: 100vh;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 9;
    background-color: #F0EBE6;
    height: 100vh;
    padding: 12px;
    font-size: 130px;
}

.header-content {
    position: relative;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    background-color: #FFDD7E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    gap: 20px;
    padding: 16px;
    background-image: url("images/background-1.jpg");
    background-size: cover;
    background-position: 100% 40%;
    background-repeat: no-repeat;
}

header .arrow {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

/* xs: 0,
  sm: 576px, 1152
  md: 768px, 1536
  lg: 992px, 1984
  xl: 1200px, 2400
  xxl: 1400px 2800
   */

@media screen and (min-width: 768px) {
    .header-content {
        background-image: url("images/background-2.jpg");
    }
}

@media screen and (min-width: 992px) {
    .header-content {
        background-image: url("images/background@1-5x.jpg");
    }
}

@media screen and (min-width: 1200px) {
    .header-content {
        background-image: url("images/background@2x.jpg");
    }
}

@media screen and (min-width: 2100px) {
    .header-content {
        background-image: url("images/background@3x.jpg");
    }
}

.contact-button {
    background-color: #FFFFFF;
    border: 1px solid #FFF78A;
    color: #FFAD84;
    border-radius: 8px;
    padding: 12px;
    font-size: 18px;
    transition: .2s;
    text-align: center;
    margin: 0 auto;
}

.contact-button:hover {
    background-color: rgba(255, 247, 138, .5);
}

header nav {
    padding: 28px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/*
** END HEADER
*/

/*
** FIXED NAV 
*/
.fixed-nav {
    padding: 0 12px 0;
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #F0EBE6;

}

.fixed-nav::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: linear-gradient(#F0EBE6 10%, transparent 50%);
}

.fixed-nav>nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.fixed-nav .logo-inline {
    line-height: 0;
    margin: 6px 0;
}

.fixed-nav .logo-inline img {
    width: 170px;
}

@media screen and (min-width: 768px) {
    .fixed-nav .logo-inline img {
        width: 236px;
    }
}

@media screen and (min-width: 576px) {
    .fixed-nav {
        padding: 0 28px 0;
    }
}

/*
** END FIXED NAV 
*/

/*
** WHY 
*/
.why {
    padding-top: 0;
}

@media screen and (min-width: 576px) {
    .why {
        padding-top: 30px;
    }
}

.why-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* gap: 10px; */
    font-size: 14px;
}


@media screen and (min-width: 576px) {

    .why-content {
        gap: 20px;
        flex-direction: initial;
        flex-wrap: wrap;
    }

    .why-content>div {
        flex: 1 1 auto;
        max-width: 300px;
    }
}


.why-title {
    padding-top: 55px;
}

.why-title .first-word::before {
    top: -52px;
    left: -90px;
    width: 100px;
    height: 90.28px;
    background-image: url("images/triangle.png");
}

@media screen and (min-width: 576px) {
    .why-title {
        padding-top: 90px;
    }

    .why-title .first-word::before {
        top: -88px;
        left: -143px;
        width: 150px;
        height: 135.42px;
    }
}

@media screen and (min-width: 768px) {
    .why-title {
        padding-top: 160px;
    }

    .why-title .first-word::before {
        top: -151px;
        left: -220px;
        width: 230px;
        height: 207.65px;
    }
}

.why h3 {
    font-size: 18px;
    white-space: nowrap;
}

/*
** END WHY
*/

/*
** ACTIVITIES
*/

.activities {
    overflow: hidden;
    padding-top: 0;
}

.activities-title {
    position: relative;
    white-space: nowrap;
    font-size: 50px;
    margin-right: -200px;
    margin-left: -200px;
    letter-spacing: -2px;
}


@keyframes toTheRight {
    0% {
        right: -70px;
    }

    50% {
        right: 70px;
    }

    100% {
        right: -70px;
    }
}

@keyframes toTheLeft {
    0% {
        left: -70px;
    }

    50% {
        left: 70px;
    }

    100% {
        left: -70px;
    }
}

.activities-title>span:first-child {
    position: relative;
    animation-name: toTheRight;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    transition: 1s;
    animation-timing-function: ease-in-out;
}


.activities-title>span:last-child {
    position: relative;
    animation-name: toTheLeft;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    transition: 1s;
    animation-timing-function: ease-in-out;
}


.activities-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    row-gap: 100px;
    column-gap: 30px;
    padding-top: 90px;
}

.card.activity {
    padding-top: 100px;
    width: 100%;
}

@media screen and (min-width: 576px) {
    .activities-title {
        font-size: 100px;
        margin-right: -100px;
        margin-left: -100px;
        letter-spacing: -2.88px;
    }

}

@media screen and (min-width: 768px) {

    .activities-content {
        flex-direction: row;
    }

    .card.activity {
        max-width: 450px;
        width: calc((100vw - 56px) / 2 - 30px);
    }
}

@media screen and (min-width: 1400px) {

    .card.activity {
        width: calc((100vw - 56px) / 4 - 30px);

    }
}

.activity h4 {
    font-size: 14px;
    margin: 0 0 6px;
}

.activity p {
    font-size: 14px;
    margin: 0 0 25px;
}

.activity .sticker {
    top: -75px;
}

/*
** END ACTIVITIES
*/

/*
** ABOUT
*/
.about {
    padding-bottom: 150px;
    background: linear-gradient(#FFF1C1, #FFD6C1);
    position: relative;
}

.about .bio {
    max-width: 500px;
    margin: 0 auto;
    font-size: 15px;
}

.about .sticker-alliance {
    position: absolute;
    bottom: -40px;
    right: 50px;
    rotate: 8deg;
}

.photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0;
    position: relative;
}

@media screen and (min-width: 576px) {
    .photos {
        margin: 100px 0;
        margin: 100px 0;
    }
}

.photos figure {
    margin: -5px -15px;
    font-size: 10px;
    position: relative
}

.photos figcaption {
    width: fit-content;
    padding: 0 8px;
    font-weight: 700;
    border-radius: 10px;
    position: absolute;
    top: 30px;
    right: 40px;
    opacity: 0;
    transition: .2s;
}

.photos figure:hover figcaption {
    opacity: 1;
}

.photos img {
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.photo-tripod>img {
    rotate: 7.5deg;
}

.photo-tripod {
    position: relative;
}

.photo-tripod::before {
    content: "";
    display: block;
    background-color: transparent;
    background-image: url("images/traits.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 53px;
    height: 44.5px;
    bottom: 233px;
    left: -28px;
    position: absolute;
    rotate: 90deg;
}

@media screen and (min-width: 576px) {
    .photo-tripod::before {
        width: 53px;
        height: 44.5px;
        bottom: -20px;
        left: -80px;
        rotate: initial;
    }
}

.photo-wheel>img {
    rotate: -3.5deg;
}

.photo-warrior>img {
    rotate: 5deg;
}

.photo-chinstand>img {
    rotate: -3.5deg;
}

.photo-tripod>figcaption {
    background-color: #F5693C;
}

.photo-wheel>figcaption {
    background-color: #FFAD84;
}

.photo-warrior>figcaption {
    background-color: #FFCD82;
}

.photo-chinstand>figcaption {
    background-color: #FFE382;
}

/*
** END ABOUT
*/

/*
** OFFERS
*/

.offers {
    margin: 0 auto;
}

.offers-title {
    margin-bottom: 50px;
}

#offers p {
    font-size: 15px;
}

.offer-text {
    margin: 0 auto 40px;
    max-width: 845px;
}

.quote-button {
    display: block;
    background-color: #FFF78A;
    color: #000000;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    transition: .1s;
    text-align: center;
    margin: 30px auto 50px;
    width: fit-content;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
}

.quote-button:hover {
    box-shadow: 0 0px 2px rgba(0, 0, 0, .25);
}

.offers-tables {
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: column;
    align-items: center;

}

.offers-table {
    margin: 0;
    color: #000000;
    width: 100%;
    min-width: 326px;
}

@media screen and (min-width: 718px) {
    .offers-tables {
        flex-direction: row;
        gap: 10px;
        max-width: 845px;
    }

    .offers-table {
        width: calc(50% - 10px);
    }
}

@media screen and (min-width: 1055px) {
    .offers-tables {
        justify-content: center;
        max-width: initial;
    }

    .offers-table {
        width: initial;
    }
}



.offers-table td,
.offers-table th {
    background-color: #FFFFFF;
    padding: 8px 12px;
}

.offers-table thead th {
    text-align: center;
    font-size: 1.2em;
}

.offers-table tbody th {
    text-align: left;
    width: 146px;
}

@media screen and (min-width: 576px) {
    .offers-table tbody th {
        width: 50%;
    }
}

.offers-table tbody td {
    white-space: nowrap;
}

.offers-table th.people {
    background-color: #FFAD84;
}

.offers-table td {
    background-color: #FFFFFF;
    padding: 8px 10px;
}

.offers-table .charge {
    font-size: .75em;
    line-height: 125%;
}

.offers-table.people-3 thead th {
    background-color: #FFE382;
}

.offers-table.people-3 .info {
    color: #FFE382;
}

.offers-table.people-1 thead th {
    background-color: #FFAD84;
}

.offers-table.people-1 .info {
    color: #FFAD84;
}

.offers-table.people-2 thead th {
    background-color: #FFCD82;
}

.offers-table.people-2 .info {
    color: #FFCD82;
}

/*
** END OFFERS
*/

/*
** BLOC COMPANY
*/

.company {
    max-width: 830px;
    margin: 0 auto;
}

.company-stickers {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    margin-bottom: 50px;
}

.company-stickers .mug {
    rotate: 4deg;
}

.company-stickers .laptop {
    rotate: -3deg;
}

.company-advantages {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 40px;
    margin-top: 30px;
}

.card.advantages-bloc {
    padding-top: 80px;
    width: 100%;
}

.advantages-bloc li {
    margin-bottom: 5px;
}

@media screen and (min-width: 768px) {
    .company-advantages {
        display: flex;
        flex-direction: row;
        gap: 30px;
        justify-content: space-between;
    }

    .card.advantages-bloc {
        width: 372px;
    }
}


.company-advantages .sticker {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.company-advantages h4 {
    font-family: "Epilogue", sans-serif;
    font-weight: 900;
    font-size: 30px;
    text-align: center;
    position: relative;
    margin: 0 0 30px;
    line-height: 1.1;
}

.sources {
    font-size: .65em;
    line-height: 120%;
    margin-top: 30px;
}

.sources p {
    margin: 0;
}

.sources ul {
    list-style-type: "- ";
    padding-left: 10px;
}




/*
** END COMPANY
*/

/*
** BLOC CONTACT
*/

#contact {
    font-size: 20px;
    background-color: #FFFFFF;
}

.contact-content {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    padding-bottom: 30px;
}

@media screen and (min-width: 576px) {
    .contact-content {
        padding-top: 30px;
        flex-direction: row;
    }
}

.photo-handstand {
    position: relative;
}

.photo-handstand img {
    rotate: -2deg;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.photo-handstand::before {
    content: "";
    display: block;
    background-color: transparent;
    background-image: url("images/traits-orange.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 53px;
    height: 44.5px;
    top: -20px;
    right: -80px;
    position: absolute;
}

.photo-handstand::after {
    content: "";
    display: block;
    background-color: transparent;
    background-image: url("images/traits.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 53px;
    height: 44.5px;
    bottom: -20px;
    left: -80px;
    position: absolute;
}

#contact ul {
    list-style: none;
}

#contact li {
    margin: 30px 0;
}

/*
** PARTNERS
*/
.partners {
    padding-bottom: 0;
}

.partners-title .first-word::before {
    top: -39px;
    left: -43px;
    width: 53.6px;
    height: 90.25px;
    background-image: url("images/arbre.png");
}

@media screen and (min-width: 576px) {
    .partners-title .first-word::before {
        top: -58px;
        left: -70px;
        width: 80.4px;
        height: 135.38px;
    }
}

@media screen and (min-width: 768px) {
    .partners-title .first-word::before {
        top: -107px;
        left: -96px;
        width: 123.3px;
        height: 207.62px;
    }
}

.partners-list {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 25px;
}

.partners-list p {
    margin: 0;
    font-size: 15px;
}



.partners-list>div {
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partners-list figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.partners-list figcaption {
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
}

/*
** END PARTNERS
*/


/*
** PLANNING
*/

.planning.container {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.planning-table-list {
    color: #000000;
}

.planning-table-list table {
    width: 100%;
}


@media screen and (min-width: 768px) {
    .planning-table-list {
        overflow-x: scroll;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .planning-table-list table {
        width: initial;
    }
}

.planning .pins {
    position: absolute;
    right: 5px;
    bottom: 5px;
}

.planning-table-list table thead tr {
    font-size: 1.2em;
    padding: 8px 12px;
}

tr.monday {
    background-color: #6EADBC;
}

tr.tuesday {
    background-color: #9FCBAD;
}

tr.wednesday {
    background-color: #FFE382;
}

tr.thursday {
    background-color: #FFCD82;
}

tr.friday {
    background-color: #FFAD84;
}

tbody.monday th {
    color: #6EADBC;
}

tbody.tuesday th {
    color: #9FCBAD;
}

tbody.wednesday th {
    color: #FFE382;
}

tbody.thursday th {
    color: #FFCD82;
}

tbody.friday th {
    color: #FFAD84;
}

.planning-table-list table th {
    padding: 8px 12px;
}


.planning-table-list table tbody td,
.planning-table-list table tbody th {
    background-color: #FFFFFF;
    height: 75px;
    padding: 8px 12px;
    white-space: nowrap;
    position: relative;
    /* width: 152px; */
}

.planning-table-list table tbody th {
    font-weight: 400;
    white-space: nowrap;
    /* width: 135px; */
}

/* .planning table {
    width: 100%;
}

.planning th, 
.planning td{
    width: calc(100%/7);
} */

/*
** END PLANNING
*/


/*
** ESS
*/

.ess {
    padding-top: 0;
}

.ess p {
    max-width: 430px;
    font-size: 15px;
    margin: 0;
}

.ess>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 15px;
    margin: 40px 0;
}

@media screen and (min-width: 576px) {
    .ess>div {
        flex-direction: row;
        max-width: initial;
        flex-wrap: wrap;
        margin-top: 70px;
        gap: 20px;
    }
}

/*
** END ESS
*/

/*
** REVIEW
*/
.reviews {
    padding-top: 80px;
    padding-bottom: 0;
}

.reviews-content {
    max-width: 500px;
    margin: 0 auto;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review {
    background-color: #FFFFFF;
    padding: 28px;
    border-radius: 30px;
}

.review-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-header figure {
    position: relative;
}

.review-header figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 23px;
    color: #FFFFFF;
    font-weight: 700;
}

.review-header .date {
    font-size: .7em;
    margin-top: -5px;
}

details.review-details:first-of-type summary {
    list-style: none;
}

.review-details .more,
.review-details .less {
    font-size: .85em;
    font-weight: 700;
    cursor: pointer;
}

.review-details .less {
    display: none;
}

.review-details[open] .more {
    display: none;
}

.review-details[open] .less {
    display: initial;
}

/*
** END REVIEWS
*/

/*
** ACTUALITY
*/

.actuality {
    padding-top: 0;
}

.actuality-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.actuality-list .card {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 28px;
    overflow: hidden;
}

.actuality-list .card figcaption {
    padding-left: 18px;
    padding-right: 18px;
    width: 270px;
}

.actuality-button {
    display: block;
    margin: 20px auto;
    width: fit-content;
    border: 3px solid #13514E;
    color: #13514E;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
}

/*
** END ACTUALITY
*/