/**
 * CONTENTS
 *
 * BASE
 * Fonts................Fonts available.
 * Global...............Globally-available variables and config.
 * Box-sizing...........Better default `box-sizing`.
 * Normalize.css........A level playing field (cdn in HTML).
 *
 * LAYOUT
 * Page-head............The main page header.
 * Page-foot............The main page footer.
 *
 * MODULE
 * Buttons..............Button elements.
 */

/*------------------------------------*\
  #BASE
\*------------------------------------*/

/**
 * Fonts
 */

@import url(fonts.css);

/**
 * Global
 */
*, h1, h2, h3, h4, h5, h6, figure {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {font: 16px 'Pangram';}

a, a:hover {text-decoration: none;}

.container {
    max-width: 960px;
    padding: 0 1em;
    margin: 0 auto;
}
.container-navbar {
    max-width: 1200px;
    padding: 0 1em;
    margin: 0 auto;
}

.section {padding: 3em 0;}

.grid-2 {
    display: grid;
    grid-template-columns: 43% 50%;
    grid-gap: 7%;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
    grid-gap: 2em;
}

.h2 {
    font: 2.5em/1.25 'Pangram';
    margin-bottom: .5em;
}

.text {
    font: 1.1em/1.4 'Pangram';
    text-align: justify;
    margin-bottom: 1em;
}

.bg-blue {background-color: #00a3dc;}
.bg-orange {background-color: #ff9f00;}
.bg-pink {background-color: #ff0a71;}
.bg-wsp {background-color: #13970d;}
.bg-white {background-color: #fff;}
.bg-black {background-color: #000;}
.bg-gray {background-image: linear-gradient(180deg, #d0d0d0 0, #fff 100%);}
.bg_gray-harder {background-color: #293b45;}

.white {color: #fff;}
.yellow {color: #fddc01;}
.pink {color: #ff0a71;}
.blue {color: #00a3dc;}
.blue-harder {color: #004c6a;}
.gray-harder {color: #293b45;}
.black {color: #000;}

.bg-texture {
    background-image: url('../img/texture.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.flex-exit {
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 100%;
}
canvas {
    display: block;
    vertical-align: bottom;
}

.grid-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 100vh;
}

.item_grid-home {
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {position: relative;}
.logo-u {
	position: absolute;
	left: 33%;
	top: 18%;
	/*transform: translate(-135%, -60%);*/
	animation: logo 3s linear infinite alternate;
}
@keyframes logo {
	0% {
		transform: translateY(-1px);
	}
	50% {
		transform: translateY(-10px);
	}
	100% {
		transform: translateY(-1px);
	}
}

.icon-header {
    display: flex;
    align-items: center;
}

.caption-phone {
    font: 1em 'Poppins Bold';
    display: flex;
    flex-direction: column;
    margin-left: .5em;
}
.caption-phone span:nth-child(2) {margin-top: .25em;}
.icon-header > span {font-size: 2em;}

.form-header {
    display: flex;
    align-items: center;
    font: .9em 'Poppins Semibold';
    padding: .65em 1.25em;
    border-radius: 20px;
    z-index: 1;
}
.form-caption {
    position: relative;
    margin-left: 1em;
}
.form-caption button {
    position: absolute;
    bottom: 0%;
    right: -4%;

    padding: .5em;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}
.form-header input {
    width: 160px;
    padding: .5em;
    text-align: center;
    color: #b2b2b2;
    border: 0;
    border-radius: 20px;
}

.main {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.title {text-align: center;}
.title h2 {font: 3.31875em/1.2 'Pangram Bold';}
.title p {font-size: 1.2em;}

.main img {
    display: block;
    max-width: 100%;
    margin-top: .5em;
    align-self: center;
}

.img-apps {margin-bottom: 1.5em;}
.img-mi {margin-bottom: -1.5em;}

.btn-custom {
    align-self: center;
    /*margin: 0 0 3em;*/
    padding: .75em 2em;
    border-radius: 25px;
    transition: .5s all;
}
.pulseOrange:hover {
    animation: pulseOrange 1s;
    box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
}
.pulseBlue:hover {
    animation: pulseBlue 1s;
    box-shadow: 0 0 0 2em rgba(255, 255, 255, 0);
}
@keyframes pulseOrange { 0% {box-shadow: 0 0 0 0 #ef8f6e;} }
@keyframes pulseBlue { 0% {box-shadow: 0 0 0 0 #78ceec;} }

.btns-call {
    display: none;
    z-index: 1;
}
.btns-call a {
    padding: .5em;
    border: 1px solid #fff;
    border-radius: 10px;
}
.btns-call a:nth-child(2) {margin-left: .5em;}

.menu-responsive {display: none;}
/* Menu Full Screen */
.button_container {
    /*position: fixed;
    top: 6.5%;
    right: 2.5%;*/
    position: relative;

    width: 35px;
    height: 27px;

    cursor: pointer;
    z-index: 100;
    transition: opacity .25s ease;
}
.button_container:hover {opacity: .7;}
.button_container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background-color: #fff;
}
.button_container.active .middle {
    opacity: 0;
    background-color: #fff;
}
.button_container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background-color: #fff;
}
.button_container span {
    position: absolute;
    top: 0;
    left: 0;

    height: 5px;
    width: 100%;

    border: none;
    transition: all .35s ease;
    cursor: pointer;
}
.button_container span:nth-of-type(2) {top: 11px;}
.button_container span:nth-of-type(3) {top: 22px;}

.overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 0%;

    background-color: #ff529b;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 2;
}
.overlay.open {
    height: 100%;
    opacity: .9;
    visibility: visible;
}
.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {animation-delay: .4s;}
.overlay.open li:nth-of-type(3) {animation-delay: .45s;}
.overlay.open li:nth-of-type(4) {animation-delay: .50s;}
.overlay.open li:nth-of-type(5) {animation-delay: .55s;}
.overlay.open li:nth-of-type(6) {animation-delay: .60s;}
.overlay.open li:nth-of-type(7) {animation-delay: .65s;}
.overlay nav {
    position: relative;
    height: 70%;
    top: 50%;

    font: 3em 'Pangram';
    text-align: center;
    text-transform: uppercase;
    transform: translateY(-50%);
}
.overlay ul {
    position: relative;
    display: inline-block;
    height: 100%;

    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.overlay ul li {
    position: relative;
    display: block;

    height: calc(100% / 7);
    min-height: 50px;
    opacity: 0;
}
.overlay ul li a {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}
.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {width: 100%;}
.overlay ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;

    width: 0%;
    height: 3px;

    transform: translateX(-50%);
    background-color: #fff;
    transition: .35s;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

/* Marketing Digital */
.header-md {position: relative;}
.header-md .container-navbar {width: 100%;}
.top-shadow {box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.15);}
.bot-shadow {box-shadow: 0 -8px 24px 0 rgba(0, 0, 0, 0.15);}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5em 0;
}
.btn-md {
    display: inline-block;
    margin: 2em 0;
    padding: .75em 2em;

    background-image: linear-gradient(180deg, rgba(254,254,254,0.15) 0, rgba(255,255,255,0) 100%);
    border-radius: 25px;
    border: 0;
    transition: .5s all;
}
.btn-md:hover {
    background-color: #1869B7;
    background-image: linear-gradient(0deg, rgba(0,0,0,0.1) 0, rgba(0,0,0,0) 100%);
    color: #FFFFFF;
}

.list-md {padding: 0 2em;}

/* Marketing Digital - Carousel */
.slider .slick-dots {
    bottom: auto;
    top: -25px;
}
.slider .slick-dots li button:before {font-size: 10px;}
.slider .slick-dots li.slick-active button:before {color: #FD6D6D;}

.slider .slick-prev::before,
.slider .slick-next::before {
    font: 1.25rem 'icomoon';
    padding: .75em;
    color: #fff;
    background-color: #a6aeb8;
    border-radius: 50%;
}
.slider .slick-prev::before {content: "\e905";}
.slider .slick-next::before {content: "\e908";}
.slider .slick-prev {z-index: 1;}
.slider .slick-prev {left: -10px;}
.slider .slick-next {right: 20px;}

.fancybox-slide--iframe .fancybox-content {
	width  : 992px;
	height : 100%;
	max-width  : 35%;
	max-height : 80%;
}

/* form-md */
.wrap_form-md {padding: 0 1em;}
.top_form-md {text-align: center;}
.form-md {
    margin: 1em 0;
    display: flex;
    flex-direction: column;
}

.form-md input,
.form-md textarea {
    margin: .3em 0;
    padding: .5em;
}

.btn-form {
    display: inline-block;
    margin: .5em 0;
    padding: .75em 2em;

    background-image: linear-gradient(180deg, rgba(254,254,254,0.15) 0, rgba(255,255,255,0) 100%);
    border-radius: 25px;
    border: 0;
    transition: .5s all;
}
.btn-form:hover {
    background-color: #ff0a71;
    background-image: linear-gradient(0deg, rgba(0,0,0,0.1) 0, rgba(0,0,0,0) 100%);
    color: #fff;
}

/* Footer */
.footer {padding: 2em 0;}
.flex-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Nosotros */
.item-value {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;

    text-align: center;
}

.item-value .circle {
    align-self: center;
    padding: 2em;
    background-color: #00a3dc;
    border: 2px solid #00a3dc;;
    border-radius: 50%;
    transition: .5s all;
}
.item-value .circle span {font-size: 2.5em}
.item-value .circle:hover {
    background-color: transparent;
    color: #00a3dc;
}

.item-value h3 {margin: 1.25em 0 .75em;}

/* Contacto */
.contacto .item {padding: 1em 0;}
.iframe-contacto {
    width: 100%;
    max-height: 400px;
    min-height: 70px;
}
.iframe-contacto iframe {
    width: 100%;
    height: 360px;
    border: none;
}

.form-contacto {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.form-group {
    position: relative;
    margin-bottom: .5em;
}

.form-group span {
    position: absolute;
    left: 5%;
    top: 50%;
    color: #535353;
    transform: translate(-50%, -50%);
}
.form-group .icon-message {top: 19%;}

.form-group input,
.form-group textarea,
.form-group select {
    display: block;
    width: 100%;
    padding: .5rem 1rem .5rem 2.5rem;
    font: 0.875em 'Lato';
    color: #888;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .5rem;
}
.form-group select {cursor: pointer;}

.form-contacto button {
    font: 0.875em 'Lato';
    padding: .5em 1.25em;

    background-image: linear-gradient(180deg, rgba(254,254,254,0.15) 0, rgba(255,255,255,0) 100%);
    border: 1px solid #ed355b;
    border-radius: 5px;
    cursor: pointer;
    transition: .5s all;
}

.wrap-exit {text-align: center;}
.wrap-exit h2 {margin-bottom: .5em;}
