@font-face {
    font-family: Georgia;
    src: url('../fonts/Georgia.ttf');
}

@font-face {
    font-family: AR Bonnie;
    src: url('../fonts/AR-BONNIE-FONT.ttf');
}

body {
    background-color: #333;        
    margin-left: 15%;
    margin-right: 15%;
    padding: 0;
    overflow-x: hidden;
}

header {
    background-image: url('../img/alejandroMartino.jpg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    color: white;
    text-align: center; 
    padding-top: 0px; 
    width: 100%;
    height: 600px;   
    opacity: 0;
    animation: fadeIn 2s forwards;
}

.fade-in {
    width: 35%;
    height: 35%;
    text-align: left; 
    opacity: 0;
    animation: fadeIn 3s ease-in-out forwards;
    position: relative;
    top: 15%; 
    left: 10%; 
    font-size: 1.5em;
    font-family: 'Georgia', serif; 
    display: flex;
}

.barra-vertical {
    width: 10px;
    background-color: #d94475;
    margin-right: 10px; 
}

.novedades {
    flex: 1;
    padding: 10px;
    font-size: 0.83em;
    color: #e8c595;
}

.tituloNovedad {
    flex: 1;
    padding: 10px;
    font-size: 1.25em;
    font-weight: bold;
    color: #ffffff;
}

.subtituloNovedad {
    flex: 1;
    padding: 10px;
    font-size: 0.835em;
    color: #ffffff;
}

.clickNovedad {
    flex: 1;
    padding: 10px;
    font-size: 0.83em;
    color: #e6d597;
    text-decoration: none;
}

.slideInText {
    font-family: 'AR Bonnie', serif;
    font-size: 8em;
    font-variant: small-caps;
    opacity: 0;
    transform: translateY(50%) translateX(-80%); 
    animation: slideInText 0.8s forwards;
    line-height: 0.9em; 
}

.reducedLineSpacing {
    display: block;
    line-height: 0.8em;
}

.button {
    font-family: 'AR Bonnie', serif; 
    font-variant: small-caps;
    border: none;
    color: white;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2.3em;
    margin: 0px 0px;
    cursor: pointer;
    height: 200px;
    width: 100%;
    line-height: 0.8em; 
}

.button a {
    text-decoration: none;
    color: white;
}

nav {
    height: 200px;          
}

nav ul {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    width: 17%;
    margin-right: 0px;  
    opacity: 0;
    animation: fadeIn 1.5s ease forwards; 
}

nav li:nth-child(1) { animation-delay: 0s; }
nav li:nth-child(2) { animation-delay: 0.5s; }
nav li:nth-child(3) { animation-delay: 1.0s; }
nav li:nth-child(4) { animation-delay: 1.5s; }
nav li:nth-child(5) { animation-delay: 2.0s; }
nav li:nth-child(6) { animation-delay: 2.5s; }

nav li:nth-child(1) button { background: linear-gradient(#a32d31, #382b2b);} /* Rojo */
nav li:nth-child(2) button { background: linear-gradient(#bb6724, #3a2f2b);} /* Anaranjado */
nav li:nth-child(3) button { background: linear-gradient(#c19449, #3b322d);} /* Amarillo */
nav li:nth-child(4) button { background: linear-gradient(#5E711C, #39352D);} /* Verde claro */
nav li:nth-child(5) button { background: linear-gradient(#264215, #302d2a);} /* Verde oscuro */
nav li:nth-child(6) button { background: linear-gradient(#183345, #352E31);} /* Azul */


.section {
    width: 100%;
    height: 300px; 
    display: flex;
    overflow: hidden; 
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'AR Bonnie', serif;
    font-variant: small-caps; 
    position: relative;
    margin-top: 5px; 
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;  
}

#section1 {        
    background-image: linear-gradient(to right, rgba(194, 46, 49), rgba(94, 44, 45)); 
    /*background-image: linear-gradient(to right, rgba(35, 71, 16), rgba(44, 52, 34));*/
}

#section2 {
    background-image: linear-gradient(to right, rgba(224, 118, 36), rgba(103, 67, 39));
    /*background-image: linear-gradient(to right, rgba(194, 46, 49), rgba(94, 44, 45));*/
}

#section3 {
    background-image: linear-gradient(to right, rgba(229, 175, 79), rgba(106, 84, 55));
    /*background-image: linear-gradient(to right, rgba(224, 118, 36), rgba(103, 67, 39));*/
}

#section4 {
    background-image: linear-gradient(to right, rgba(94, 113, 28), rgba(57, 53, 45));
    /*background-image: linear-gradient(to right, rgba(229, 175, 79), rgba(106, 84, 55));*/
}

#section5 {
    background-image: linear-gradient(to right, rgba(35, 71, 16), rgba(44, 52, 34));   
}

#section6 {
    background-image: linear-gradient(to right, rgba(24, 51, 69), rgba(53, 46, 49));    
}

.imagen1 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; 
}

.imagen1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/musica.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: transform 0.5s ease;
    z-index: 1;
}       

.imagen1:hover::before {
    transform: scale(1.1);   
}

.imagen1:hover .linkSection {
    transform: translateY(0); 
    opacity: 1; 
}

.imagen2 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; 
}

.imagen2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/literatura.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: transform 0.5s ease;
    z-index: 1;
}       

.imagen2:hover::before {
    transform: scale(1.1);   
}

.imagen2:hover .linkSection {
    transform: translateY(0); 
    opacity: 1; 
}

.imagen3 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; 
}

.imagen3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pedagogia.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: transform 0.5s ease;
    z-index: 1;
}       

.imagen3:hover::before {
    transform: scale(1.1);   
}

.imagen3:hover .linkSection {
    transform: translateY(0); 
    opacity: 1; 
}

.imagen4 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; 
}

