@import url('https://fonts.googleapis.com/css2?family=Anek+Tamil:wght@300&display=swap');



/* Basic styling */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-repeat: no-repeat;
  background: url(/img/fondo.webp) no-repeat center center fixed;
  background-size: 100% 100%;
  font-family: sans-serif;
  font-size: 16px;
}
nav {
  background: rgba(17, 17, 17, 0.212);
  padding: 0 15px;
}
a {
  color: white;
  text-decoration: none;
}
.menu,
.submenu {
  list-style-type: none;
}
.logo {
  font-size: 20px;
  padding: 7.5px 10px 7.5px 0;
}
.item {
  padding: 10px;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after {
  color: #ccc;
}


/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.menu li a {
  display: block;
  padding: 15px 5px;
}
.menu li.subitem a {
  padding: 15px;
}
.toggle {
  order: 1;
  font-size: 20px;
}
.item.button {
  order: 2;
}
.item {
  order: 3;
  width: 100%;
  text-align: center;
  display: none;
}
.active .item {
  display: block;
}
.button.secondary {
  /* divider between buttons and menu links */
  border-bottom: 1px #444 solid;
}
/* Submenu up from mobile screens */
.submenu {
  display: none;
}
.submenu-active .submenu {
  display: block;
}
.has-submenu i {
  font-size: 12px;
}
.has-submenu > a::after {
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  content: "\f078";
  color: white;
  padding-left: 5px;
}
.subitem a {
  padding: 10px 15px;
}
.submenu-active {
  background-color: rgba(17, 17, 17, 0.212);
  border-radius: 3px;
}

/* Tablet menu */
@media all and (min-width: 700px) {
  .menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
  }
  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  /* Button up from tablet screen */
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button a {
    background: #0080ff;
    border: 1px royalblue solid;
  }
  .button.secondary {
    border: 0;
  }
  .button.secondary a {
    background: transparent;
    border: 1px #0080ff solid;
  }
  .button a:hover {
    text-decoration: none;
  }
  .button:not(.secondary) a:hover {
    background: royalblue;
    border-color: darkblue;
  }
}
/* Desktop menu */
@media all and (min-width: 960px) {
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  }
  .logo {
    order: 0;
  }
  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }
  .button {
    order: 2;
  }
  .submenu-active .submenu {
    z-index: 1;
    display: block;
    position: absolute;
    left: 0;
    top: 68px;
    background: rgba(17, 17, 17, 0.596);
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 0;
  }
}


.humedad{
  background-color: rgba(34, 34, 51, 0.296);
  display: flex;
  width: 98%;
  height: 50vh;
  margin: 30px auto;
}

.temperatura{
  background-color: rgba(34, 34, 51, 0.296);
  display: flex;
  width: 98%;
  height: 50vh;
  margin: 30px auto;
}

.presion{
  background-color: rgba(34, 34, 51, 0.296);
  display: flex;
  width: 98%;
  height: 50vh;
  margin: 30px auto;
}

.puntoderocio{
  background-color: rgba(34, 34, 51, 0.296);
  display: flex;
  width: 98%;
  height: 50vh;
  margin: 30px auto;
}

.st{
  background-color: rgba(34, 34, 51, 0.296);
  display: flex;
  width: 98%;
  height: 50vh;
  margin: 30px auto;
}

.bn{
  background-color: rgba(34, 34, 51, 0.296);
  display: flex;
  width: 98%;
  height: 50vh;
  margin: 30px auto;
}

.bateria{
  background-color: rgba(34, 34, 51, 0.296);
  display: flex;
  width: 98%;
  height: 50vh;
  margin: 30px auto;
}


  
  /* HIGHCHARTS */
  /* Based on https://coolors.co/cae7b9-f3de8a-808A9F-eb9486-e1dee3 */

.highcharts-figure, .highcharts-data-table table {
    min-width: 310px;
    max-width: 800px;
    margin: 1em auto;
}

.highcharts-data-table table {
	font-family: Verdana, sans-serif;
	border-collapse: collapse;
	margin: 10px auto;
	text-align: center;
	width: 100%;
	max-width: 500px;
}

  .highcharts-color-0 {
    fill: #f00000;
  }
  
  .highcharts-background {
    fill: #223;
  }
  
  
  /* LABELS */
  .highcharts-title {
    fill: #fff;
    font-weight: 300;
  }
  
  .highcharts-legend-item text {
    fill: #ccc;
    font-weight: 300;
  }
  
  .highcharts-legend-item:hover text {
    fill: #fff;
    font-weight: 400;
  }
  
  .highcharts-axis text {
    fill: #aaa;
  }
  
  .highcharts-axis-labels text {
    fill: #ccc;
  }
  
  
  /* AXES & GRID */
  .highcharts-xaxis path {
    stroke: rgba(223, 0, 0, 0.600);
  }
  
  .highcharts-grid path {
    stroke: rgba(36, 192, 15, 0.600);
    stroke-dasharray: 1 1;
  }
  
  
  /* SERIES */
  .highcharts-graph {
    stroke-width: 1.5px;
  }


/*footer*/

.footer {
  margin-top: auto;
  text-align: center;
  display: flex;
  flex-flow: row wrap;
  padding: 17px 30px 20px 30px;
  color: #2f2f2f;
  background-color: rgba(17, 17, 17, 0.5);
  font-weight: bold;
}

.footer > * {
  flex:  1 100%;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  color: #999;
}
  
.legal__links {
  display: flex;
  align-items: center;
}

.sol {
  color: #fffb00;
}

@media screen and (min-width: 450px) {
  .legal .legal__links {
    margin-left: auto;
  }
}

@media screen and (min-width: 40.375em) {
  .footer__nav > * {
    flex: 1;
  }
  
  .nav__item--extra {
    flex-grow: 2;
  }
  
  .footer__addr {
    flex: 1 0px;
  }
  
  .footer__nav {
    flex: 2 0px;
  }
}
