:root {
    /* -----------------------------------------
     TV Safe Area
     ----------------------------------------- */

    --safe-x: 5vw;
    --safe-y: 5vh;

    /* -----------------------------------------
     Colors
     ----------------------------------------- */

    --background: #101216;
    --surface: #191c22;
    --surface-hover: #20242c;

    --text-primary: #ffffff;
    --text-secondary: #b7bec9;
    --text-muted: #7f8794;

    --border: rgba(255, 255, 255, 0.1);

    --success: #42d392;

    /* -----------------------------------------
     Responsive Spacing
     ----------------------------------------- */

    --space-xs: clamp(8px, 0.5vw, 16px);
    --space-sm: clamp(12px, 0.8vw, 24px);
    --space-md: clamp(20px, 1.5vw, 48px);
    --space-lg: clamp(28px, 2.5vw, 72px);
    --space-xl: clamp(40px, 4vw, 120px);

    /* -----------------------------------------
     Responsive Radius
     ----------------------------------------- */

    --radius-sm: clamp(8px, 0.5vw, 16px);
    --radius-md: clamp(12px, 0.8vw, 24px);
    --radius-lg: clamp(16px, 1vw, 32px);

    /* Fonts */
    --bs-font-sans-serif: 'new-hero-access-regular';
    --bs-font-monospace: 'new-hero-access-regular';
    --bs-font-regular: 'new-hero-access-regular';
    --bs-font-bold: 'new-hero-access-bold';

    --bs-body-font-size: 2rem;
    --bs-primary: #0033A1;
    --bs-primary-rgb: 0, 51, 161;
    --bs-secondary: #E80000;
    --bs-secondary-rgb: 232, 0, 0;
    --bs-info: #FFA221;
    --bs-info-rgb: 255, 162, 33;
    --bs-body-color: #fff;
    --bs-body-color-rgb: 255, 255, 255;
}

/* new-hero-access-regular */
@font-face {
    font-family: 'new-hero-access-regular';
    src: url("../fonts/NewHeroAccess-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}

/* new-hero-access-bold */
@font-face {
    font-family: 'new-hero-access-bold';
    src: url("../fonts/NewHeroAccess-Bold.ttf");
    font-weight: normal;
    font-style: normal;
}

* {
    user-select: none;
}

html {
    font-size: 1.48148vmin !important;
}

body {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    /* width: 100%;
    min-height: 100dvh; */
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

[data-visibility-hidden] {
    visibility: hidden;
}

#main {
    /* width: clamp(calc(1920px - 2rem), 100%, 3840px); */
    /* min-height: 100dvh; */
    /* transform-origin: center center; */
    padding: 1.2rem;
    /* width: 100%;
    min-height: 100dvh; */
    width: 100%;
    height: 100%;
    position: relative;
}

#template-slot {
    /* width: calc(1920px - 2.4rem);
    height: calc(100dvh - 2.4rem); */
    width: 100%;
    height: 100%;
    background-image: url(../images/background.png);
    background-size: 100% 100%;
    border-radius: 2.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bs-font-bold);
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.3rem;
}

h4 { 
    font-size: 2rem;
}

p {
    font-size: 2rem;
}

sup {
    font-size: 70%;
}

.light-heading {
    font-family: var(--bs-font-regular);
}

.bg {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 100%;
}

