body {
	background-color: rgb(245, 245, 245);	
    font-family: "Poppins", sans-serif;   
}
#masthead{
	padding-top: 200px;
	padding-bottom: 200px; 
	text-align: center;
	background-image: url("/assets/img/artes.jpg");
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center center;
	background-size: cover;		
	margin-bottom: 50px;
	position: relative;
	z-index: -1;	
}

.banner-masthead {
	background-color: white;
	position: relative;
	margin: 0 auto;
	max-width: 1400px;
	bottom: -15rem;
	padding: 20px;
	border-radius: 5px;
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.1);
	color: #004d0b;
	width: 200px;	 
}  

#masthead .masthead-heading {
    font-size: 25px; 
    font-weight: 700;
}

@media (min-width: 768px) {
	.banner-masthead {width: 400px;}  

	.masthead .masthead-heading {font-size: 80%;}	
}

/*---------------------------------------------------------------------------------------*/
/* CODIGO DE ETICA
/*---------------------------------------------------------------------------------------*/
#Code {
    position: relative;
    margin: 8rem auto;
    max-width: 1700px;
    display: flex;
    justify-content: center;  
    opacity: 0;
    animation-duration: 0.5s; 
    animation-fill-mode: forwards; 
    animation-name: fadeInCode;
    animation-delay: 0s; 
    font-family: "Poppins", "Poppins-fallback", sans-serif;
}

h3.text-center{
    font-size: 24px; 
    margin: 0;
}

#Code .btn {
    margin-top: 50px; 
    background-color: #198754;
    color: white;
    border-color:#198754;
}

#Code .btn:hover {
    background-color: #198754;
    color: white;
    border-color:#198754;
}

#Code .btn:focus,.btn:active {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

 #Code .hexagon-front{
    position: absolute;
    width: 70%; 
    height: 100px; 
    background-color: #499c42; 
    clip-path: polygon(0 50%, 2% 0, 98% 0, 100% 50%, 98% 100%, 2% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
}

#Code .hexagon-back {
    position: absolute;
    width: 50%; 
    height: 100px; 
    background-color: #198754; 
    clip-path: polygon(0 50%, 2% 0, 98% 0, 100% 50%, 98% 100%, 2% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 0;
    transform: translateY(50px);
} 

@media (max-width: 768px) {
    h3.text-center{  
        font-size:  18px;
    }    
}  

@keyframes fadeInCode {
    0% {
        opacity: 0;
        transform: translateY(20px); 
    }
    100% {
        opacity: 1;
        transform: translateY(0); 
    }
}

/*---------------------------------------------------------------------------------------*/
/* MISION Y VISION
/*---------------------------------------------------------------------------------------*/

#philosophy{
    position: relative;
    margin: 5rem auto;
    max-width: 1700px;
    opacity: 0;
    animation-duration: 0.5s; 
    animation-fill-mode: forwards; 
    animation-name: fadeInPhilosophy;
    animation-delay: 0.5s;
}

.cards {     
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, auto); 
    grid-template-rows: repeat(2, 500px); 
    grid-template-areas: 
        "a b"
        "c d";  
}

.first {
    grid-area: a;
    z-index: -1;
}

.second { 
    grid-area: b;
}

.third { 
    grid-area: c;
}

.fourth {
    grid-area: d;
    z-index: -1;
}


#philosophy .card-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: 0;
    border: 0;
    background: white;    
}  

.first img,
.fourth img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

@media (max-width: 768px) {     
    .cards {     
        display: grid;
        grid-template-columns: repeat(1, 300px); 
        grid-template-rows: 200px 300px 200px 300px;
        grid-template-areas: 
            "a" 
            "b"
            "c" 
            "d";  
    }
    
    .first {
        grid-area: a;
        z-index: -1;
    }
    
    .second { 
        grid-area: b;
    }
    
    .third { 
        grid-area: d;
    }
    
    .fourth {
        grid-area: c;
        z-index: -1;
    }

    p{font-size:  13px;}
    
    #philosophy .card-text {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 100%;
        width: 100%;
        border-radius: 0;
        border: 0;
        background: white;    
    }   
}  


@keyframes fadeInPhilosophy {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Desplazamiento inicial */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Vuelve a su posición original */
    }
}