@import url('https://fonts.googleapis.com/css?family=Rubik:300,400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Space+Grotesk:300,400,500,700&display=swap');

body{
	/* background:#eaeaea;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat; */
	/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
    font-family: 'Space Grotesk', sans-serif;
}

body, *{
	margin: 0;
	padding: 0;
}

body,html{
	height: 100%;
}

.noselect {
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
}


header{
    position: absolute;
    min-height: 90px;
    max-height: 90px;
}

header .header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 0;
    transition: all ease .3s;
    overflow: hidden;
    background: transparent;
}

header .header.in-view{
    height: 90px;
}

header .header .site-logo{
    padding-top: 25px; 
    padding-left: 30px;
    padding-bottom: 25px;
    transition: all ease 0.3s;
}

header .header .site-logo .logo{
    width: 100%;
    transform: translateY(-10px);
    transition: all ease .5s;
    opacity: 0;
}

header .header .site-logo .logo.in-view{
    transform: translateY(0);
    opacity: 1;
}

header .header .site-logo a{
    outline: none;
    display: flex;
    align-items: center;
}

header .header .site-logo .logo img{
    height: 31px;
    width: 100%;
    object-fit: contain;
}

header .header.h-sticky{
    height: 65px;
}

header .header.h-background{
    border-color: #000;
    background-color: #fff;
    transition-delay: 0.3s;
}

header .header.h-sticky .site-logo{
    padding-top: 15px;
    padding-left: 30px;
    padding-bottom: 15px;
}

header .header.h-sticky .site-logo .logo{
    width: 70%;
}


.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgb(133, 137, 143);
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: all ease 0.3s;
}
.loader.loaded{
    opacity: 0;
    visibility: hidden;
}
.loader .content {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    font-size: 0;
}
.loader .loader-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
    margin-left: -60px;
    margin-top: -60px;
}
.loader .loader-line-mask {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 120px;
    margin-left: -60px;
    margin-top: -60px;
    overflow: hidden;
    transform-origin: 60px 60px;
    mask-image: linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0));
    animation: rotate 1.2s infinite linear;
}
.loader .loader-line {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
@keyframes rotate { 0% { transform: rotate(0deg);} 100% { transform: rotate(360deg);}}


/* LANGUAGE SWITCHER */
.switch {
    --secondary-container: gray;
    --primary: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    width: 3.7em;
    height: 1.8em;
    position: absolute;
    z-index: 9999;
    top: 30px;
    right: 60px;
}

.text-de{
    position: absolute;
    left: -27px;
    font-size: 16px;
    transition: all ease 0.3s;
}

.text-de.active{
    font-weight: 500;
}

.text-fr{
    position: absolute;
    right: -27px;
    font-size: 16px;
}

.text-fr.active{
    transition-delay: 0.3s;
    font-weight: 500;
}

.switch input {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
}
   
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: gray;
    transition: .2s;
    border-radius: 30px;
}
   
.slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 20px;
    left: 0.2em;
    bottom: 0.2em;
    background-color: white;
    transition: .4s;
}
   
input:checked + .slider::before {
    background-color: var(--primary);
}
   
input:checked + .slider {
    background-color: var(--secondary-container);
}
   
input:focus + .slider {
    box-shadow: 0 0 1px var(--secondary-container);
}
   
input:checked + .slider:before {
    transform: translateX(1.9em);
}
/* LANGUAGE SWITCHER */

#model-holder{
	width: 100vw;
	height: 100vh;
	position: absolute;
	top:0;
	left: 0;
}
#model-holder::before{
    pointer-events: none;
    z-index: 1;
}

canvas{
	/* background-image: url("../images/background-gradient-3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
	border: 1px solid #eaeaea; */
	top:0;
	left: 0;
    outline: none;
    border: none;
	transition: all ease .7s;
	-webkit-transition: all ease .7s;
	-moz-transition: all ease .7s;
	-o-transition: all ease .7s;
}
canvas:focus{
	outline: none;
	box-shadow: none;
	border:none;
}

