@import url("https://fonts.cdnfonts.com/css/thegoodmonolith");
@import url('https://fonts.googleapis.com/css?family=Poppins:400,700,900');


@font-face {
  src: url("https://fonts.cdnfonts.com/css/pp-neue-montreal") format("woff2");
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: 400;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "TheGoodMonolith", monospace;
  background-color: #111;
  color: #f0f0f0;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

/* Main container */
.container {
  position: absolute; /* org position: relative; */
  max-width: 100%;
  height: 100%;  /* org height: 100vh; */
  overflow: hidden;
}

/* Grid layout */
.grid-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.grid-item {
  position: relative;
  overflow: hidden;
}

.grid-item-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.efecto1, .efecto2, .efecto3, .efecto4, .efecto5 {
  transition: transform 0.5s ease, filter 1s ease-out, opacity 1s ease-out;
}

.efectoL {
  transition: transform 0.5s ease, opacity 1s ease-out;
}

.efectoFont {
  opacity: 0;
}

.efectoFont1, .efectoFont2, .efectoFont3, .efectoFont4, .efectoFont5 {
  transition: opacity 1s ease-out;
}

.efecto1:hover, .efecto2:hover, .efecto3:hover, .efecto4:hover, .efecto5:hover {
  transform: scale(1.5, 1.5);
  filter: blur(20px);
  opacity: 0;
}

.efectoL:hover  {
  transform: scale(1.2, 1.2);
  opacity: 0;
}

body:has(.efecto1:hover) .efectoFont1  {
  opacity: 1;
}

body:has(.efecto2:hover) .efectoFont2  {
  opacity: 1;
}

body:has(.efecto3:hover) .efectoFont3  {
  opacity: 1;
}

body:has(.efecto4:hover) .efectoFont4  {
  opacity: 1;
}

body:has(.efecto5:hover) .efectoFont5  {
  opacity: 1;
}

/* Target image (5th image) */
.grid-item.target {
  grid-column: 2;
  grid-row: 2;
}

/* Slide layers - stacking order is important */
/* Base layer - current slide */
.slider-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

/* Background parallax layer */
.slider-image-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  z-index: 85; /* Higher than base layer */
  opacity: 0;
  visibility: hidden;
  will-change: transform;
  transform-origin: center;
}

/* Top layer - next slide */
.slider-image-next {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 90; /* Highest z-index to always appear on top */
  opacity: 0;
  visibility: hidden;
  will-change: transform;
  transform-origin: center;
}

/* Transition overlay */
.transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  will-change: opacity;
}

/* Content area */
.content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  padding: 10% 10%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.content-title {
  text-align: left;
  font-family: 'Poppins';
  font-size: 2.8rem;
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  overflow: hidden;
  text-shadow: 2px 2px 6px #444;
  max-width: 660px;
  /* background-color: #00000087;
  padding: 14px; */
}

.content-title span {
  display: block;
  transform: translateY(100%);
}

/* Simple paragraph styling */
.content-paragraph {
  text-align: left;
  font-family: 'Poppins';
  font-size: 1.071rem;
  color: #f0f0f0;
  max-width: 660px;
  line-height: 1.3;
  margin-bottom: 4%;
  opacity: 0; /* Start hidden */
  text-shadow: 2px 2px 6px #444;
}

/* Thumbnails */
.thumbnails {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 200;
}

