@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=.select-wrapper');

:root {
    --primary-color: #4e5358;
    --background-color: #f9f5f0;
    --dark-color: #151515;
}

html {
    font-size: 90.5%;
    font-family: 'Poppins', sans-serif;
    scroll-behavior:inherit;
      
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ********************************** */
/*             UTILIDADES             */
/* ********************************** */
.container {
    max-width: 120rem;
    margin: 0 70px;

}

.header1 {
    text-align: center;
    font-weight: 500;
    font-size: 3rem;

}

/* ********************************** */
/*               HEADER               */
/* ********************************** */

.container-hero {
    background-color: var(--background-color);
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8PX 0;

}

.customer-support {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 70.5%;
    margin-top: 30px;
}

.customer-support i {
    font-size: 2.3rem;

}

.content-customer-support {
    display: flex;
    flex-direction: column;
}

.container-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;

}

.container-logo i {
    font-size: 3rem;
}

.container-logo h1 a {
    text-decoration: none;
    color: #000;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.container-user {
    display: flex;
    gap: 1rem;
    cursor: pointer;
    margin-top: 30px;
}

.container-user .fa-user {
    font-size: 3rem;
    color: var(--primary-color);
    padding-right: 2.5rem;
    border-right: 1px solid #e2e2e2;
}

.container-user .fa-basket-shopping {
    font-size: 3rem;
    color: var(--primary-color);
    padding-left: 1rem;
}

.content-shopping-cart {
    display: flex;
    flex-direction: column;
}

#logoimg {
    height: 100px;

}

@keyframes scaleUp {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

.logo{
    transform: scale(0.5);
    transition: transform 1s; /* Agregamos una transición para un cambio suave */
}

.logo {
    animation: scaleUp 1.5s ease-in-out forwards;
}


.primary#cotizar {
    background-color: #3855b0;
}

.primary#cotizar:hover {
    background-color: #273c7d;
}
  /* Estilos para pantallas pequeñas */
  @media (max-width: 768px) {
    .container-hero {
      flex-direction: column; /* Cambia la dirección de la columna en pantallas pequeñas */
    }
  
    .customer-support,
    .container-user {
      display: none; /* Oculta los elementos en pantallas pequeñas */
    }
  
    .container-logo {
        text-align: center;
      }
      
   
  }

/* Others */

#header1 {
    background-color: rgb(255, 255, 255);
}

#nav {
    background-color: #4e5358;
}

#sec1 {
    background-color: #1e252d;
}




/* ********************************** */
/*              FOOTER               */
/* ********************************** */

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #4e5358;
    /* Color de fondo del footer, ajusta según tu diseño */
    padding: px;
    /* Ajusta el espaciado interior según tus necesidades */
    color: #fff;
    /* Color del texto, ajusta según tu diseño */
    text-align: center;
    /* Centra el texto en cada sección del footer */
}

.footer-section {
    flex: 1;
    text-align: left;
    /* Alinea el texto a la izquierda dentro de cada sección */
    padding: 30px;
    /* Ajusta el espaciado interno según tus necesidades */
}

.logofooter {
    width: 250%;
    /* Ajusta el ancho de la imagen según tus necesidades */
    max-width: 250px;
    /* Ancho máximo para evitar que la imagen sea demasiado grande en dispositivos grandes */
    height: 90%;
    /* Para mantener la proporción de la imagen */
}

.footer-section a {
    color: #fff;
    /* Color de los enlaces, ajusta según tu diseño */
    text-decoration: none;
}

.icons.alt {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.icons.alt li {
    margin: 0 5px;
    /* Ajusta el espaciado entre los iconos según tus necesidades */
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        flex: 1;
        text-align: center;
        padding: 20px;
    }

    .footer-section:not(:last-child) {
        margin-bottom: 20px;
    }

    .logofooter {
        width: 100%;
        max-width: none;
    }
}


/* ********************************** */
/*              SECCIONES               */
/* ********************************** */

/* Seccion Banner */
ul li a {
    text-decoration: none; /* Elimina la decoración del subrayado */
    color: white;
  }
  
.banner {
    background-image: linear-gradient(100deg, #1612224e, #11102ada),
        url('../images/banner4.jpg');
    height: 70rem;
    background-size: cover;
    background-position: center;
}

h2#title {
    font-size: 50px;
}

