body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}
h1 {
    text-shadow: 12px 14px 10px rgba(0, 0, 0, 0.3); 
    padding: 20px;  
}

header {
    color: white;
    padding: 6rem;
    text-align: center;
    width: 87%;
    background: url('Proyecto31.jpg') no-repeat center center;
    background-size: cover;
}


/*animacion del fondo*/
.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

/* Estilos para los videos de actividades de fin de semana */
.video-section {
    text-align: center;
    margin-top: 40px;
}

.video-section h2 {
    color: #F9A73E; /* Color del título */
    font-size: 2rem;
    margin-bottom: 20px;
}

.video-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.video-container iframe {
    width: 560px;
    height: 315px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos responsivos */
@media (max-width: 900px) {
    .video-container iframe {
        width: 100%;
        max-width: 560px;
        height: auto;
    }
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

/*hasta aqui la animacion del fondo*/
}
.logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 50%; /* Para darle una forma ovalada */
    object-fit: cover;
}

nav {
    background-color: #336699;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    cursor:pointer;
	position:relative;
	padding:10px 20px;
	border-top-right-radius:10px;
	border-bottom-left-radius:10px;
	transition:all 1s;
    /*
	&:after,&:before{
		content:" ";
		width:10px;
		height:10px;
		position:absolute;
		border :0px solid #fff;
		transition:all 0.25s;
        color: #F9A73E;
		}
	&:after{
		top:0px;
		left:0px;
	}
	&:before{
		bottom:0px;
		right:0px;
		border-bottom:3px solid #F9A73E;
	}
	&:hover{
		border-top-right-radius:0px;
	    border-bottom-left-radius:0px;
        font-size: 108%;
        color: #F9A73E;
		&:before,&:after{
			width:100%;
			height:90%;
            color: #F9A73E;
		}
	}*/

}

nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 24px 30px;
    text-decoration: none;
}

nav ul li a:hover {
    color: #F9A73E;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #336699;
    min-width: 160px;
    max-height: 150px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    overflow: auto;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #1b1b1b;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    padding: 2rem 5%;
}

section {
    margin-bottom: 2rem;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #F9A73E; /* Color adaptado del logo */
    border-bottom: 2px solid #F9A73E;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2rem;
}

p {
    text-align: justify;
    line-height: 1.8;
    font-size: 20px;
}

p2 {
    text-align: center;
    line-height: 1.8;
    font-size: 20px;
}

.confundadores {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.confundador {
    text-align: center;
    width: 250px;
}

.confundador img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.proyectos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 60px;
    max-width: 1100px;
    width: 100%;
    text-align: center;
    margin: 20px;
    position: relative; /* Para el posicionamiento del pseudo-elemento */
    overflow: hidden; /* Para asegurar que el pseudo-elemento no se salga del card */
}

.card::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('logo.png'); /* Ruta de la imagen del logo */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 440px 440px; /* Tamaño del logo */
    opacity: 0.1; /* Ajustar la opacidad del logo */
    width: 440px; /* Tamaño del contenedor del logo */
    height: 440px; /* Tamaño del contenedor del logo */
    z-index: 0;
}

.card h3 {
    margin-top: 0px;
    color: #336699;
    font-size: 30px;
}

.card p {
    margin: 12px 0;
    color: #000000;
    font-size: 25px;
    text-align: center;
}

.card p strong {
    color: #341800;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: #336699; /* Color adaptado del logo */
    color: white;
    text-align: center;
}

td {
    text-align: center;
}

footer p{
    
    background-color: #336699; /* Color adaptado del logo */
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}
#footer p {
    text-align: center;
}
footer p {
    margin: 0;
}

.show {
    display: block;
}

/* Responsive styles */
@media (max-width: 900px) {
    .logo {
        width: 200px;
        height: 100px;
    }

    nav ul {
        flex-direction: column;
    }

    .confundador {
        width: 100%;
    }

    .confundador img {
        width: 200px;
        height: 200px;
    }

    header {
        padding: 4rem 2.5%;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
    nav ul {
        flex-direction: column;
    }

    .proyectos {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 100%;
    }
}




/* Estilos para las imágenes individuales */
#imagenes-individuales {
    text-align: center;
    margin-top: 80px;
}

.imagen-individual {
    text-align: center;
    margin-bottom: 60px;
}

.imagen-individual img {
    width: 100%;
    max-width: 950px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos para la galería */
#galeria {
    margin-top: 60px;
    text-align: center;
}

.galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
}

.galeria img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos para la galería2 */
#galeria2 {
    text-align: center;
    margin-top: 60px;
}

.galeria2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.galeria2 img {
    width: 45%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos para la galeríacomitebienestar */
#galeriacomitebienestar {
    text-align: center;
    margin-top: 60px;
}

.galeriacomitebienestar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.galeriacomitebienestar img {
    width: 45%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos para la galeríacomiteeducacion */
#galeriacomiteeducacion {
    text-align: center;
    margin-top: 60px;
}

.galeriacomiteeducacion {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.galeriacomiteeducacion img {
    width: 45%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos para la galeríakids */
#galeriakids {
    text-align: center;
    margin-top: 60px;
}

.galeriakids {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.galeriakids img {
    width: 45%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilos para la galeríajuniors */
#galeriajuniors {
    text-align: center;
    margin-top: 60px;
}

.galeriajuniors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.galeriajuniors img {
    width: 45%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#donaciones, #documentacion {
    margin-bottom: 60px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#documentacion ul {
    list-style-type: none;
    padding: 0;
}

#documentacion ul li {
    margin-bottom: 10px;
}

#upload-form {
    margin-top: 20px;
}