.thumbnail {
  width: 60px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: border 0.3s ease;
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.thumbnail:hover {
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.thumbnail.active {
  border: 2px solid #fff;
}

/* Switch buttons */
.switch {
  position: fixed;
  bottom: 45.5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  background: #222;
  padding: 10px 20px;
  border-radius: 4px;
  z-index: 1000;
  transition: padding 0.3s ease-in-out, bottom 0.5s;
  border: 1px solid #B3B9B4;
}

.switch-button {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-family: 'Poppins';
  font-size: 2.5rem;
  padding: 4px 5px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.switch-button-current {
  color: #f0f0f0;
}

/* Indicator dot - smaller and closer to text */
.indicator-dot {
  position: absolute;
  width: 5px; /* Smaller dot */
  height: 5px; /* Smaller dot */
  background-color: #f0f0f0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  top: 50%;
  transform: translateY(-50%);
}

.switch-button-grid .indicator-dot {
  left: -8px; /* Closer to text */
}

.switch-button-slider .indicator-dot {
  right: -8px; /* Closer to text */
}

.switch-button:hover .indicator-dot {
  opacity: 1;
}

.nucleo {
  font-family: 'Poppins';
  font-weight: 500;
  text-align: center;
  font-size: 3vmin;
  z-index: 80; 
  width: 100%;
  padding: 10%;
  pointer-events: none;
  opacity: 0;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.col1{
  background-color: #3b93a7;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: contrast(110%);
} 

.col2{
  background-color: #c99465;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: contrast(120%);
}

.col3{
  background-color: #e25738; 
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: contrast(120%); 
}

.col4{
  background-color: #5c7755;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: contrast(110%);
}

.col{
  background-color: #B3B9B4;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
} 

.col5{
  background-color: #B3B9B4;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: contrast(150%);
} 

.content-ruta {
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.6);
  color: rgb(0, 0, 0);
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8rem;
  width: 150px;
  pointer-events: none;
  cursor: pointer;
}

.tema1, .tema2, .tema3, .tema4  {
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}

.tema5 {
  border-top: solid 1px rgba(255, 255, 255, 0.0);
}

.tema {
  border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}

.tema:hover, .tema:active {
  color: white;
  cursor: default;
}

.tema1:hover, .tema1:active {
  color: white;
  background-color: #3b93a7;
  border-top: solid 1px rgba(255, 255, 255, 0.2);
}

.tema2:hover, .tema2:active {
  color: white;
  background-color: #c99465;
}

.tema3:hover, .tema3:active {
  color: white;
  background-color: #e25738;
}

.tema4:hover, .tema4:active {
  color: white;
  background-color: #5c7755;
}

.tema5:hover, .tema5:active {
  color: white;
  background-color: #B3B9B4;
}

.content-ruta:hover, .content-ruta:active {
  background-color: rgba(255, 254, 254, 0.8);
}

a  {
  font-family: 'Poppins';
  z-index: 100;
  cursor: pointer;
  color: #424242;
  text-decoration: none;
  }
  
a:visited {
  font-family: 'Poppins';
  text-decoration: none;
}
 
.bar1, .bar2, .bar3 {
  width: 2.5rem;
  height: 5px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
  background-color: #CBCCCF;
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  transform: translate(0, -11px) rotate(45deg);
  background-color: #CBCCCF; 
} 

.menu {
  display: inline-block;
  cursor: pointer;
  position: fixed;
  z-index: 1120;
  right: 0px;
  margin: 20px;
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  background-color: #202430;
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 300px;
  text-align: center;
  margin-top: 30px;
  display: block;
  margin: auto;
  width: 50%;
}

.overlay a {
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 2rem;
  line-height: 1.5;
  padding: 8px;
  text-decoration: none;
  color: #CBCCCF;
  display: block;
  transition: 0.3s;
}

.show {height: 100%;}

 .logos {
   z-index: 300; 
   top: 14px; 
   position: absolute; 
   width: 40rem; 
   height: 5rem;
 }
 
 .logotipoUNAM {
   position: relative;
   width: 4.6rem;  
   height: 4.6rem; 
   background-image: url("../images/logo_unam_responsivo.svg");
   background-repeat: no-repeat;
   float: left;
 }
 
 .logotipoIIE {
   position: relative;
   width: 4.65rem;   
   height: 4.2rem; 
   background-image: url("../images/logo_iie_responsivo.svg");
   background-repeat: no-repeat;
   float: left;
 }
 
 .logotipoGetty {
   position: relative;
   width: 7.6rem;            
   height: 4.2rem; 
   background-image: url("../images/getty.svg");
   background-repeat: no-repeat;
   float: left;
 }
 
 .logotipoPosgrado {
    position: relative;
    width: 9.7rem;             
    height: 4.2rem; 
    background-image: url("../images/posgrado.svg");
    background-repeat: no-repeat;
    float: left;
  }
  
  .logotipoSur {
    position: relative;
    width: 7rem;             
    height: 4.2rem; 
    background-image: url("../images/desde_el_sur.svg");
    background-repeat: no-repeat;
    float: left;
  }

/* ------------  */
 
@media (orientation: portrait) {
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }  
}


@media (orientation: portrait) and (max-width: 640px) {  
  
  .overlay-content {
    top: 10%; 
  } 
  
  .logos {
    top: 17px; 			  
    width: 23rem; 		
    height: 3rem;     
  }
  
  .logotipoUNAM {
    width: 3.1rem; 		
    height: 3.1rem; 	
  }
   
  .logotipoIIE {
    width: 3.2rem; 		
    height: 2.8rem; 	
  }
  
  .logotipoPosgrado {    
    width: 6.6rem;		
    height: 2.8rem;		
  }
  
  .logotipoGetty {
    width: 5.2rem;		
    height: 2.8rem;		
  }
  
  .logotipoSur {        
    width: 4.6rem;		
    height: 2.8rem;		
  }
  
}

 
@media (orientation: portrait) and (max-width: 540px) and (max-height: 720px) {  
  
  .overlay-content {
    top: 10%; 
  } 
  
  .logos {
    top: 17px; 			  
    width: 23rem; 		
    height: 3rem;     
  }
  
  .logotipoUNAM {
    width: 3.1rem; 		
    height: 3.1rem; 	
  }
   
  .logotipoIIE {
    width: 3.2rem; 		
    height: 2.8rem; 	
  }
  
  .logotipoPosgrado {    
    width: 6.6rem;		
    height: 2.8rem;		
  }
  
  .logotipoGetty {
    width: 5.2rem;		
    height: 2.8rem;		
  }
  
  .logotipoSur {        
    width: 4.6rem;		
    height: 2.8rem;		
  }
  
}


@media (orientation: portrait) and (max-width: 540px) and (max-height: 720px) {  
  
  .overlay-content {
    top: 10%; 
  } 
  
  .logos {
    top: 17px; 			  
    width: 23rem; 		
    height: 3rem;     
  }
  
  .logotipoUNAM {
    width: 3.1rem; 		
    height: 3.1rem; 	
  }
   
  .logotipoIIE {
    width: 3.2rem; 		
    height: 2.8rem; 	
  }
  
  .logotipoPosgrado {    
    width: 6.6rem;		
    height: 2.8rem;		
  }
  
  .logotipoGetty {
    width: 5.2rem;		
    height: 2.8rem;		
  }
  
  .logotipoSur {        
    width: 4.6rem;		
    height: 2.8rem;		
  }
  
}



@media (orientation: portrait) and (max-height: 640px) {
  
  .nucleo {
    font-size: 3vmin;
  } 
  .thumbnail {
    width: 45px;
    height: 40px;
  }
  
  .overlay-content {
    top: 15%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.6rem;
    line-height: 1.6;
  }     
    
  .content-title {
    font-size: 1.8rem;
    margin-bottom: .6rem;
  } 
  
  .content-paragraph {
    font-size: 1rem;
  }  
  
  .content-ruta {
    padding: 12px 22px;  
    font-size: 0.9rem;
    width: 120px;
    margin-bottom: 2.9rem;
  }
  
}

@media (orientation: portrait) and (max-height: 500px) and (max-width: 400px) {
  
  .nucleo {
    font-size: 3vmin;
  } 
  .thumbnail {
    width: 45px;
    height: 40px;
  }
  
  .overlay-content {
    top: 15%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.6rem;
    line-height: 1.6;
  }     
    
  .content-title {
    font-size: 1.8rem;
    margin-bottom: .6rem;
  } 
  
  .content-paragraph {
    font-size: 0.8rem;
  }  
  
  .content-ruta {
    padding: 12px 22px;  
    font-size: 0.9rem;
    width: 120px;
    margin-bottom: 2.9rem;
  }
  
}


@media (orientation: portrait) and (max-width: 420px) {
   
  .logos {
    top: 8px; 			  
    width: 23rem; 		
    height: 3rem;     
  }
  
  .logotipoUNAM {
    width: 3.1rem; 		
    height: 3.1rem; 	
  }
   
  .logotipoIIE {
    width: 3.2rem; 		
    height: 2.8rem; 	
  }
   
  .logotipoPosgrado {    
    width: 6.6rem;		
    height: 2.8rem;		
  }
  
  .logotipoGetty {
    width: 5.2rem;		
    height: 2.8rem;		
  }
  
  .logotipoSur {        
    width: 4.6rem;		
    height: 2.8rem;	
    display: none;	
  } 
  
}

@media (orientation: portrait) and (max-width: 393px) {
  
  .nucleo {
    font-size: 3vmin;
  } 
  .thumbnail {
    width: 45px;
    height: 40px;
  }
  
  .overlay-content {
    top: 15%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.5rem;
    line-height: 1.5;
  }     
  
  .menu {
    margin-top: 8px;
  } 
  
  .content-title {
    font-size: 1.8rem;
    margin-bottom: .6rem;
  } 
  
  .content-paragraph {
    font-size: 1rem;
  }  
  
  .content-ruta {
    padding: 12px 22px;  
    font-size: 0.9rem;
    width: 120px;
    margin-bottom: 2.9rem;
  }
  
  .logos {
    top: 5px; 			  
    width: 23rem; 		
    height: 3rem;     
  }
  
  .logotipoUNAM {
    width: 3.1rem; 		
    height: 3.1rem; 	
  }
   
  .logotipoIIE {
    width: 3.2rem; 		
    height: 2.8rem; 	
  }
   
  .logotipoPosgrado {    
    width: 6.6rem;		
    height: 2.8rem;		
  }
  
  .logotipoGetty {
    width: 5.2rem;		
    height: 2.8rem;		
  }
  
  .logotipoSur {        
    width: 4.6rem;		
    height: 2.8rem;	
    display: none;	
  } 
  
}

@media (orientation: portrait) and (max-width: 393px) and (max-height: 540px) {
  
  .content-title {
    font-size: 1.8rem;
    margin-bottom: .6rem;
  } 
  
  .content-paragraph {
    font-size: 0.8rem;
  }  
  
  .content-ruta {
    padding: 12px 22px;  
    font-size: 0.9rem;
    width: 120px;
    margin-bottom: 2.9rem;
  }
  

  
}

@media (orientation: portrait) and (max-width: 320px) {
  
  .nucleo {
    font-size: 3vmin;
  } 
  
  .thumbnail {
    width: 39px;
    height: 40px;
  }
  
  .overlay-content {
    top: 10%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.3rem;
    line-height: 1.4;
  }     
  
  .menu {
    margin-top: 8px;
  } 
  
  .content-title {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
  } 
  
  .content-paragraph {
    font-size: 0.8rem;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.8rem;
    width: 110px;
    margin-bottom: 2.9rem;
  } 
  
  .logos {
    top: 5px; 
    width: 18rem;
    height: 3rem;       
  }
  
  .logotipoUNAM {
    width: 3rem; 
    height: 3rem; 
  }
   
  .logotipoIIE {
    width: 3.2rem; 		
    height: 2.8rem; 	
  }
  
  .logotipoPosgrado { 
    top: 1px;   
    width: 5.5rem;		
    height: 3.1rem;		
  }
  
  .logotipoGetty {
    top: 2px;
    width: 4.3rem;		
    height: 2.8rem;		
  }
  
  .logotipoSur {        
    width: 4.6rem;		
    height: 2.8rem;		
    display: none;
  }
  
}

@media (orientation: portrait) and (max-width: 200px) {
  
  .nucleo {
    font-size: 3vmin;
  } 
  
  .switch  {
    padding: 5px 10px;
  }
  
  .switch-button  {
    font-size: 1rem;
  }  
  
  .thumbnail {
    width: 39px;
    height: 40px;
  }
  
  .overlay-content {
    top: 10%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.3rem;
    line-height: 1.4;
  }     
  
  .menu {
    margin-top: 8px;
  } 
  
  .content-title {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
  } 
  
  .content-paragraph {
    font-size: 0.8rem;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.8rem;
    width: 110px;
    margin-bottom: 2.9rem;
  } 
  
}


@media (orientation: landscape) and (max-height: 990px) {
  
  .nucleo {
    font-size: 2.8vmin;
  }
  
  .overlay-content {
    top: 20%;
    width: 60%;
  } 
  
}


@media (orientation: landscape) and (max-height: 800px) {
  
  .nucleo {
    font-size: 2.8vmin;
  }
  
  .overlay-content {
    top: 15%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.1rem;
    line-height: 1.3;
  } 
  
  .content-ruta {
    margin-bottom: 0rem;
  }
  
  .content-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  } 
  
  .content-paragraph {
    font-size: 1rem;
    margin-bottom: 2rem;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.95rem;
    width: 120px;
    margin-bottom: 3rem;
  }
  
  .logos {
     top: 12px; 
     width: 40rem; 		
     height: 5rem;		
   }
   
  .logotipoUNAM {
    width: 4.6rem;  		
    height: 4.6rem; 		
  }
   
  .logotipoIIE {
    width: 4.65rem;		
    height: 4.2rem;		
  }
   
  .logotipoPosgrado {
    width: 9.7rem;			
    height: 4.2rem; 	
  }
  
  .logotipoGetty {
    width: 7.6rem;		
    height: 4.2rem;		
  }
    
  .logotipoSur {
    width: 7rem;		
    height: 4.2rem;		
  }  
  
}




@media (orientation: landscape) and (max-height: 700px) and (min-width: 800px) {
  
  .nucleo {
    font-size: 2.8vmin;
  }
  
  .overlay-content {
    top: 15%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.1rem;
    line-height: 1.3;
  } 
  
  .content-ruta {
    margin-bottom: 0rem;
  }
  
  .content {
   padding-bottom: 5%
  } 
  
  
  .content-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  } 
  
  .content-paragraph {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 900px;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.95rem;
    width: 120px;
    margin-bottom: 0rem;
  }
  
  .logos {
    top: 12px; 
    width: 40rem; 		
    height: 5rem;	
  }
   
  .logotipoUNAM {
    width: 4.6rem;  	
    height: 4.6rem; 	
  }
   
  .logotipoIIE {
    width: 4.65rem;	
    height: 4.2rem;	
  }
   
  .logotipoPosgrado {
    width: 9.7rem;	
    height: 4.2rem;
  }
  
  .logotipoGetty {
    width: 7.6rem;	
    height: 4.2rem;
  }
    
  .logotipoSur {
    width: 7rem;
    height: 4.2rem;
  }
  
}