.btn {
    padding: 1.2rem 4.4rem;
    border-radius: 15rem;
    font-size: 2.4rem;
    font-family: var(--bs-font-bold);
    background-color: #fff;
    color: var(--bs-secondary);
    border: none;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.layer-0 {
    z-index: 0;
}

.layer-1 {
    z-index: 1;
}

.haleon-logo {
    background-image: url(../images/H_MasterLogo_Mono_NEG_RGB.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 9.5rem;
    height: 3rem;
    position: absolute;
    top: 4rem;
    right: 5rem;
    z-index: 11;
}

#references, #references-close {
    background-image: url(../images/icon_references.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 5.5rem;
    height: 5.5rem;
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 10;
}

#references-close {
    background-image: url(../images/wrong.svg);
}

.otr-top-layer {
    text-align: center;
}

.otr-top-layer h2 {
    margin-bottom: 1.5rem;
}

.otr-coins {
    color: var(--bs-primary);
    background-color: #fff;
    display: inline-block;
    font-size: 1.6rem;
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    position: absolute;
    top: 5rem;
    left: 5rem;
    padding: 0.7rem;
}

.otr-coins>div {
    width: 100%;
    height: 100%;
    background-image: url(../images/points.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.otr-coins span {
    color: #fff;
    position: absolute;
    top: 2.2rem;
    display: block;
    left: 0.5rem;
    width: 3rem;
    text-align: center;
    font-size: 1rem;
}

.otr-disease {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 56%;
    height: 22rem;
    margin: 6rem auto 0;
    padding: 0;
}

.otr-disease li {
    overflow: hidden;
}

.otr-primary-symptom {
    background-color: white;
    color: blue;
    font-size: 1.2rem;
    width: 17rem;
    height: 100%;
    text-align: center;
    font-family: var(--bs-font-bold);
    border-radius: 7%;
}

.otr-primary-symptom>div:first-child {
    padding: 1rem;
    text-align: center;
}

.otr-prim-sym-img {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 93%;
    height: 80%;
    margin: auto;
}

.otr-common-cold-img {
    background-image: url(../images/Child\ with\ cold.png);
}

.otr-rhinosinusitis-img {
    background-image: url(../images/Man\ with\ sinus\ pain.png);
}

.otr-allergic-rhinitis-img {
    background-image: url(../images/Woman\ sneezing.png);
}

.otr-symptoms {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 6rem auto 0;
    padding: 0;
}

.otr-symptoms li {
    padding: 0.8rem 1.6rem 0.8rem 0.8rem;
    border: 3px solid #fff;
    border-radius: 15rem;
    margin-left: 3rem;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    line-height: 2;
    display: flex;
    align-items: center;
}

.otr-symptoms li * {
    pointer-events: none;
}

.otr-symptoms li>span:last-child {
    padding-top: 0.2rem;
}

.otr-symptoms li.active {
    color: var(--bs-primary);
    background-color: var(--bs-body-color);
    border-color: var(--bs-secondary);
}

.otr-img-icon {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 3.6rem;
    height: 3.6rem;
    display: inline-block;
    margin-right: 0.8rem;
}

.otr-ii-ba {
    background-image: url(../images/body-ache.png);
}

.active .otr-ii-ba {
    background-image: url(../images/body-ache-active.png);
}

.otr-ii-fpp {
    background-image: url(../images/fpp.png);
}

.active .otr-ii-fpp {
    background-image: url(../images/fpp-active.png);
}

.otr-ii-rrn {
    background-image: url(../images/rrr.png);
}

.active .otr-ii-rrn {
    background-image: url(../images/rrr-active.png);
}

.otr-ii-s {
    background-image: url(../images/sneezing.png);
}

.active .otr-ii-s {
    background-image: url(../images/sneezing-active.png);
}

.otr-ii-nc {
    background-image: url(../images/nasal-congestion.png);
}

.active .otr-ii-nc {
    background-image: url(../images/nasal-congestion-active.png);
}

.otr-ii-rss {
    background-image: url(../images/sneezing.png);
}

.active .otr-ii-rss {
    background-image: url(../images/sneezing-active.png);
}

.otr-ii-iwe {
    background-image: url(../images/iwe.png);
}

.active .otr-ii-iwe {
    background-image: url(../images/iwe-active.png);
}

.otr-journey-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50rem;
}

.otr-journey-img {
    width: 30%;
}

.otr-journey-img img {
    max-width: 100%;
}

.otr-journey-block {
    border: 3px solid;
    width: 70%;
    height: 44rem;
    padding: 3rem 6rem 3rem 3rem;
    overflow: hidden;
    border-radius: 3rem;
    position: relative;
}

.otr-vertical-carousel {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior: contain;

    /* Hide scrollbar in Firefox */
    scrollbar-width: none;
}

.otr-vertical-slide-1 h3,
.otr-vertical-slide-1 ul,
.otr-vertical-slide-3 h3,
.otr-vertical-slide-3 ul {
    margin-bottom: 2.5rem;
}

.otr-vertical-slide-1 li,
.otr-vertical-slide-3 li {
    margin-bottom: 0.25rem;
}

.otr-vertical-slide-2 ul {
    max-width: 90%;
    margin-top: 1.5rem;
}

.otr-vertical-slide-2 strong {
    font-family: var(--bs-font-bold);
}

.otr-vertical-slide-2 p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.otr-journey-footer-area {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 96%;
    margin-top: -1.7rem;
}

.otr-journey-footer-area p {
    font-size: 1.2rem;
}

.otr-progress-track {
    position: absolute;
    top: 7rem;
    right: 2.5rem;
    width: 1rem;
    height: 30rem;
    background: rgb(255 255 255 / 15%);
    border-radius: 15rem;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.otr-progress-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 20%;
    background: #fff;
    border-radius: inherit;
    margin-top: 0;
    transition: height 0.25s ease;
}

/* Hide scrollbar in Chrome, Safari, and newer Edge */
.otr-vertical-carousel::-webkit-scrollbar {
    display: none;
}

.otr-vertical-slides {
    height: 100%;
    scroll-snap-align: start;
    overflow: hidden;
}

#reference-slot {
    position: absolute;
    top: 1.2rem;
    z-index: 9;
    width: calc(100% - 2.4rem);
    height: calc(100% - 2.4rem);
    visibility: hidden;
}

#reference-slot:not(hidden) > .references-content:not(hidden),
#references:not([data-visibility-hidden]) {
    visibility: visible;
}

.references-content.bg {
    padding: 5rem;
    background-image: url(../images/background.png);

    .references-content-block {
        height: 100%;
        position: relative;
    }

    .otr-vertical-carousel {
        height: calc(100% - 3.2rem - 0.5rem);
        list-style: none;
        margin: 0;
        padding-right: 4rem;
    }

    .otr-vertical-carousel ol {
        padding: 0;
        font-size: 1.8rem;
    }

    .otr-vertical-carousel ol li {
        display: flex;
        gap: 1rem;
    }

    .otr-vertical-carousel ol li > span {
        flex: 1;
    }

    .otr-vertical-carousel ol li > span:first-child {
        width: 3rem;
        max-width: 3rem;
        text-align: right;
    }

    .otr-progress-track {
        right: 0rem;
        width: 1rem;
        height: 42rem;
    }
    
}

/* @media screen and (height: 2160px) {

    #main {
        transform: scale(2);
        transform-origin: top left;
    }

    .bg {
        height: 50dvh;
    }
} */
