@import url('https://use.typekit.net/zzs7wep.css');

.ambio-info-screen {
    background-color: #FCEADB;
    --header-height: 15.625vh;
    --slide-height: 84.375vh;
    font-family: "sofia-pro", sans-serif;
}

.ambio-info-screen .header {
    margin: 0 6.5vw;
    height: 15vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.ambio-info-screen .header svg {
    height: 7.1875vh;
}

.ambio-info-screen .slides {
    margin: 0 3.703703704vw;
    height: var(--slide-height);
    overflow-y: scroll;
}

.ambio-info-screen .slides.slideshow {
    overflow:hidden;
}

.ambio-info-screen .slides.slideshow .slide {
    height: var(--slide-height);
    width: 100%;
    height: 100%;
    background-color: transparent;
    align-items: flex-start;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}

.ambio-info-screen .slides.slideshow .slide .image {
    aspect-ratio: 850/789;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image:url( '../images/frame.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.ambio-info-screen .slides.slideshow .slide.event .image .image-inner {
    width: 72.59259259vw;
    height: 37.03125vh;
    display: block;
    border-radius: 2vw;
    overflow: hidden;
}

.ambio-info-screen .slides.slideshow .slide.event .image .image-inner img {    
    object-fit: cover;
    object-position: center;
    display: block;    
    width: 100%;
    height: 100%;
}

.ambio-info-screen .slides.slideshow .slide.event .content {
    text-align: center;
    position: relative;
    background-color: transparent;
    width: 100%;
}

.ambio-info-screen .slides.slideshow .slide.event .content p {
    font-family: "sofia-pro", sans-serif;
    line-height: 1;
    font-size: 5vw;
    margin: 5vw 0;
}

.ambio-info-screen .slides.slideshow .slide.event .content h2 {
    font-family: "sofia-pro", sans-serif;
    font-weight: 500;
    margin: 0;
    font-size: 10vw;
    line-height: 1;
}

.ambio-info-screen.dark-mode {
    background-color: #000000;
    color: #fff;

    .header {
        svg {
            fill: #fff;
        }
    }

    .slides {
        .slide.event {
            .content {
                color: currentColor;
            }
        }
    }
}