#indicatorCanvas {
    position: absolute;
    bottom: 0;
    right: 0;
    top: auto;
    left: auto;
    border-color: transparent;
    background: transparent;
}

.cssRendererClass{
    pointer-events: none;
}

.reset-button-wrapper{
    position: absolute;
    z-index: 1;
    top: 255px;
    left: 25px;
    overflow: hidden;
    height: 42px;
    padding: 5px;
    cursor: pointer;
    transition: all ease 0.3s;
    opacity: 1;
}

.reset-button-wrapper.disabled{
    opacity: 0;
}

.reset{
    position: relative;
    z-index: 1;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 35px;
    height: 35px;
    overflow: hidden;
    padding: 0;
    transition: all ease 0.3s;
}
.reset svg{
    width: 35px;
    height: 35px;
    fill: black;
    transition: all ease 0.3s;
}

.reset svg:hover{
    fill: #6d6d6d;
}


.diesease-buttons-wrapper{
    position: absolute;
    z-index: 2;
    left: 20px;
    top: 105px;
    padding: 10px;
    overflow: hidden;
    display: flex;
    flex-flow: column;
}

.diesease-buttons-wrapper button{
	/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; */
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
    background: gray;
    border: 2px solid gray;
    color: white;
    padding: 7px 20px;
    transition: all ease 0.3s;
}

.diesease-buttons-wrapper button:hover{
    /* background: gray;
    color: white;
    border-color: gray; */
    color: white;
    background: black;
    border-color: black;
}



/* .diesease-buttons-wrapper button:active, .diesease-buttons-wrapper button:focus{
    border-color: black;
} */

.glaukom-title, .diabet-title, .dryeye-title{
    pointer-events: auto;
}

.glaukom-title.disabled, .diabet-title.disabled, .dryeye-title.disabled{
    pointer-events: none;
}

.glaukom-title.clicked, .diabet-title.clicked, .dryeye-title.clicked{
    color: white;
    background: black;
    border-color: black;
}

.diesease-buttons-wrapper button.clicked:hover{
    color: black;
    background: transparent;
    /* border-color: black; */
}

.diabet-title, .dryeye-title{
    margin-top: 10px;
}

/* .glaukom, .diabet{
    position: absolute;
    left: 20px;
    z-index: 1;
    font-size: 18px;
    background: white;
    padding: 3px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all ease 0.2s;
    border-width: 2px;
}

.glaukom.disabled, .diabet.disabled{
    cursor: default;
    background-color: gray;
    color: rgb(59, 59, 59);
}
.glaukom.clicked, .diabet.clicked{
    cursor: default;
    background: black;
    color: white;
} */

.steps-wrapper{
    position: absolute;
    bottom: -20px;
    left: 5px;
    opacity: 0;
    transition: bottom ease 0.5s;
    /* background: white;
    width: 270px;
    height: 70px;
    z-index: 1;
    border-radius: 10px; */
}
.steps-wrapper.visible{
    bottom: 0;
    opacity: 1;
    transition: bottom ease 0.5s;
}

.step-1, .step-2, .step-3, .step-4{
    position: absolute;
    left: 15px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    z-index: 2;
    cursor: pointer;
    transition: all ease 0.3s;
    border-radius: 50%;
    background: transparent;
    border: 2px solid transparent;
    font-size: 20px;
    background-color: gray;
    color: white;
    padding: 0;
    pointer-events: auto;
}
.step-2{
    left: 75px;
}
.step-3{
    left: 135px;
}
.step-4{
    left: 195px;
}

.step-1:active, .step-2:active, .step-3:active, .step-4:active,
.step-1:focus, .step-2:focus, .step-3:focus, .step-4:focus{
    border: 2px solid transparent;
}

.step-1.no-event, .step-2.no-event, .step-3.no-event, .step-4.no-event{
    pointer-events: none;
}

.step-1.disabled, .step-2.disabled, .step-3.disabled, .step-4.disabled{
    background-color: #a0a0a0;
    color: #ececec;
    cursor: default;
    opacity: 0.6;
}
.step-1.disabled:hover, .step-2.disabled:hover, .step-3.disabled:hover, .step-4.disabled:hover{
    color: #ececec;
    background-color: #a0a0a0;
    border-color: transparent;
    cursor: default;
}

