@keyframes pulse {
  0% {
    background-color: #FFFFFF;
  }
  /*50% {
    background-color: #252525;
  }
  75% {
    background-color: #F44336;
  }*/
  100% {
    background-color: #252525;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes navbar {
  0% {
    color: #ffffff;
  }
  100% {
    color: #F44336;
  }
}

@keyframes ZoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.25);
  }
}

@keyframes ZoomOut {
  0% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes InitFooter {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}

@keyframes NavbarIn {
  0% {
    transform: translateX(-100%);

  }
  100% {
    transform: translateX(0%);
  }
}

body {
  animation-name: pulse;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-delay: 200ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-play-state: running;

  font-family: Tahoma ;
  font-size: 16px;
  margin: auto;
  max-width: 1280px;
}

table {
  width: 100%;
  text-align: center;
}

td {
  padding: 10px;
}

img {
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

hr {
  animation-name: InitFooter;
  animation-duration: 6s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;

  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 0,5px solid white;
}

q:before {
  content: " '' ";
}

q:after {
  content: " '' ";
}

p {
  font-family: Tahoma ;
  font-size: 16px;
  margin: auto;
  max-width: 1280px;
  color: white;
}

.logo {
  width: 300px;
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.logo:hover{
  animation-name: rotate;
  animation-duration: 200ms;
  animation-timing-function: ease;
  animation-direction: alternate;
  animation-iteration-count: 1;
  animation-fill-mode: backwards;
}

.slogan {
  color: #ffffff;
  text-align: center;
}

.author {
  text-align: center;
  font-style: italic;
}

.navbar {
  animation-name: NavbarIn;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-play-state: running;

  overflow: auto;
  max-width: 1280px;
  width: 100%;
  margin: auto;
  position: absolute;
  display: block;
  border-radius: 2px;
  text-align: center;
  vertical-align: top;
}

.navbar a {
  color: #ffffff;
  display: inline-block;
  font-size: 16px;
  padding: 10px;
  text-decoration: none;
}

.navbar a:hover {
  animation-name: navbar;
  animation-duration: 500ms;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-play-state: running;
}

.scroll{
  width: 20%;
  max-width: 100px;
  margin: auto;
}

.NavSpace {
  margin-top: 55px;
}

@media (pointer:coarse) {
  /* custom css for "touch targets" */
  .NavSpace {
    margin-top: 110px;
  }
}

.space {
  margin-top: 400px;
}

.Presentation {
  background: #ffffff;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  width: auto;
  padding-bottom: 100px;
  margin-bottom: 50px;
  text-align: center;
}

.footerInit {
  animation-name: InitFooter;
  animation-duration: 6s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;

  display: block;
  position: relative;
  top: 40px;
/*  left: 40%;*/
}

.footer {
  animation-name: ZoomOut;
  animation-duration: 500ms;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.footer:hover {
  animation-name: ZoomIn;
  animation-duration: 500ms;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.FooterSpace {
  margin-top: 30px;
}

.Articolo {
  padding: 12px 40px;
  margin: 30px;
  margin-bottom: 60px;
}

.Foto {
  text-align: center;
}

/* The Modal */
.Button {
  background-color: #252525;
  color: white;
  padding: 12px 30px;
  border-radius: 12px;
  border: 2px solid white;
  transition-duration: 0.4s;
  margin-top: 10px;
  float: right;

  animation-name: InitFooter;
  animation-duration: 6s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.Button:hover {
  background-color: white;
  color: black;
}

.firma {
  font-size: 20px;
  text-align: right;
  font-family: Brush Script MT;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  color: black;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
