:root {
    --clarito: rgb(247, 160, 239);
    /*--normal: rgb(233, 78, 217);*/
    --normal: rgb(171 71 163);
    
    
    --oscuro: rgb(116, 4, 104);
    --fondo: rgb(252, 252, 252);
    --textoclarito: rgb(214, 252, 180);
    --textooscuro: rgb(7, 49, 1);
  }
/* Reset de márgenes y paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: Arial, sans-serif;*/
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.cabecera {
   width: 100%; /* Ajusta la altura del header según tus necesidades */
}
header{
    justify-content: center; /* Centra horizontalmente el contenido */
}
/*redes*/
.Rsociales {
    position: absolute;
    top: 20px; /* Espacio desde el borde superior */
    left: 2vw; /* Espacio desde el borde izquierdo */
    z-index: 2; /* Por encima de la imagen */
    display: flex;
    gap: 1vw; /* Espacio entre íconos */
    flex-direction: column;
}
.Rsociales .icono {
    width: 7vw; /* Tamaño de los íconos */
    height: auto;
    transition: transform 0.3s ease;
}
/*fin redes*/


.container {

    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.container img {
    width: auto;
    height: 125px;
    border-radius: 8px;
}
.container a {
    display: none;
}

h1 {
    font-size: 2.5rem;
}

main {
    padding: 40px 0;
}

.hero {
    background-color: var(--clarito); /* Color más suave */
    padding: 10px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
}

/* Contenedor de tarjetas */
.cards-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

/* Estilo de cada tarjeta */
.card {
    background-color: #fff;
    border-radius: 10px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
    flex:1;
}

/* Estilo para los botones */
.buttons {
    display: flex;
    justify-content: space-between;
}

.buttons .btn {
    background-color: var(--normal);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s;
    width: 90%;
}

.buttons .btn:hover {
    background-color: var(--oscuro);
}

/* Responsividad */
@media (max-width: 900px) {/*768*/
    .container {
        flex-direction: column;
        text-align: center;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 20px;
    }
    .container h1{
        display: none;
    }

    
}
@media (min-width: 901px) {

}


/* Ocultar en pantallas menores a 768px */
@media screen and (max-width: 767px) {
    #miDiv {
        display: block;
    }
}


/* Galería de fotos */
button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#carouselContainer {
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#carouselContainer.visible {
    visibility: visible;
    opacity: 1;
}


#carouselContainer img {
    width: 95%;
    height: auto;
    display: block;
    margin: 2%;
    border-radius: 11px;
   
}

button.close {
    position: absolute;
    background:var(--oscuro);/* rgba(0, 0, 0, 0.5);*/
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
  
}

button.close {
    top: 10px;
    right: 10px;
  /* font-size: 30px;
    background: red;*/
}

button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/*BANNER DE COQUIES*/
#banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
#banner a {
    color: #007BFF;
    text-decoration: none;
}
#banner a:hover {
    text-decoration: underline;
}
#banner button {
    margin-left: 20px;
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}
#banner button:hover {
    background-color: #0056b3;
}
/* FIN DE BANER DE COCKIES*/

