@charset "UTF-8";
@font-face {
  font-family: "Segoe UI Light";
  src: url(../fonts/light.ttf); }
body {
  font-family: "Segoe UI Light", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #080808; }

.logo {
  position: absolute;
  top: 5px;
  left: 10px;
  width: 120px;
  height: 30px; }

.gif {
  border-radius: 5px; }

.social-icons {
  height: 30px; }

#facebook, #twitter {
  width: 30px;
  height: 30px; }

#facebook {
  position: absolute;
  top: 5px;
  right: 50px; }

#twitter {
  position: absolute;
  top: 5px;
  right: 10px; }

#text {
  grid-row: 1/2;
  grid-column: 1/-1;
  color: white;
  margin-bottom: 50px; }

/* ---------  Текст --------- */
h1, h3, p, li {
  color: white; }

#header {
  min-height: 100vh;
  height: max-content;
  padding: 30px 0;
  background-image: url(../img/GIFF.gif);
  background-size: cover;
  margin: 0 !important; }

#title {
  text-transform: uppercase;
  padding-top: 40px;
  margin-left: 40px;
  margin-bottom: 15px;
  opacity: 0.8;
  line-height: 1;
  letter-spacing: 6px;
  color: white;
  font-weight: 300; }

#subtitle {
  margin-left: 40px;
  line-height: 1.5;
  width: 90%;
  max-width: 500px;
  opacity: 0.8;
  text-align: left;
  font-size: 30px;
  letter-spacing: 2px;
  color: white; }
  @media (max-width: 812px) {
    #subtitle {
      font-size: 22px;
      width: 80%; } }

#credits {
  margin-left: 40px;
  color: #c9defa;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 100px;
  text-align: right; }

p.text, li.text {
  color: white; }

#runIntro {
  width: auto;
  z-index: 10;
  height: 66px; }

h1 {
  font-family: 'Prata', serif;
  font-size: 60pt;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0; }
  @media (max-width: 812px) {
    h1 {
      font-size: 45pt; } }

h3 {
  font-family: "Segoe UI Light", sans-serif; }

#text-description {
  width: 50%;
  color: #ABDAFF;
  margin: 100px auto; }
  @media (max-width: 812px) {
    #text-description {
      width: 90%; } }

p, li {
  line-height: 1.6;
  font-size: 18px; }

/* -----  Візуалізація ----- */
div#donors {
  margin-top: 100px;
  background-color: #ffffff;
  grid-column: 1/3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center; }

div#donors {
  margin-top: 100px;
  background-color: #ffffff;
  grid-column: 1/3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around; }

#loader {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -40%); }

#wait {
  margin: 0 auto;
  font-size: 15px;
  letter-spacing: 5px;
  color: white;
  text-align: center; }

#wait span {
  font-size: 25px;
  animation-name: blink;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-fill-mode: both; }

#wait span:nth-child(2) {
  animation-delay: .2s; }

#wait span:nth-child(3) {
  animation-delay: .4s; }

@keyframes blink {
  0% {
    opacity: .2; }
  20% {
    opacity: 1; }
  100% {
    opacity: .2; } }
#main-viz {
  max-height: 80vh;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 310px auto; }
  @media (max-width: 812px) and (orientation: portrait) {
    #main-viz {
      display: block;
      height: max-content;
      max-height: max-content; } }

#button-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center; }

#zoom-button {
  cursor: pointer;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  margin-left: 10px;
  background-size: cover; }

.zoom-in {
  background: url(../img/zoom-in.png); }

.zoom-out {
  background: url(../img/zoom-out.png); }

.switch, #show-english {
  outline: none;
  margin: 10px 0;
  height: auto;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  width: 310px;
  letter-spacing: 2px;
  font-size: 18px;
  background-color: transparent;
  color: #199eb1;
  border-width: 1px; }

.switch:hover, #show-english:hover {
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer; }