@media (orientation: landscape) and (max-height: 500px) and (max-width: 500px) {
  .content {
    padding: 5% 10%;
  }  
  
  .overlay-content {
    top: 10%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.4rem;
    line-height: 1.5;
  } 
  
  .content-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  } 
  
  .content-paragraph {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.8rem;
    width: 120px;
    margin-bottom: 3.4rem;
  } 
  
  .logos {
    top: 10px; 
    width: 15rem; 
    height: 5rem;
  }
  
  .logotipoUNAM {
    width: 3rem; 
    height: 3rem; 
  }
   
  .logotipoIIE {
    width: 3.4rem; 
    height: 2.6rem; 
  }
   
  .logotipoGetty {
    width: 8rem; 
    height: 3rem; 
  } 
  
}


@media (orientation: landscape) and (max-height: 440px) {
  
  .content {
    padding: 5% 10%;
  }  
  
  .overlay-content {
    top: 10%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.4rem;
    line-height: 1.5;
  } 
  
  .content-title {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  } 
  
  .content-paragraph {
    font-size: 1rem;
    margin-bottom: 1rem;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.8rem;
    width: 120px;
    margin-bottom: 1.8rem;
  } 
  
  .menu {
    margin-top: 12px;
  }
  
  .logos {
    top: 10px; 
    width: 23rem;
    height: 5rem;
  }
  
  .logotipoUNAM {
    width: 3rem; 
    height: 3rem; 
  }
   
  .logotipoIIE {
    width: 3rem; 
    height: 2.7rem; 
  }
   
  .logotipoPosgrado {
    width: 6.3rem;           
    height: 2.7rem; 
  }
  
  .logotipoGetty {
    width: 5rem;
    height: 2.7rem; 
  }
  
  .logotipoSur {
    width: 4.1rem;             
    height: 3.1rem; 
  }
  
}