.step-1:hover, .step-2:hover, .step-3:hover, .step-4:hover{
    /* color: grey;
    border-color: grey;
    background-color: transparent; */
    color: white;
    border-color: black;
    background: black;
}

.step-1.active, .step-2.active, .step-3.active, .step-4.active{
    color: white;
    border-color: black;
    background: black;
}

.step-1.active:hover, .step-2.active:hover, .step-3.active:hover, .step-4.active:hover{
    color: black;
    border-color: black;
    background: transparent;
}

/* .glaukom:hover, .diabet:hover{
    background: black;
    color: white;
} */


.pt-wrapper{
	position: relative;
	/* height: calc(100vh - 90px); */
	height: 100vh;
	overflow: hidden;
    font-family: 'Rubik', sans-serif;
    letter-spacing: 1;
    font-weight: 300;
    /* top: 90px; */
	/* height: 100%; */
    background: #e0e0e0;
}

.pt-right-side{
	float: right;
	position: relative;
	width: 100%;
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
}
.d-none{
	display:none;
}

.ripple-button{
    position: absolute;
    /* top: 0; */
    /* left: 0; */
    width: 40px;
    height: 40px;
    z-index: 1;
    background: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
    border: 3px solid black;
    cursor: pointer;
    transform: scale(0);
}
.ripple-button > svg{
    width: 18px;
    height: 18px;
    transition: all ease 0.3s;
}
.ripple-button > span{
    opacity: 0;
    position: absolute;
    top: -3px;
    left: -3px;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 100%;
    transition: opacity 0s, transform ease 0.6s;
}
.ripple-1{
    transform: scale3d(1.70, 1.70, 1);
}

.ripple-button::before, .ripple-button::after {
    opacity: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -4px;
    left: -4px;
    right: 0;
    bottom: 0;
    content: '';
    height: 100%;
    width: 100%;
    border: 4px solid rgba(0, 0, 0, 0.4);
    border-radius: 100%;
    animation-name: ripple;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
    z-index: -1;
}
.ripple-button::after{
    animation-delay: 0s;
}
.ripple-button::before{
    animation-delay: 0.6s;
}
.ripple-button:hover{
    transition: background ease 0.3s;
    transition-delay: 0.4s;
    background: transparent;
}
.ripple-button:hover::before, .ripple-button:hover::after{
    -webkit-animation: 0;
    -moz-animation:0;
    -o-animation:0;
    animation:0;
}
.ripple-button:hover .ripple-1{
    opacity: 1;
    transform: scale3d(1, 1, 1);
}
.ripple-button:hover svg path{
    transition-delay: 0.4s;
    fill: #000000;
}

@keyframes ripple {
    from {
        opacity: 1;
        transform: scale3d(0.75, 0.75, 1);
    }
    to {
        opacity: 0;
        transform: scale3d(1.70, 1.70, 1);
    }
}

.annotation-diabet-s3-image-1, .annotation-diabet-s3-image-2, .annotation-diabet-s3-image-3, .annotation-diabet-s3-image-4{
    position: absolute;
    width: 35%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: .5em;
    font-size: 14px !important;
    line-height: 1.2;
    overflow: hidden;
    transition: opacity, height ease .5s;
}
.image-wrapper{
    padding: 20px;
    position: relative;
    height: -webkit-fill-available;
}
.image-wrapper span{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.image-wrapper span svg{
    width: 100%;
    height: 100%;
}

/* .image-wrapper .image-holder{
    width: 100%;
    height: 100%;
} */

.image-wrapper .image-holder img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity ease 0.3s;
}

.image-wrapper .image-holder.visible img{
    transition-delay: 0.3s;
    opacity: 1;
}


