@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,300;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Nunito Sans', sans-serif;
}

.container {
    height: 100vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)), url(../images/eventos/bacground.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.eve-hover {
    font-size: 1.4rem;
}

/*Eventos*/
.evento-body {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.color1 {
    background-color: #909986;
}

.color2 {
    background-color: #c2bfb5;
}

.color3 {
    background-color: #ad9b86;
}

.evento-section {
    display: flex;
    max-width: 1500px;
    align-items: center;
    padding: 2rem;
}

.boda-texto {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    margin: 1rem;
}

.boda-texto h2 {
    font-size: 2.4rem;
    color: white;
    font-style: italic;
    margin-bottom: .6rem;
}

.boda-texto p {
    font-size: 1.2rem;
    color: white;
    text-align: justify;
    margin-right: 1rem;
    padding-top: 1rem;
}

.img-card {
    display: flex;
    justify-content: center;
}

.img-card img {
    width: 33vw;
    border-radius: .5rem;
    margin: 1rem;
}

.boda-texto button {
    background-color: #b09a82;
    color: white;
    cursor: pointer;
    border: none;
    padding: .8rem 2.2rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: .3rem;
    margin-top: 2rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.boda-texto .color {
    background-color: white;
    color: #b09a82;
    cursor: pointer;
    border: none;
    padding: .8rem 2.2rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: .3rem;
    margin-top: 2rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

/* FORMULARIO CONTACTO */

.formulario {
    padding: 3rem;
    background-color: #c2bfb5;
}

.formulario__title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    font-style: italic;
    color: white;
}

.formulario__des {
    color: black;
    text-align: center;
    margin: auto;
    margin-bottom: 1rem;
}

.formulario__des a {
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 600;
}

.formulario_des {
    color: #8c8c8c;
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-top: 2rem;
}

.formulario__des a {
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

form {
    max-width: 900px;
    margin: auto;
}

input,
select {
    border: none;
    border-bottom: 2px solid #a9a7a3;
    background-color: #d0ceca;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
    padding: .5rem 1rem;
    font-family: 'DM Sans', sans-serif;
    width: 100%;
    border-radius: .2rem;
}

select {
    color: rgb(255 255 255 / 70%);
    margin-bottom: 2rem;
}

select.selected {
    color: #fff;
}

input::placeholder,
select::placeholder {
    color: #ffffffb3;
}

input:focus,
select:focus {
    outline: none;
}

input[type="submit"] {
    background-color: #b09a82;
    width: fit-content;
    padding: .8rem 3rem;
    color: #fff;
    border-bottom: 0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.alert {
    padding: .75rem 1.25rem;
    margin-top: 1rem;
    border-radius: .25rem;
    font-size: 1.2rem;
}

.alert.success {
    color: #155724;
    background-color: #d4edda;
}

.alert.error {
    color: #721c24;
    background-color: #f8d7da;
}

/* Responsive eventos - header */
@media(max-width: 1614px) {
    .eve-hover {
        font-size: 1.2rem;
    }
}

@media(max-width: 1500px) {
    .container {
        height: 100vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url(../images/eventos/background1500px.webp);
    }
}

@media(max-width: 1455px) {
    .eve-hover {
        font-size: 1rem;
    }
}

@media(max-width: 1200px) {
    .container {
        height: 100vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url(../images/eventos/background1200px.png);
    }

}

@media(max-width: 900px) {
    .container {
        height: 90vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url(../images/eventos/background900px.png);
    }

    .content{
        padding-left: 0;
    }


    .evento-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }

    .evento-c{
        display: flex;
        flex-direction: column-reverse;
    }

    .img-card img {
        width: 100%;
        height: auto;
        margin: 1rem;
    }

}

@media(max-width: 600px) {
    .container {
        height: 80vh;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url(../images/eventos/background600px.png);
    }

    .img-card img {
        width: 80%;
        margin: 1rem;
    }
}
@media(max-width:400px){
    .formulario{
        padding: 3rem 1rem;
    }
}
@media(max-width:350px){
    .formulario__title{
        font-size: 2rem;
    }
    .formulario__des{
        font-size: 1rem;
    }
}

/* Slider */

.slider {
    width: 90vw;
    max-width: 600px;
    aspect-ratio: 1/1;
    position: relative;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    margin: 0 auto;
    gap: 1rem;
  }
  
  .slide-item {
    flex-shrink: 0;
    width: 100%;
    scroll-snap-align: center;
    text-align: center;
  }
  
  .slide-item img {
    margin-top: 2rem;
    margin-bottom: 1rem;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
  }
  
  .slide-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
  }

  .slider-section {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #222;
  }
  
  
  
