﻿:root {
  --filters-blu-color: #0053A0;
  --filters-rosso-color: #E30303;
  --filters-verde-color: #0FA20F;
  --filters-giallo-color: #FFCE00;
  --filters-grigio-color: #6F7070;
  --filters-grigiochiaro-color: #F0F0F0;
}

body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #393E41;
  text-align: left;
  background-color: #73a9c9;
}

.bg-login-image {
  background: url("../images/Logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 550px;
}

.btn-primary {
  color: white;
  background-color: #73a9c9;
  border-color: #73a9c9;
}

.btn-primary:hover {
  color: white;
  background-color: #73a9c9;
  border-color: #73a9c9;
}

.header {
  position: relative;
  text-align: center;
  background: linear-gradient(60deg, #73a9c9 0%, #D2D2D4 50%, #73a9c9 100%);
  color: #393E41;
}

.flex {
  /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content {
  position: relative;
  height: 35vh;
  text-align: center;
  background-color: white;
  color: black;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
  margin-top: 100px;
}

/* Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }

  .content {
    height: 30vh;
  }

  h1 {
    font-size: 24px;
  }
}
