/*
  File di stilizzazione della sezione main del foglio Galleria.
*/

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
  min-height: 100vh;
  background: linear-gradient(45deg, #0a0a0a, #3a4452);
  overflow-x: hidden;
}

/* ================================================================= */

main{
  color: #fff;
  margin-bottom: 50px;
}

h1{
  /* color: #ccc; */
  color: #0ef;
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 80px;
  padding-top: 150px;
}

#galleriaVideo{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  row-gap: 40px;
}

.card{
  margin: auto;
  width: 340px;
  padding: 20px 0 20px 20px;
  box-shadow: -3px -3px 15px rgba(255, 255, 255, .1), 3px 3px 3px rgba(0, 0, 0, .6);
}

h2{
  width: fit-content;
  padding-right: 5px;
  padding-bottom: 2px;
  margin-bottom: 3px;
  font-size: 18px;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}

.annoProduzione{
  font-size: 14px;
  font-style: italic;
  margin-bottom: 5px;
}

.video{
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  list-style: none;
}

/* .link{ */
.video a{
  cursor: pointer;
  display: block;
  position: relative;
  text-decoration: none;
  color: #eee;
  padding-left: 30px;
  /* transition: all .5s ease; */
  transition-property: font-weight, color;
  transition-duration: .5s;
  transition-timing-function: ease;
}

.video a:hover{
  font-weight: bold;
  color: #0ef;
}

.video a::before{
  content: url("../Immagini/Icone/Play.png");
  position: absolute;
  top: 1px;
  left: 0px;
}

/* _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Responsive design. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ */

@media only screen and (max-width: 380px){
  body{
    background: #323946;
    overflow-x: scroll;
  }
}