.content-banner h2 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.content-banner a {
    margin-top: 2rem;
    text-decoration: none;
    color: #fff;
    background-color: var(--primary-color);
    display: inline-block;
    padding: 1rem 3rem;
    text-transform: uppercase;
    border-radius: 3rem;
}

#contacto-seccion {
    display: flex;
    align-items: center;
    padding: 60px;
    padding-top: 20px;
    background-color: #1e252d;
    height: 600px;
}

.slider {
    margin-left: 30px;
    margin-top: -80px;
    width: 40%;
    max-width: 600px; /* Ancho máximo del contenedor */
    height: 300px; /* Altura fija del contenedor */
    position: relative; /* Establecer posición relativa */
  }
  
  .slider-image {
    width: 100%;
    height: auto; /* Mantener la relación de aspecto */
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
    position: absolute; /* Establecer posición absoluta */
    top: 0; /* Alinear la imagen en la parte superior del contenedor */
    left: 0; /* Alinear la imagen en la parte izquierda del contenedor */
  }
  
  /* Aplicar desvanecimiento al ocultar la imagen */
  .slider-image.hide {
    opacity: 0;
  }
  
  
  /* Estilo adicional para hacer la imagen responsive */
  @media (max-width: 600px) {
    .slider-image {
      max-width: 100%; /* Hacer la imagen adaptativa */
      height: auto; /* Mantener la proporción de aspecto */
    }
    .slider {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 600px; /* Ancho máximo del contenedor */
        height: 300px; /* Altura fija del contenedor */
        overflow: hidden; /* Ocultar parte de la imagen que se desborde */
        position: relative; /* Establecer posición relativa */
      }

      .banner#contacto-seccion{
        height: auto;
      }
  }
  
.imagen-container {
    flex: 1;
    margin-left: 50px;
}

.imagen-contacto {
    width: 100%;
    max-width: 600px;
    /* Ajusta el tamaño de la imagen según sea necesario */
    border-radius: 8px;
    /* Bordes redondeados para la imagen */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra para la imagen */
    animation: imagenAnimacion 1s ease-in-out infinite alternate;
    /* Animación */
}

.contenido-contacto {
    flex: 1;
    padding-left: 150px;
    /* Espaciado entre la imagen y el contenido */
}

h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
}

p {
    color: #f7f7f7;
    margin-bottom: 20px;
}



.button.primary#btn1 {
    all: unset;
    width: 100px;
    height: 30px;
    font-size: 16px;
    background: transparent;
    border: none;
    position: relative;
    cursor: pointer;
    z-index: 1;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    color: #000;
}
.button.primary#btn1:before, .button.primary#btn1:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -99999;
    transition: all .4s;
}
.button.primary#btn1:before {
    transform: translate(0%, 0%);
    width: 100%;
    height: 100%;
    background: #27be34;
    border-radius: 10px;
}
.button.primary#btn1::after {
    transform: translate(10px, 10px);
    width: 35px;
    height: 35px;
    background: #ffffff15;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50px;
}

.button.primary#btn1:hover::before {
    transform: translate(5%, 20%);
    width: 110%;
    height: 110%;
}

.button.primary#btn1:hover::after {
    border-radius: 10px;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
}

.button.primary#btn1:active::after {
    transition: 0s;
    transform: translate(0, 5%);
  }



.boton-contacto:hover {
    background-color: rgb(255, 255, 255);
}


.contenido-contacto{
    transform: translateX(100%);
    animation: slideInFromLeft 1.3s ease-in-out forwards .4s;
}
@keyframes slideInFromLeft {
    from {
        transform: translateX(150%);
    }
    to {
        transform: translateX(0);
    }
}


/* slide banner */

.imagen-container {
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInAndScale .5s ease-in-out forwards 1s;
}

.contenedor-carrusel {
    width: 600px; /* Ajustar el ancho del contenedor */
    height: 400px; /* Ajustar la altura del contenedor */
    margin: 0 auto; /* Centrar el carrusel en la página */
    position: relative; /* Posicionar el contenedor relativamente */
}

