body {
	font-family: Helvetica;
  animation-name: flash;
  animation-duration: 2s;
  animation-timing-function: ease-in;
}

@keyframes flash {
  75%, 25%, 0% {
    opacity: 0;
  }
}

html {
	scroll-behavior: smooth;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 157px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top: 10px;
  display: block;
  top: -500px;
  transition: all 1.5s;
}

.secondo {
  margin-top: 0.1px;
}

.dropdown-content a {
  color: black;
  padding: 16px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover:not(.active) {
  background-color: #e5e5e5;
  color: black;
}

.dropdown:hover:not(.active) .dropdown-content {
  display: block;
  top: 73px; 
}

.navbar {
	font-size: 20px;
}

ul {
  list-style-type: none;
  padding: 0;
  overflow: hidden;
  background-color: white;
  width: 100%;
  margin-top: -20px;
  padding-bottom: 20px;
  padding-top: 20px;
}

li {
  float: left;
  margin-top: 20px;
  margin-right: 10px;
}

li a {
  display: block;
  color: black;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  font-size: 20px;
  margin-top: -10px;
  transition: background-color 1s, color 2s;
}

li a:hover:not(.active), .dropdown:hover:not(.active)  .dropbtn  {
	background-color: red;
	color: white;
}

.titolo {
  font-size: 50px;
  background: white;
  width: 50%;
  text-align: right;
  padding-bottom: 25%;
  color: red;
  padding-top: 3.9%;
  transition: all 2s;
}

.titolo h1 {
  margin-top: 15%;
}

.titolo a {
  text-decoration: none;
  color: red;
  transition: all 2s;
}

.titolo:hover:not(.active) {
  background: red;
  color: white;
}

.titolo a:hover:not(.active) {
  color: white;
}

.titolodue {
  font-size: 50px;
  background: white;
  color: red;
  width: 50%;
  margin-left: 50%;
  margin-top: -49.2%;
  padding-top: 1%;
  padding-bottom: 10.4%;
}

.titolodue a {
  text-decoration: none;
  color: red;
  transition: all 2s;
}

.titolodue h1 {
  margin-top: 50%;
}

.titolodue:hover:not(.active), .titolodue a:hover:not(.active) {
  background: red;
  color: white;
}

.footer {
  font-family: Arial
  color: black;
  text-align: center;
  margin-top: 10%;
  padding: 20px;
}

.footer p {
  font-size: 15px;
}

.footer h1 {
  width: 75%;
  display: inline-block;
  font-size: 3px;
  background: red;
  margin-bottom: 25px;
}

.footer a {
  color: black;
  text-decoration: none;
}

.footer a:hover:not(.active) {
  text-decoration: underline;
}