/* xs: 0,
  sm: 576px,
  md: 768px,
  lg: 992px,
  xl: 1200px,
  xxl: 1400px */

html {
    scroll-behavior: smooth;
    line-height: 150%;
}

* {
    box-sizing: border-box;
}

strong {
    font-size: 1em;
}

.desktop,
.tablet {
    display: none;
}

@media screen and (min-width: 576px) {
    .mobile {
        display: none;
    }

    .tablet {
        display: initial;
    }
}



@media screen and (min-width: 768px) {
    .desktop {
        display: initial;
    }
}

.container {
    padding: 60px 20px;
}

@media screen and (min-width: 576px) {
    .container {
        padding: 80px 28px 100px;
    }
}

ul,
figure {
    padding: 0;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: .2s;
}

a:hover {
    color: #F5693C;
}

.orange-medium {
    color: #F5693C;
}

.orange-light {
    color: #FFAD84;
}

.green-42 {
    color: #1D995B;
}

.blue-69 {
    color: #0f23aa;
}

.nowrap {
    white-space: nowrap;
}

.bold {
    font-weight: 700;
}

.underline {
    text-decoration: underline;
}

.picto-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

html,
body {
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #F0EBE6;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
    color: #13514E;
}

.first-word {
    position: relative;
}

.first-word::before {
    content: "";
    display: block;
    position: absolute;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
}

/*
** TITLES
*/
h1 {
    line-height: 1.1;
    font-weight: 900;
    font-family: "Epilogue", sans-serif;
    margin: 0;
    font-size: 80px;
    text-align: center;
    font-family: "Epilogue", sans-serif;
    font-weight: 900;
    position: relative;
    color: #000000;
    letter-spacing: -2px;
    z-index: 1;
}

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;
    }

    /* 100% {
        rotate: 0deg;
    } */
}

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;
}

h2 {
    font-size: 45px;
    text-align: center;
    line-height: 1.1;
    font-weight: 900;
    font-family: "Epilogue", sans-serif;
    margin: 0 0 20px;
    letter-spacing: -2px;
}

@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;

    }

    h2 {
        font-size: 60px;
        letter-spacing: -2.5px;
        margin-bottom: 40px;
    }
}

@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;
    }

    h2 {
        font-size: 70px;
    }
}

/*
** END TITLES
*/
#up {
    display: none;
}

@media screen and (min-width: 768px) {
    #up {
        display: initial;
        position: fixed;
        bottom: 50px;
        right: 50px;
        rotate: 180deg;
        z-index: 2;
        /* background-color: rgba(255, 255, 255, .3);
        border-radius: 40px;
        padding: 10px; */
        transition: .1s;
    }

    #up:hover {
        bottom: 51px;
        /* background-color: rgba(255, 255, 255, .5); */
    }
}

/*
** CARD
*/

.card {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 38px 28px 38px;
}

.card-title {
    font-family: "Epilogue", sans-serif;
    font-weight: 900;
    font-size: 30px;
    text-align: center;
    position: relative;
    margin: 0 0 30px;
    line-height: 1.1;
    white-space: nowrap;
}

.card-title strong {
    font-size: 50px;
}

.card-title::after {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background-color: #13514E;
    margin-top: 15px;
}

.card ul {
    padding-left: 20px;
}

.card .sticker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/*
** END CARD
*/

/*
** TOPBAR
*/
.topbar {
    padding: 28px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.topbar li:not(:last-child) {
    padding: 2.5px 0;
}

.topbar .logo {
    line-height: 0;
}

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

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

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

header .topbar {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.main-nav .topbar {
    padding: 0 12px 0;
}

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

.topbar .menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-size: 20px;
    list-style: none;
    color: #000000;
    white-space: nowrap;
    font-family: "Epilogue", sans-serif;
    font-weight: 900;
}

.main-nav .topbar .menu {
    align-items: center;
}

.main-nav {
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #F0EBE6;
}

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

.picto-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
}

/*
** END TOPBAR
*/

/*
** 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;
    border-radius: 20px;
    font-size: 130px;
}

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

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

/* 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);
}

/*
** END HEADER
*/
/*
** FOOTER
*/
footer {
    background-color: #FFFFFF;
    padding: 12px;
    color: #000000;
}

footer>div {
    background-color: #FFDD7E;
    border-radius: 20px;
}

.footer-content {

    color: #000000;
    font-size: 12px;
    display: flex;
    align-items: center;
    padding: 50px 16px;
    gap: 25px;
    position: relative;
    overflow: hidden;
    flex-direction: column-reverse;
}

@media screen and (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        padding: 100px 16px;
        justify-content: center;

    }

    .footer-content>div {
        width: 300px;
    }
}

.footer-content .contact svg {
    width: 18px;
    height: 18px;
}

.footer-content .logo {
    margin-bottom: 5px;
}

.footer-content ul {
    list-style: none;
}

.footer-content .contact li {
    font-size: 14px;
    margin-bottom: 10px;

}

.footer-content .summary .first-word {
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-content .summary .first-word::before {
    width: 36.53px;
    height: 29.9px;
    left: -37px;
    top: -19px;
    position: absolute;
    background-image: url("images/traits-white.svg");
}

.hosting-info {
    padding: 16px;
    font-size: 0.8em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

.hosting-info p {
    margin: 0;
    padding: 0;
    font-size: 12px
}


/*
** END FOOTER
*/


.phone-button {
    display: block;
    color: inherit;
}

.mail-button {
    color: inherit;
    display: none;
}

@media screen and (min-width: 576px) {
    .phone-button {
        display: none;
    }

    .mail-button {
        display: block;
    }
}

/*
** 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 {
    padding-top: 80px;
    max-width: 830px;
    margin: 0 auto;
}

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

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

.offer-text {
    margin-bottom: 40px;
}

.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-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: column;
    align-items: center;
}

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

@media screen and (min-width: 992px) {
    .offers-tables {
        justify-content: space-between;
    }
}

.offers-table table {
    margin: 0;
    color: #000000;
}

.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;
}


.offers-table tbody td {
    text-align: right;
}

.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 {
    background: linear-gradient(#F0EBE6, #FFFFFF);
}

.partners-title {
    padding-top: 25px;
}

.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 p {
    max-width: 400px;
    font-size: 15px;
    margin: 0;
}

.partners h3 {
    text-align: center;
    margin: 0 0 50px;
}

.partners>.inline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    gap: 15px;
    margin: 40px auto;
}

#logo-kabubu {
    margin-top: -30px;
    margin-bottom: -30px;
}

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

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

@media screen and (min-width: 576px) {
    .partners .columns {
        padding: 70px 0;
    }
}

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

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

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

/*
** END PARTNERS
*/