.content_module.intro {
    position: relative;
    padding: 10rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 5rem; */
    margin-bottom: 5rem;
}

#content_intro_0 {
    margin-top: -5rem;
}

.intro .images {
    position: absolute;
    display: block;
    width: 100vw;
    background-color: inherit;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* .intro .images {
    background-color: var(--creart);
} */

.intro .images img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    /* opacity: .7; */
    transition: all 1s ease;
    visibility: visible;
    background-color: inherit;
}

.intro .images img[hidden] {
    opacity: 0;
    visibility: hidden;
}

.intro .images img:not([hidden]) {
    animation: scaleImg 5s ease-in-out;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes scaleImg {
    from {transform: scale(1);}
    to {transform: scale(1.05);}
}

.intro h1 {
    transform: skewX(45deg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25em;
    font-size: 2.5vw;
    margin: 10rem 0;
    padding: 0;
}

.intro h1 p {
    background-color: var(--pink);
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: .125em .5em;
    transform-origin: left top;
    transform: skewX(-45deg);
    margin: 0;
    animation: flyIn 1.5s ease-out 10s 1 normal both;

    color: var(--creart);
    animation: changeBG, flyIn;
    animation-duration: 30s, 1.5s;
    animation-timing-function: linear, ease-out;
    animation-iteration-count: infinite, 1;
    animation-direction: reverse, normal;
    animation-delay: 10s;
    animation-fill-mode: both;
}

.intro h1 p.animation {
}

@keyframes flyIn {
    from {
        transform: skewX(-45deg) translateX(-50%);
        opacity:0;
    }
    to {
        transform: skewX(-45deg) translateX(0);
        opacity:1;
    }
}


.intro h1 strong {
    text-transform: uppercase;
    /* animation: changeColor;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: reverse; */
    font-weight: inherit;
    color: var(--white);
}

@keyframes changeColor {
    0% { color: var(--darkblue); }
    11% { color: var(--blue); }
    22% { color: var(--turquoise); }
    33% { color: var(--green); }
    44% { color: var(--yellow); }
    55% { color: var(--orange); }
    66% { color: var(--darkorange); }
    77% { color: var(--red); }
    88% { color: var(--pink); }
    100% { color: var(--darkblue); }
}

@keyframes changeBG {
    0% { background-color: var(--darkblue); }
    11% { background-color: var(--blue); }
    22% { background-color: var(--turquoise); }
    33% { background-color: var(--green); }
    44% { background-color: var(--yellow); }
    55% { background-color: var(--orange); }
    66% { background-color: var(--darkorange); }
    77% { background-color: var(--red); }
    88% { background-color: var(--pink); }
    100% { background-color: var(--darkblue); }
}

.intro .box {
    align-self: flex-end;
    width: fit-content;
    background-color: var(--orange);
    margin-bottom: -15rem;
}

.content_module.intro {
    position: relative;
    z-index: 1;
}

/* fix margin */
.content_module.intro + .content_block[data-bg]:not([data-bg='']):not([data-bg='auto']) {
    margin-top: calc(-5rem - var(--gap));
    position: relative;
    z-index: 0;
    padding-top: 10rem;
}

@media (max-width: 1080px) {
    .intro h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .intro h1 {
        transform: none;
        font-size: 2.5rem;
        width: 100%;
    }
    .intro h1 p {
        transform: none;
    }
    @keyframes flyIn {
        from {
            transform: translateX(-50%);
            opacity:0;
        }
        to {
            transform: translateX(0);
            opacity:1;
        }
    }
}

@media (max-width: 500px) {
    .intro h1 {
        font-size: 8vw;
        line-height: 1;
    }
    .intro h1 p {
        width: 100%;
    }
    .intro h1 strong {
        display: block;
    }
}