@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Archivo", sans-serif;
}

:root {
    --bg--color: #ffffff;
    --second-bg-color: #9bb1bd;
    --text-color: #122030;
    --text-second-color: #08D4E6;
    --main-color: #2f455c;
}

html {
    font-size: 70%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg--color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg--color);
    justify-content: space-between;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: .3s;
}

/* design section Mural*/
#mural {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

#mural h1 {
    text-align: center;
    font-size: 4.8rem;
    font-family: "Archivo Black", sans-serif;
    color: var(--text-color);

}

#mural h2 {
    font-size: 2.5rem;
    letter-spacing: .3rem;
    text-align: center;
    margin-bottom: 1rem;
    justify-content: center;
    color: var(--text-color);
}

#mural h2 span {
    color: var(--second-bg-color);
    font-family: "Archivo", sans-serif;
}

#mural h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    justify-content: center;
    color: var(--text-color);
}

#mural p {
    font-size: 1.8rem;
    text-align: center;
    margin: 5rem 10%;
}

#mural .contentChart p {
    font-size: 1.6rem;
    text-indent: 3rem;
    text-align: left;
    margin: 5rem 8%;
}

#mural .parent-container {
    box-shadow: none;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.dotlottie-container {
    box-shadow: none;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;

}

#mural .ChartCard {
    border: 1px solid;
    border-color: #4d6a88;
    border-radius: 25px;
    position: relative;
    width: 20rem;
    height: 20rem;
    background-color: #fff;
    margin: 3rem;
    display: flex;
    flex-direction: column;
}

.ArrowCard {
    position: relative;
    margin: 0 auto;
    margin-bottom: 5rem;
    margin-top: -5rem;
    width: 15rem;
    height: 15rem;
    display: flex;

}

#mural .dotlottie-container .ChartCard:hover {
    height: auto;
}

#mural .parent-container .ChartCard:hover {
    height: auto;
}

#mural .dotlottie-container .ChartCard .contentChart {
    position: relative;
    top: -40px;
    color: #111;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

#mural .parent-container .ChartCard .contentChart {
    position: relative;
    top: -40px;
    color: #111;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

#mural .parent-container .ChartCard:hover .contentChart {
    margin-top: 5rem;
    visibility: visible;
    opacity: 1;
    transition-delay: 0.2s;
}

#mural .dotlottie-container .ChartCard:hover .contentChart {
    margin-top: 5rem;
    visibility: visible;
    opacity: 1;
    transition-delay: 0.2s;
}

#mural .ChartCard h2 {
    text-align: left;
    margin-top: 1rem;
    margin-left: 3rem;
    font-size: 1.6rem;
    color: var(--main-color);
}

.contentChart li {
    font-size: 1.2rem;
    text-align: left;
    margin-left: 3rem;
    margin-bottom: 1.5rem;
}

#mural .ChartCard img {
    display: flex;
    margin: 5.9rem;
    width: 7rem;
}

#arrow .parent-container {
    margin-top: 25px;
    margin-bottom: 100px;
}

.arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform: rotate(360deg);
    cursor: pointer;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

.arrow span {
    display: block;
    width: 2vw;
    height: 2vw;
    border-left: 10px solid #4d6a88;
    border-top: 10px solid #4d6a88;
    margin: -10px;
    transform: rotate(225deg);
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.4s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.6s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(225deg) translate(20px, 20px);
    }

    50% {
        opacity: 1;
        transform: rotate(225deg) translate(0, 0);
    }

    100% {
        opacity: 0;
        transform: rotate(225deg) translate(-20px, -20px);
    }
}

/* Style pour iframe */
iframe {
    width: 100%;
    max-height: 100rem;
    border-radius: 25px;
}

/* section eaux */
#Eaux {
    min-height: 150vh;
    padding: 30rem 9% 2rem;
    background-color: var(--second-bg-color);
}

#Eaux h1 {
    color: var(--bg--color);
    font-family: "Archivo Black", sans-serif;
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

