@import "./base.css";
body {background-color: #feb236;}
#top {
  height: 30em;
  background-color: black;
}
a {text-decoration: none;}
#top > h1, #top > p {
  font-family: Amatic SC;
  font-size: 3em;
  margin: 0 auto;
  margin-top: 2em;
  padding-bottom: 10px;
  border-bottom: 1px solid #feb236;
  width: 50vw;
  color: #feb236;
  text-align: center;
}
#top > p {font-size: 2em; width: 30vw; margin-top: 1em;}

#sottocategorie {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  grid-gap: 0.5em;
  padding: 2em;
}

.categoria {
  height: calc((90vw - 2em) / 3);
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.5s;
  cursor: pointer;
}
.categoria > .didascalia {
  background-color: black;
  color: #feb236;
  text-align: center;
  font-size: 3em;
  padding: 0.5em;
  font-family: Amatic SC;
}
.categoria:hover {box-shadow: black 3px 3px 4px;}

@media only screen and (max-aspect-ratio: 1/1) {
    #sottocategorie {grid-template-columns: auto auto;}
}
