@import url('./hints.css');
@import url('./animations.css');
@import url('./popup.css');
@import url('./navboard.css');

body.frise-active {
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 0;
  touch-action: pan-x;
  overscroll-behavior: none;
}

p {
    margin: 0;
}

.elementor-location-header {
    display: none;
}

.elementor-location-footer {
    display: none;
}

.btn-scroll-top {
    display: none !important;
}

.axeptio_mount {
    display: none !important;
}

.pojo-a11y-toolbar-right {
    display: none !important;
}

/* VARIABLES */
#frise-wrapper {
    /* font sizes */
    --title-font-size: clamp(
        18px,
        min(2.8vw, calc(var(--vh, 1vh) * 3)),
        28px
    );

    --text-font-size: clamp(
        14px,
        min(1.8vw, calc(var(--vh, 1vh) * 2.2)),
        18px
    );

    /* interactive elements values */
    --drop-shadow-start: drop-shadow(0 0 5px rgba(3, 0, 172, 0.5));
    --drop-shadow-end: drop-shadow(0 0 10px rgba(3, 0, 172, 0.9));
    --drop-shadow-hover: drop-shadow(0 0 20px rgba(3, 0, 172, 1));
    
}

/* KEYFRAMES */
@keyframes interactivePulse {
    0%, 100% {
    filter: var(--drop-shadow-start);
    }
    50% {
    filter: var(--drop-shadow-end);
    }
}

/* ALL SECTION */
#frise-wrapper button:hover {
    background-color: transparent !important;
}

#frise-container {
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    position: relative;
}

.frise-section {
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
}

.background-section {
    height: 100% !important;
    max-width: initial !important;
}

.frise-section-text-container {
    position: absolute;
    right: 5%;
    top: 5%;
    width: 435px;
    text-align: end;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1;
}

@media(max-height: 750px){
    .frise-section-text-container {
        width: 350px;
    }
}

.frise-section-title {
    margin: 0;
    font-size: var(--title-font-size);
    line-height: calc(var(--title-font-size) + 10px);
    text-transform: uppercase;
}

.frise-section-text {
    margin: 0;
    font-size: var(--text-font-size);
    line-height: calc(var(--text-font-size) + 10px);
}

.interactive-element {
    all: unset;                 /* enlève le style bouton */
    cursor: pointer;
    display: flex;
}

.interactive-element img, .interactive-element {
    animation: interactivePulse 2.5s ease-in-out infinite;
    transition: filter 0.3s ease;
    filter: var(--drop-shadow-start);
}

.interactive-element:hover img, .interactive-element:hover,
.interactive-element:focus-visible img, .interactive-element:focus-visible {
    animation: none;
    filter: var(--drop-shadow-hover);
}

.interactive-element img {
    max-width: initial !important;
}

/* SECTION 1 */
.logo-doma-section-1 {
    z-index: 1;
    position: absolute;
    top: 30px;
    left: 30px;
    height: calc(var(--vh, 1vh) * 7) !important;
}

.img-balais-section-1 {
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    height: calc(var(--vh, 1vh) * 60) !important;
}

/* SECTION 2 */
.img-tall-girl-section-2 {
    z-index: 2;
    position: absolute;
    left: 5%;
    bottom: 0;
    height: calc(var(--vh, 1vh) * 60) !important;
}

.img-pancarte-section-2 {
    z-index: 2;
    position: absolute;
    left: 70%;
    bottom: 0;
    height: calc(var(--vh, 1vh) * 55);
}

/* SECTION 3 */
.img-ruche-section-3 {
    z-index: 1;
    position: absolute;
    left: 10%;
    top: 0;
    height: calc(var(--vh, 1vh) * 20);
}

/* SECTION 4 */
.img-tv-section-4 {
    z-index: 0;
    position: absolute;
    left: 16%;
    bottom: 52%;
    height: calc(var(--vh, 1vh) * 20);
}

.img-window-section-4 {
    z-index: 1;
    position: absolute;
    left: 50%;
    bottom: 61%;
    height: calc(var(--vh, 1vh) * 20);
}

/* SECTION 5 */
.img-camera-girl-section-5 {
    z-index: 2;
    position: absolute;
    left: 60%;
    bottom: 0;
    height: calc(var(--vh, 1vh) * 55);
}

/* SECTION 6 */
.animation-phone-section-6 {
    z-index: 2;
    position: absolute;
    left: 90%;
    bottom: 0;
    height: calc(var(--vh, 1vh) * 55) !important;
}

.img-tableau-section-6 {
    z-index: 1;
    position: absolute;
    left: 28%;
    bottom: 62%;
    height: calc(var(--vh, 1vh) * 25);
}

/* SECTION 7 */
.img-fauteuil-section-7 {
    z-index: 2;
    position: absolute;
    left: 82%;
    bottom: 0;
    height: calc(var(--vh, 1vh) * 55);
}

.img-grocery-grandma-section-7 {
    z-index: 1;
    position: absolute;
    left: 55%;
    bottom: 25%;
    height: calc(var(--vh, 1vh) * 35);
}

.img-podcast-man-section-7 {
    z-index: 1;
    position: absolute;
    left: 30%;
    bottom: 32%;
    height: calc(var(--vh, 1vh) * 25);
}

/* SECTION 8 */
.img-hand-photo-section-8 {
    z-index: 3;
    position: absolute;
    left: 80%;
    bottom: 0;
    height: calc(var(--vh, 1vh) * 55);
}

/* SECTION 8 */
.people-waving-section-9 {
    z-index: 2;
    position: absolute;
    left: 0;
    bottom: 0;
    height: calc(var(--vh, 1vh) * 58) !important;
}

/* SECTION 9 */

.section-9 .frise-section-text-container {
    color: #fff;
}

.section-9 .frise-section-title {
    color: #fff !important;
}
