:root {
    --first-header-footer-color: white;
    --second-header-footer-color: black;

    --first-color: rgb(250, 250, 250);
    --second-color: rgb(150, 150, 150);
    --third-color: rgb(185, 185, 185);

    --first-text-color: black;
    --first-text-color-gradiant: rgba(0, 0, 0, 0.6);
    --second-text-color: white;
    --link-color: rgb(185, 185, 185);

    --section-paddingX: 10%;
    --section-paddingY: 50px;
    --header-height: 75px;
    --scollbar-width: 14px;
}


* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    overflow-x: hidden;
}

body {
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    overflow-x: hidden;
}

@media screen and (max-width: 850px) {
    .noscroll {
        overflow-y: hidden;
    }
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

img {
    user-select: none;
}

a {
    color: var(--first-text-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

button {
    background-color: var(--second-text-color);
    border: 1px solid var(--first-text-color);
    cursor: pointer;
    padding: 7px 15px;
}

button:hover {
    background-color: var(--first-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* HEADER - NAV */
header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--first-header-footer-color);
    border-bottom: 1px solid var(--second-header-footer-color);
    z-index: 50;
    padding: 0 var(--section-paddingX);
}

header nav .logo {
    height: 40px;
}

header nav .links ul {
    display: flex;
    flex-direction: row;
    gap: 25px;
    list-style: none;
}

header nav .links ul li a {
    color: #333;
}

header nav .links ul li .selected {
    color: var(--link-color);
}

header nav #nav-icon-close,
#nav-icon-open {
    position: absolute;
    right: var(--section-paddingX);
    width: 25px;
    height: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    cursor: pointer;
}

header .nav-icon .lines {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background-color: white;
}

header #nav-icon-close {
    position: relative;
}

header #nav-icon-close .lines {
    top: 37%;
    position: absolute;
}

header #nav-icon-close .lines:first-child {
    transform: rotate(45deg)
}

header #nav-icon-close .lines:last-child {
    transform: rotate(-45deg)
}

@media screen and (max-width: 850px) {
    header nav .links {
        display: none;
    }

    header nav.open .links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100% - var(--header-height));
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--first-header-footer-color);
        z-index: 50;
        overflow: hidden;
        padding: 25px var(--section-paddingX);
    }

    header nav .links ul {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    header nav #nav-icon-open {
        display: flex;
    }

    header nav #nav-icon-close {
        display: none;
    }

    header nav.open #nav-icon-open {
        display: none;
    }

    header nav.open #nav-icon-close {
        display: flex;
    }
}

@media screen and (max-width: 400px) {
    header .logo {
        width: 100%;
        height: none;
        object-fit: contain;
    }
}


/* HEADER - BANNER */
header .banner {
    display: flex;
    position: relative;
}

header .banner img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

header .banner.page img {
    height: 450px;
}

header .banner .text {
    position: absolute;
    top: 50%;
    right: 0;
    width: 40%;
    color: var(--second-text-color);
    background-color: var(--first-text-color-gradiant);
    transform: translateY(-50%);
    z-index: 5;
    padding: 25px;
}

header .banner .text p {
    margin-bottom: 10px;
}

header .banner .text a {
    color: var(--first-text-color);
}

@media screen and (max-width: 400px) {
    header .banner {
        display: flex;
        flex-direction: column;
    }

    header .banner .text {
        position: static;
        top: unset;
        right: unset;
        width: 100%;
        background: var(--first-header-footer-color);
        transform: none;
        padding: 25px var(--section-paddingX);
    }
}


/* POPULAR */
.popular {
    background-color: var(--first-color);
    padding: var(--section-paddingY) var(--section-paddingX);
}

.popular .items-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    row-gap: 15px;
}

.popular .items-container .item {
    width: 75px;
    flex: calc(14% - 50px);
    padding-bottom: 35px;
    position: relative;
}

.popular .items-container .item .image {
    display: flex;
    justify-content: center;
}

.popular .items-container .item img {
    height: 65px;
    object-fit: cover;
    margin-bottom: 10px;
    aspect-ratio: 1/1;
}

.popular .items-container .item h3 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 25px;
}

