:root {
    --font-primary: "SanofiSans" , sans-serif;
    --font-secondary: "SanofiSerif", sans-serif;
    --font-primary-regular: url("fonts/SANOFI_SANS/WEB/WOFF2/Sanofi_Sans-Regular.woff2") format("woff2");
    --font-primary-bold: url("fonts/SANOFI_SANS/WEB/WOFF2/Sanofi_Sans-Bold.woff2") format("woff2");
    --font-primary-light: url("fonts/SANOFI_SANS/WEB/WOFF2/Sanofi_Sans-Light.woff2") format("woff2");

    --font-secondary-regular: url("fonts/SANOFI_SERIF/WEB/WOFF2/Sanofi_Serif-Regular.woff2") format("woff2");
    --font-secondary-bold: url("fonts/SANOFI_SERIF/WEB/WOFF2/Sanofi_Serif-Bold.woff2") format("woff2");

    --cursor-type: pointer;
    --button-color: #7a01e6;
    --click-ripple: rgba(207, 70, 167, .7); 
  }



@font-face {
    font-family: 'SanofiSans';
    src: url("fonts/SANOFI_SANS/WEB/WOFF2/Sanofi_Sans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SanofiSansBold';
    src: url("fonts/SANOFI_SANS/WEB/WOFF2/Sanofi_Sans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SanofiSansLight';
    src: url("fonts/SANOFI_SANS/WEB/WOFF2/Sanofi_Sans-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SanofiSerif';
    src: url("fonts/SANOFI_SERIF/WEB/WOFF2/Sanofi_Serif-Italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
}


body,
html {
    margin: 0;
    padding: 0;
    height: auto;
    width: 100%;
    overflow: hidden;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
    /* cursor: var(--cursor-type); */
}

img {
    display: block;
}

.touch {
    position: absolute;
    transform: translateX(-50%);
    bottom: 15%;
    left: 50%;
    background: url('images/touch-hand-icon.png') top left no-repeat;
    background-size: contain;
    width: 4%;
    height: 10.7%;
    animation: hover 1000ms ease-out infinite;
    overflow: visible;
}
.interact-icon {
    position: absolute;
    transform: translateX(-50%);
    bottom: 16%;
    left: 50%;
    background: url('images/touch-interact-icon.png') top left no-repeat;
    background-size: contain;
    width: 4%;
    height: 10.7%;
    overflow: visible;
}

.ripple-icon {
    position: absolute;
    width: 70%;
    height: 50%;
    border-radius: 50%;
    background-color: rgba(240, 43, 24, .5);
    transform: scale(0);
    animation: ripple2 1000ms ease-out infinite;
    pointer-events: none;
    top: 1%;
    left: 5%;
}

.touch-directions {
    position: absolute;
    transform: translateX(-50%);
    bottom: 4%;
    left: 50%;
    width: 80%;
    height: 10%;
    width: max-content;
    font-size: clamp(.4rem, 1.5vw, 1.5rem);
    color: rgba(240, 43, 24, 1);
    font-family: "SanofiSerif";
    font-weight: 400;
    font-style: italic;
    letter-spacing: .04em;

}

.intro, .thankyouVid {
    width: 100%;
    height: auto;
    position: absolute;
    top: 100%; 
    left: 0px;
    z-index: 100;
    opacity: 0; 
    transition: opacity .3s, top .5s .5s;
 }

 .intro video, .thankyouVid video {
    display: block;
    position: relative;
    z-index: 0;
}

 .intro.active , .intro.start, .thankyouVid {
    top: 0px; 
    left: 0px;
    opacity: 1;
    transition: opacity .3s  ;
    
 }


.hotspot {
    position: absolute;
    cursor: var(--cursor-type);
    width: 11.5%;
    height: 14%;
    /* background: red; */
    opacity: .3;
}

.continue {
    position: absolute;
    bottom: 9.9%;
    left: 6.85%;
    width: 13%;
    height: 6%;
    background: url('images/submit-btn.png') top left no-repeat;
    background-size: contain;
    cursor: var(--cursor-type);
}

.continue::before {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 5%;
  background: white;
  top: 50%;
  left: 50%;
  content: '';
  transform: translate(-50%, -50%);
  z-index: -1;
}

.continue.no-zindex {
    z-index: auto;
}

.keyMsg {
    opacity: 0;
    width: 100%;
    height: auto;
    position: absolute;
    top: 100%;
    left: 100%;
    background: #f5f3f8;
}

.keyMsg img{
    display: block;
}

.hidden.fade-anim {
    transition: opacity 0.2s .8s, z-index 0s 1.5s, top 0s 1.2s, left 0s 1.2s;
}
.active.fade-anim {
    transition: opacity 0.5s .3s,  z-index 0s 0s, top 0s 0s, left 0s 0s;
    opacity: 1;
    top: 0;
    left: 0;
}



.download-btn {
    position: absolute;
    padding: 8% 10%;
    background: #FFA500;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    display: none;
    z-index: 2000;
    border-radius: 20px;
    font-family: 'arial';
    font-weight: bold;
}

.download-btn:hover {
    background: purple;
}

.download-btn .text {
    position: relative;
    width: max-content;
    cursor: var(--cursor-type);
    font-size: clamp(1rem, -0.875rem + 8.333vw, 3.5rem);
}

.download-btn .text.small {
    position: relative;
    width: max-content;
    cursor: var(--cursor-type);
    font-size: clamp(.2rem, -1.2rem + 8.333vw, 2.5rem);
}



 .ripple {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* background-color: rgba(122, 0, 230, 0.4); */
    background-color: var(--click-ripple);
    transform: scale(0);
    animation: ripple 600ms ease-out;
    pointer-events: none;
    margin-left: -30px;
    margin-top: -30px;
    z-index: 1000;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes ripple2 {
    to {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes hover {
    0% {
        bottom: 16%;
    } 
    50% {
        bottom: 15%;
    }

    100% {
        bottom: 16%;
    }
}


video::media-controls-panel {
    display: none !important;
    opacity: 0 !important;
}


.no-cursor {
    cursor: none;
}


.answer-reveal {
    position: absolute;
    top: 0; 
    left: 0;
    z-index: 100;   
}

.answer-reveal.fade-anim.active {
    opacity: 1;
    top: 0;
    left: 0;
    transition: opacity .5s, top 0s, left 0s ; 
    
}
.answer-reveal.fade-anim.hidden {
    top: 100%;
    left: 100%;
    transition: opacity .5s , top 0s, left 0s ; 
}


.continue.disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none; /* makes it unclickable */
  }

.continue.no-bg {
    background: none;
  }

.results{
    height: 100%;
}

  .result-item {
    margin-bottom: 2.3%;
    height: 20%;
}


/* MODULES button */
.active {
    display: block;
    opacity: 1; 
}

.hidden {
    opacity: 0;
    
}

/* CUSTOM SPECIFIC STYLES  */

.reset-btn {
    position: absolute;
    bottom: 0%;
    left: 0%; 
    width: 10%;
    height: 10%;
    z-index: 99999;
}

.score-display {
    position: absolute;
    top: 48.7%;
    left: 33%;
    z-index: 10000;
    font-size: clamp( .1em, min(4.7vw, 26rem), 22rem);
    color:  #e62b18;
    font-family: 'SanofiSansBold';
}

.score-displayTest {
    position: absolute;
    top: 0;
    left: 0%;
    z-index: 10000;
    font-size: clamp(.1rem, min(1.4vw, 7rem), 3rem);
    color:  #e62b18;
    font-family: 'SanofiSans';
}

.perfect-score   {
    position: absolute;
    top: 39.7%;
    left: 7%;
    z-index: 10000;
    font-size: clamp( .1em, min(4.7vw, 26rem), 22rem);
    color:  black;
    font-family: 'SanofiSansBold';
}

.perfect-score.red {
   color: #e62b18;
}

.sub-txt {
    position: absolute;
    top: 61%;
    left: 7%;
    color:  black;
    font-size: clamp( .1em, min(2.3vw, 8em), 6rem);
    font-family: 'SanofiSansLight';
    background: white;
    box-shadow: 0 0 .5vw .5vw #fff;
    padding: 0 1.5vw 0 0;
}


.optionWrapper {
    position: absolute;
    top: 67.7%;
    left: 6.9%;
    width:57%;
    height: 5.6%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    box-shadow: 0px 0px 1.5vw #fff;
}



.option {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22.3%;
    background: black;
    color: white;
    margin: 0 10px 0 0;
    cursor: var(--cursor-type);
    border: 0.2vw solid black;
    font-size: clamp(.1rem, min(1.5vw, 6rem), 7rem);
    font-family: 'SanofiSansLight';
    font-weight: 300;
    margin: 0;
  }

.option .left {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    width: 20%;
    height: 100%;
}

.option .right {
    display: flex;
    justify-content: left;
    align-items: center;
    background: white;
    width: 80%;
    height: 100%;
    color: black;
}

.option.selected-option {
    background: var( --button-color);
    border-color: var( --button-color);
}

.option.alt.selected-option  {
    background: white;
    border-color: #e62b18;
}

.txtWrapper {
    padding: .5% 2.5%;
}

#keyMsg1-0 .optionWrapper {
    top: 48.6%;
    width: 53.3%;
    height:32%;
}

#keyMsg1-0 .option {
    width: auto;
    min-height: 15%
}

#keyMsg1-0 .option .left{
    width:5%;
}
#keyMsg1-0 .option .right{
    width:95%;
}

#keyMsg1-0 .next-btn , #keyMsg1-0correct .next-btn , #keyMsg1-0incorrect .next-btn {
    top: 78.4%;
}



#keyMsg2-0 .optionWrapper {
    top: 55.6%;
    width: 40%;
    height:25%;
}

