/*indice

 -generales*
 -nav
 -carousel
 /
/*generales*/

html {
    box-sizing: border-box;
    font-family: 'Helvetica', sans-serif;
    font-size: 16px;
    scroll-behavior: smooth;
}
    
*,
*::after,
*::before {
    box-sizing: inherit;
    --card-clr: #161922;
	--body-clr: #191d28;
	--primary-clr: #f0bf6a;
	--heading-clr: #dadada;
	--text-clr: #767a86;
}

body {
    margin: 0;
    padding: 0;
}

.margin100au{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

a{
    text-decoration: none;
}

ul{
    list-style-type: none;
}

/*nav*/

nav::-webkit-scrollbar { /*background*/
    width: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

nav::-webkit-scrollbar-thumb {
    width: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

nav {
    border-radius: 10px;
    padding: 10px 0px 30px 0px;
    margin: 10px 10px 0px 0px;  /*10px 0px 10px 0px*/


    position: fixed;
    z-index: 1000;
    right: 0px; /*left*/

    width: 90%;
    max-height: 650px;
    overflow-y: auto;

    color: #fff;
    background-color: #040536;

    transition: width 0.8s, max-height 0.8s 0.8s;
}

.logo_menu{
    width: 200px;
    height: auto;
    margin-left: 40%;
}

.ocultarSeccionNav {
    width: 55px;
    max-height: 10px;
    overflow: hidden;
    border-radius: 20px;
    transition: width 1.5s, max-height 2s 1s, border-radius 2s;
}

.ocultarSeccionNav .seccionNav,
.ocultarSeccionNav h2 {
    transform: translateX(220px);
    transition: all 2s;
}

nav .header img {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 25px;
    height: auto;
    cursor: pointer;
}

nav img {
    width: auto;
    height: 25px;
}

nav h2 {
    padding: 0px;
    font-size: 23px;
    font-weight: 500;
    margin: 10px 0px 0px 0px;
}

nav p {
    font-size: 20px;
    font-weight: 500;
}

.nav_a{
    color: #fff;
    text-decoration: none;
}

.nav_black{
    color: #000000;
    text-decoration: none;
}

nav>div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
}

nav .header { 
    margin: 30px 0px;
}

nav .visible,
nav .darkMode {
    display: flex;
    align-items: center;
    height: 63px;
}

nav .visible p,
nav .darkMode p {
    margin-left: 20px;
    width: 175px;
}

nav .seccionNav {
    overflow: hidden;
    gap: 15px;
}

.seccionNav img{
    filter: invert(100%);
}

nav .oculto {
    height: 0px;
    transform: translateY(200px);
    transition: all 0.5s;
}

nav .mostrar {
    background-color: white;
    color: black;
    border-radius: 20px;
    width: 320px;
    transform: translateY(0px);
    transition: transform 0.5s;
}

nav .mostrar h4 {
    color: #4035db;
    font-size: 18px;
    font-weight: 400;
    margin: 22px 0px 0px 0px;
}

nav .mostrar .blanco,
nav .mostrar .gris {
    padding: 0px 15px;
}

nav .mostrar .blanco p,
nav .mostrar .gris p {
    padding: 5px 0px;
    font-size: 16px;
    font-weight: 500;
    margin: 10px;
    cursor: pointer;
    color: #313743;
}

nav .mostrar .blanco p:active,
nav .mostrar .gris p:active {
    font-weight: 700;
    color: #4035db;
}

nav .mostrar .gris {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;

    border-radius: 20px;
    background-color: #e4eaf5;
}

nav .mostrar .RedesSociales {
    display: grid;
    margin: auto;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 20px;
    
}

nav .mostrar .RedesSociales img {
    filter: saturate(150%);
    width: 16px;
    height: auto;
}


nav .mostrar .RedesSociales>div {
    display: flex;
    align-items: center;
}

nav .mostrar .RedesSociales>div p {
    font-weight: 400;
    font-size: 16px;
}

.arriba{
    transform: rotate(-180deg);
    transition: transform 1s;
    cursor: pointer;
}

.abajo{
    transform: rotate(0deg);
    transition: transform 1s;
    cursor: pointer;
}

/* carousel */
.carousel{
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}

.carousel .list .item .title{
    font-size: 5rem;
    font-weight: bold;
    line-height: 1.3em;
    color: #f59e41;
}

.carousel .list .item .des{
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.5em;
    color: #eeeeee;
    text-shadow: 1px 1px 2px #00000087;
}

.carousel .list .item .buttons{
    display: flex;
    margin-top: 20px;
    
}
.carousel .list .item .buttons a{
    border: none;
    background-color: #242671;
    letter-spacing: 3px;
    font-weight: 500;
    color: #fff;
    padding: 15px 10px;
}
.carousel .list .item .buttons a:nth-child(2){
    background-color: transparent;
    border: 1px solid #242671;
    color: #242671;
    margin-left: 25px;
}
/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #242771cc;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #242671;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1.3s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 0.8s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.2s!important;
}


/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}