.annotation-glaukom-s1, .annotation-glaukom-s2, .annotation-glaukom-s3, .annotation-glaukom-s4,
.annotation-diabet-s1, .annotation-diabet-s2, .annotation-diabet-s3, .annotation-diabet-s4,
.annotation-dryeye-s1, .annotation-dryeye-s2, .annotation-dryeye-s3, .annotation-dryeye-s4{
    position: absolute;
    /* bottom: 0;
    left: 0; */
    width: 350px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: .5em;
    font-size: 14px !important;
    line-height: 1.2;
    overflow: hidden;
    transition: opacity, height ease .5s;
}

.annotation-glaukom-s1 h4, .annotation-glaukom-s2 h4, .annotation-glaukom-s3 h4, .annotation-glaukom-s4 h4,
.annotation-diabet-s1 h4, .annotation-diabet-s2 h4, .annotation-diabet-s3 h4, .annotation-diabet-s4 h4,
.annotation-dryeye-s1 h4, .annotation-dryeye-s2 h4, .annotation-dryeye-s3 h4, .annotation-dryeye-s4 h4{
    font-size: 14px !important;
}

.wrapper{
    padding: 20px;
    position: relative;
    max-width: 350px;
    height: 100%;
}

.wrapper > h2{
    margin-bottom: 10px;
}
.wrapper > h4{
    margin-bottom: 10px;
}
.wrapper > p{
    margin: 5px 0;
}
.wrapper > p > a{
    color: white;
}

.wrapper span{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.wrapper span svg{
    width: 100%;
    height: 100%;
}

.wrapper .image-holder{
    /* position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px); */
    /* object-fit: contain; */
    width: 100%;
    height: 100%;
}

.wrapper .image-holder img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.indicator-image{
    position: absolute;
    width: 60px;
    height: 60px;
    overflow: hidden;
    bottom: 20px;
    right: 25px;
    z-index: 1;
}
.indicator-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zoom-in{
    position: absolute;
    width: 30px;
    height: 30px;
    overflow: hidden;
    bottom: 60px;
    right: 90px;
    z-index: 1;
    cursor: pointer;
}
.zoom-in img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: all ease 0.3s;
}
.zoom-in .filled{
    opacity: 0;
}
.zoom-in:hover .outline{
    opacity: 0;
}
.zoom-in:hover .filled{
    opacity: 1;
}

.zoom-out{
    position: absolute;
    width: 30px;
    height: 30px;
    overflow: hidden;
    bottom: 25px;
    right: 90px;
    z-index: 1;
    cursor: pointer;
}
.zoom-out img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: all ease 0.3s;
}
.zoom-out .filled{
    opacity: 0;
}
.zoom-out:hover .outline{
    opacity: 0;
}
.zoom-out:hover .filled{
    opacity: 1;
}
@keyframes jumpInfinite {
    0% {
        bottom: 10px;
    }
    25% {
        bottom: 20px;
    }
    50% {
        bottom: 10px;
    }
    100% {
        bottom: 10px;
    }
}


.arrow-down{
    position: absolute;
    width: 40px;
    height: 40px;
    overflow: hidden;
    bottom: 10px;
    left: 50%;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
    transition: all ease 0.3s;
    transform: translateX(-50%);
}

.arrow-down.visible{
    opacity: 1;
    animation: jumpInfinite 2.5s infinite ease;
    animation-iteration-count:4;
}

.arrow-down svg {
    width: 100%;
    height: 100%;
}

.arrow-down svg path {
    fill: gray;
    transition: all ease 0.3s;
}

.arrow-down:hover svg path {
    fill: black;
}



.label {
    font-family: 'Space Grotesk', sans-serif;
    color: black;
    margin-left: 25px;
    font-size: 20px;
}


#pt-page-wrapper{
    height: 70vh;
    width: 60vw;
    max-width: 60vw;
    max-height: 70vh;
    overflow: hidden;
    position: absolute;
    right: 0;
    bottom: 0;
}

.pt-page{
    width: 100%;
    position: relative;
    height: 100%;
}
#model-holder-simple{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#pt-page-wrapper:focus-visible {
    outline: none;
}

.eye-label {
    display: inline-block;
    position: fixed;
    padding: 4px 20px;
    background-color: gray;
    color: white;
    opacity: 0;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Rubik', sans-serif;
    z-index: 2;
}
