body{
  background: #16222A;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #3A6073, #16222A);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #3A6073, #16222A); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  

  
  
  
}
#header{
  background: #0F2027; 
  background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027);  
  background: linear-gradient(to right, #2C5364, #203A43, #0F2027); 
    
}


.text-platzi{
    color: #97c93e !important;
}


#header .navbar-brand img{
    /* object-fit: cover; */
    width: 200px; 
    height: 60px;
}

#main{
    margin-top: 75px;
    color: white;
}

.btn-adegea{
    background-color: #1f3905;
    color: white;
    border: none;
}
.btn-adegea:hover{
    background-color: #82ad36;
}

.btn-outline-light1{
    background-color:#1c3643;
    border: none;
    color: white;
}


#main .carousel-inner img{
    max-height: 70vh;
    object-fit: cover;
    /* filter: grayscale(70%); */

}

#carousel {
    position: relative;
}

#carousel .overlay{
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgb(0,0,0,0.5);
    color: white;
}

#header img{
    width: 80px;
}

#place-time{
  background: #0F2027;  
  background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027); 
  background: linear-gradient(to right, #2C5364, #203A43, #0F2027);
  color: white;
}

#place-time img{
  padding-top: 15px;
  object-fit: cover;
    padding-left: 25px;
    max-width: 90%;
    max-height: 120%;
}


#place-time1 {
  background: linear-gradient(to right, #2C5364, #203A43, #0F2027);
  color: white;
}


#place-time1 img{
  padding-top: 40px;
  padding-left: 4px;
  max-width: 70%;
  max-height: 90%;
}

#footer{
  background: #0f0c29;  
  background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);  
  background: linear-gradient(to right, #24243e, #302b63, #0f0c29); 
}

#footer a{
    text-decoration:none;
    color: white;
}

/* Efectos cARD */
.card {
    transition: transform 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
    /* background:#30523f; */
    background: #2C3E50;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #4CA1AF, #2C3E50); 
    background: linear-gradient(to right, #4CA1AF, #2C3E50);

  }
  
  .card:hover {
    transform: scale(1.05);
    opacity: 0.8;
  }
  .card button {
    transition: background-color 0.2s ease-in-out;
    
  }
  
  .card button:hover {
    background-color: #f5f5f5;
  }  

  .card-title{
    color:#1ab5f2;
  }

/* Efectos Card */


/* Servicios */

#servicios {
    display: flex;
    align-items: center;
}
#servicios .card-title{
   color:white;
   font-weight: bold;
}
#servicios .card{
  background-color: #377970;
}

.card2{
    align-items: center;
}

.card-pad{
  padding-top: 2px;
}

.card-img-top1{
    width: 70px;
   
}


/* Estilos para la primera fila de logos (5 logos) */
.fila-1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-right: 30px;
  }
  
  .fila-1 img{
    width: 85px;
  }
  
  .fila-1-servicio {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .fila-1-servicio img{
    width: 50px;
  }
  
  
  /* Estilos para la segunda fila de logos (4 logos) */

/* servicios */

.ml14 {
  font-weight: 400;
  font-size: 2.5rem; /* más adaptable que em */
  color: white;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ml14 .text-wrapper {
  display: inline-block;
  position: relative;
  padding: 0.1em 0.5em;
  white-space: normal; /* Permite salto de línea */
  width: 100%;
}

.ml14 .letters {
  display: inline-block;
  line-height: 1.2;
  white-space: normal; /* IMPORTANTE para responsividad */
}

.ml14 .line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #fff;
}


  .ml3 {
    font-weight: 400;
    font-size: 2.5em;
    color: white;
  }

  .ml3 .text-wrapper1 {
    position: relative;
    display: flex;
    justify-content: center;    
    align-items: center;
    padding-top: 0.1em;
    padding-right: 0.5em;
    padding-bottom: 0.15em;
    text-align: center; /* Alineación de texto centrada */
    white-space: nowrap; /* Evitar que el texto se desborde en pantallas pequeñas */
  }

  #bodyM {
    margin: 0;
    overflow: hidden;
    perspective: 1000px; /* Establece la perspectiva */
  }


  .planet {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/The_Earth_seen_from_Apollo_17.jpg/800px-The_Earth_seen_from_Apollo_17.jpg');
    background-size: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(0deg); /* Posición inicial y rotación */
    animation: rotatePlanet 20s linear infinite; /* Animación de rotación */
  }

  @keyframes rotatePlanet {
    from {
      transform: translate(-50%, -50%) rotateY(0deg); /* Rotación inicial */
    }
    to {
      transform: translate(-50%, -50%) rotateY(360deg); /* Rotación completa */
    }
  }
  .img-fluid{
    width: 500px;
    height: 200px;
  }

  .logo-institucional {
    max-height: 200px;
    width: auto;
    height: auto;
  }

  #contenedor-mapas {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #0F2027;  
    background: -webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027); 
    background: linear-gradient(to right, #2C5364, #203A43, #0F2027);

}

#map {
    width: 100%; 
    height: 400px;
    border: 2px solid #ddd; 
    border-radius: 10px;
    padding-left: 1px;
}