#keyMsg2-0 .option {
    width: auto;
    min-height: 23%
}

#keyMsg2-0 .option .left{
    width:5%;
}
#keyMsg2-0 .option .right{
    width:95%;
}
#keyMsg2-0 .next-btn {
    top: 75.5%;
}


#keyMsg3-0 .optionWrapper {
    top: 50.4%;
    width: 27%;
    height:30%;
}

#keyMsg3-0 .option {
    width: auto;
    min-height: 17%
}

#keyMsg3-0 .option .left{
    width:10%;
}
#keyMsg3-0 .option .right{
    width:90%;
}


#keyMsg3-0 .txtWrapper {
    padding:  0 4.5%;
}


#keyMsg3-0 .txtWrapper {
    padding:  0 4.5%;
}

#keyMsg3-0 .next-btn {
    top: 74.4%;
}

#keyMsg4-0 .optionWrapper {
    top: 50.4%;
    width: 33.7%;
    height:30%;
}

#keyMsg4-0 .option {
    width: auto;
    min-height: 17%
}

#keyMsg4-0 .option .left{
    width: 8%;
}
#keyMsg4-0 .option .right{
    width:92%;
}

#keyMsg4-0 .txtWrapper {
    padding:  0 4.5%;
}


#keyMsg4-0 .txtWrapper {
    padding:  0 4.5%;
}

#keyMsg4-0 .next-btn {
    top: 74.4%;
}


#keyMsg5-0 .optionWrapper {
    top: 50.4%;
    width: 13.5%;
    height:30%;
}

#keyMsg5-0 .option {
    width: auto;
    min-height: 17%
}

#keyMsg5-0 .option .left{
    width: 22%;
}
#keyMsg5-0 .option .right{
    width: 78%;
}

#keyMsg5-0 .next-btn , #keyMsg1-0correct .next-btn , #keyMsg1-0incorrect .next-btn {
    top: 78.4%;
}

#keyMsg5-0 .txtWrapper {
    padding:  0 11.5%;
}

#keyMsg5-0 .next-btn {
    top: 74%;
}

.home-btn {
    top: 72.7%;
    left: 7%;
    width: 14.5%;
}

.end-quiz {
    background: url(images/backtoStart-btn.png) no-repeat top left;
    background-size: contain;
    opacity: 1;
    width: 15.1%;
}

.next-btn {
    position: absolute; 
    width: 13.2%;
    height: 6%;
    top: 74%;
    left: 79%;
}

#keyMsghome .next-btn {
    top: 73%;
    left: 7%;
}


.home-btn {
    top: 73%;
    left: 7%;
    width: 14.5%;
}




