/*
whitelike #f9ece3
red:      #d8636c
green     #859e80
yellow    #dec467
blue      #85aab2
grey      #aea9a5
orange    #ee8239
purple    #ab90a3

vivid:
grey      #5b5f60
blueish   #93b1af
yellow    #f9d780
orange    #d5674c
red       #7f4134

*/

body {
  font-family: 'Merriweather Sans', 'sans serif';
  font-weight: 300;
  background-color: #f9ece3;
  overflow-x: hidden;
}

#graph {
  height: 90vh;
  min-height: 650px;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.data-number {
  font-family: 'Ubuntu Mono', 'sans serif';
  font-weight: bold;
  color: #323232fa;
  font-size: 3.5rem;
  padding-top: 1rem;
  padding-left: 1rem;
  opacity: 1;
  transition: opacity 0.5s;
}

.warning-container {
  transition: opacity 0.5s;
  opacity: 0;
}

.visible {
  opacity: 1 !important;
}

.hidden {
    opacity: 0 !important;
}

.data-unit {
  font-family: 'Ubuntu Mono', 'sans serif';
  font-weight: bold;
  color: #d5674c;
  font-size: larger;
  padding-left: 1rem;
  margin-top: -15px;
}

.data-note {
  padding-left: 1rem;
  padding-right: 0.5rem;
  font-size: 0.8rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.update-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.data-border {
  border-bottom: 1px solid #0000000f;
  padding-top: 1rem;
}

.data-entry {
  border-radius: 6px;
  background-color: #fff6f0;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 6%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content {
  padding-top: 4rem;
}

@media (max-width: 576px) {
  .content {
    padding-top: 0rem;
  }
}

@media (min-width: 992px) {
  .content {
    padding-top: 8rem;
  }
}

.container {
  margin-bottom: 8rem;
}

.col-graph {
  width: 100%
}

@media (max-width: 1199.98px) {
  .container-graph {
    margin-left: 0;
    margin-right: 0;
    max-width: 100% !important;
  }
}

.wave {
  margin-bottom: 1rem; }
  .wave svg {
    width: 90px;
    height: 20px; }
  .wave path {
    stroke: #ccc;
    stroke-width: 2px;
    stroke-linecap: round;
    fill: none; }

footer {
	bottom: 0;
	left: 0;
	right: 0;
	height: 70px;
	height: 3rem;
	padding: 1rem 0;
  margin-top: 2rem;
	z-index: 1030;
  font-size: 0.8rem;
  font-weight: 200;
}

footer .wave {
  margin-bottom: 0rem;
}

footer .wave svg {
  width: 100%;
}

.footer {
  color: #ccc;
  padding: 1rem;
}

@media (min-width: 576px) {
  .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px 50px;
  }
}

@media (max-width: 575px) {
  .features-item {
    margin-top: 1rem;
  }
}

.features-item {
  position: relative;
}

.clickable-icon-container {
  cursor: pointer;
}

.update-row .icon {
  width: 2em;
  height: 2em;
  padding: 0.4em;
  /* margin-right: 1rem; */
}

.update-row .icon-container svg:first-child {
  margin-right: -0.7rem;
}

.update-row .icon-container svg:last-child {
  margin-right: 1rem;
}

.update-row .icon path {
  fill: #ee8239;
  -webkit-transition: all 0.3s ease-in-out;
}

.graph-item {
  background-color: #fff6f0;
    box-shadow: 0px 0px 15px rgb(0 0 0 / 5%)
}

.clickable-icon-container:hover .icon {
  border-radius: 6px;
  background-color: #f9ece3;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 6%);
}

@media (hover: none) {
    .icon-container:hover .icon {
        background-color: #ffffff00;
        box-shadow: none;
    }
}

.icon-container .loading {
 animation: rotate 4s infinite;
  transform-origin: 47.5% 49.7%;
  transform-box: fill-box;
}
@keyframes rotate{
   from{
      transform: rotate(0deg);}to{
      transform: rotate(1080deg);
   }
}

.loading-entry {
  border-radius: 6px;
  background-color: #fff6f0;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 6%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100vh - 8rem);
}

.loading-container {
  margin-bottom: 8rem;
}

.icon-loading-container {
  flex: 1 1 auto;
  display: flex;           /* establish flex container */
  flex-direction: column;  /* make main axis vertical */
  justify-content: center; /* center items vertically, in this case */
  align-items: center;     /* center items horizontally, in this case */
  background-size: cover;
  /* background-image: url('https://ecopedia.s3.eu-central-1.amazonaws.com/styles/colorbox-groot/sa/media/1/1591-master.jpg?itok=G_4_tHLR'); */
}

@media (max-width: 576px) {
  .loading-entry {
    height: calc(100vh - 10rem);
  }
}

@media (min-width: 992px) {
  .loading-entry {
    height: calc(100vh - 16rem);
  }
}

.icon-loading-container .icon {
  width: 20vh;
  height: 20vh;
}

.icon-loading-container .icon path {
  fill: #ee8239;
  -webkit-transition: all 0.3s ease-in-out;
}

.icon-loading-container .icon {
 animation: rotate 4s infinite;
  transform-origin: 46% 50%;
  transform-box: fill-box;
}

.blink {
    -webkit-animation: blink 4s infinite both;
            animation: blink 4s infinite both;
}

@-webkit-keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

.upside-down {
  transform: rotate(180deg);
}
