@charset "utf-8";


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;900&display=swap');
/* general */

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-block-start: 5em;
}

* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    padding: 0;
    border: 0;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);

}
h1 {
    background-color: rgb(250, 167, 156);
    color: rgb(22, 21, 21);
    font-size: 2rem;
    text-align: center;

}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);

}

p {
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 8px;
}

body {
    background-color: rgb(123, 216, 190);
    margin-bottom: 10;
    padding-bottom: 1rem;
}

header {
    background-color: rgb(94, 163, 126);
    display: flex;
    color: rgb(255, 255, 255);
    font-size: 0.5rem;
    max-width: 100%;
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
}


/*footer*/
footer {
    background-color: rgb(94, 163, 126);
    color: rgb(255, 255, 255);
    font-size: 0.5rem;
    max-width: 100%;

}


body {
    background-color: rgb(234, 235, 235);
}

main {
    padding: 2rem;
}


h1 {
    padding-bottom: 2rem;
}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);

}

ul,
ol {
    list-style: none;
}


.nav-lista {
    font-size: 1.2rem;
}

nav ul li a:hover {
    font-weight: 300rem;
    transition: .2s;
    border-bottom: solid rgb(255, 255, 255);
}

.abrir-menu,
.cerrar-menu {
    display: none;
}



/*cuerpo*/


.bienvenidos figure {
    position: relative;
    text-align: bottom;
}

.bienvenidos figure figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);

}

.bienvenidos figure figcaption span {
    font-size: 2rem;

}

.bienvenidos figure figcaption p {

    font-size: 0.6rem;
    background-color: rgb(25, 152, 255);
    padding: 0.5rem;
    border-radius: 1rem;
    margin-top: 1rem;
}


/* footer */
footer img {
    width: 20px;
    display: grid;
    padding: 2rem;
}

/* algunos eventos*/

h2 {
    border-bottom: solid;
    border-color: rgb(25, 152, 255);
    font-size: 1.2rem;
    padding-top: 2rem;


}

article figure {
    position: relative;

}

article figure figcaption {
    position: absolute;
    align-self: center;
    align-content: center;
    color: rgb(255, 255, 255);
    padding: 3rem;
}


article figure figcaption:hover {
    transition: .2s;
    background-color: rgba(25, 151, 255, 0.616);
    position: absolute;
    border-radius: 0.5rem;
}



/* Estilos para el menú de navegación */

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

li {
    margin: 0.5rem;
}

/* Estilos para el contenido principal */
main {
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 24px;
}

/* Estilos para el footer */
footer {
    text-align: center;
    padding: 10px;
}

footer img {
    width: 30px;
    height: 30px;
    margin: 0 5px;
}

/* Estilos para el contenedor de primer imagen */
.contenedor-imagen {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

/* Estilo para la imagen dentro del contenedor */
.contenedor-imagen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Estilo para el texto encima de la imagen */
.texto-encima {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Sombra para mejorar visibilidad del texto */
}


/* Estilos para el logo */

#logo {
    margin: 10px;
}

#logo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Añade una sombra suave al logo */
}



  