body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #b1ffb8; 
}

header {
    background-color: #c8e6c9; 
    color: #1b5e20; 
    text-align: center;
    font-family: "Playwrite CU", cursive;
}

.contenedor-texto {
    padding: 20px;
    background-color: #a5d6a7; 
}

.contenedor-botones {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px; 
    padding: 40px;
    border-radius: 10px;
    flex-wrap: wrap;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #388e3c; 
}

h3 {
    font-family: "Sniglet", system-ui;
    color: rgb(0, 80, 0);
    font-size: 25px;
}

p {
    font-size: 1.2em;
    line-height: 1.5;
    color: #1b5e20; 
    font-family: "Roboto Slab", serif;
}

header.encabezado {
    display: flex;
    justify-content: center;
    position: fixed;
    padding: 1vh;
    width: 100%;
    top: 0;
    margin: 1vh;
    text-transform: uppercase;
    font-family: "Playwrite CU", cursive;
}

div.container {
    background-color: #e8f5e9; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1vw;
    padding: 7vmin 2vmin;
}

nav.navbar {
    display: flex;
    align-items: center;
    padding: 1vh;
    margin-top: 7vh;
    width: 100%;
    background-color: #92e094; 
}

div.espacios_botones {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px; /* Ajusta este valor según sea necesario */
}

.boton-circular {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #388e3c; 
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    overflow: hidden;
    font-size: 1em;
    color: white;
}

h1.nombre {
    margin-left: 2vh;
    width: 70%;
    text-transform: uppercase;
    font-size: 2.741vmax;
    color: #43a047; 
}

h2.descripcion {
    padding-bottom: 4vh;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2.7vmax;
    color: #1b5e20; 
}

.boton {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #66bb6a; 
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: "Chango", sans-serif;
}

.boton:hover {
    background-color: #4caf50; 
}

main {
    padding: 20px;
}

section {
    margin-bottom: 20px;
    padding: 20px;
}

footer {
    display: flex;
    justify-content: center;
    padding: 1vh;
    width: 100%;
    margin-top: 1vh;
    bottom: 0;
    font-family: "Playwrite CU", cursive;
    text-transform: uppercase;
    position: fixed;
}

div.container-img {
    width: 30%;
    margin-left: 3vw;
}

footer {
    display: flex;
    justify-content: center;
    padding: 1vh;
    width: 100%;
    margin-top: 1vh;
    bottom: 0;
    font-family: "Playwrite CU", cursive;
    text-transform: uppercase;
    position: fixed;
}

.recuadro {
    border: 2px solid #81c784; 
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background-color: #78c07a; 
}

.recuadro h2 {
    margin-top: 0;
    font-family: 'Playwrite CU', sans-serif;
    color: #2e7d32; 
}

.pregunta {
    background-color: #9df7a0; 
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #66bb6a; 
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.respuesta {
    display: none;
    padding-top: 10px;
}

.pregunta:hover {
    background-color: #71db7f; 
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #388e3c; 
    color: #84e69c;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
}

.scroll-to-top:hover {
    background-color: #2e7d32; 
}

#seccion2 {
    padding: 20px;
}

#seccion2 h2 {
    font-family: 'Playwrite CU', cursive;
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
}

.carrusel {
    position: center;
    width: 100%;
    overflow: hidden;
    border: 3px solid #66bb6a; 
    border-radius: 10px;
}

.carrusel-inner {
    display: flex;
    width: 20%;
    animation: mover 15s linear infinite;
}

.carrusel-inner img {
    width: 100%;
    border-radius: 10px;
    border: 3px solid #388e3c; 
}

@keyframes mover {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

@media (max-width: 768px) {
    .carrusel-inner img {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .carrusel-inner img {
        width: 100%;
    }
}

.foto-recuadro {
    margin-bottom: 20px;
}

.foto-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.foto-gallery img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 5px; 
}

.foto-recuadro h3 {
    margin-bottom: 10px;
    font-size: 250%;
    color: #22572d;
}

img.foto-mia {
    width: 400px;
    align-self: center; 
    border-radius: ridge;
    border-width: 5px; 
    border-color: #60df7c; 
    border-style: solid; 
}

img.foto-futuro {
    display: block; 
    margin: 0 auto; 
    max-width: 40%; 
    height: auto; 
}

.contenedor_galeria {
    width: 100%;
    display: flex;
    padding-bottom: 3vh;
    padding-top: 3vh;
}

.slide {
    cursor: pointer;
    height: 75vmin;
    flex: 1;
    margin: 1vh;
    border-radius: 2vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: .5s;
}
.container-redessociales {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.container-redessociales a {
    margin: 10px; 
}

.container-redessociales img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 5px; 
}


.boton-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.boton-rectangular {
    background: linear-gradient(135deg, #4ae27d, #95dd22);
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.boton-rectangular:hover {
    background: linear-gradient(135deg, #ff50bc, #8b5069);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.boton-texto {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}

.boton-texto:hover {
    text-decoration: underline;
}

ul {
    padding: 1rem;
    display: flex;
    list-style: none;
    justify-content: space-around;
    flex-wrap: wrap;
}

li {
    background-color: #ffdfd9;
    color: #000;
    padding: 0.51rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 20px; /* Espaciado entre las fotos */
    padding: 20px; /* Espaciado interno */
}

.gallery img {
    width: 100%; /* Todas las imágenes ocuparán el ancho de su contenedor */
    height: 200px; /* Mantendrá la proporción */
    object-fit: cover; /* Recortará la imagen si es necesario */
    border-radius: 10px; /* Bordes redondeados, opcional */
    border: 2px solid #388e3c; /* Opcional */
}

.foto {
    height: 5.5em;
    margin: 0.5em;
    border: solid 2px rgb(255, 255, 255);
}

.foto:hover {
    box-shadow: none;
    transform: scale(1.1);
}

