#video-box {
    width: 100%;
    position: relative;
    height: 100vh;
}
#video-box > div {
    width: 100%;
    position: absolute;
    height: 100vh;
    background: #8769FF;
    background-size: cover;
    top: 0;
    z-index: 0;
}

#video-box > div:nth-child(2) {
    color: rgba(255,255,255, 1);
    opacity: 0
}

#video-box > div:first-child {
    background-image: none;
}

#text-overlay-span {
    /*line-height: initial;*/
    display: inline-flex;
    align-items: baseline;
}

#text-overlay-right {
    width: fit-content;
    overflow: hidden;
    transition: font-size 0.5s ease;
    display: inline-block;
    transform: translateX(-100%);
}

#video-box > div > section:nth-child(1) {
    bottom: calc(20% + 0.65rem);
}
#video-box > div > section:nth-child(2) {
    bottom: 20%;
}
#video-box video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#video-box section {
    width: 100%;
    left: calc(18.75% / 2);
    position: absolute;
    user-select: none;
}

#video-box p {
    z-index: 99999999;
    position: absolute;
    width: 1em;
    overflow: hidden;
    font-size: 96px;
    white-space: nowrap;
    text-align: center;
    mix-blend-mode: difference;
    left: 50%;
    top: 50%;
    line-height: initial;
    transform: translate(-50%, -50%);
}

#video-box > span::before {
    content: "'";
}

main {
  width: calc(81.25% + 40px);
  margin: 0 auto;
    padding: 150px 0 0;
}
main img,main video  {
  width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
  transition: all .3s ease-out 0s;
}

main img:hover,main video:hover {
    cursor: pointer;
    transform: scale(1.01);
}

main > div {
  display: grid;
    position: relative;
    margin-top: 40px;
}
main > div:first-child {
    margin-top: 0;
}

main > div > a > div {
    padding: 0 20px;
    height: 100%;
}

main > div > div > p {
    position: absolute;
    z-index: 101;
    white-space: nowrap;
    color: #fff;
    font-size: 60px;
}

main img,main video  {
    cursor: pointer;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.audio {
    position: fixed;
    bottom: 3.704vh;
    right: calc(7% - 15px);
}

.audio img {
    width: 20px;
}
.audio img:hover {
    cursor: pointer;
}

.loading-overlay {
    opacity: unset !important;
}

@media screen and (min-width: 1024px){

}

@media screen and (max-width: 1024px){
    #video-box {
        display: none;
    }
    #main {
        width: calc(81.25% + 40px);
    }

    .to-top {
        width: 81.25%;
    }

    .audio {
        position: fixed;
        right: calc(8% - 15px);
    }

    footer {
        width: 81.25%;
        margin: 0 auto;
    }


}

@media screen and (max-width: 767px){
    #main {
        width: 90%;
        padding-top: 180px;
    }

    main > div > a > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 40px !important;
    }


    .to-top {
        width: 90%;
    }
    .audio {
        position: fixed;
        bottom: 30px;
        right: calc(5% - 15px);
    }
    footer {
        width: 90%;
    }
    main > div {
        display: block;
    }
}