@media (orientation: landscape) and (max-height: 440px) {
  
  .content {
    padding: 5% 10%;
  }  
  
  .overlay-content {
    top: 10%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.4rem;
    line-height: 1.5;
  } 
  
  .content-title {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  } 
  
  .content-paragraph {
    font-size: 1rem;
    margin-bottom: 1rem;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.8rem;
    width: 120px;
    margin-bottom: 1.8rem;
  } 
  
  .menu {
    margin-top: 12px;
  }
  
  .logos {
    top: 10px; 
    width: 23rem;
    height: 5rem;
  }
  
  .logotipoUNAM {
    width: 3rem; 
    height: 3rem; 
  }
   
  .logotipoIIE {
    width: 3rem; 
    height: 2.7rem; 
  }
   
  .logotipoPosgrado {
    width: 6.3rem;           
    height: 2.7rem; 
  }
  
  .logotipoGetty {
    width: 5rem;
    height: 2.7rem; 
  }
  
  .logotipoSur {
    width: 4.1rem;             
    height: 3.1rem; 
  }
  
}


@media (orientation: landscape) and (max-height: 440px) and (max-width: 600px) {
  
  .content {
    padding: 5% 10%;
  }  
  
  .overlay-content {
    top: 10%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.3rem;
    line-height: 1.4;
  } 
  
  .content-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  } 
  
  .content-paragraph {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.8rem;
    width: 120px;
    margin-bottom: 3rem;
  } 
  
}


