* {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    height: -webkit-fill-available;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: rgb(37, 37, 37);
    overflow: hidden;
}

/* Avoid Chrome to see Safari hack */
@supports (-webkit-touch-callout: none) {
    body {
      /* The hack for Safari */
      min-height: -webkit-fill-available;
    }
}

.visible {
    display: block !important;
}

.left {
    margin: 0 auto 0 0;
}

.right {
    margin: 0 0 0 auto;
}

.center {
    margin: 0 auto;
}

.width-40 {
    width: 50%;
}

.width-50 {
    width: 50%;
}

.width-60 {
    width: 60%;
}

.width-70 {
    width: 70%;
}

.width-80 {
    width: 80%;
}

.width-90 {
    width: 90%;
}

.width-100 {
    width: 100%;
}

.no-scroll {
    overflow: hidden !important;
}

.maincontent {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: auto;
    scrollbar-width: none;
}

.maincontent::-webkit-scrollbar {
    display: none;
}

.intro-wrapper {
    height: 100vh;
    min-height: 100vh;
    width: calc(100vh / 16 * 9);
    max-width: 100%;
    background-color: white;
    padding: 1rem;
}
.intro-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.content-wrapper {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    width: calc(100vh / 16 * 9);
    max-width: 100%;
    background-color: white;
}

.images-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.texts-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

.texts-wrapper img {
    /* position: absolute; */
    flex: 1 1 auto;
    max-width: 100%;
    max-height: 20%;
    filter: invert(.8);
    mix-blend-mode: difference;
    display: none;
    object-fit: contain;
}

.texts-wrapper .item-0 {
    order: 1;
}

.texts-wrapper .item-1 {
    order: 2;
}

.texts-wrapper .item-2 {
    order: 3;
}

.texts-wrapper .item-3 {
    order: 4;
}

.texts-wrapper .item-4 {
    order: 5;
}