.imagen4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fotografia.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: transform 0.5s ease;
    z-index: 1;
}       

.imagen4:hover::before {
    transform: scale(1.1);   
}

.imagen4:hover .linkSection {
    transform: translateY(0); 
    opacity: 1; 
}

.imagen5 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; 
}

.imagen5::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/video.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: transform 0.5s ease;
    z-index: 1;
}       

.imagen5:hover::before {
    transform: scale(1.1);   
}

.imagen5:hover .linkSection {
    transform: translateY(0); 
    opacity: 1; 
}

.imagen6 {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden; 
}

.imagen6::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/arquitectura.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: transform 0.5s ease;
    z-index: 1;
}       

.imagen6:hover::before {
    transform: scale(1.1);   
}

.imagen6:hover .linkSection {
    transform: translateY(0); 
    opacity: 1; 
}

.linkText a {
    text-decoration: none;
    color: #ffffff;
}
  
.linkSection {
    position: absolute;
    bottom: 40px;
    left: 100px;
    right: 0;
    padding: 10px; 
    font-family: 'Georgia', serif;
    color: #ffffff;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 1); 
    font-size: 1em;
    font-variant: normal;
    text-decoration: none;
    opacity: 0;
    z-index: 2;
    transition: transform 0.5s ease, opacity 0.5s ease; 
    transform: translateY(100%); 
}

.linkSection a {
    text-decoration: none;
    color: #ffffff;
}

.titulo {
    color: white;
    z-index: 3;
    font-size: 4em;
    text-align: right;
    margin-right: 5%; 
    opacity: 1;
    position: relative;            
    transform: translateY(0%) translateX(0%);             
    animation: slideInSectionText 1s forwards; 
}

.titulo a {
    color: white;
    text-decoration: none;
}

.titulo4 {
    color: white;
    z-index: 3;
    font-size: 4em;
    text-align: right;
    margin-right: 5%; 
    opacity: 1;
    position: relative;            
    transform: translateY(0%) translateX(0%);             
    animation: slideInSectionText4 1s forwards; 
}

.titulo4 a {
    color: white;
    text-decoration: none;
}
/*
.footer1Section {  
    font-family: 'AR Bonnie', serif;  
    font-variant: small-caps;   
    display: flex;      
    justify-content: center;
    align-items: center;     
    margin-top: 5px; 
    width: 100%; 
    height: 300px;
    opacity: 0;  
    background: linear-gradient(#413053, #312B2B);
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;      
}

.footer1SubSection {
    border: none;
    padding: 100px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 3em;
    margin: 15px 15px;
    cursor: pointer;
    width: 33%;    
    border-right: 2px solid #5f5a59; 
}

.footer1SubSection:last-child {
    border-right: none;
}

.footer1SubSection a {
    text-decoration: none;
    color: white;
}
*/

.footer1Section {  
    font-family: 'AR Bonnie', serif;  
    font-variant: small-caps;   
    display: flex;          
    justify-content: center; /* Center items horizontally */
    align-items: center;     /* Center items vertically */
    margin-top: 5px; 
    width: 100%; 
    height: 300px;
    opacity: 0;  
    background: linear-gradient(#413053, #312B2B);
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;      
}

.footer1SubSection {
    padding: 100px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 3em;
    margin: 15px 0; /* Adjust margin to ensure even spacing */
    cursor: pointer;
    width: 33%;    
    display: flex;
    justify-content: center;
    position: relative;
}

.footer1SubSection + .footer1SubSection::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #5f5a59;
}

.footer1SubSection a {
    text-decoration: none;
    color: white;
}


.footer2Section {  
    font-family: 'AR Bonnie', serif; 
    font-variant: small-caps;    
    display: flex;   
    margin-top: 5px;       
    width: 100%;   
    opacity: 0;  
}

.footer2SubSection {
    border: none;
    padding: 50px 50px 50px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2em;
    margin: 0px 0px;
    cursor: pointer;
    height: 100px;
    width: 45%;
    background-color: #333;     
}

.footer2SubSection a {
    text-decoration: none;
    color: white;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
       opacity: 1;
   }
}

@keyframes slideInText {
    to {
        opacity: 1;
        transform: translateY(50%) translateX(-28%);
    }
}

@keyframes slideInSectionText {
    to {
        transform: translateY(120%) translateX(0%);
    }
}

@keyframes slideInSectionText4 {
    to {
        transform: translateY(65%) translateX(0%);
    }
}