@media (orientation: landscape) and (max-height: 400px) and (max-width: 500px) {
  
  .content {
    padding: 5% 10%;
  }  
  
  .menu {
    margin-top: 10px;
  } 
  
  .overlay-content {
    top: 10%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.4rem;
    line-height: 1.5;
  } 
  
  .content-title {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  } 
  
  .content-paragraph {
    font-size: 0.8rem;
    margin-bottom: .6rem;
  }  
  
  .content-ruta {
    padding: 10px 20px;  
    font-size: 0.8rem;
    width: 120px;
    margin-bottom: 3.4rem;
  } 
  
  .logos {
    top: 10px; 
    width: 24rem; 
    height: 5rem;
  }
  
  .logotipoUNAM {
    width: 3rem; 
    height: 3rem; 
  }
   
  .logotipoIIE {
    width: 3.4rem; 
    height: 2.6rem; 
  }
  
  .logotipoPosgrado {    
    width: 6.6rem;           
    height: 3rem; 
  }
  
  .logotipoGetty {
    width: 6.3rem;        
    height: 3.1rem; 
  }
  
  .logotipoSur {        
    width: 4rem;             
    height: 3rem; 
  }
  
}


@media (orientation: landscape) and (max-height: 355px) {
  
  .menu {
    margin-top: 3px;
  } 
  
  .content-title {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
  } 
  
  .content-paragraph {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }  
  
  .content-ruta {
    padding: 10px 10px;  
    font-size: 0.6rem;
    width: 68px;
    margin-bottom: 0rem;
  } 
  
  .overlay-content {
    top: 5%;
    width: 60%;
  } 
   
  .overlay a {
    font-size: 1.1rem;
    line-height: 1.3;
  } 
  
  .logos {
    top: 0px; 
    width: 23rem;
    height: 3rem; 
  }
  
  .logotipoUNAM {
    width: 3.1rem; 		
    height: 3.1rem; 	
  }
   
  .logotipoIIE {
    width: 3.2rem; 		
    height: 2.8rem; 	
  }
   
  .logotipoPosgrado {    
    width: 6.6rem;		
    height: 2.8rem;		
  }
  
  .logotipoGetty {
    width: 5.2rem;		
    height: 2.8rem;		
  }
  
  .logotipoSur {        
    width: 4.6rem;		
    height: 2.8rem;		
  }  
 
}