/*formulario*/

.form_container{
    padding: 80px 20px;
    width: 100%;
    display: flex;
    background-color: #262626;
    justify-content: center;
}

.form_content{
    width: 100%;
    display: flex;
    justify-content: center;
}

.span_complit {
    display: none;
    color: red;
    font-size: 0.8em;
}
.input_error {
    border-color: red;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70%;
    min-width: 330px;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
  }
  
  .title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 30px;
    color: #00bfff;
  }
  
  .title::before {
    width: 18px;
    height: 18px;
  }
  
  .title::after {
    width: 18px;
    height: 18px;
    animation: pulse 1s linear infinite;
  }
  
  .title::before,
  .title::after {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 0px;
    background-color: #00bfff;
  }
  
  .message, 
  .signin {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .signin {
    text-align: center;
  }
  
  .signin a:hover {
    text-decoration: underline royalblue;
  }
  
  .signin a {
    color: #00bfff;
  }
  
  .flex {
    display: flex;
    width: 100%;
    gap: 6px;
  }
  
  .form label {
    position: relative;
  }
  
  .form .input {
    background-color: #333;
    color: #fff;
    width: 100%;
    padding: 20px 05px 05px 10px;
    outline: 0;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 10px;
  }
  
  .form label .input + span {
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    left: 10px;
    top: 0px;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
  }
  
  .form label .input:placeholder-shown + span {
    top: 12.5px;
    font-size: 0.9em;
  }
  
  .form label .input:focus + span,
  .form label .input:valid + span {
    color: #00bfff;
    top: 0px;
    font-size: 0.7em;
    font-weight: 600;
  }
  
  .input {
    font-size: medium;
  }
  
  .submit {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transform: .3s ease;
    background-color: #00bfff;
    transition: 0.4s;
    cursor: pointer;
  }
  
  .submit:hover {
    background-color: #00bfff96;
  }
  
  @keyframes pulse {
    from {
      transform: scale(0.9);
      opacity: 1;
    }
  
    to {
      transform: scale(1.8);
      opacity: 0;
    }
  }

/*pensionados_logo*/

.pensionado_contenedor{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.pensionado_img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pensionado_text{
    position: absolute;
    z-index: 200;
    width: 70%;
    min-width: 280px;
    font-size: calc(2rem + 2vw);
    bottom: 30px;
    background-color: #100f67a4;
    font-weight: 600;
    color: #f59e41;
    padding: 20px 25px;
    margin: 0;
    border-radius: 0 20px 20px 0;
}

.pensionado_text span{
    color: #fff;
    text-transform: uppercase;
}

.pensionados_logo{
    position: absolute;
    z-index: 150;
    width: 180px;
    top: 10px;
    left: 25px;
}

/*conocenos*/

.conocenos_h2{
    text-align: center;
    font-size: 2.5rem;
    color: #242671;
}

.conocenos_flex{
    width: 100%;
    padding: 20px 50px;
	margin:50px auto 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.contenedor_tarjeta {
	margin: 20px;
    position: relative;
}

.contenedor_tarjeta a {
	display: inline-block;
}

.contenedor_tarjeta:hover figure {
	transform: perspective(600px) rotateY(180deg);
	-webkit-box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.25);
	box-shadow: 0px 2px 10px 2px rgba(0,0,0,0.25);
}

figure {
	width: 300px;
	height: 350px;
	margin:0;
	position: relative;
	transition: all ease .5s;
	transform-style: preserve-3d;
	/* Nota:
		Establecemos que la imagen tendra una rotacion de 0grados al inicio porque si no
		ponemos esta propiedad nos da un poco de problemas en algunos navegadores al pasar el cursor.
	*/
	transform: perspective(600px) rotateY(0deg);
}

figure .frontal,
figure .trasera {
	width: 100%;
	height: 100%;
	border-radius: 5px;
	transition: all ease .5s;
}

figure .frontal {
	display: block;
	background: #000;
    object-fit: cover;

	/* Podemos ocultar la imagen al da la vuelta si lo queremos */
	/*backface-visibility: hidden;*/
}

figure .trasera {
	position: absolute;
	top: 0;
	padding: 20px;
	color: #fff;
	transform: perspective(600px) rotateY(180deg);
	backface-visibility: hidden;
	overflow: auto;
}

.contenedor_tarjeta:nth-child(1) figure .trasera, .contenedor_tarjeta:nth-child(2) figure .trasera{
	background: rgba(223,234,241,0.7);
	background: -moz-linear-gradient(top, rgba(223,234,241,0.7) 0%, rgba(15,99,144,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(223,234,241,0.7)), color-stop(100%, rgba(15,99,144,1)));
	background: -webkit-linear-gradient(top, rgba(223,234,241,0.7) 0%, rgba(15,99,144,1) 100%);
	background: -o-linear-gradient(top, rgba(223,234,241,0.7) 0%, rgba(15,99,144,1) 100%);
	background: -ms-linear-gradient(top, rgba(223,234,241,0.7) 0%, rgba(15,99,144,1) 100%);
	background: linear-gradient(to bottom, rgba(223,234,241,0.7) 0%, rgba(15,99,144,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfeaf1', endColorstr='#0f6390', GradientType=0 );
}

figure .trasera .titulo {
	color: #fff;
	font-weight: normal;
	margin-bottom: 20px;
	font-size: 2rem;
    font-weight: 600;
}

figure .trasera hr {
	height: 2px;
	background: #fff;
	border: none;
	margin-bottom: 20px;
	opacity: .5;
}

figure .trasera p {
	line-height: 22px;
	font-size: 1.1rem;
}

.tarjeta_frontal{
    position: absolute;
    z-index: 800;
    width: 100%;
    text-align: center;
    top: 5px;
    color: #055929;
    text-shadow: 0 0 3px #fffffff5;
    transition: 0.2s;
}

.contenedor_tarjeta:hover .tarjeta_frontal{
	transform: perspective(600px) rotateY(180deg);
	opacity: 0;
}

.servicos_p{
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0 30px;
    text-align: center;
    margin-top: 0;
}

.servicos_p b{
    font-size: 2rem;
    font-weight: 800;
    color: #00A859;
}

.conocenos_a{
    text-align:center;
	padding:5px 10px;
	display:inline-block;
	background: #f59e41;
	color:#fff;
}

.text_contacto{
    text-align: center;
	font-size: 1.2rem;
    font-weight: 900;
    color: #f59e41;
    margin: 5px;
}

/*testimonios*/
.testimonios{
    width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--body-clr);
}

.testimonials-section{
	width: 100%;
	padding: 0px 8%;
}
.testimonials-section .section-header{
	max-width: 700px;
	text-align: center;
	margin: 30px auto 40px;
}
.testimonials-section h2{
	position: relative;
	font-size: 2.5rem;
	color: #f0bf6a;
    text-align: center;
}
.testimonials-container{
	position: relative;
}
.testimonials-container .testimonial-card{
	padding: 20px;
}
.testimonial-card .test-card-body{
	background-color: var(--card-clr);
	box-shadow: 2px 2px 20px rgba(0,0,0,0.12);
	padding: 20px;
}
.test-card-body .quote{
	display: flex;
	align-items: center;
}
.test-card-body .quote i{
	font-size: 45px;
	color: var(--heading-clr);
	margin-right: 20px;
}
.test-card-body .quote h3{
	color: var(--heading-clr);
}
.test-card-body p{
	margin: 10px 0px 15px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-clr);
}
.test-card-body .ratings{
	margin-top: 20px;
}
.test-card-body .ratings i{
	font-size: 17px;
	color: var(--primary-clr);
	cursor: pointer;
}
.testimonial-card .profile{
	display: flex;
	align-items: center;
	margin-top: 25px;
}
.profile .profile-image{
	width: 55px;
	height: 55px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 15px;
}
.profile .profile-image img{
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}
.profile .profile-desc{
	display: flex;
	flex-direction: column;
}
.profile-desc span:nth-child(1){
	font-size: 24px;
	font-weight: bold;
	color: var(--primary-clr);
}
.profile-desc span:nth-child(2){
	font-size: 15px;
	color: var(--text-clr);
}
.owl-nav{
	position: absolute;
	right: 20px;
	bottom: -10px;
}
.owl-nav button{
	border-radius: 50% !important;
}
.owl-nav .owl-prev i,
.owl-nav .owl-next i{
	padding: 10px !important;
	border-radius: 50%;
	font-size: 18px !important;
	background-color: var(--card-clr) !important;
	color: var(--primary-clr);
	cursor: pointer;
	transition: 0.4s;
}
.owl-nav .owl-prev i:hover,
.owl-nav .owl-next i:hover{
	background-color: var(--primary-clr) !important;
	color: #e9e9e9;
}
.owl-dots{
	margin-top: 15px;
}
.owl-dots .owl-dot span{
	background-color: #434753 !important;
	padding: 6px !important;
}
.owl-dot.active span{
	background-color: var(--primary-clr) !important;
}

/*galeria*/

.galeria{
    width: 100%;
    background-image: linear-gradient(#ebebeba5,#fcfcfcaf), url(../img/fondo_preguntas.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 50px;
}

.galeria_grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    padding: 20px 30px;
    gap: 30px;
}

.galeria_h3{
    font-size: 2rem;
    text-align: center;
    color: var(--blue-0);
    padding-top: 50px;
    margin: 0 auto 20px;
    color: #242671;
}

.galeria_item{
    width: 100%;
    padding: 20px;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.galeria_h4{
    font-size: 1.5rem;
    text-align: center;
    color: #242671;
    padding: 15px 0;
}

.galeria_item .galeria_descripcion{
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    font-weight: 700;color: #f0bf6a;
    text-shadow: 1px 1px 1px #00000089;
}

/*productos*/

.productos{
    position: relative;
}

.productos_container{
    width: 100%;
    background-color: #000000;
    position: relative;
}

.productos_h2{
    color: #f1f1f1;
    text-align: center;
    margin-top: 0;
    padding-top: 25px;
}

.productos_grid{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.producto_item{
    width: 85%;
    padding: 25px;
    border-radius: 10px;
    background-color: #2c2c2c;
    margin-top: 20px;
}

.img_item img{
    margin-top: 20px;
    width: 50%;
    min-width: 240px;
    box-shadow: 6px 6px 10px #000000;
    border-radius: 10px;
}

.producto_info{
    margin-top: 25px;
}

.producto_info *{
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
}

.producto_h4{
    font-size: 1.7rem;
    padding-bottom: 5px;
    border-bottom: 3px solid #f0bf6a;
}

.producto_h5{
    margin-top: 15px;
    font-size: 1.5rem;
    color: #a5a5a5;
}

.producto_dimensiones{
    margin-top: 10px;
    padding: 3px;
    background-color: #545454;
    margin-left: auto;
    margin-right: auto;
}

.producto_dimensiones *{
    margin-top: 5px;
}

.dimensiones{
    font-size: 1rem;
    color: #000000;
}

.costo, .color{
    font-size: 1rem;
}

.costo em, .color em{
    color: coral;
}
.especificaciones{
    margin-top: 8px;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 600;
}

.btn_productos {
    font-family: inherit;
    font-size: 20px;
    background: royalblue;
    color: white;
    padding: 0.7em 1em;
    padding-left: 0.9em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
  }
  
  .btn_productos span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
  }
  
  .btn_productos svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
  }
  
  .btn_productos:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
  }
  
  .btn_productos:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
  }
  
  .btn_productos:hover span {
    transform: translateX(5em);
  }
  
  .btn_productos:active {
    transform: scale(0.95);
  }
  
  @keyframes fly-1 {
    from {
      transform: translateY(0.1em);
    }
  
    to {
      transform: translateY(-0.1em);
    }
  }
  
