@font-face {
  font-family: "Intro";
  src: url("fonts/Intro/IntroRegular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "IntroBold";
  src: url("fonts/Intro/IntroBold.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "IntroSemiBold";
  src: url("fonts/Intro/IntroSemiBold.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "IntroRegularCaps";
  src: url("fonts/Intro/IntroRegularCaps.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-size: 3rem;
  font-family: Intro, sans-serif;
  color: #000000;
  margin: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(img/bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.top {
  display: flex;
  flex-direction: row;
  top: 23%;
  position: relative;
  padding-left: 16%;
}

.info {
  display: flex;
  flex-direction: column;
  font-size: 2.5rem;
  font-weight: bold;
}
.date {
  font-family: IntroSemiBold, sans-serif;
  color: #000000;
}
.city {
  font-weight: 300;
  color: #bf2a20;
  font-family: IntroBold, sans-serif;
}
.container {
  height: 100%;
  width: 100%;
  display: flex;
  position: fixed;
  align-items: center;
}
.grid-container {
  display: flex;
  padding-top: 8%;
  padding-left: 6%;
}
.child {
  flex-direction: column;
  display: flex;
  padding: 0% 5% 0% 5%;
  width: 650px;
  height: 400px;
}

.title-table {
  background-color: #000000;
  color: white;
  width: 650px;
  margin-top: 5%;
  padding: 1%;
  vertical-align: middle;
  text-align: center;
}

.subtitle-table {
  font-family: IntroRegularCaps, sans-serif;
  padding-top: 5%;
  font-size: 2rem;
}

.pistes-bulle {
  padding-top: 2%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  color: white;
}

.circle {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle-blue {
  background: #00ccda;
}

.circle-green {
  background: #00c32d;
}
.circle-red {
  background: red;
}
.circle-black {
  background: #000000;
}

.td-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.data-meter {
  font-size: 5.5rem;
}

.info-comp {
  color: #797979;
}

.direction-vent {
  padding-left: 50px;
  width: 50px;
  height: 50px;
}
.error-info {
  font-size: 1rem;
}
.diagonal-direction {
  transform: scaleY(-1);
}

@media (max-width: 1366px) {
  body {
    font-size: 2rem;
  }
  .info {
    display: flex;
    flex-direction: column;
    font-size: 1.7rem;
    font-weight: bold;
  }
  .grid-container {
    padding-top: 15%;
    padding-left: 3%;
  }
  .title-table {
    width: 450px;
    margin-top: 2%;
    padding: 1%;
  }
  .subtitle-table {
    padding-top: 5%;
    font-size: 1.5rem;
  }
  .circle {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .data-meter {
    font-size: 3rem;
  }

  .direction-vent {
    padding-left: 50px;
    width: 35px;
    height: 35px;
  }
  .child {
    padding: 0% 3% 0% 8%;
    width: 450px;
    height: 300px;
  }
}