button.button {
  background-color: transparent;
  width: 96%;
  padding: 10px;
  border: 1px solid grey;
  margin-bottom: 10px;
  color: white; }

button.button:hover {
  background-color: #c9defa;
  cursor: pointer;
  color: black; }

button.button:active {
  background-color: #c9defa;
  border: 1px solid grey;
  color: black; }

button.button:focus {
  background-color: #c9defa;
  border: 1px solid grey;
  color: black; }

p.button {
  margin: 0;
  padding: 0;
  font-size: 12px; }

#switch-to-map {
  display: none; }

#body {
  position: relative;
  width: 100%;
  grid-column: 2/3; }

canvas {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none; }

svg {
  z-index: 200; }

svg#flowers {
  z-index: 5;
  position: absolute; }

#ukraine {
  fill: #161616;
  stroke-width: 0.05px;
  stroke: #080808; }

@-moz-document url-prefix() {
  #ukraine {
    fill: #161616;
    stroke-width: 0.05px;
    stroke: black; } }
svg#labels {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  pointer-events: none;
  z-index: 8; }

.map-cities-labels {
  letter-spacing: 1px;
  font-size: 2.5px;
  fill: white;
  opacity: 0.2; }

#allrivers {
  grid-column: 1/2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
  height: 100%;
  position: relative; }
  @media (max-width: 812px) and (orientation: portrait) {
    #allrivers {
      display: flex;
      flex-wrap: wrap;
      height: max-content; } }

.riverCont {
  border: 1px solid #161616;
  padding: 5px;
  cursor: pointer;
  pointer-events: all; }
  .riverCont img {
    width: 100%; }
    @media (max-width: 812px) and (orientation: portrait) {
      .riverCont img {
        display: none; } }
  .riverCont h5 {
    pointer-events: none; }

.riverCont:hover {
  border: 1px solid grey; }

.riverCont.active {
  border: 2px solid white; }

#regions {
  margin-top: 10px;
  margin-bottom: 10px;
  grid-column: 1/2;
  grid-row: 3/4;
  color: white;
  height: calc(100vh - 100px);
  overflow: scroll;
  display: none;
  width: 100%;
  position: relative; }
  @media (min-width: 200px) and (max-width: 699px) {
    #regions {
      margin-left: 10px; } }

#contaminants {
  grid-row: 3/4;
  grid-column: 2/3;
  display: none;
  height: calc(100vh - 70px);
  overflow-y: auto; }

#contaminants > p {
  width: 80%;
  margin-left: 10%;
  margin-top: 0;
  padding-top: 0; }

table {
  margin: 10px 10%;
  width: 80%; }

#contaminants > table > tbody > tr > td:nth-child(2) {
  width: 60%; }

#contaminants > table > thead > tr > th {
  text-align: left;
  padding-bottom: 20px; }

td, th {
  font-size: 16px;
  color: white;
  line-height: 2; }

td {
  padding-bottom: 10px; }

h5 {
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
  color: #ffffff;
  letter-spacing: 5px; }
  @media (max-width: 812px) and (orientation: portrait) {
    h5 {
      margin: 5px auto; } }

.captions {
  font-style: italic;
  text-align: center;
  color: white; }

/*----- Modal Window -----*/
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  border-radius: 50px;
  height: max-content;
  background-color: #161616;
  background-color: rgba(0, 0, 0, 0.4); }

.modal-content {
  background-color: rgba(0, 0, 0, 0.95);
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 1000px;
  height: 100%;
  border-radius: 30px; }

.close {
  color: #aaaaaa;
  float: right;
  font-size: 35px;
  font-weight: bold;
  margin-left: 10px; }

.close:hover,
.close:focus {
  color: #949494;
  text-decoration: none;
  cursor: pointer; }

#petalsData, #modalKeysHeadings {
  color: white;
  font-size: 18px; }

#modalKeysHeadings {
  display: inline-block; }

.modalKeysHeading {
  font-size: 14px; }

