@font-face {
  font-family: "Hesterica";
  src: url("fonts/Hesterica.woff") format("woff"), /* Modern Browsers */
    url("fonts/Hesterica.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Regular.woff") format("woff"), /* Modern Browsers */
    url("fonts/Montserrat-Regular.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}
* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat',sans-serif;
    padding: 0;
    list-style: none;
    color: inherit;
    text-decoration: none;
    /*transition: all .5s;*/
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    --blockPadding: 20px;
}
h3, h4, h5, h6 {
font-family:"am-novecento", sans-serif;
text-align: center;
color:#e74ba2;
}
*:active,*:focus,*:hover {
    outline: none!important;
}
html, body {
    width: 100%;
}
a {
cursor: pointer;
}
img {
    max-width: 100%;
    max-height: 100%;
}

body {
	margin: 0;
	background-color:#000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
 p{
    color:#ffffff;
}
/* narvbar */
.navbar {
    background-color: #d7ceca;   /* il beige della foto */
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Testo apertura */
.apertura h4 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    font-family:"am-novecento", sans-serif;
    letter-spacing: 2px;
  }

.apertura h4 {
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #d64b96;
    animation: typing 3s steps(30) forwards, blink 0.5s infinite;
}

@keyframes typing {
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}
.logo {
    width: 200px; 
}
.navbar-botto {
    display: flex;
    align-items: center;
    justify-content: center;
}
/*HOMEPAGE*/
.wrap-intro p {
    text-align: center;
    max-width: 50%;
    margin: 0 auto;
}
.wrap-eventi {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #d8cecb;
    /* max-width: 90%; */
}

.wrap-eventi h4 {
    font-size: 3rem;
    color: #000;
    text-align: left;
    margin-bottom: 2.5rem;
    padding-left:1rem;
}

.wrap-eventi-interno {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap:1rem;
    flex-wrap: wrap;
}
.wrap-eventi-singolo h6, .wrap-eventi-singolo h5 {
    text-align: left;
}
.wrap-eventi-singolo {
    display: flex;
    align-items: baseline;
    flex-direction: column;
    max-width: 30%;
}
.wrap-eventi-singolo h5 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.wrap-intro {
    padding-bottom: 2rem;
}
.wrap-eventi-singolo h6 {
    font-family: 'am-novecento';
    font-size: 1.2rem;
    color: #fff;
}
.data {
    margin-bottom: 20px;
    margin-top: 10px;
}
.max-wid {
    max-width: 70%;
    margin: 0 auto;
}
.prenota {
    display: inline-block;
    background-color: #e74ba2; /* rosa */
    padding: 10px 25px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
   font-family: 'am-novecento';
    font-size: 1rem;
}
.prenota:hover {
    display: inline-block;
   color: #e74ba2;
    background-color: white;
    text-decoration: none;
    font-family: 'am-novecento';
}
.data span {
    font-weight: 500;
    font-family: Montserrat;
    color: #e74ba2;
    text-transform: uppercase;
}
.wrap-eventi-singolo img {
    margin-bottom: 0.5rem;
}
.img-event {
    width: 400px; 
}
.calendario h4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}
.botones-internos {
    display: flex;
    flex-direction: row;
}
.interno {
    position: relative; /* permite que el h4 se posicione encima */
    overflow: hidden;
}

.interno img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.interno:hover h4 {
    color: white;                 /* texto blanco */
    -webkit-text-stroke: 1px #e74ba2; /* borde rosa */
}
.interno h4 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #e74ba2;
    -webkit-text-stroke: 1px white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 3rem;       
    white-space: nowrap;    
    overflow: hidden;       
    text-overflow: ellipsis; 
}
/*FOOTER */
.footer {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
}
.col {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: baseline;
}
.col h4 {
    font-size: 1.5rem;
    color: #fff;
    padding-bottom: 0.5rem;
}
.col span {
    font-family: 'am-novecento';
    color: #e74ba2;
}
.col p {
    font-family: Montserrat;
}

