@import './style.css';

.cover {
    display: flex;
    height: 100vh;
    /* height: 750px; */
    /* margin: auto; */
    color: var(--platinum);
    /* background-color: rgba(255,255,255,0.7); */
    background-image: url(../images/stadio_banner.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cover h2 {
    padding: 25px 30px;
    font-size: 64px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* text-wrap: nowrap; */
    text-align: center;
    background-color: var(--royal-blue-traditional-opac);
    border-radius: 25px;
}
.cover svg {
    position: absolute;
    bottom: 0;
    margin-bottom: 20px;
    cursor: pointer;
    color: var(--platinum);
}
section img {
    width: 100%;
    /* height: 300px; */
    /* margin: 5px; */
    /* border-radius: 15% 10%; */
}
.img-row {
    display: flex;
    flex-direction: row;
}
.slideshow-section {
    width: 60%;
    position: relative;
    box-sizing: border-box;
}
.slideshow-lista {
    max-width: 1000px;
    position: relative;
    margin: auto;
}
.slideshow-lista img {
    height: 100%;
    vertical-align: middle;
    object-fit: cover;
    object-position: center;
    container-type: inline-size;
}
.slideshow-slide {
    /* display: none; */
    height: 40cqw;
    max-height: 400px;
    overflow: hidden;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


.evento-lista {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;    
    column-gap: 15px;
    row-gap: 25px;
    margin: 25px 0px;
}
.evento {
    box-sizing: border-box;
    width: 25%;
    min-width: 220px;
    min-height: 275px;
    /* height: fit-content; */
    /* margin: 25px; */
    display: flex;
    justify-content: center;
    align-items: center;
}
.evento h3 {
    font-size: 24px;
    color: var(--platinum);
}
.evento-titolo {    
    height: 30%;
    width: 100%;
    /* flex-grow: 1; */
    background-color: var(--royal-blue-traditional);
    padding: 15px 20px 10px;
}
.evento-info {
    padding: 15px;
}

.evento-button {
    margin: 5px;    
    height: 20%;
}
.evento-button button {
    padding: 10px;
    border-radius: 15px;
    background-color: var(--red);
    color: var(--platinum);
    font-size: 1em;
    font-weight: bold;
}
.card {
    box-shadow: 0 5px 10px var(--davys-gray);
    border-radius: 20px;
    overflow: hidden;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: 100%; */
    /* padding: 15px; */
}
/* div.newsletter {
    
} */
.newsletter input {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
}