.shadow{
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

button{
    padding: 0.5rem 2rem;
    margin: 1rem;
    box-sizing: border-box;
    border: none;
    font-size: var(--fs-100);
    border-radius: 5px;
}

.icon-button{
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    cursor: pointer;
}

.bt-simple{
    background-color: white;
    color: black;
    font-size: var(--fs-100);
    border-radius: 50px;
    border: none;
    padding: 1rem 1.5rem;
    display: block;
}

/* ------  HERO SECTION ------ */

.ojo-hero-wrapper{
    position: relative;
    width: calc(100% - 1rem);
    aspect-ratio: 16/9;
    max-height: calc(100vh - 1rem);
    overflow: hidden;
    min-height: 600px;
    margin: 0.5rem auto;
    background-image: url("../assets/gluecksrad/ojo_hero_people.jpg");
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
    border-radius: 40px;
}
.ojo-hero-text-wrapper h1, .ojo-hero-text-wrapper p {
    color: white;
    text-align: center;
}
.ojo-hero-text-wrapper h1{
    font-family: Lobster;
    font-size: max(6rem, 10vw);
    margin: 0;
}
.ojo-hero-text-wrapper{
    position: absolute;
    bottom: 25%;
    right: 0;
    width: 60%;
}
.ojo-hero-text-wrapper>div{
    display: flex;
    justify-content: center;
    gap: 2vw;
}
.ojo-hero-text-wrapper p:first-of-type{
    font-size: max(1.5rem, 2vw);
    line-height: max(2rem, 2vw);
    margin: 1rem 0;
}
.ojo-hero-wrapper a{
    text-align: center;
    font-size: max(1rem, 1vw);
    width: calc(max(0.8rem, 1vw)*12);
    margin: 1rem 0;
}
#hero-image{
    width: 100%;
    border-radius: 40px;
}
#hero-video{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    background-image: url("../assets/gluecksrad/ojo2_hero_animation_poster.jpg");
    background-size: cover;
    background-position: left;
}
.ojo-hero-subtitle{
    font-size: max(1rem, 1.2vw);
    max-width: 50vw;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .ojo-hero-wrapper{
        height: 90vh;
        max-height: 1200px;
        width: 98vw;
        margin: 25px 0;
        background-image: url("../assets/gluecksrad/ojo2_hero_mobile_simple.jpg");
    }
    .ojo-hero-text-wrapper{
        width: 100%;
        bottom: 0;
        padding-left: 2rem;
        padding-right: 2rem;
        box-sizing: border-box;
        background: linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,1) 40%);
    }
    .ojo-hero-subtitle{
        display: none;
        max-width: 90vw;
    }
    .ojo-hero-text-wrapper a{
        background-color: black;
        color: white;
    }
    .ojo-hero-text-wrapper h1, .ojo-hero-text-wrapper p {
        color: black;
        filter: shadow(0 0 25px rgba(255,255,255,0.4));
    }
    #hero-video {
        border-radius: 20px;
        background-image: url("../assets/gluecksrad/ojo2_hero_animation_mobile_poster.jpg");
        background-position: center;
    }
}
@media (min-width: 1401px) {
    .ojo-hero-text-wrapper p:first-of-type{
        margin: 2rem 0;
    }
    .ojo-hero-wrapper a{
        margin: 2rem 0;
    }
}

/* ------  ABOUT OJO SECTION ------ */
#about-ojo-background{
    background-image: url("../assets/gluecksrad/aboutOjo_background.jpg");
    background-size: auto 100%;
    background-position: center top;
    background-repeat: no-repeat;
    height: 500px;
    position: relative;
    overflow: hidden;
}

#about-ojo-description-wrapper{
    width: 320px;
    height: 500px;
    margin: 0 auto;
    position: relative;
}

.about-ojo-description{
    position: absolute;
    display: flex;
}

.about-ojo-description p{
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    margin: 0;
}
.ojo_arrow{
    height: 40px;
}

#about-ojo-text{
    margin-top: -5rem;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative
}

.flex-icon-wrapper{
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: absolute;
    bottom: 20%;
    width: 100%;
}
.flex-icon{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.flex-icon img{
    height: 2rem;
}
.flex-icon p {
    line-height: var(--fs-150);
    font-size: var(--fs-100);
}

@media (min-width: 800px) {
    #about-ojo-background{
        height: 1000px;
    }
    #about-ojo-description-wrapper{
        width: 640px;
        height: 1000px;
    }
    .about-ojo-description{
        gap: 20px;
    }
    .about-ojo-description p{
        line-height: 28px;
        font-size: 20px;
    }
    .ojo_arrow{
        height: 75px;
    }
    #about-ojo-text{
        margin-top: -10rem;
        margin-bottom: 1rem;
    }
    .flex-icon-wrapper{
        gap: 3rem;
    }
    .flex-icon img{
        height: 2.5rem;
    }
    .flex-icon p {
        line-height: var(--fs-200);
        font-size: var(--fs-150);
    }
}

