@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");

:root {
    
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    --color1: #c13080;
    --color2: #f1e97e;
    --color3: #a1d6a6;
    --color4: #661940;
    --color5: #1f4735;
}

#site-footer {
    font-size: initial;
    line-height: 27px;
}

.blocktest {
    font-size: 10px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    height: 700px;
}

.blocktest .hero-left {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.blocktest .hero-left h5 {
    text-align: center;
}

.blocktest .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 113%;
    height: 100%;
}

.blocktest .hero-left button {
    position: absolute;
    padding: 10px 15px;
    margin: 10px;
    border: none;
    background-color: transparent;
    color: var(--color4);
    font-size: 5rem;
    cursor: pointer;
    z-index: 2;
}

.blocktest .hero-left button:hover {
    position: absolute;
    padding: 10px 15px;
    margin: 10px;
    border: none;
    background-color: transparent;
    color: var(--color1);
    font-size: 5rem;
    cursor: pointer;
    z-index: 2;
}

.blocktest .hero-left button:last-of-type {
    z-index: 3;
    right: -75px;
}

.blocktest .hero-left button:active {
    transform: scale(0.9);
}

.blocktest .hero-left .layers {
    position: relative;
    width: 100%;
    height: 100%;
}

.blocktest .hero-left .layers .layer {
    display: flex;
    flex-direction: column;
    align-content: center;
    background-color: white;
    transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
    transition-delay: 0.5s;
    transform: translateX(100%);
    opacity: 0;
    height: 95%;
}

.blocktest .hero-left .layers .layer-displayed {
    transform: translateX(0);
    opacity: 1;
    z-index: 1;
}

.maxh {
    width: 90%;
}

.blocktest .hero-left .layers .layer-displayed-exit {
    transform: translateX(-100%);
    opacity: 0;
    z-index: 1;
}

.blocktest .hero-left .layers .layer > span {
    font-family: "Nunito";
    text-align: center;
    font-size: 4rem;
}

.blocktest .hero-left .layers .layer__image {
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center center;
}

.blocktest .hero-left .layers .layer__info {
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    max-height: 98%;
    margin-top: 35px;
    width: 85%;
}

.blocktest .hero-left .layers .layer__info div {
    /* max-width: 270px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    max-width: 315px;
    margin-left: 20%;
    margin-right: 10%;
}

div::-webkit-scrollbar {
    width: 8px;
}

/* Ascenseur */
div::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 8px;
    height: 10px;
}

div::-webkit-scrollbar-thumb:hover {
    background: #c0c0c0;
    border-radius: 8px;
    height: 10px;
}

div::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px #c0c0c0;
    border-radius: 10px;
}

.-mt-1-5rem {
    margin-top: -1.5rem;
}

.blocktest .hero-left .layers .layer__info strong {
    margin-bottom: 0.5rem;
    font-family: "Nunito";
    font-size: 16px;
}

.blocktest .hero-left .layers .layer__info span {
    margin-bottom: 1.5rem;
    font-family: "Nunito";
    text-align: center;
    font-size: 14px;
}

.blocktest .hero-left .layers .layer__info span a {
    font-family: "Nunito";
    text-align: center;
    font-size: 14px;
    color: var(--color1);
    text-decoration: underline;
}

.blocktest .hero-left .layers .layer__info span a:hover {
    font-family: "Nunito";
    text-align: center;
    font-size: 14px;
    color: var(--color3);
}

.blocktest .hero-left .layers .layer:nth-child(1) > span {
    color: var(--color1);
}

.blocktest .hero-left .layers .layer:nth-child(2) > span {
    color: var(--color2);
}

.blocktest .hero-left .layers .layer:nth-child(3) > span {
    color: var(--color3);
}

.blocktest .hero-left .layers .layer:nth-child(4) > span {
    color: var(--color4);
}

.blocktest .hero-right {
    grid-column: 2;
    position: relative;
    overflow: hidden;
    bottom: 45px;
}

.blocktest .hero-right > .layer {
    /* background-color: #e41936; */
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.55, 0, 0.1, 1);
    transition-delay: 0.5s;
}

.blocktest .hero-right > .layer-displayed {
    transform: translateX(0);
    z-index: 2;
}

.blocktest .hero-right > .layer-displayed-exit {
    transition-delay: 1s;
    transition-duration: 0;
    z-index: 1;
}

.blocktest .hero-right .photo-name {
    position: absolute;
    top: 33%;
    left: 50%;
    width: 20%;
    font-size: 1.5rem;
    z-index: 2;
}

.blocktest .hero-right .photo-name span {
    display: block;
    color: var(--color5);
}

.blocktest .hero-right .photo-name__wrapper {
    position: relative;
}

.blocktest .hero-right .photo-name__title {
    font-weight: bold;
    color: var(--color4) !important;
}

.blocktest .hero-right .photo-name .layer {
    padding: 10px;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}

.blocktest .hero-right .photo-name .layer-displayed {
    transform: translateX(0);
    transition-delay: 0.5s;
}

.blocktest .hero-right .photo-frame {
    position: absolute;
    overflow: hidden;
    animation-play-state: paused;
}

.blocktest .hero-right .photo-frame:nth-child(5) {
    top: 10%;
    left: 10%;
    width: 40%;
    height: 40%;
    z-index: 3;
}

