@import "base.css";
@keyframes ingrandisci {
  from {transform: scale(0);}
  to {transform: scale(1);}
}
@keyframes ingrandisci2 {
  0% {transform: scale(0);}
  25% {transform: scale(0);}
  100% {transform: scale(1);}
}
@keyframes ingrandisci3 {
  0% {transform: scale(0);}
  25% {transform: scale(0);}
  100% {transform: scale(1);}
}
body {font-family: Amatic SC;   background-color: black;}
#top {
  padding-bottom: 2em;
}
#header p {
  text-align: center;
  font-size: 3em;
  text-decoration: underline;
  color: #feb236;
  display: block;
}
#header a {text-decoration: none;}
#header button {
  outline: none;
  border: none;
  padding: 0.5em;
  background-color: #feb236;
  color: black;
  margin: 0 auto;
  display: block;
  font-size: 2em;
  font-family: Amatic SC;
  cursor: pointer;
  text-decoration: none;
}
#logo {
  position: absolute;
  top: 15px;
  left: 15px;
}

#lightbox {
  position: fixed;
  background-color: black;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 1s;
  z-index: -1;
  opacity: 0;
}
#lightbox img {
  display: block;
  width: auto;
  margin: 0 auto;
  margin-top: 3em;
  height: auto;
  transition: all 1s;
  transform: scale(0);
  max-height: 70vh;
  max-width: 90vw;
}
#lightbox p {
  position: fixed;
  color: white;
  bottom: -5em;
  font-family: Amatic SC;
  font-size: 3em;
  margin: 0;
  transition: all 1s;
  text-align: center;
  width: 100%;
}

section {
  display: flex;
  background-color: #feb236;
  max-width: 1500px;
  margin: 0 auto;
}
div.colonna {
  width: calc(100% / 3);
  padding: 0em 0.9em 1.8em 0.9em;
}
.colonna img {
  width: 100%;
  margin-top: 1.8em;
  height: auto;
  transition: all 0.5s;
  animation: ingrandisci 1s ease;
  cursor: pointer;
}
.colonna:nth-child(2) img {animation: ingrandisci2 1s;}
.colonna:nth-child(3) img {animation: ingrandisci3 2s;}

.colonna img:hover {box-shadow: black 4px 4px 4px;}
.colonna:first-child img:hover {transform: rotate(3deg);}
.colonna:nth-child(2) img:hover {transform: scale(1.05);}
.colonna:last-child img:hover {transform: rotate(-3deg);}