/* pagina individual*/
.wrap-eventosingolo {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}
.wrap-eventosingolo img {
    max-width: 50%;
}
.wrap-eventosingolo p {
    font-family: 'am-novecento';
    font-size: 3rem;
}
.wrap-eventosingolo span {
    font-family: 'am-novecento';
    color: #e74ba2;
}
.info-evento {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 4rem;
}
.info-evento h4 {
    font-size: 2rem;
    color: #fff;
}
.subtitulo-evento {
    font-family: 'am-novecento';
    color: #e74ba2;
    font-size: 1.5rem;
}
.subtitulo-evento2 {
    font-family: 'am-novecento';
    color: #ffffff;
    font-size: 1rem;
}
.info {
    background-color: #d8cecb;
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.info h4 {
    font-size: 3rem;
    color: #000;
    margin-bottom: 0.5rem;
}
.info a {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.info p {
    text-align: left;
    color: #000;
    max-width: 75%;
    margin: 0 auto;
    text-align: center;
}
a.prenota.botoninterno {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer a:hover p {
    text-decoration: underline;
    color:#e74ba2;
}
p.long-title {
    font-size: 1rem !important;
}
.title-compuesto p {
    font-size: 2rem;
}
.interno a {
    min-width: 50%;
    max-width: 50%;
}
.interno {
    min-width: 50%;
    max-width:100%;
}
.wrap-intro h4 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.wrap-intro span {
    font-size: 3rem;
    font-family: 'am-novecento';
    color: #e74ba2;
}
.wrap-orari-interno p {
    max-width: 90%;
}
.wrap-orari-interno a:hover {
    text-decoration: underline;
}
.menu-cantina {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}
.menu-cantina a {
    margin-top: 0 !important;
}
.wrap-orari-interno {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
@media (max-width: 1100px) {
   
}
@media (max-width: 900px) {
    a.prenota.botoninterno {
    margin-top: 1rem;
    }
    .wrap-eventosingolo {
    flex-direction: column;
    }
    .wrap-eventosingolo img {
        max-width: 100%;
    }
    .data {
    margin-top: 5px;
    }
   .wrap-eventi-singolo h5 {
    font-size: 1.5rem;
    }
    .wrap-eventi-singolo h6 {
        font-size: 1rem;
    }
    a.prenota {
        font-size: 0.8rem;
        padding: 10px;
        margin-top: -0.5rem;
    }
    .calendario h4 {
        font-size: 1.2rem;
    }
    .interno h4 {
        font-size: 1.5rem;
    }
    .col h4 {
        font-size: 0.9rem;
    }
    .col p {
        font-size: 0.8rem;
    }
    .wrap-intro p {
    max-width: 80%;
    font-size: 0.8rem;
    }
     a.prenota.botoninterno {
    display: flex;
    align-items: center;
    justify-content: center;
    }
    .info-evento h4 {
        font-size: 1.5rem;
    }
    p.subtitulo-evento {
        font-size: 1rem;
    }
    p.subtitulo-evento2 {
        font-size: 0.8rem;
    }
    .info-evento {
        margin-bottom: 2rem;
    }
}
@media (max-width: 700px) {
    p.long-title {
    font-size: 0.9rem !important;
    }
    .wrap-eventosingolo p {
        line-height: 2rem;
    }
    .apertura h4 {
    font-size: 1rem;
    }
     .max-wid {
    max-width: 95%;
    }
    .wrap-eventosingolo {
    padding: 0;
    }
    .wrap-eventosingolo p {
        padding: 1rem;
    }
    .wrap-eventi-singolo h5 {
        font-size: 1rem;
    }
    .wrap-eventi-singolo h6 {
        font-size: 0.8rem;
    }
    .max-wid {
    max-width: 100%;
    }
    .wrap-eventi-singolo h5 {
        font-size: 1rem;
    }
    .wrap-eventi-singolo h6 {
        font-size: 0.8rem;
    }
    .interno h4 {font-size: 1rem;}
    .footer {
        flex-direction: column;
    }
    .col {
        padding: 1rem;
    }
    .wrap-intro p {
        max-width: 90%;
        font-size: 0.7rem;
    }
    .calendario h4 {
        font-size: 1rem;
    }
    .wrap-eventi h4 {
    font-size: 2rem;
    padding-left: 0.5rem;
    }
    .wrap-eventi-singolo h6 {
    color: #000;
    }
    .wrap-eventi-interno {
    gap: 0.5rem;
    }
    .wrap-eventosingolo p {
    font-size: 2rem;
    }
    .info h4 {
        font-size: 2rem;
    }
    .info p {
        max-width: 90%;
    }
    .info p {
        font-size:0.8rem;
    }
        .wrap-eventosingolo p {
        font-size: 1.8rem;
    }

}
@media (max-width: 547px) {
   .menu-cantina {
    flex-direction: column;
    /* padding: 2rem; */
	}

}