.blocktest .hero-right .photo-frame:last-child {
    top: 40%;
    left: 20%;
    width: 65%;
    height: 50%;
    z-index: 2;
}

.blocktest .hero-right .photo-frame .cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}

.blocktest .hero-right .photo-frame .layer {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition-delay: 0.5s;
}

.blocktest .hero-right .photo-frame .layer-displayed {
    opacity: 1;
}

@keyframes cover {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    95% {
        width: 0;
    }

    100% {
        width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-fade .active.carousel-item-end,
    .carousel-fade .active.carousel-item-start {
        -webkit-transition: none;
        transition: none;
    }
}

.layer .carousel-inner {
    position: relative;
    width: 100%;
}

.carousel-inner::after {
    display: block;
    clear: both;
    content: "";
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.6s ease-in-out;
    transition: -webkit-transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        -webkit-transition: none;
        transition: none;
    }
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block;
}

.active.carousel-item-end,
.carousel-item-next:not(.carousel-item-start) {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

.active.carousel-item-start,
.carousel-item-prev:not(.carousel-item-end) {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.carousel-fade .carousel-item {
    opacity: 0;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    -webkit-transform: none;
    transform: none;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end,
.carousel-fade .carousel-item.active {
    z-index: 1;
    opacity: 1;
}

.carousel-fade .active.carousel-item-end,
.carousel-fade .active.carousel-item-start {
    z-index: 0;
    opacity: 0;
    -webkit-transition: opacity 0s 0.6s;
    transition: opacity 0s 0.6s;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-fade .active.carousel-item-end,
    .carousel-fade .active.carousel-item-start {
        -webkit-transition: none;
        transition: none;
    }
}

.carousel-control-next,
.carousel-control-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: 0.5;
    -webkit-transition: opacity 0.15s ease;
    transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-control-next,
    .carousel-control-prev {
        -webkit-transition: none;
        transition: none;
    }
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}

.carousel-control-prev {
    margin-top: 100px;
    left: 245px;
}

.carousel-control-next {
    margin-top: 100px;
    right: 205px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 0rem;
    margin-left: 20%;
    list-style: none;
}


.carousel-indicators [data-bs-target] {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 10px;
    margin-right: 3px;
    margin-left: 3px;
    cursor: pointer;
    background-color: white;
    background-clip: padding-box;
    border: 0;
    opacity: 0.5;
    -webkit-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-indicators [data-bs-target] {
        -webkit-transition: none;
        transition: none;
    }
}

.carousel-indicators .active {
    opacity: 1;
}

.h-45rem {
    height: 43rem;
}

/* Responsive */

#lqd-site-content .pt-150 {
    padding-top: 150px;
}

.blocktest .hero-left button {
    right: 90%;
}

@media (max-width: 1121px) {
    .blocktest .hero-left .layers {
        width: 100% !important;
    }
    .blocktest .hero-left button {
        margin: 0% !important;
    }
    .blocktest {
        width: 100% !important;
    }
    .blocktest .hero-left .mb-75 {
        margin-bottom: 0px !important;
    }
    .blocktest .hero-left .layers .layer__info {
        padding-bottom: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-y: auto;
        max-height: 100%;
        margin-top: 35px;
        width: 80%;
    }
}

@media (max-width: 876px) {
    .blocktest {
        display: grid;
        grid-template-columns: 1fr;
        margin-left: 0px;
        height: 975px;
    }
    .blocktest .hero-right {
        grid-column: 1;
        position: relative;
        overflow: hidden;
        bottom: -10px;
    }
}
@media (max-width: 768px) {
    #lqd-site-content .pt-150 {
        padding-top: 20px;
    }

    .blocktest {
        display: grid;
        grid-template-columns: 1fr;
        margin-left: 0px;
        height: 1100px;
    }
    .blocktest .hero-right {
        grid-column: 1;
        position: relative;
        overflow: hidden;
        bottom: -10px;
    }
}
@media (max-width: 425px) {
    #lqd-site-content{
        padding-bottom: 200px;
    }
   

    #lqd-site-content .pt-150 {
        padding-top: 10px;
    }
    
    .blocktest {
        display: grid;
        grid-template-columns: 1fr;
        margin-left: 0px;
        height: 900px;
    }
    .blocktest .hero-right {
        height: 275px;
        grid-column: 1;
        position: relative;
        overflow: hidden;
    }

    .blocktest .hero-left button:last-of-type {
        z-index: 3;
        right: -2%;
    }
    .blocktest .hero-left button {
        right: 82%;
    }
    .blocktest .hero-left .layers {
        width: 95% !important;
        height: 650px;
    }

    .blocktest .hero-left .layers .layer:nth-child(1) > span {
        margin-right: 50px;
    }
    .blocktest .hero-left .layers .layer:nth-child(2) > span {
        margin-right: 50px;
    }
    .blocktest .hero-left .layers .layer:nth-child(3) > span {
        margin-right: 50px;
    }
    .blocktest .hero-left .layers .layer:nth-child(4) > span {
        margin-right: 50px;
    }

    .blocktest .hero-left button {
        position: absolute;
        padding: 10px 25px;
        margin: 10px;
        border: none;
        background-color: transparent;
        color: var(--color4);
        font-size: 3rem;
        cursor: pointer;
        z-index: 2;
    }
    .blocktest .hero-left .layers .layer__info div {
        margin-right: 0px;
    }
}
