html:has(.embeded) {
  height: 100%;
}

body,
* {
  padding: 0;
  margin: 0;
  font-family: var(--font-family);
}

.embeded #map {
  background: #000;
}

#map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* .cwd-container{
    padding: 0 !important;
} */
.draggable {
  cursor: move;
}

.glow-on-hover:hover {
  filter: url(#whiteGlow);
  cursor: pointer;
}

.currentView {
  filter: url(#whiteGlow);
}

.currentView #background {
  fill: turquoise;
}

.currentGauge {
  filter: url(#gaugeGlow);
}

#tooltip {
  background: white;
  border-radius: 30px;
  padding: 15px;
  /* width: 350px; */
  width: 18vw;
  hyphens: auto;
  font-family: var(--font-family);
  z-index: 1;
}

#tooltip p {
  padding-top: 5px;
  line-height: 20px;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.3rem;
  margin-bottom: 0;
}
#tooltip h2 {
  font-size: 32px;
  font-size: 1.6rem;
}

#tooltip span {
  float: right;
  cursor: pointer;
  font-weight: bold;
  top: 1vh;
  right: 0.5vw;
  position: absolute;
}

#characterText {
  padding: 15px;
  hyphens: auto;
  font-family: Biko, inherit;
  position: absolute;
  display: block;
  background: white;
  border-radius: 30px;
}

#characterTriangle {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

#characterText p {
  font-size: 0.85em;
  font-size: 1rem;
}
/* scale text size when view is in embed & aligned the content in center in both  */
.embeded{
  font-size: 1vw;
  height: 100%;
  display: flex;
  align-items: center;
}
.embeded #characterText {  
  padding: 1vw;
  border-radius: 1vw;
}
.embeded #characterText p {  
  font-size: 1.4vw;
}
.embeded #tooltip {
  border-radius: 1vw;
  padding: 1vw;
}
.embeded #tooltip p {
  padding-top: 0.5vw;
  font-size: 1.1vw;
  line-height: 1.5vw;
}
.embeded #tooltip h2{
  font-size: 1.5vw;
  margin-bottom: 0.5vw;
}
/* end  */
@font-face {
  font-family: Biko;
  src: url("../images/fonts/Biko_Regular.otf") format("opentype");
}
@font-face {
  font-family: Biko;
  src: url("../images/fonts/Biko_Bold.otf") format("opentype");
  font-weight: bold;
}

.flowable path:last-of-type,
.flowable line:last-of-type {
  animation-name: water;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: reverse;

  stroke-dasharray: 0 120;
  stroke-linecap: round;

  display: none;
}

.flowable.flow-active path:last-of-type,
.flowable.flow-active line:last-of-type {
  display: inherit;
}

@keyframes water {
  to {
    stroke-dashoffset: 240;
  }
}

.electron {
  display: none;
}

.electron.electron-active {
  display: inherit;
}


@media (min-height: 576px) {
    :root {
        --size-divisor: 2;
    }
}

@media (min-height: 768px) {
    :root {
        --size-divisor: 1.5;
    }
}

@media (min-height: 992px) {
    :root {
        --size-divisor: 1;
    }
}

@media (min-height: 1200px) {
    :root {
        --size-divisor: .67;
    }
}