.contenedor-imagenes {
    display: flex; /* Disponer las imágenes en fila */
    overflow: hidden; /* Ocultar las imágenes que exceden el contenedor */
    transition: transform 0.5s ease; /* Agregar una transición suave */
}

.imagen {
    width: 100%; /* Ocupar todo el ancho del contenedor */
    height: auto; /* Mantener la relación de aspecto de las imágenes */
    opacity: 0; /* Ocultar las imágenes inicialmente */
    transition: opacity 0.5s ease; /* Agregar una transición suave */
}

.imagen.actual {
    opacity: 1; /* Mostrar la imagen actual */
    position: relative; /* Posicionar la imagen actual relativamente */
}

.imagen.anterior,
.imagen.siguiente {
    position: absolute; /* Posicionar las imágenes anterior y siguiente en absoluto */
    top: 0; /* Posicionar las imágenes en la parte superior */
    left: 0; /* Posicionar las imágenes a la izquierda */
    width: 100%; /* Ocupar todo el ancho del contenedor */
    height: auto; /* Mantener la relación de aspecto de las imágenes */
}

.imagen.anterior {
    transform: translateX(-100%); /* Mover la imagen anterior hacia la izquierda */
}

.imagen.siguiente {
    transform: translateX(100%); /* Mover la imagen siguiente hacia la derecha */
}
/* flechas */



/*  */
.flecha-izquierda,
.flecha-derecha {
    top: 50%;
    height: 50px;
    width: 30px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #ffffff8e;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;

}

.flecha-izquierda {
    left: 20px; /* Posicionar la flecha izquierda a la izquierda */
}

.flecha-derecha {
    right: 20px; /* Posicionar la flecha derecha a la derecha */
}

.flecha-izquierda,
.flecha-derecha:active{
    transform: translateY(-50%) scale(0.85);
}

.flecha-derecha,
.flecha-izquierda:active{
    transform: translateY(-50%) scale(0.85);
}




@keyframes fadeInAndScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Consulta de medios para dispositivos pequeños */
@media only screen and (max-width: 767px) {
    .banner {
        padding: 0;
        text-align: left;
        flex-direction: column; /* Cambia la dirección a column para dispositivos pequeños */
  }

    .imagen-container {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    h2#title{
        font-size: 250%;
    }

    .contenido-contacto{
        content: none;
        flex-direction: row;
        margin-left: -150px;

    }

    .imagen-contacto {
        content: none;
        flex-direction: row;
        margin-left: -25px;
   
    }

        .imagen-container {
            order: 1; /* Cambia el orden para que aparezca debajo del texto */
        }
    
        .contenido-contacto {
            order: 2; /* Cambia el orden para que aparezca encima del texto */
        }
      }

    .btncontacto{
        display: flex;
        justify-content: center;
        padding-left: 50px;
        padding-right: 50px;
        margin-top: -50px;

    }

        .button.primary#contactanos {
            background-image: linear-gradient(100deg, #2500a9, #1a008c);
            color: rgb(0, 0, 0);
            border-radius: 5px;
        }
        .button.primary a {
        color: #000; }
        
        .button.primary#contactanos:hover {
            background-image: linear-gradient(100deg, #0f0179, #2740fd);
        }
        
/* Seccion Quienes Somos */
.seccion1#quienessomos {
    background-image: linear-gradient(100deg, #88a0ff00, #ff191900),
    url('../images/banner12.png');
    /*     height: 100rem;
 */   /*  background-size: 100%; */
    background-position:initial;
    padding-top: 20px;
    text-align: justify;
    align-items: center;
    background-size: cover;
}


.seccion1#info {
    background-image: linear-gradient(100deg, #3238912e, #11102a42),
    url('../images/banner9.png');
    background-size: 100%;
    background-position:initial;
    padding-top: 20px;
    text-align: center;
    align-items: center;
    background-size: cover;
    margin-top: -60px;
    padding-top: 50px;
    padding-bottom: 90px;
}

#contenido-quienessomos{
    padding-top: 10px;
    align-items: center;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 120px;
     justify-content: center;
}
.parrafo-quienes-somos {
    max-width: 1200px;
    line-height: 1.7;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
    color: #ffffff;

}
h2#subtitle{
    color: #ffffff;
    line-height: .4;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 180%;
}
.imgsomos{
 
}
.container#sec1 {
    display: flex;
    padding: 20px;
    background-color: #6a292900;
    padding-left: 200px;
    padding-right: 10px;
}


  

