:root{
    --green : #b1cb06;
    --blue : #009de1;
    --yellow : #efb416;
}

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

#main-model{
    position: relative;
    height : 100vh;
    width : 100vw;
}

#canvas{
    position: absolute; 
    top: 0px; 
    left: 0px; 
    width: 100%; 
    height: 100%;
}

/* ZOOM LEVEL */
#zoomLevel{
    position: absolute;
    bottom : 0;
    right : 0;
    background-color: rgba(255,255,255,1);
    padding: 1rem;

    display: flex;
    flex-direction: column;
    gap : 1rem;
}

#zoomLevel a{
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

#zoomLevel a:hover, #zoomLevel a:focus{
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}


#zoomLevel a svg{
    height: 2rem;
}

#zoomLevel a:hover svg, #zoomLevel a:focus svg{
    fill : red;
}

#back{
    position: absolute;
    top : 0;
    left : 0;
    background-color: rgba(255,255,255,1);
    padding: 1rem;

    display: flex;
    flex-direction: column;
    gap : 1rem;
}

#back a{
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.tag{
    position: relative;
}

.tag h2{
    position: absolute;
    bottom : 150%;
    left : 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    text-align: center;
    font-size: 1rem;
    font-family: 'Ubuntu';
    font-weight: 700;
    color : #021c66;
    background-color: #fff;
    padding: .7rem 1rem;
    margin: 0;
    /*opacity : 0;*/
    white-space : nowrap;
    transition: .3s all ease;
}

.tag:hover h2, .tag:focus h2{
    opacity : 1;
}

.hotspot {
    position: relative;
    background-color: #FFF;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    opacity: 1;
    z-index: 998;
    display: inline-block;
    margin: 0 20px;
}
.hotspot:before, .hotspot:after {
    position: absolute;
}
.hotspot:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    top: 50%;
    left: 50%;
    border: 1px solid #FFF;
    /*transform-origin: 50%;*/
    transform : translate(-50%, -50%);
    transition: all 0.5s;
    -webkit-animation: ringPulse 2s infinite;
    animation: ringPulse 2s infinite;
}
.hotspot:after {
    background-color: #000;
}

.tag.active .hotspot{
    background-color: #7E0F2A;
}

.tag.active .hotspot:before {
    border: 1px solid #7E0F2A;
}

#stemi .hotspot{
    background-color: var(--green);
}

#stemi .hotspot:before{
    border: 1px solid var(--green);
}

#main-model #logo{
    position : absolute;
    top : 3rem;
    left: 50%;
    transform: translateX(-50%);
    max-width : 200px;
    z-index: 100;
}

#main-model #logo img{
    max-width : 100%;
}

#menu{
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

#menu ul{
    flex-direction: row;
}

@media screen and (max-width : 992px){
    #main-model #logo{
        top : 1.5rem;
        max-width : 150px;
    }
}

@media screen and (max-width : 575px){
    #main-model #logo{
        top : 1.5rem;
        max-width : 120px;
    }

    #weather-forecast #weather-icon{
        display: none;
    }

    #timer #seconds{
        display: none;
    }
}

@-webkit-keyframes ringPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
    }
    @keyframes ringPulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

/* Weather Forecast*/
#main-model #weather-forecast{
    position: absolute;
    top : 2rem;
    right : 2rem;
    display: flex;
    align-items: center;
    gap : 1rem;
    /*padding: 2rem;
    background-color : rgba(0,0,0,0.02);*/
    align-items: flex-start;
    z-index: 10;
}

#main-model #weather-forecast #weather-location{
    text-transform: uppercase;
    font-weight: 400;
    font-size : .7rem;
    margin-bottom: 0.2rem;
}

#main-model #weather-forecast #weather-icon{
    background-position: center;
}

#main-model #weather-forecast #weather-infos #weather-temperature{
    font-size: 3rem;
    font-weight: 600;
    color: #021c66;
    line-height: 1;
}

#main-model #weather-forecast #weather-infos #weather-status{
    text-transform: capitalize;
    font-weight: 300;
    font-size : .9rem;
}

@media screen and (max-width: 768px){

    #menu{
        bottom: 120px;
    }

    #main-model #pause-button{
        bottom: 120px;
    }

    #timer{
        font-size: 2rem;
        top : 1rem;
        left: 1rem;
    }

    #timer #seconds{
        font-size: 1rem;
    }

    #main-model #weather-forecast{
        top : 1rem;
        right: 1rem;
    }

    #main-model #weather-forecast #weather-location{
        font-size: .6rem;
    }

    #main-model #weather-forecast #weather-infos #weather-status{
        font-size: .8rem;
    }

    #main-model #weather-forecast #weather-infos #weather-temperature{
        font-size: 2rem;
    }

    #main-model #weather-forecast #weather-icon img{
        width : 70px;
    }

}