:root {
    --header-text-size: 3.5rem;
}

main {
    background: var(--black);
}

.content-header h1 {
    color: var(--text-white);
    font-size: var(--header-text-size);
    font-weight: 600;
}
.content-video-banner {
    width: 100vw;
    height: auto;
    aspect-ratio: 12 / 5;
    position: relative;
}

.content-video-banner video {
    position: absolute;
    width: 100%;
    height: auto;
    aspect-ratio: 12 / 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.content-video-banner .content-video-banner-text {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 24px;
}

.content-video-banner-text span {
    font-size: 50px;    
    color: var(--text-white);
}

.content-video-banner-text svg {
    width: 20px;
    height: auto;
    fill: var(--text-white)
}

.content{
    --gap: 56px;
    --more-pad: 3%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: start;
    gap: var(--gap);
    padding: 10% calc(5% + var(--more-pad));
}

.content h1{
    flex: 0 0 calc((100% / 2 ) - (var(--gap) + var(--more-pad)));
    color: var(--text-white);
    /* font-size: var(--header-text-size); */
    font-weight: 600;
    position: relative;
}

.content h1::before {
    content: '';
    display: block;
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 10px;
    top: 16px;
    left: -40px;
    background-color: var(--primary-color, #2D5FFE);
}

.content p {
    flex: 0 0 calc((100% / 2 ) - (var(--gap) + var(--more-pad)));
    color: #FFFFFFCC;
    font-size: 20px;
    font-weight: 300;
    line-height: 36px;
}

.line-split {
    margin-left: var(--margin);
    margin-right: var(--margin);
    width: calc(100% - (2 * var(--margin)));
    height: 1px;
    background-color: #FFFFFF33;
}

.new-experience {
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-experience h1 {
    color: var(--text-white);
    font-size: var(--header-text-size);
    font-weight: 600;
}

.new-experience-carousel {
    width: 100%;
    display: flex;
    overflow-x: hidden;
    scrollbar-width: none;

    &::-webkit-scrollbar {
        display: none;
    }
}

.new-experience-group {
    --gap: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spinCard 20s infinite linear;
    gap: var(--gap);
    padding-right: var(--gap);
}

.new-experience-card {
    --width: 17vw;
    flex: 0 0 var(--width);
    width: var(--width);
    height: auto;
    aspect-ratio: 323 / 341;
    border-radius: 10px;
}

.new-experience-card img {
    width: var(--width);
    height: auto;
    aspect-ratio: 323 / 341;
    object-fit: cover;
}

.new-experience-text-container {
    --gap: 3rem;
    --cols: 4;
    gap: var(--gap);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3%;
    padding: 5% 5%;
}

.new-experience-text-card {
    flex: 0 0 calc((100% - (var(--gap) * (var(--cols) - 1)))/ var(--cols));
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
    color: var(--text-white);
    gap: 1rem;
}

.new-experience-text-card span {
    font-size: 2rem;
    font-weight: 400;
}

.new-experience-text-card span.num {
    font-size: 4rem;
    font-weight: 500;
}

.new-experience-text-card p {
    font-size: 1rem;
    color: #FFFFFFCC;
    font-weight: 300;
    line-height: 28px;
}

@keyframes spinCard { from {translate: 0;} to {translate: -100%;} }

.content-container { overflow-x: hidden;}

.abstract-holograph-video {
    width: 100%;
    aspect-ratio: 16 / 7;
    position: relative;
    color: var(--text-white);
    overflow: hidden;
}

.abstract-holograph-video video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    -o-object-fit: cover;
}

.text-fix {
    position: absolute;
    color: var(--text-white);
    top: 30%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.text-fix span {
    font-size: 1.5rem;
    white-space: nowrap;
    text-wrap: nowrap;
}

.text-flow {
    position: absolute;
    color: var(--text-white);
    display: flex;
    top: 50%;
    transform: translateY(-50%);
}

.text-flow-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    animation: sliding 20s infinite linear;
}

.text-flow-box:first-child {
    margin-right: 1rem;
}

.text-flow img {
    --size: 6rem;
    height: var(--size);
    width: var(--size);
    object-fit: contain;
    -o-object-fit: contain;
    object-position: center;
    -o-object-position: center;
}

.text-flow span {
    font-size: 8rem;
    font-weight: 500;
    white-space: nowrap;
    text-wrap: nowrap;
    text-transform: uppercase;
}

@keyframes sliding {
    from {transform: translateX(0);}
    to {transform: translateX(calc(-100% - 1rem));}
}

@media screen and (max-width: 1399px) {
    :root {--header-text-size: 3.5rem;}
    .content-video-banner .content-video-banner-text {gap: 3rem;}
    .content-video-banner .content-video-banner-text span:first-child {text-align: end;}
    .content-video-banner .content-video-banner-text span:last-child {text-align: start;}
    .content h1::before {top: 8px;}
}
@media screen and (max-width: 1199px) {
    :root {--header-text-size: 3.25rem;}
    .new-experience-text-container {--cols: 2;}
    .text-flow span {font-size: 6rem;}
    .text-flow img {--size: 5rem;}
    .text-fix span {font-size: 1.25rem;}
}
@media screen and (max-width: 991px) {
    :root {--header-text-size: 3rem;}
    .content-video-banner .content-video-banner-text {gap: 2rem;}
    .content-video-banner .content-video-banner-text span {font-size: clamp(40px, calc(4.44vw + 0.01px), 44px);}
    .content {flex-direction: column;}
    .content h1 {flex: none;}
    .content h1::before {top: 6px;}
    .content p {flex: none; font-size: 1rem; line-height: 24px;}
    .new-experience-group {--gap: 36px}
    .new-experience-card {--width: 30vw}
    .text-flow span {font-size: 4rem;}
    .text-flow img {--size: 3rem;}
    .text-fix span {font-size: 1rem;}
}
@media screen and (max-width: 767px) {
    :root {--header-text-size: 2rem;}
    .content-video-banner .content-video-banner-text {gap: 1.5rem;}
    .content-video-banner .content-video-banner-text span {font-size: clamp(30px, calc(4.43vw + 0.01px), 34px);}
    .content h1::before {width: 16px; height: 16px; top: 8px; left: -30px;}
    .new-experience-group {--gap: 30px}
    .new-experience-text-card span.num{font-size: 3rem;}
    .text-flow span {font-size: 3rem;}
    .text-flow img {--size: 2.5rem;}
    
}
@media screen and (max-width: 575px) {
    :root {--header-text-size: 1.5rem;}
    .content-video-banner .content-video-banner-text {gap: 1rem;}
    .content-video-banner .content-video-banner-text span {font-size: clamp(18px, calc(4.3vw + 0.01px), 24px);}
    .content h1::before {width: 12px; height: 12px; top: 8px; left: -20px;}
    .new-experience-group {--gap: 20px}
    .new-experience-card {--width: 40vw}
    .new-experience-text-container {--cols: 1;}
    .text-flow span {font-size: 2rem;}
    .text-flow img {--size: 1.75rem;}
    .text-fix span {font-size: 0.75rem;}
}