/* Estilos para pantallas grandes */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  

  @media (max-width: 768px) {
    .seccion1#quienessomos .bottom-container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .seccion1#quienessomos {
padding-top: 10%;
      }
      .bottom-section{
        padding: 0;
      }
    .seccion1#quienessomos .bottom-column {
      width: 130%;
      margin-bottom: 10px;
      
    }
    .valores-img { 
       padding: 0;
       margin-bottom: -12px; 
       margin-top: -10px;
    }

    .seccion1#quienessomos .valores-img {
        width: 15%; /* Hace que la imagen ocupe el 100% del ancho del contenedor padre */
        height: auto; /* Mantiene la proporción original */
      }
    .valores-img#vision { 
        
        margin-bottom: -20px; 
        
           }

    .titulos{
        margin-bottom: -4px;
    }
}

/* Servicios */
.seccion1#servicios {
    background-image: linear-gradient(100deg, #ffffff00, #82828200),
        url('../images/banner13.png');
    /* height: rem; */
    background-size: 100%;
    background-position:initial;
    padding-top: 60px;
}


.container#sec1 {
    display: flex;
    padding: 20px;
    background-color: #6a292900;
    padding-left: 200px;
    padding-right: 10px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.maps_index {
    margin-top: -100px;
    display: flex;
    height: 25vh; /* O ajusta según la altura deseada */
    padding-left: 50px;
    padding-right: 50px;
}

#maps {
    width: 100%; /* O ajusta según el ancho deseado */
    height: auto;
    border: none;
    border-radius: 10px;

}
h1#servicios{
color: white;
margin-top: 110px;
text-align: center;
font-size: 60px;
}


.left-column {
    width: 35%;
    justify-content: right;
}

  
  .service-list {
    list-style: none;
    padding: 0;
  }
  
  .service-list li {
    margin-bottom: 10px;
    color: white;
  }
  .service-list li:hover {
    margin-bottom: 10px;
    color: white;
  }
  
  .service-list a {
    text-decoration: none;
    background-color: #d5d5d577;
    color: #ffffff;
    display: block;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
  }
  
  .service-list a:hover {
    background-color: #eee;
    color: white;
  }
  
  

/* Estilos para pantallas grandes */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .left-column,
  .right-column {
    flex: 1;
  }
  
  /* Estilos para pantallas pequeñas */
  @media (max-width: 768px) {
    .container {
      flex-direction: column; /* Cambia la dirección de la columna */
      text-align: center; /* Centra el contenido en pantallas pequeñas */
      padding: 0; /* Quita el padding en pantallas pequeñas */
    }
  
    .left-column,
    .right-column {
      width: 100%; /* Ocupa todo el ancho en pantallas pequeñas */
      margin-bottom: 20px; /* Espacio entre las columnas */
    }

    .container#sec1 {
        padding: 20px;
        padding-left: -200px;
        padding-right: -10px;
    }
    .service-list a:hover {
        color: #eee;
      }
      .logosube{
        margin-left: -45px;
      }
      #navPanelToggle{
        margin-top: 5px;
        color: white;
        font-size: 150%;
        text-shadow: 2px 2px 4px #000 ;
      }
  }
  
    /* Estilos para pantallas pequeñas */
    @media (max-width: 768px) {
    
        .container#sec1 {
            padding: 20px;
        
        }
        .service-list a:hover {
            color: #eee;
          }
    
          .left-column{
            margin-left: -45px;
          }
      }
  



h1#title1 {
    color: #0c0c83;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    font-size: 60px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

h1#title {
    color: #0c0c83;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    font-size: 50px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

ul {
    list-style-type: disc;
    /* Estilo de lista con puntos */
}

ul#somos li {
    color: #ffffff;
    line-height: 1.8;
}




/* Seccion Valores */