.popular .items-container .item p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.popular .items-container .item .button-container {
    position: absolute;
    top: calc(100% - 35px);
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.popular .items-container .item hr {
    flex: 1;
    border: 1px solid var(--first-text-color);
    margin: 15px 0;
}

@media screen and (max-width: 1200px) {
    .popular .items-container .item {
        flex: calc(25% - 50px);
        max-width: calc(25% - 50px);
    }
}

@media screen and (max-width: 750px) {
    .popular .items-container .item {
        flex: calc(50% - 50px);
        max-width: calc(50% - 50px);
    }
}

@media screen and (max-width: 450px) {
    .popular .items-container .item {
        flex: calc(100% - 50px);
        max-width: calc(100% - 50px);
    }
}


/* INFORMATION */
.information {
    display: flex;
    flex-direction: row;
    gap: 50px;
    padding: var(--section-paddingY) var(--section-paddingX);
}

.information .text {
    flex: 60%
}

.information .image {
    flex: 40%;
}

.information .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.information .text p {
    margin-bottom: 25px;
}

.information .text button {
    float: right;
}

@media screen and (max-width: 1000px) {
    .information {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .information .image img {
        height: 300px;
    }
}


/* INFORMATION 2 */
.information2 {
    background-color: var(--first-color);
    display: flex;
    flex-direction: row;
    gap: 50px;
    padding: var(--section-paddingY) var(--section-paddingX);
}

.information2 .text {
    flex: 60%
}

.information2 .image {
    flex: 40%;
}

.information2 .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.information2 .text p {
    margin-bottom: 25px;
}

.information2 .text button {
    float: right;
}

@media screen and (max-width: 1000px) {
    .information2 {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .information2 .image img {
        height: 300px;
    }
}


/* CATEGORIES */
.categories {
    display: flex;
    flex-direction: row;
}

.categories .category {
    position: relative;
}

.categories .category.one {
    flex: 33%;
}

.categories .category.two {
    flex: 33%;
}

.categories .category.three {
    flex: 33%;
}

.categories .category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.categories .category .text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--second-text-color);
    background: var(--first-text-color);
    background: linear-gradient(0deg, var(--first-text-color) 0%, var(--first-text-color-gradiant) 60%, rgba(255, 255, 255, 0) 100%);
    padding: 25px
}

.categories .category .text h3 {
    font-size: 1.5rem;
}

.categories .category .text a {
    color: var(--second-text-color);
}

@media screen and (max-width: 1000px) {
    .categories {
        height: auto;
        flex-wrap: wrap;
    }

    .categories .category.one {
        flex: 100%;
        height: 50%;
    }

    .categories .category.two {
        flex: 50%;
    }

    .categories .category.three {
        flex: 50%;
    }
}

@media screen and (max-width: 450px) {
    .categories {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .categories .category.one {
        flex: 100%;
    }

    .categories .category.two {
        flex: 100%;
    }

    .categories .category.three {
        flex: 100%;
    }
}

@media screen and (max-width: 250px) {
    .categories .category img {
        aspect-ratio: 1/2;
    }
}


@media screen and (max-width: 175px) {}


/* PROPOSITIONS */
.flex-cards {
    padding: var(--section-paddingY) var(--section-paddingX);
}

.flex-cards.colored {
    background-color: var(--first-color);
}

.flex-cards h2 {
    display: flex;
    justify-content: left;
}

.flex-cards.three h2 {
    display: block;
    justify-content: block;
}

.flex-cards .items-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.flex-cards .items-container .item {
    width: 250px;
    padding-bottom: 35px;
    position: relative;
}

.flex-cards.four .items-container .item {
    flex: calc(25% - 38px);
    max-width: calc(25% - 38px);
}

.flex-cards.three .items-container .item {
    flex: calc(33% - 33px);
    max-width: calc(33% - 33px);
}

.flex-cards .items-container .item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

.flex-cards.three .items-container .item img {
    height: 200px;
}

.flex-cards .items-container .item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.flex-cards .items-container .item p {
    font-size: .9rem;
    margin-bottom: 10px;
}

.flex-cards .items-container .item .button-container {
    position: absolute;
    top: calc(100% - 35px);
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flex-cards .items-container .item .button-container hr {
    flex: 1;
    border: 1px solid var(--first-text-color);
}

@media screen and (max-width: 1000px) {
    .flex-cards.four .items-container .item {
        flex: calc(50% - 25px);
        max-width: calc(50% - 25px);
    }
}

@media screen and (max-width: 750px) {
    .flex-cards.four .items-container .item {
        flex: calc(100%);
        max-width: calc(100%);
    }

    .flex-cards.three .items-container .item {
        flex: calc(100%);
        max-width: calc(100%);
    }
}


/* BANNER */
main .banner {
    height: 400px;
    position: relative;
}

main .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main .banner .text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    color: var(--second-text-color);
    text-align: center;
    transform: translateY(-50%) translateX(-50%);
}

main .banner .text p.quote {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

main .banner .text span.author {
    font-weight: bold;
}

main .banner .text span.location {
    color: var(--first-color);
}


@media screen and (max-width: 550px) {
    main .banner .text {
        top: 50%;
        left: 50%;
        width: calc(100% - var(--section-paddingX) * 2);
        transform: translateY(-50%) translateX(-50%);
    }
}

@media screen and (max-width: 400px) {
    main .banner {
        height: max-content;
        display: flex;
    }

    main .banner img {
        display: none;
    }

    main .banner .text {
        position: static;
        top: unset;
        right: unset;
        width: 100%;
        background: var(--first-header-footer-color);
        transform: none;
        padding: 25px var(--section-paddingX);
    }
}


/* BREADCRUMB */
.breadcrumb {
    background-color: var(--second-color);
    padding: 5px var(--section-paddingX);
}

.breadcrumb p span {
    font-weight: bold;
}


/* PAGES */
.pages {
    padding: var(--section-paddingY) var(--section-paddingX);
}

.pages .items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.pages .items-container .item {
    width: 250px;
    flex: calc(33% - 50px);
    padding-bottom: 35px;
    position: relative;
}

.pages.photo .items-container .item,
.pages.coloring .items-container .item {
    padding-bottom: 0px;
}

.pages.coloring .items-container .item {
    border: 1px solid var(--first-text-color);
}

.pages .items-container .item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 10px;
}

.pages.coloring .items-container .item img,
.pages.photo .items-container .item img {
    height: auto;
}

.pages .items-container .item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.pages .items-container .item p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.pages .items-container .item .button-container {
    position: absolute;
    top: calc(100% - 35px);
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pages .items-container .item .button-container hr {
    flex: 1;
    border: 1px solid var(--first-text-color);
}

@media screen and (max-width: 1000px) {
    .pages .items-container .item {
        flex: calc(50% - 50px);
    }
}

@media screen and (max-width: 650px) {
    .pages .items-container .item {
        flex: 100%;
    }
}

@media screen and (max-width: 153px) {
    .pages .items-container .item {
        padding-bottom: 75px;
    }

    .pages .items-container .item .button-container {
        top: calc(100% - 75px);
    }
}


/* INTRODUCTION */
.introduction {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 100px;
    padding: var(--section-paddingY) var(--section-paddingX) 0 var(--section-paddingX);
}

.introduction.colored {
    background-color: var(--first-color);
    padding: var(--section-paddingY) var(--section-paddingX);
}

.introduction.index {
    background-color: var(--first-color);
    padding: var(--section-paddingY) var(--section-paddingX);
}

.introduction .image {
    display: flex;
    align-items: center;
    flex: 25%;
}

.introduction .image img {
    width: 100%;
    object-fit: cover;
}

.introduction .text {
    flex: 75%;
}

.introduction .text h1 {
    font-size: 4rem;
}

.introduction.index .text h1 {
    text-align: center;
}

.introduction.index .text p {
    font-size: 1rem;
    font-weight: normal;
}

.introduction .text p {
    font-size: 1.3rem;
    font-weight: 500;
}

@media screen and (max-width: 1000px) {
    .introduction {
        display: flex;
        flex-direction: column-reverse;
        gap: 50px;
        padding: var(--section-paddingY) var(--section-paddingX) 0 var(--section-paddingX);
    }

    .introduction .image {
        display: flex;
        justify-content: center;
    }

    .introduction .image img {
        width: 75%;
        object-fit: cover;
    }
}


/* CONCLUSION */
.conclusion {
    background-color: var(--third-color);
    padding: var(--section-paddingY) var(--section-paddingX);
}

.conclusion h2 {
    font-size: 1.5rem;
}


/* DEVELOPMENT */
.development {
    display: flex;
    flex-direction: row;
    gap: 50px;
    padding: var(--section-paddingY) var(--section-paddingX);
}

.development .images {
    flex: 50%;
    height: max-content;
    display: flex;
    flex-direction: column;
}

.development .images .small {
    display: flex;
    flex-direction: row;
}

.development .images .small .image {
    flex: 50%;
}

.development .images .image {
    aspect-ratio: 1/1;
}

.development .images .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.development .text {
    flex: 50%;
}

.development .text h2 {
    font-size: 1.5rem;
}

.development .text p {
    font-size: 0.9;
}

.development .text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1250px) {
    .development .images .small {
        flex-direction: column;
    }
}

@media screen and (max-width: 1000px) {
    .development {
        flex-direction: column;
    }

    .development .images {
        flex: 50%;
        display: flex;
        flex-direction: row;
    }

    .development .quote {
        text-align: center;
        padding: 50px 25px 25px 25px;
    }
}

@media screen and (max-width: 750px) {
    .development .images {
        flex: 50%;
        display: flex;
        flex-direction: column;
    }

    .development .images .small {
        display: flex;
        flex-direction: column;
    }
}

.list .items-container {
    display: flex;
    flex-direction: column;
    padding: var(--section-paddingY) var(--section-paddingX);
}

.list .items-container .item:first-child h2 {
    margin: 0px 0 10px 0;
}

.list .items-container .item h2 {
    font-size: 1.5rem;
    margin: 40px 0 10px 0;
}

.list .items-container .item .link {
    margin-bottom: 5px;
}

.list .items-container .item a {
    color: var(--second-color);
}


/* CGU */
.cgu {
    padding: var(--section-paddingY) var(--section-paddingX);
}

.cgu h1 {
    margin-bottom: 35px;
}

.cgu h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
}

.cgu p {
    font-size: 15px;
    line-height: 20px;
}


/* FOOTER */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    background-color: var(--first-header-footer-color);
    border-top: 1px solid var(--second-header-footer-color);
    padding: var(--section-paddingY) var(--section-paddingX);
}

footer a {
    color: var(--link-color);
}

footer .logo {
    height: 60px;
}

@media screen and (max-width: 1000px) {
    footer {
        justify-content: unset;
        align-items: unset;
        flex-direction: column;
        gap: 50px;
    }

    footer .logo {
        float: right;
    }
}

@media screen and (max-width: 300px) {
    footer .logo {
        width: 100%;
        height: none;
        object-fit: contain;
    }
}