@media (min-width: 1500px) {
    #about-ojo-background {
        background-image: url("../assets/gluecksrad/aboutOjo_background_wide.jpg");
    }
}
@media (min-width: 2100px) {
    #about-ojo-background {
        height: 1600px;
    }
    #about-ojo-description-wrapper{
        width: 800px;
        height: 1700px;
    }
}

#ojo-action-wrapper{
    position: relative;
}

body{
    --carousel-card-size: 500px;
}
@media (max-width: 1400px) {
    body{
        --carousel-card-size: 400px;
    }
}
@media (max-width: 1000px) {
    body{
        --carousel-card-size: 300px;
    }
}
@media (max-width: 600px) {
    body{
        --carousel-card-size: 200px;
    }
    #ojo-action-wrapper{
        margin-bottom: -2rem;
    }
}

.image-carousel{
    position: relative;
    height: calc(var(--carousel-card-size) + 100px);
    width: 100%;
    perspective-origin: center center;
    perspective: 1000px;
    overflow: hidden;
}

.image-carousel > div{
    height: var(--carousel-card-size);
    width: var(--carousel-card-size);
    padding: calc(var(--carousel-card-size) * 0.075);
    position: absolute;
    top: 20px;
    left: calc(50vw - calc(var(--carousel-card-size) * 0.575));
    transition: transform 0.5s ease, height 0.5s ease;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.image-carousel img, .image-carousel video{
    height: 100%;
}

.image-carousel-item-0{
    --x-rot: 0deg;
    --y-rot: 0deg;
    z-index: 1;
    transform: rotateX(var(--x-rot)) rotateY(calc(var(--y-rot) + 40deg)) translateX(calc(-1 * var(--carousel-card-size))) scale(0.5);
    background-image: url("../assets/plaxite-frame3_dark.png");
}
.image-carousel-item-1{
    --x-rot: 0deg;
    --y-rot: 0deg;
    z-index: 2;
    transform: rotateX(var(--x-rot)) rotateY(calc(var(--y-rot) + 20deg)) translateX(calc(-0.5 * var(--carousel-card-size))) scale(0.7);
    background-image: url("../assets/plaxite-frame3_dark.png");
}
.image-carousel-item-2{
    --x-rot: 0deg;
    --y-rot: 0deg;
    z-index: 10;
    transform: rotateX(var(--x-rot)) rotateY(var(--y-rot));
    background-image: url("../assets/plaxite-frame2_dark.png");
}

.image-carousel-item-3{
    --x-rot: 0deg;
    --y-rot: 0deg;
    z-index: 2;
    transform: rotateX(var(--x-rot)) rotateY(calc(var(--y-rot) - 20deg)) translateX(calc(0.5 * var(--carousel-card-size))) scale(0.7);
    background-image: url("../assets/plaxite-frame3_dark.png");
}
.image-carousel-item-4{
    --x-rot: 0deg;
    --y-rot: 0deg;
    z-index: 1;
    transform: rotateX(var(--x-rot)) rotateY(calc(var(--y-rot) - 40deg)) translateX(var(--carousel-card-size)) scale(0.5);
    background-image: url("../assets/plaxite-frame3_dark.png");
}

.inline-check{
    height: 1.5rem;
}

.ojo-package-wrapper{
    scroll-margin-top: 300px;
    background-color: black;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    align-items: center;
    border: 2px solid white;
    outline: 10px solid black;
    padding: 2rem 1rem;
    border-radius: 25px;
    overflow: hidden;
}

.ojo-package-wrapper> img{
    max-height: 400px;
    display: block;
    margin: 0 auto;
}

.ojo-package-wrapper *{
    color: white;
}

.ojo-package-title{
    margin-bottom: var(--fs-400);
    font-size: var(--fs-200);
}

.ojo-package-bullet-point{
    display: flex;
    align-items: center;
    gap: 1rem
}

@media(max-width: 600px){
    .ojo-package-wrapper{
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .ojo-package-wrapper> img{
        max-height: 200px;
    }
    .ojo-package-title{
        text-align: center;
    }
    .ojo-package-wrapper button{
        margin: 2rem auto 1rem;
        display: block;
    }

}

.ojo-faq-wrapper{
    width: 80%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6rem;
    margin-bottom: 6rem;
}
.faq-card {
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-card-header {
    cursor: pointer;
    padding: 1rem 1rem;
    user-select: none;
    border-bottom: 1px solid black;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.faq-card-header p{
    font-size: var(--fs-150);
}

.faq-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.faq-card-content li{
    font-size: var(--fs-150);
}

.faq-card-content p {
    margin: 16px 0;
    font-size: var(--fs-100);
    line-height: var(--fs-150);
}

.faq-card-toggle:checked ~ .faq-card-content {
    max-height: 600px;
    padding: 16px;
}

.faq-card-toggle {
    display: none;
}

.ojo-advantages-wrapper {
    display: grid;
    box-sizing: border-box;
    gap: 3rem;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
    max-width: 1200px;
    width: 90vw;
    margin: 0 auto;
    justify-items: center;
}

.advantage-card {
    background-color: #fff;
    border-radius: 25px;
    border: 2px solid black;
    outline: 10px solid #fff;
    aspect-ratio: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 400px;
}
.advantage-card img {
    width: 40%;
    aspect-ratio: 1;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
}
@media (max-width: 1000px) {
    .ojo-advantages-wrapper {
        grid-template-columns: 1fr;
    }
    .advantage-card{
        max-width: 350px;
    }
}

@media (max-width: 600px) {
    .advantage-card{
        max-width: 250px;
    }
    .advantage-card img {
        width: 50%;
    }
}

.advantage-card p:first-of-type {
    font-size: var(--fs-150);
    margin: 0;
}

.advantage-card p:nth-of-type(2) {
    font-size: var(--fs-200);
    margin: 0.4rem 0;
}

.advantage-card p:last-of-type {
    font-size: var(--fs-100);
    line-height: var(--fs-150);
    margin: 0.4rem 1rem;
}

#design-options-wrapper img{
    width: 90%;
    aspect-ratio: 3/1;
    max-width: 2000px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 600px) {
    #design-options-wrapper{
        overflow: hidden;
    }
    #design-options-wrapper img{
        width: 120%;
        margin-left: -10%;
    }
}

.inline-contact-wrapper{
    margin: 0 auto;
    width: fit-content;
    display: flex;
    gap: 4rem
}
@media (max-width: 1000px) {
    .inline-contact-wrapper{
        flex-direction: column;
        gap: 0;
    }
}
.inline-contact-wrapper> div{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.inline-contact-wrapper img{
    height: var(--fs-200);
}
.overlay-wrapper{
    visibility: hidden;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    z-index: 100;
    overflow: scroll;
}
.overlay{
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 4rem auto;
    background-color: white;
    border-radius: 40px;
    padding: 2rem;
    box-sizing: border-box;
    border: 2px solid black;
    outline: 10px solid white;
}
.overlay-content-wrapper{
    max-width: 1000px;
    margin: 0 auto;
}

.overlay li{
    font-size: var(--fs-100);
    margin: var(--fs-150) 0;
    line-height: var(--fs-150);
}

.bt-close-overlay{
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    border: 2px solid black;
    background-color: white;
}

.detail-video-wrapper{
    margin: var(--fs-400) 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.detail-video-wrapper video{
    width: 30%;
    border-radius: 40px;
}

@media (max-width: 600px) {
    .overlay{
        padding: 2rem 1rem;
    }
    .detail-video-wrapper video{
        width: 40%;
        border-radius: 20px;
    }
}

.overlay h1{
    font-family: Comfortaa;
    font-size: var(--fs-250);
    line-height: var(--fs-400);
    font-weight: bolder;
    margin-top: 0;
    margin-bottom: var(--fs-200);
}

.overlay h2{
    text-align: left;
    font-size: var(--fs-150);
    margin: var(--fs-200) 0 0.5rem;
}

.overlay p{
    margin: 0;
}

.bt-close-overlay svg{
    height: 1.5rem;
    aspect-ratio: 1;
}

.overlay img{
    border-radius: 40px;
}

#ojo-connect-animation{
    width: 100%;
    border-radius: 40px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.media-display-example{
    display: flex;
    margin-top: 2rem;
}

.media-display-example img{
    display: block;
    margin: 0 auto;
    width: 80%;
}
.media-display-example p{
    text-align: center;
    margin-top: var(--fs-150);
}

#customer-wrapper{
    margin-bottom: 10rem;
    transform: translateY(50px);
    position: relative;
    z-index: 20;
}
.gallery {
    margin: 4rem auto;
    width: 80%;
    max-width: 800px;
    overflow: hidden;
    display: flex;
    -webkit-mask: linear-gradient(90deg, #0000, #000 5% 95%, #0000);
}

.gallery-group {
    display: flex;
    gap: 4rem;
    animation: scrolling 28s linear infinite;
    box-sizing: border-box;
    padding-right: 4rem;
}

.gallery-group img{
    height: 100px;
    filter: invert(1);
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

