/*Estilos básicos*/

body{
    font-family: 'Alte Haas Grotesk', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.carousel-inner img {
    width: 100%;
    height: 80vh; 

    position: relative;
    z-index: -1; 
    background-position: center center; /* Centrar la imagen */
    background-repeat: no-repeat;
    background-size: contain; 
    
}

header h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}



.btn-warning{
    border: none;
    transition: background-color 0.4s ease;
    border-radius: 25px;
    margin-top: auto;
    width: 100%;
    background-color: #0d0f3b;
    color: white;
}

.btn-warning:hover{
    background-color: orange;
    color: #0d0f3b;
}


.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    border-radius: 10px;
    
}

.card-body-tarjeta{
    padding: 2rem;
}






.tarjeta {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto; 
    
}

.card-body {
    padding: 2rem; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-title {
    font-size: 4rem;
    font-weight: bold;
    color: orange;
}
.ct-2{
    font-size: 2rem;
    font-weight: bold;
    color: orange;
}


.parrafo-superior {
    font-size: 1.3rem;
    color: blue;
    margin-bottom: 0; /* Reducir el margen inferior */
    min-height:3em ;
}

/* Icono ajustado */
.icono-tarjeta {
    max-width: 60px;  /* Tamaño fijo para el icono */
    max-height: 50px;
    opacity: 0.8;
    margin-left: 10px; /* Espacio entre el texto y el icono */
}
.icono-tarjeta2 {
    max-width: 60px;  
    max-height: 50px;
    opacity: 0.8;
    margin-left: 10px; 
}

.contenedor-boton{
    display: flex;               
    flex-direction: column;       
    justify-content: flex-end;
}

.sabermas {
    margin-top: auto;            
    background-color: #0d0f3b;
    border-color: #0d0f3b;
    white-space: nowrap;
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 0.25rem 1.5rem; 
    font-size: 0.75rem; 
    text-align: center;
    display: flex;               
    justify-content: center;      
    align-items: center; 
    width: auto;
    
}

.sabermas:hover {
    background-color: orange;
    border-color: orange;
    color: white;
}


.card-text {
    margin-bottom: 0;
}



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

/*Línea discontinua que separa las tarjetas */
.discontinua{
    border: none; 
    border-top: 3px dashed #000; /*Grosor de la línea */
    margin-left: 5%; 
    margin-right: 5%;
}


.condiciones{
    font-size: 0.8rem;
   margin-bottom: 0;
}

.letrapeq{
    margin-top: 0;
    font-size: 0.7rem;
    cursor: pointer;
}

.custom-header-tv {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)), url('../img/fibraole/index_television.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 80vh;
    min-height: 500px; /* Añade un mínimo para evitar problemas en pantallas pequeñas */
}

.text-shadow {
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
}



@media (min-width: 992px) {
 

  }
  
  
  @media (max-width: 991px) {

    
        body {
            min-height: 100vh; /* Para asegurarse de que la página ocupe todo el viewport */
        }
        .icono-tarjeta-container {
            display: flex;
            justify-content: flex-start;
            width: 100%;
            margin-bottom: 10px; 
        }
    
        .icono-tarjeta {
            align-self: flex-start; /* Alinea el icono en la parte superior */
        }
  
        .sabermas {
           
            width: 100%;
        }

        .carousel-inner img {
        
            height: 60vh; /* Ajustar altura de la imagen para eliminar espacios en blanco */
            
          }

  }

@media (min-width: 768px) and (max-width: 992px) {



}
@media (min-width: 769px){

    #tarjetas{
        margin-top: -80px;
    }

}


@media (max-width: 768px) {
    header {
        padding: 2rem 0; 
        height: 50vh; /* Ajustar altura de la imagen para eliminar espacios en blanco */
        width: auto;
      }
    
      .header-background {
        height: auto; /* Ajusta la altura automáticamente para pantallas móviles */
        
      }

      .carousel-inner img {
        
        height: 60vh; /* Ajustar altura de la imagen para eliminar espacios en blanco */
        object-fit: contain;
      }

      
}
@media (max-width: 524px) {
   
    .carousel-inner img {
        
        height: 30vh; /* Ajustar altura de la imagen para eliminar espacios en blanco */
      }

  
           
}

