/*
  File di stilizzazione della pagina Calendari.
*/

*{
  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: 100px;
  /* position: relative; */
  width: fit-content;
  /* color: #ccc; */
  color: #0ef;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin: 50px auto 120px;
}

.cards{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cards > div{
  position: relative;
  top: calc(20px * var(--i));
  width: 300px;
  padding: 20px;
  /* border-left: 4px solid #b22222; */
  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;
}

.link{
  width: 150px;
  margin: auto;
  padding: 8px;
  text-align: center;
  border-radius: 30px;
  box-shadow: -3px -3px 15px rgba(255, 255, 255, .1), 3px 3px 3px rgba(0, 0, 0, .6);
  transition-property: background-color, border-color;
  transition-duration: .6s;
  transition-timing-function: ease;
}

.link:hover{
  background-color: rgba(255, 255, 255, .1);
}

.link a{
  text-decoration: none;
  color: #ddd;
  font-weight: bold;
  transition-property: color;
  transition-duration: .6s;
  transition-timing-function: ease;
}

/* _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Responsive design. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ */


@media only screen and (max-width: 700px){
  .cards{
    display: block;
    margin: auto;
  }

  .cards > div{
    margin: auto;
  }
}

@media only screen and (max-width: 350px){
  .cards > div{
    width: 250px;
  }
}

@media only screen and (max-width: 300px){
  .cards > div{
    width: 200px;
  }
}