#bigFlowerIntro {
  text-align: center;
  font-size: 14px;
  color: white;
  font-style: italic;
  margin-right: 10px; }

.line {
  fill: none;
  stroke: url(#line-gradient);
  stroke-width: 1px; }

@-moz-document url-prefix() {
  .line {
    stroke-width: 2.5px; } }
#myModalGrid {
  display: grid;
  grid-template-columns: 1fr 1.5fr; }
  @media (max-width: 812px) and (orientation: portrait) {
    #myModalGrid {
      display: block; } }

#big-flower {
  max-width: 550px;
  width: 100%;
  margin: auto; }
  @media (max-width: 812px) and (orientation: portrait) {
    #big-flower {
      width: 80%;
      max-width: 400px; } }

div.tooltip {
  position: absolute;
  min-width: 100px;
  max-width: 200px;
  height: auto;
  padding: 2px;
  font: 14px sans-serif;
  background: white;
  border: 0;
  pointer-events: none;
  z-index: 6; }

div.flower-hint {
  position: absolute;
  min-width: 100px;
  max-width: 200px;
  height: auto;
  padding: 2px;
  font-size: 14px;
  font-weight: bold;
  background: white;
  border: 0;
  pointer-events: none;
  z-index: 10; }

div.chart-hint {
  font-family: "Segoe UI Light", sans-serif;
  position: absolute;
  min-width: 100px;
  max-width: 400px;
  height: auto;
  padding: 2px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3;
  background: #181818;
  color: white;
  border: 0;
  z-index: 10; }

.hint {
  position: absolute;
  border-radius: 1px;
  padding: 6px;
  opacity: 0.9;
  font-family: 'Proxima-Nova', sans-serif;
  font-size: 14px;
  top: 50%;
  left: 52%;
  max-width: 100px;
  max-height: 100px;
  color: #ffffff;
  pointer-events: none; }

#chartToRemove {
  margin-bottom: 30px; }

#line-text {
  font-size: 12px;
  font-style: italic;
  fill: white !important;
  text-align: right; }

.axis line {
  fill: none;
  stroke: #ccc;
  stroke-dasharray: 2px 3px;
  shape-rendering: crispEdges; }

path.domain {
  display: none; }

#chartToRemove > g > g.x.axis > g.tick > text {
  font-size: 12px;
  fill: white !important; }

#chartToRemove > g > g.y.axis > g.tick > text {
  fill: white !important;
  font-size: 12px; }

g.tick {
  stroke-width: 0.2px; }

@-moz-document url-prefix() {
  g.tick {
    stroke-width: 1px; } }
/* end of modal*/
.river {
  z-index: 1; }

.river:not(.dnister) {
  display: none; }

.petal {
  cursor: pointer;
  z-index: 1;
  display: none;
  stroke: #070707;
  stroke-width: 0.1px; }

/* intro js*/
.introjs-helperLayer {
  background-color: rgba(59, 56, 56, 0.05);
  border: 1px solid white; }

.introjs-tooltip {
  background-color: #3b3838;
  text-align: left;
  color: white;
  min-width: 200px;
  max-width: 300px;
  border-radius: 3px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  -webkit-transition: opacity .1s ease-out;
  -moz-transition: opacity .1s ease-out;
  -ms-transition: opacity .1s ease-out;
  -o-transition: opacity .1s ease-out;
  transition: opacity .1s ease-out; }

.introjs-donebutton {
  color: #82bcf4; }

.introjs-prevbutton {
  color: #a1a1a1; }

#texturePetals {
  width: 25px;
  height: 13px;
  margin: 10px 0 0 10px !important;
  border: none;
  opacity: 0.7; }

#english {
  display: none; }

#show-english {
  width: max-content;
  max-width: 96%;
  cursor: pointer;
  margin: 30px auto;
  font-size: 16px; }

/*# sourceMappingURL=styles.css.map */
