/*
  File di stilizzazione della sezione main del foglio dei pdf della stagione.
*/

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
  min-height: 100vh;
  background: linear-gradient(45deg, #0a0a0a, #3a4452);
  overflow-x: hidden;
}

/* ============================================================================ */

main{
  color: #fff;
  width: 100%;
  padding-bottom: 100px;
}

.container{
  max-width: 650px;
  margin: auto;
}

h1{
  padding-top: 120px;
  text-align: center;
  font-size: 40px;
  color: #0ef;
  font-weight: bold;
  margin-bottom: 80px;
}

section{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.txt{
  /* position: relative; */
  text-align: center;
  margin-bottom: 60px;
  font-size: 24px;
  padding: 20px;
  font-weight: bold;
  z-index: 1;
}

section > div{
  position: relative;
  top: calc(20px * var(--i));
  width: 300px;
  padding: 20px;
  box-shadow: -3px -3px 15px rgba(255, 255, 255, .1), 3px 3px 3px rgba(0, 0, 0, .6);
}

.etichetta{
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

section > div > a{
  display: block;
  height: 150px;
  width: fit-content;
  /* overflow: hidden; */
  margin: auto;
}

section > div > a > img{
  height: 100%;
  transition: .5s transform ease;
}

section > div > a > img:hover{
  transform: scale(1.05);
}

/* _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Responsive design. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ */

@media only screen and (max-width: 700px){
  section{
    display: block;
  }

  section > div{
    margin: auto;
  }
}

@media only screen and (max-width: 350px){
  section > div{
    width: 200px;
  }
}
