header {
  padding-top: 350px;
  background: #ccc url("../img/paesaggio.jpg") center;
  background-size: cover;
}
header > div {
  background-color: #111;
  padding: 25px 40px;
  border-radius: 0 0 3px 3px;
}
header > div p {
  font-size: 1.2em;
}

main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px 35px;
}
main .evidence {
  grid-column-end: span 2;
  display: grid;
  grid-template-areas: "txt img" "link img";
  grid-template-columns: 1fr 500px;
  grid-template-rows: 1fr max-content;
  gap: 10px;
}
main .evidence section {
  grid-area: txt;
}
main .evidence section .overtitle {
  margin: 0;
  font-size: 1.1em;
  color: #444;
}
main .evidence div {
  grid-area: img;
  display: flex;
  gap: 10px;
}
main .evidence div img {
  width: 10px;
  object-fit: contain;
  align-self: flex-end;
  flex: 1 1 auto;
  border: 3px solid #111;
  filter: grayscale(100%);
  transition: 0.5s;
  cursor: pointer;
}
main .evidence div img:hover {
  filter: grayscale(0);
}
main .evidence > p {
  grid-area: link;
  margin: 0;
  padding: 4px 15px 5px;
  background-color: #111;
}
main .evidence > p a {
  text-decoration: none;
  color: white;
}
main .evidence > p a:hover {
  color: #e03;
}

footer {
  padding: 25px 40px;
  background: #111;
}
footer h2, footer span {
  color: #EEE;
}
footer form {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
footer form input, footer form textarea, footer form button {
  border: 2px solid gray;
  border-radius: 2px;
  padding: 10px 15px;
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
}
footer form textarea {
  height: 150px;
  resize: none;
}
footer form button {
  border: none;
  background: #e03;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}
footer form button:hover {
  background: white;
  color: #e03;
}
footer form button:active {
  background: #CCC;
  color: #111;
  transform: translate(1px, 1px);
}
footer form button:disabled {
  background: gray;
  color: #CCC;
  cursor: progress;
}

#thickbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
#thickbox div {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}
#thickbox img {
  max-width: 95%;
  max-height: 95%;
}
#thickbox span {
  display: block;
  position: absolute;
  padding: 5px 20px;
  font-size: 3em;
  color: white;
  cursor: pointer;
  text-shadow: 0 0 10px black;
}
#thickbox .back, #thickbox .forward {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}
#thickbox .back {
  left: 0;
}
#thickbox .forward {
  right: 0;
}
#thickbox .close {
  top: 0;
  right: 0;
}

@media screen and (max-width: 768px) {
  header > div {
    padding: 20px 20px;
  }
  header > div p {
    margin-bottom: 50px;
  }

  main {
    grid-template-columns: 1fr;
  }
  main .evidence {
    grid-column-end: span 1;
    grid-template-areas: "txt" "img" "link";
    grid-template-columns: 1fr;
  }
}
@media print {
  header {
    padding-top: 0;
    background: initial;
  }
  header > div {
    padding: 20px 0;
    background: initial;
  }
  header > div h1 {
    margin: 0;
  }

  main {
    grid-gap: 0 25px;
  }
}

/*# sourceMappingURL=home.css.map */
