@charset "UTF-8";

/* Body */
body {
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    background-color: #BDEBDA;
    margin: 0;
    background-image: url('fondo1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Opcional: hace que la imagen de fondo se mantenga fija al hacer scroll */
}
a {
    color: #FFFFFF;
    text-decoration: none;
}

a:hover {
    color: #960404;
    text-decoration: none;
}

/* Container */
.container {
    width: 90%;
  	margin: 0 auto;
	padding: 0;
    overflow: hidden;
    background-color: #FFFFFF;
}

/* Header */
.header {
    width: 100%;
    
    background-color: #2A9384;
    margin: 0;
    padding: 5px;
    border-bottom: 3px solid #052F21;
    text-align: center;
    color: #F3EBEB;
    font-size: 2em;
    text-shadow: 3px 5px #187065;
}

.logo {
    color: #F7FBFA;
    font-weight: bold;
    margin-left: auto;
    letter-spacing: 4px;
    margin-right: auto;
    text-align: center;
    padding-top: 10px;
    line-height: 2em;
    font-size: 1.5em;
    text-shadow: 3px 5px #0D5F42;
}

/* Main */
.main {
    border-top: 10px solid #77aaf; /* Borde superior */
    border-bottom: 10px solid #77aaff;/* Borde inferior */
    padding: 20px 0;
}

/* Gallery */
.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #fff; /* Cambia el color de fondo de la galería a blanco */
}

.thumbnail {
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 45%; /* Ajusta el tamaño de las tarjetas para que se muestren una al lado de la otra en pantallas grandes */
    margin: 10px;
}

.thumbnail h2 {
    margin: 0 0 10px;
    color: #52BAD5;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.thumbnail p {
    margin: 0;
    color: #0B0B0B;
    text-align: left;
    padding-left: 20px;
}

.thumbnail img {
    max-width: 100%;
    height: auto;
}

/* Footer */
.footer {
    background-color: #094B1B;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    margin-top: 5px;
}

.footer a {
    color: #77aaff;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #717070;
    color: #FFFFFF;
    font-weight: lighter;
    letter-spacing: 2px;
    border-top-width: 2px;
}
.intro {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    background-color: #f9f9f9;
    margin-bottom: 5px;
}

.intro p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
}


/* Mobile */

@media (max-width: 320px) {
   .container {
	   width: 98%;}
	.logo {
    color: #F7FBFA;
    font-weight: bold;
    margin-left: auto;
    letter-spacing: 2px;
    margin-right: auto;
    text-align: center;
    padding-top: 5px;
    line-height: 1em;
    font-size: 0.7em;
    text-shadow: 3px 5px #0D5F42;
}
	.intro {visibility: hidden;display:none;}
.container .header p {
	font-size: 0.5em;
}

    .text_column {
        width: 100%;
        text-align: justify;
        padding: 0;
    }

    .thumbnail {
        width: 90%;
    }

    .hero_header {
        padding-left: 10px;
        padding-right: 10px;
        line-height: 22px;
        text-align: center;
    }

    .copyright {
       	font-size: 0.7em;
    }

    .cards {
        width: 95%;
        height: auto;
        max-width: 300px;
        max-height: 95px;
    }
	

}
@media only screen and (min-width: 321px) and (max-width: 500px) {
	.container {
	   width: 98%;}
	.logo {
    color: #F7FBFA;
    font-weight: bold;
    margin-left: auto;
    letter-spacing: 2px;
    margin-right: auto;
    text-align: center;
    padding-top: 5px;
    line-height: 1em;
    font-size: 0.8em;
    text-shadow: 3px 5px #0D5F42;
}
	.container .header p {
	font-size: 0.6em;
}
	.intro {visibility: hidden;display:none;}
.copyright {font-size: 0.9em;
    }
}
/* Small Desktops */
@media (min-width: 501px) and (max-width: 768px) {
   .container {
	   width: 95%;}
	.logo {
    color: #F7FBFA;
    font-weight: bold;
    margin-left: auto;
    letter-spacing: 2px;
    margin-right: auto;
    text-align: center;
    padding-top: 5px;
    line-height: 1em;
    font-size: 0.8em;
    text-shadow: 3px 5px #0D5F42;
}
	.container .header p {
	font-size: 0.6em;
}
	
	
	.text_column {
        width: 100%;
    }

    .thumbnail {
        width: 40%;
    }

    .text_column {
        width: 90%;
        margin: 0;
        padding: 20px;
    }
}
