:root {
    --default-font-size: min(5.208333vw, 9.259259vh); /* DEFAULT_FONT_SIZE (100) scaled: (100/1920)*100vw, (100/1080)*100vh */
    --default-min-height: min(2.604167vw, 4.62963vh); /* 50px scaled: (50/1920)*100vw, (50/1080)*100vh */
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: sans-serif;
}

.slide-item {
    box-sizing: border-box;
    position: absolute;
    z-index: 10;
}

.text-item {
    z-index: 20;
}

.text-item .align {
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    overflow: hidden;
}

.text-item .lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.text-item .break {
    width: 100%;
    font-size: 0;
    overflow-wrap: break-word;
}

.text-item .break span {
    font-size: var(--default-font-size);
    min-height: var(--default-min-height);
    color: white;
    font-family: "CMGSans", sans-serif;
    line-height: 1.1;
    text-shadow: 2px 2px 10px #000000;
    -webkit-text-stroke-color: #000000;
    font-weight: bold;
}

.media-item {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.background-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000000;
}

.background-media img,
.background-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
}