#Eaux span {
    color: var(--main-color);
}

#Eaux i {
    color: var(--bg--color);
    margin-top: 2rem;
    font-size: 5rem;
    margin-bottom: 5rem;
}

#Eaux iframe {
    animation: none;
    max-width: 80rem;
    display: flex;
    margin: 0 auto;
}

/* Toys and models*/
#ToysModels {
    min-height: 100vh;
    padding: 5rem 9% 2rem;
}

#ToysModels h1 {
    font-family: "Archivo Black", sans-serif;
    text-align: center;
    font-size: 3.5rem;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

#ToysModels h2 {
    color: #766439;
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 10rem;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

#ToysModels span {
    color: #766439;
}

#ToysModels i {
    margin-top: 5rem;
    font-size: 5rem;
    margin-bottom: 5rem;
}

#ToysModels iframe {
    animation: none;
    max-width: 80rem;
    display: flex;
    margin: 0 auto;
}

/* section vins */
#Vins {
    background: var(--second-bg-color);
    min-height: 100vh;
    padding: 30rem 9%;
}

#Vins img {
    display: flex;
    margin: 0 auto;
    height: 20rem;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

#Vins h1 {
    font-family: "Archivo Black", sans-serif;
    text-align: center;
    font-size: 3.5rem;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

#Vins h2 {
    font-family: "Archivo", sans-serif;
    text-align: center;
    font-size: 2rem;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

#Vins h3 {
    font-family: "Archivo", sans-serif;
    text-align: center;
    font-size: 1.8rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.grid-box {
    background-color: var(--bg--color);
    position: relative;
    border-radius: 2rem;
    display: flex;
    padding: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 5px 2px 10px #dae8f7;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

#methode .grid-box {
    box-shadow: none;
    border-radius: 2rem;
    background-color: var(--main-color);
    color: var(--bg--color);
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 0;
    animation-range-end: contain 40%;
}

#methode .grid-box p {
    color: var(--bg--color);
}

.grid-content {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

#Vins p {
    font-family: "Archivo", sans-serif;
    color: var(--text-color);
    font-size: 1.6rem;
    padding-top: 1rem;
    margin: 2rem;
}

#Vins i {
    margin-top: 5rem;
    font-size: 5rem;
    margin-bottom: 5rem;
}

#Vins iframe {
    animation: none;
    max-width: 80rem;
    display: flex;
    margin: 0 auto;
}

/* design section Asian food*/

.parallax-Ptéah {
    align-items: center;
    align-content: center;
    background-image: url(../images/Background/Parallax_Pteah.png);
    height: 50rem;
    margin-bottom: 5rem;
    min-height: 200px;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}


.parallax-Ptéah+div {
    text-align: justify;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.7);
}

#Ptéah {
    min-height: 100vh;
    padding: 5rem 9%;
}

#Ptéah span {
    color: #5780aa;
}

#Ptéah h1 {
    font-family: "Archivo Black", sans-serif;
    font-size: 2.5rem;
    text-align: center;
}

#Ptéah h2 {
    font-family: "Archivo Black", sans-serif;
    font-size: 2rem;
    text-align: center;
}

#Ptéah h3 {
    font-family: "Archivo Black", sans-serif;
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 2rem;
}

#Ptéah p {
    font-size: 1.8rem;
    margin: 5rem 25%;
}

#Ptéah .grid-content p {
    font-family: "Archivo", sans-serif;
    text-align: justify;
    hyphens: auto;
    margin: 0;
    color: var(--text-color);
    text-indent: 3rem;
    font-size: 1.4rem;
}

#Ptéah iframe {
    display: flex;
    margin: 0 auto;
    margin-top: 5rem;
    width: 50rem;
    height: 50rem;
}

.gridDuo-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.grid-content {
    padding: 1rem;
    height: auto;
}

.parent-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    border-radius: 25px;
    box-shadow: 5px 2px 10px #dae8f7;
    animation: reveal linear;
    animation-timeline: view();
    animation-range-start: cover 1%;
    animation-range-end: contain 40%;
    margin: 0 auto;
}