/*whatsapp logo*/

.whatsapp_container{
    width: 80px;
    height: 80px;
    position: fixed;
    right: 0;
    z-index: 980;
    top: 50%;
	display: inline-block;
	animation: slide-in 2s ease-in-out;
  }

  @keyframes slide-in{
	0% {
		transform: translateX(0) scale(0);
	}

	50% { transform: translateX(-50vw) scale(2);
	}

	100% { transform: translateX(0) scale(1);
	}
}
  
  .whatsapp_container a img{
    width: 100%;
  }
  
  .whatsapp_container:hover{
    transform: scale(1.3);
    transition: 0.4s;
  }


  /*bases*/



  .bases_container{
    width: 100%;
    padding: 60px 20px 50px;
    background-image: url(../img/fondo_nosotros.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }

  .bases_grid{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    justify-items: center;    
  }

  .bases_item{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .bases_item i{
    font-size: 3rem;
    color: #fff;

  }

  .bases_p{
    font-size: 1.5rem;
    color: #fff;
    font-weight: 900;
    margin-top: 15px;
    text-shadow: 1px 1px 1px #242671;
  }

  .bases_h2{
    color: #040536;
    font-size: 2.5rem;
    text-align: center;
  }

  footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
  }

  .text_footer{
    font-size: 0.8rem;
    color: #f0bf6a;
  }

  .img_footeg{
    width: 250px;
  }

  @media screen and (max-width:930px) {
    footer{
        flex-direction: column;
      }
  }