@font-face {
    font-family: 'AkkuratLL-Regular';
    src: url('/content/dam/spglobal/commodity-insights/en/content-design/infographics/common/fonts/AkkuratLL-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AkkuratLL-Light';
    src: url('/content/dam/spglobal/commodity-insights/en/content-design/infographics/common/fonts/AkkuratLL-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AkkuratLL-Italic';
    src: url('/content/dam/spglobal/commodity-insights/en/content-design/infographics/common/fonts/AkkuratLL-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AkkuratLL-Bold';
    src: url('/content/dam/spglobal/commodity-insights/en/content-design/infographics/common/fonts/AkkuratLL-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* @font-face {
    font-family: 'AkkuratLL-Regular';
    src: url('../akkurat/AkkuratLL-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AkkuratLL-Light';
    src: url('../akkurat/AkkuratLL-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AkkuratLL-Italic';
    src: url('../akkurat/AkkuratLL-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AkkuratLL-Bold';
    src: url('../akkurat/AkkuratLL-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
} */

html {
    overflow-y: auto;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --swiper-navigation-size: 4vh;
    --swiper-navigation-color: #E4F713;
    --swiper-navigation-color-on-hover: #595959;
    --swiper-pagination-bullet-inactive-width: 1vw;
    --swiper-pagination-bullet-inactive-height: 0.125rem;
    --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255);
    --swiper-pagination-bullet-active-width: 22vw;
    --swiper-pagination-bullet-active-height: 0.1875rem;
    --swiper-pagination-bullet-active-color: #EDF86F;
    --swiper-pagination-bullet-horizontal-gap: .2vw;
}

body {
    background-color: #0A0A0A;
    font-family: "AkkuratLL-Light";
    position: relative;
    overflow: hidden;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.header {
    position: relative;
    width: 100%;
    display: flex;
}

.header img {
    width: 8.5vw;
    height: auto;
    margin: 3vh 0 0 1.5vw;
}

.final-wrapper,
.hero-container {
    display: none;
}

.final-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 1vh;
}

.top {
    width: 100%;
    padding: 5vh 0 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.welcome {
    font-size: 3.5vw;
    margin: 0 0 0 11.4vw;
    position: relative;
    display: inline-block;
    color: #FFF;
}

.explanation {
    font-size: 1.035vw;
    line-height: 1.5vw;
    margin: 1vh 0 0 11.7vw;
    color: #FFF;
}

.middle {
    width: 100%;
    height: 4vh;
    margin: 4vh 0 .5vh 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.occupation {
    font-size: 1.5vw;
    line-height: 1.5vw;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
    color: rgba(255, 255, 255, 0.62);
}

.navigation {
    position: absolute;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 4vh;
    z-index: 0;
}

.blank1 {
    position: relative;
    width: 35vw;
}

.blank2 {
    position: relative;
    width: 23vw;
    margin: 0 .5vw;
}

.swiper-button-prev,
.swiper-button-next {
    size: var(--swiper-navigation-size);
    color: var(--swiper-navigation-color);
    z-index: 10;
    position: relative;
    transition: color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: var(--swiper-navigation-color-on-hover);
}

.persona-name {
    left: 37vw;
    top: 15vh;

    position: absolute;
    font-size: 1.7vw;
    line-height: 1.7vw;
    padding: .5rem;
    z-index: 10;
    background-color: #0A0A0A;
    transition: all 0.7s ease;
    color: #FFF;
    opacity: 1;
    cursor: pointer;
    transform: translateX(0);
}

.slide-out-to-left {
    transform: translateX(-100%);
    opacity: 0;
}

.slide-in-from-right {
    transform: translateX(100%);
    opacity: 0;
}

.persona-carousel {
    width: 100%;
    height: 61vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

.swiper {
    width: 100%;
    height: 90%;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease;
}

.swiper-slide {
    position: relative;
    right: 4.365vw !important;
    opacity: 0.4;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    cursor: pointer;
    overflow: hidden;
}

.swiper-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: all 0.7s ease;
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.swiper-slide:last-child video {
    object-fit: cover;
    object-position: 100% 100%;
}

.swiper-slide:nth-child(2) video {
    object-fit: cover;
    object-position: 80% 60%; 
}

.swiper-slide:nth-child(5) video {
    object-fit: cover;
    object-position: 80% 50%; 
}

.swiper-slide:not(.swiper-slide-active):hover video {
    transform: scale(1.3);
}

.swiper-slide-active {
    width: 22% !important;
    height: 91% !important;
    opacity: 1;
}

.swiper-slide:nth-child(odd):not(.swiper-slide-active) {
    width: 13% !important;
    height: 51% !important;
}

.swiper-slide:nth-child(even):not(.swiper-slide-active) {
    width: 13% !important;
    height: 62% !important;
}

.swiper-pagination {
    position: relative !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.7s ease;
    overflow: hidden;
    width: 100%;
    height: 4rem;
}

.swiper-pagination[data-id="persona"] {
    padding: 0 0 0 8.6vw;
}

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-inactive-width);
    height: var(--swiper-pagination-bullet-inactive-height);
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap);
    border-radius: 0;
    background-color: var(--swiper-pagination-bullet-inactive-color);
    transition: all 0.7s ease;
}

.swiper-pagination-bullet-active {
    width: var(--swiper-pagination-bullet-active-width);
    height: var(--swiper-pagination-bullet-active-height);
    background-color: var(--swiper-pagination-bullet-active-color);
}

.swiper-pagination-bullet:hover {
    background-color: var(--swiper-pagination-bullet-active-color);
    opacity: 1;
}

.bullet-number {
    position: absolute;
    padding: 0.5rem 0 0 0.1rem;
    font-size: 0.6vw;
    font-family: 'AkkuratLL-Regular';
    color: rgba(255, 255, 255);
    transition: all 0.5s ease;
}

.swiper-pagination-bullet-active .bullet-number {
    font-size: 0.7vw;
    color: #EDF86F;
}

.bullet-title {
    position: absolute;
    text-align: left;
    width: 20vw;
    top: -1.5rem;
    font-size: 0.7vw;
    color: #FFF;
}

.breadcrumb-nav {
    margin: 6vh 0 0 1.7vw;
    color: #E4F713;
    font-size: 1vw;
    line-height: 1vw;
}

.breadcrumb {
    position: relative;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.breadcrumb.active:hover {
    text-decoration-color: #E4F713;
}

.breadcrumb:not(.active):hover {
    text-decoration-color: #EDF86F;
}

.breadcrumb:not(:last-child)::after {
    content: ' > ';
    margin: 0 0.3rem;
    color: #E4F713;
    display: inline-block;
    text-decoration: none !important;
}