@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Light.ttf") format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-ExtraBold.ttf") format("truetype");
  font-weight: 800;
}

html {
  font-family: "Inter", sans-serif;
}
body {
  scrollbar-width: thin;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
body::-webkit-scrollbar-track {
  background: gainsboro;
}
body::-webkit-scrollbar-thumb {
  background: #007b8b;
  border-radius: 8px;
  border: 1px solid gainsboro;
}
body::-webkit-scrollbar-thumb:hover {
  background: #00626e;
}
#content {
  padding-top: 150px;
}
header {
  border-bottom: 1px solid #e5e5e5;
  min-height: 120px;
}
header,
header img,
header button {
  transition: 0.7s all cubic-bezier(0.165, 0.84, 0.44, 1);
}
header.little_header {
  opacity: 0.8;
  min-height: 80px;
}
header.little_header img {
  width: 80px;
  transform: scale(1.3);
}
header.little_header button span {
  display: none;
}
#toggle_sidenav {
  max-height: 56px;
  margin-top: 3px;
}
.little_header #toggle_sidenav {
  top: 1.5rem;
  height: 40px;
  width: 40px;
  padding: 0;
  margin-top: 0;
}
strong {
  font-weight: 900;
}
/* STICKY PARALLAX */
.shadow_inset {
  box-shadow: inset 0 0 12px 0 rgb(0 0 0 / 0.1);
}
#lista_tipi_ril .tab_in {
  animation: slide-in-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
#lista_tipi_ril .tab_out {
  animation: slide-out-right 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
.sensori_conf {
  width: 30%;
  margin: 1rem 1.66667%;
}
.animation_hover_border {
  transition: 0.5s ease-in-out;
}
.animation_hover_border:hover {
  transition-delay: 1s !important;
  transform: scale(1.1) !important;
}
.animation_hover_border:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top: 4px solid #015d68;
  border-bottom: 4px solid #015d68;
  box-sizing: border-box;
  border-radius: 0.6rem;
  transition: 0.5s;
  transform: scaleX(0);
}

.animation_hover_border:hover:before {
  transform: scaleX(1);
}

.animation_hover_border:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-right: 4px solid #015d68;
  border-left: 4px solid #015d68;
  box-sizing: border-box;
  border-radius: 0.6rem;
  transition: 0.5s;
  transform: scaleY(0);
}

.animation_hover_border:hover:after {
  transform: scaleY(1);
  transition-delay: 0.5s;
}
.gradient--image {
  background-image: linear-gradient(transparent, rgba(5, 0, 32, 0.5)),
    url("../images/ecoguardian_info.png");
  background-position: right;
}
button:hover,
a:not([no_hover_animation]):hover {
  transform: scale(1.1);
}
button:hover {
  box-shadow: 0 0 0 3px #007b8b, 2px;
}
footer {
  background: linear-gradient(-45deg, #007988, #006976, #005a66);
  background-size: 200% 100%;
  animation: gradient 5s ease infinite;
}
.animated_bg_teal {
  background: linear-gradient(-45deg, #007988, #006976);
  background-size: 200% 100%;
  animation: gradient 3s ease infinite;
}
.terra_pulita {
  top: -50px;
  left: -50px;
}
.terra_inquinata {
  bottom: -30px;
  right: -50px;
}
#dropdown_small {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.4s all ease-in-out;
}
#dropdown_small.active_dropdown {
  opacity: 1;
  transform: scaleY(1);
}

#burger_icon {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleY(0.7) scaleX(0.6);
  position: absolute;
  width: 50px;
}

#burger_icon:before,
#burger_icon:after,
#burger_icon div {
  background: #fff;
  content: "";
  display: block;
  height: 6px;
  border-radius: 3px;
  margin: 7px 0;
  transition: 0.5s;
}
.sidenav_active #burger_icon:before {
  transform: translateY(12px) rotate(135deg);
}
.sidenav_active #burger_icon:after {
  transform: translateY(-12px) rotate(-135deg);
}
.sidenav_active #burger_icon div {
  transform: scale(0);
}
#sidenav_full_page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ebebeb;
  transform: translateY(-100%);
  opacity: 0.5;
  transform-origin: top left;
  transition: 0.7s all ease-in-out;
}
#sidenav_full_page.active_sidenav {
  transform: translateY(0);
  opacity: 1;
}

#sidenav_full_page a {
  position: relative;
  display: block;
  text-align: center;
  margin: 0;
  padding: 5px 10px;
  text-transform: uppercase;
  transition: 0.5s;
  font-size: 60px;
  font-weight: 900;
  text-decoration: none;
}

.border_animation_link {
  transition: 1s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.border_animation_link:hover {
  background-color: #007b8b;
  border-radius: 3px;
  color: white;
}

.border_animation_link:before {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 12px;
  height: 12px;
  border: 3px solid #006875;
  border-width: 0 0 3px 3px;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.3s;
}

.border_animation_link:hover:before {
  opacity: 1;
  bottom: -8px;
  left: -8px;
}

.border_animation_link:after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 12px;
  height: 12px;
  border: 3px solid #006875;
  border-width: 3px 3px 0 0;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.3s;
}

.border_animation_link:hover:after {
  opacity: 1;
  top: -8px;
  right: -8px;
}

.text-color-ecog {
  color:#007b8b
}
/* MEDIA QUERY */
@media screen and (max-width: 1023px) {
  html {
    overflow-x: hidden;
  }
  .sensori_conf {
    width: 46%;
    margin: 1rem 2%;
  }
}
@media screen and (max-width: 600px) {
  .sensori_conf {
    width: 90%;
    margin: 1rem 5%;
  }
}
@media screen and (max-width: 767px) {
  #sidenav_full_page a {
    font-size: 50px;
  }
  .terra_pulita {
    left: -25px;
  }
  .terra_inquinata {
    right: -25px;
  }
  header.little_header button {
    opacity: 1;
    top: 1.5rem;
  }
  #dropdown_small {
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
  }
}
@media screen and (max-width: 500px) {
  #sidenav_full_page a {
    font-size: 40px;
  }
}

/* ANIMATIONS */
@keyframes slide-in-left {
  0% {
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-out-right {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(1000px);
    opacity: 0;
  }
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