#Ptéah img {
    display: flex;
    margin: 0 auto;
}

#Ptéah i {
    font-size: 8rem;
    margin-bottom: 5rem;
}

/* design section Cinema*/

#Cinema {
    background-color: var(--text-color);
    min-height: 100vh;
    padding: 9%;
    color: var(--bg--color);
    margin-bottom: 10rem;
}

#Cinema .map-iframe iframe {
    display: flex;
    margin: 0 auto;
    margin-top: 5rem;
    margin-bottom: 5rem;
    width: 50rem;
    height: 50rem;
}

#Cinema span {
    color: #e8b5db;
}

#Cinema i {
    font-size: 8rem;
    margin: 5rem;
}

#Cinema img {
    border-radius: 10px;
    display: flex;
    margin: 0 auto;
}

#Cinema h1 {
    text-align: center;
    margin-top: 1rem;
    font-size: 4.8rem;
}

#Cinema h2 {
    text-align: center;
    margin-top: 1rem;
    font-size: 2.8rem;
    letter-spacing: 1.4rem;
    margin-bottom: 3rem;
}

#Cinema h3 {
    text-align: center;
    margin-top: 1rem;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

#Cinema .grid-content h3 {
    color: var(--text-color);
}

#Cinema p {
    font-size: 1.8rem;
    margin: 3rem 20%;
}

#Cinema .logo img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
    height: 60%;
    width: 30%;
    margin: auto;
}

/*carroussel des logos compétences*/
#Cinema .inner-wrapper {
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 6rem;
    max-width: 1400px;
    display: flex;
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0));
}

#Cinema .inner-wrapper:hover .wrapper {
    animation-play-state: paused;
}

/*groupe des logos*/
#Cinema .wrapper {
    display: flex;
    gap: 20px;
    flex-shrink: 2rem;
    width: 40rem;
    height: 10rem;
    animation: Scroll 40s linear infinite;
}

/*parametre des logos*/
#Cinema .card img {
    margin: 0 auto;
    display: flex;
    height: 8rem;
    width: auto;
    flex-shrink: 0;
}

/* Conteneur pour les images */
#Cinema .card {
    width: 100%;
    height: 100%;
}

.cinema-container {
    display: grid;
    grid-template-rows: 60rem 10rem;
    grid-template-columns: repeat(27, 1fr);
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
    position: relative;
}

main#carouselcinema {
    grid-row: 1/ 2;
    grid-column: 1 /11;
    width: 80vw;
    height: 90rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 90rem;
    --items: 9;
    --middle: 5;
    --position: 1;
    pointer-events: none;
    overflow-wrap: break-word;
    white-space: normal;
}

div.item-cinema {
    margin-bottom: 2rem;
    text-align: center;
    overflow-wrap: break-word;
    white-space: normal;
    padding: 1rem;
    border: 4px solid #e8b5db;
    border-radius: 10px;
    background-color: var(--bg--color);
    position: absolute;
    width: auto;
    max-width: 60rem;
    height: auto;
    --r: calc(var(--position) - var(--offset));
    --abs: max(calc(var(--r) * -1), var(--r));
    transition: all 0.25s linear;
    transform: rotateY(calc(-10deg * var(--r))) translateX(calc(-300px * var(--r)));
    z-index: calc((var(--position) - var(--abs)));
}

#carouselcinema p {
    font-size: 1.5rem;
    margin: 1rem 3%;
}

#carouselcinema h3 {
    font-size: 2rem;
    margin: 0;
}

/* Colonne texte */
.Cinema-content .text {
    flex: 1;
    text-align: left;
}

#Cinema .avis {
    font-size: 14px;
    text-align: justify;
}

#Cinema .name {
    font-size: 25px;
    margin-bottom: 2px;
}

#Cinema .titre {
    margin-bottom: 10px;
    font-size: 14px;
}