.seccion2 {
    background-image: linear-gradient(100deg, #16122200, #11102a00),
        url('../images/banner2.png');
    /* height: rem; */
    background-size: cover;
    background-position: center;

}

.bottom-section{
    margin-top: -100px;
    padding-left: 70px;
    padding-right: 70px;
    }

.bottom-container {
    display: flex;
    justify-content: space-between;
    background-color: #d9d9d900;
    text-align: center;
    z-index: 100000;
}

.bottom-column {
    display: inline-block;
	width: 30%;
	height: 100%;
    background-image: linear-gradient(100deg, #131dae, #110c92);
	border-bottom: 15px solid #ffffff;
	text-align: center;
	transition: all 0.25s;
    border-radius: 5px;

}
.bottom-column:hover {
	background: #ffffff;
    transition: all ;
	transform: rotateY(360deg);
    min-height: 50px;
    height: auto;
    border-bottom: 15px solid #160fb7;
    
}
.bottom-column:hover svg{
	transition: all;
	transform: rotateY(360deg);
}

.valores-img {
    padding-top: 15px;
    width: 20%;
    max-width: 100%;
    height: auto;
}

    
h3 {
    margin-top: 10px;
    color: #ffffff;
}
.bottom-section:hover h3{
    color: #160fb7; /* Cambia este valor al color que desees */ }
    .bottom-section:hover p{
        color: #404040; /* Cambia este valor al color que desees */ }
p {
    color: #ffffff;
}

.valores-text {
    display: none;
  }
  
  .bottom-column:hover .valores-text {
    display: block;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
/*    line-height: 1;*/
    font-size: 80%;
  }
  .bottom-column:hover .valores-img {
    display: none;
  }

.bottom-container:hover .bottom-container {
height: auto;
}
  

/* New Servicios */
.card-category {
    cursor: pointer;
  }

.category-electricas {
	background-image: linear-gradient(#00000080, #00000080),
		url('../images/sb/primera.jpeg');
	background-size: cover;
	background-position: center ;
	background-repeat: no-repeat;
    
}

.category-electricas:hover {
	background-image: linear-gradient(#00000038, #00000030),
		url('../images/sb/primera.jpeg');
	background-size: cover;
	background-position: center ;
	background-repeat: no-repeat;
    
}

.category-cableado {
    background-image: linear-gradient(#00000080, #00000080),
    url('../images/sb/pozo.jpg');
    background-size:cover;
    background-position:center 70% ;
}
.category-cableado:hover {
	background-image: linear-gradient(#00000038, #00000030),
    url('../images/sb/pozo.jpg');
    background-size:cover;
    background-position:center 70% ;
}
.category-panel {
    background-image: linear-gradient(#00000080, #00000080),
    url('../images/sb/panel.jpg');
    background-size:cover;
    background-position:center  ;
}

.category-panel:hover {
	background-image: linear-gradient(#00000038, #00000030),
    url('../images/sb/panel.jpg');
    background-size:cover;
    background-position:center  ;
}

.container-categories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
    padding-bottom: 30px;
    padding-top: 30px;

}

.card-category {
	height: 15rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 2rem;
	gap: 2rem;
	
}

.top-categories {
	margin-top: 50px;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	text-align: center;

}

.card-category span {
	font-size: 1.6rem;
	color: #fff;
	cursor: pointer;
}

.card-category span:hover {
	color: var(--second-color);
}

.card-category p {
	font-size: 2rem;
	color: #fff;
	text-transform: capitalize;
	position: relative;
}

.card-category p::after {
	content: '';
	width: 2.5rem;
	height: 2px;
	background-color: #fff;
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translate(-50%, 50%);
}
.top-categories {
	
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 3rem;
	text-align: center;

}


@media (max-width: 768px) {
    .container-categories {
      align-items: center;
      padding: 0;

    }

    .card-category{
        align-items: center;
        min-height: 30px;
    }
     }

.container-categories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
   
    
    @media (max-width: 768px) {
        display: flex !important;
        flex-direction: column!important;
    }
}
.card-category {
	height: 15rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 2rem;
	gap: 2rem;
     @media (max-width: 768px) {
        height: 200px !important;
        width: auto!important;
        min-width: 372px;
        p{
            font-size: 150% !important;
        }
        a{
            font-size: 200%;
        }
    }
	
}

.vermas:hover {
    color: #107bff !important; /* Mantener el color en blanco */
  }

  .vertodos {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%; /* Ancho completo del contenedor padre */
    padding-top: 30px;
    margin-top: 35px;
    margin-bottom: 40px;
  }
  

  
  
  .line{
    position: absolute;
    top: 50%;
    height: 4px;
    width: calc(47% - 40px); /* Ajustar la longitud de las líneas */
    background-color: #2d2d93; /* Color de línea azul */
    text-shadow: 0 0 5px #2d2d93; /* Sombra del texto al hacer hover */
    z-index: 1; /* Asegurar que las líneas estén detrás del texto */
 
}

  
  .left {
    left: 0;
  }
  
  .right {
    right: 0;
  }
  
  /* Efecto de sombra al hacer hover */
  .vertodos:hover .text {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7); /* Sombra del texto al hacer hover */
  }
  

 /* PopUp */
 .tras{   
    width: 100%;
    height: 100%;
    padding: 0;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    display: none;
    text-align: center;
    position: fixed;
    z-index: 999;
    background-color: #15151571;
}

  .popup{   
    width: 70%;
    height: 80%;
    padding: 30px 40px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    border-radius: 8px;
    font-family: "Poppins",sans-serif;
    display: none;
    text-align: center;
    position: fixed;
    z-index: 1001;
    background-image: linear-gradient(100deg, #1612224e, #11102ada),
	url('../images/sun-tornado.png');
    
    @media (max-width: 768px) {
    
        overflow: scroll;
        width: 90%;
        height: 90%;
        
        

    }
}

.popup button{
    display: block;
    margin:  0 0 20px auto;
    background-color: transparent;
    font-size: 30px;
    color: #ff0000;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: none;
	color: #ffffff !important;
    
    
    
}

.popup button:hover{
    color: rgb(52, 147, 224) !important;
}
.popup h2{
    color: white;
    @media (max-width: 768px) {
        font-size: 150%;
        
        
        }
}
.popup p{
    font-size: 14px;
    text-align: justify;
    margin: 20px 0;
    line-height: 25px;
    color: #f6f6f6;
    @media (max-width: 768px) {
        font-size: 100%;
        text-align: justify;
        margin: 20px 0;
        line-height: 20px;
        
        }
}



.popup img{
    width: 90%;
    height: auto;
   
    border-radius: 15px;
    margin-top: 10% ;
    margin-bottom: 19px;
}

.contenedorpop {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas de igual anchura */
  height: 20%; /* Establece la altura al 100% de la ventana de visualización */
  @media (max-width: 768px) {
    
        display: flex;
        flex-direction: column;
        
        

    }

  
  }

  .miDivpop {
    border-top: 2px solid #ffffff; /* Ancho y color del borde superior */
    border-bottom: 2px solid #ffffff; /* Ancho y color del borde inferior */
    padding: 10px; /* Espacio interno del contenido, opcional */
    background-color: rgba(255, 255, 255, 0.1); /* Fondo con opacidad para destacar el borde inferior */
    
    @media (min-width: 768px) {
    -ms-overflow-style: none; /* Oculta la barra de desplazamiento en Microsoft Edge */
    scrollbar-width: none;
    overflow-y: auto;
    
      height: 100%;
      margin: 0;
    }
  }

  .btnpop{
    cursor:pointer;
        position:relative;
        padding:8px 16px;
        background:rgb(55, 235, 39);
        color: white;
        font-size:18px;
        border-top-right-radius:10px;
        border-bottom-left-radius:10px;
        transition:all 1s;
        &:after,&:before{
            content:" ";
            width:10px;
            height:10px;
            position:absolute;
            border :0px solid #fff;
            transition:all 1s;
            }
        &:after{
            top:0px;
            left:0px;
            border-top:3px solid rgb(255, 255, 255);
            border-left:3px solid rgb(255, 255, 255);
        }
        &:before{
            bottom:-1px;
            right:-1px;
            border-bottom:3px solid rgb(255, 255, 255);
            border-right:3px solid rgb(255, 255, 255);
        }
        &:hover{
            border-top-right-radius:0px;
        border-bottom-left-radius:0px;
            
            &:before,&:after{
                
                width:100%;
                height:100%;
               
            }
        }
        
    }
    .adapt-fl{
        @media (max-width: 768px) {
    
            padding-bottom: 30px !important;
            margin-top: 50px;
             
             
     
         }
    }
    
    