.cinema-container input[type="radio"] {
    width: 5rem;
    height: 5rem;
    margin-bottom: 5rem;
    border-radius: 30%;
    border: 1px solid var(--second-bg-color);
    outline: none;
    outline: none;
    transition: background-color 0.2s ease;
}

/* Couleur lorsqu'il est coché */
.cinema-container input[type="radio"]:checked {
    background-color: #e8b5db;
    border-color: #e8b5db;
}

.item-cinema:nth-of-type(1) {
    --offset: 1;
}

.item-cinema:nth-of-type(2) {
    --offset: 2;
}

.item-cinema:nth-of-type(3) {
    --offset: 3;
}

.item-cinema:nth-of-type(4) {
    --offset: 4;
}

/* Couleur par défaut */
.cinema-container input[type="radio"]:not(:checked) {
    background-color: var(--bg--color);
}

.cinema-container input[type="radio"]:hover {
    border: 2.8rem solid #e8b5db;
}

.cinema-container input:nth-of-type(1) {
    grid-column: 1 / 8;
    grid-row: 2 / 3;
}

.cinema-container input:nth-of-type(1):checked~main#carousel {
    --position: 1;
}


.cinema-container input:nth-of-type(2) {
    grid-column: 1 / 10;
    grid-row: 2 / 3;
}

.cinema-container input:nth-of-type(2):checked~main#carouselcinema {
    --position: 2;
}

.cinema-container input:nth-of-type(3) {
    grid-column: 2 / 12;
    grid-row: 2 / 3;
}

.cinema-container input:nth-of-type(3):checked~main#carouselcinema {
    --position: 3;
}


.cinema-container input:nth-of-type(4) {
    grid-column: 4 / 14;
    grid-row: 2 / 3;
}

.cinema-container input:nth-of-type(4):checked~main#carouselcinema {
    --position: 4;
}

#Cinema .grid-content iframe {
    width: 100%;
    height: 40rem;
}

#Cinema .grid-box h3 {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.6rem;
}

#Cinema .grid-box {
    border: 2px solid #e8b5db;
    border-radius: 2rem;
    animation: none;
    box-shadow: var(--text-color);
}

/*  */
#Ptéah .parent-container {
    margin-top: 25px;
    margin-bottom: 25px;
    width: 40%;
}

#ToysModels .parent-container {
    width: 40%;
}

#Méthodologie .parent-container {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
}


.content-text-brut {
    margin: auto;
}

#Vins.content-text-brut {
    margin: 10px;
}


.scatter-iframe {
    margin: 9rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scatter-iframe iframe {
    display: flex;
    height: 50rem;
    width: 100%;
    min-width: 50rem;
    max-width: 120rem;
    background-color: var(--bg--color);
    border-radius: 2.5rem;
}


#Vins .image {
    display: flex;
    /* position: absolute; */
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    padding-bottom: 20px;
}

#SuperStore {
    min-height: 100vh;
    padding: 10rem 9%;
}

#SuperStore iframe {
    animation: none;
    max-width: 80rem;
    display: flex;
    margin: 0 auto;
}

#SuperStore h1 {
    justify-content: center;
    font-size: 4.8rem;
    text-align: center;
}

#SuperStore h2 {
    justify-content: center;
    font-size: 2.8rem;
    text-align: center;
}

#SuperStore h3 {
    justify-content: center;
    text-align: center;
    font-size: 1.8rem;
    margin: 5rem;
}

#SuperStore i {
    justify-content: center;
    font-size: 8rem;
    text-align: center;
    margin: 5rem;
}

/* design footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background-color: var(--second-bg-color);
}

.footer-text,
.footer-iconTop {
    position: relative;

}

.footer-text p {
    font-size: 1.2rem;
}

.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
}

.footer-iconTop a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--second-bg-color);
    z-index: -1;
    transition: .5s;
}

.footer-iconTop a:hover::before {
    width: 100%;
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--bg--color);
    transition: .5s;
}

.footer-iconTop a:hover i {
    color: var(--main-color);
}