@font-face {
    font-family: 'geosanslightregular';
    src: url('geosanslight-webfont.woff2') format('woff2'), url('geosanslight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'kionaregular';
    src: url('kiona-regular-webfont.woff2') format('woff2'), url('kiona-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: kionaregular;
    color: #666666;
    text-align: center;
}

#logo {
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
}

a {
    color: #666666;
}

a:hover {
    color: #666666;
    text-decoration: none;
}

h3, p {
    font-family: geosanslightregular;
}

p {
    font-size: 1.5rem;
}

footer p {
    font-family: kionaregular;
}

#inicio {
    margin-top: 5rem;
    /*margin-bottom: 5rem;*/
    top: 0px;
}

#atencion {
    padding-left: 10rem;
}

#triangulos {
    padding: 0px;
}

#nene {
    margin-top: -35rem;
    margin-bottom: 1rem;
    float: right;
    padding-right: 0px;
}

#servicios {
    margin-top: 3rem;
}

#certificado {
    margin: 10rem 0rem;
}

#productos {
    margin-top: 10rem;
}

#nosotros img {
    margin: auto;
}

.centro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#nosotros {
    margin: 6rem 0rem 6rem 0rem;
}

#contacto p {
    margin-bottom: 0px;
}

footer p {
    margin-bottom: 0px;
    font-size: .8rem;
}

/** POP UP'S **/

.modal-header {
    padding: 0%;
}

.modal-dialog {
    max-width: 100rem;
    margin: 0rem auto;
}

.modal-body {
    padding: .3rem .3rem 0rem .3rem;
    vertical-align: center;
}

.btn {
    font-size: .8rem;
    vertical-align: middle;
}

#modalOneModal p {
    font-size: 1rem;
}

#twoModalsExample {
    font-size: .7rem;
}

/*#modalOneModal p {
    align-items: center;
    vertical-align: middle;
}*/

#twoModalsExample {
    width: 50%;
    transform: translateX(50%);
    vertical-align: middle;
    text-align: center;
}

.modal-footer {
    padding: 0rem;
    border-top: 0px solid #dee2e6;
    height: 6%;
}

.d-md-block {
    display: block !important;
}

/** BOTONES CORROUSEL **/

.btn-1 {
    border: none;
    background-image: linear-gradient(to left, #04cbfc 0%, #015ceb 100%);
    color: #fff;
    width: auto;
}

.btn-2 {
    border: none;
    background-image: linear-gradient(to left, #a0dc56 0%, #0b9484 100%);
    color: #fff;
    width: auto;
}

.btn-3 {
    border: none;
    background-image: linear-gradient(to left, #ffaa2d 0%, #eb4375 100%);
    color: #fff;
    width: auto;
}

#politica {
    cursor: pointer;
}

/** MAGIC SCROLL **/

::-webkit-scrollbar {
    width: 0;
}

#scrollPath {
    position: fixed;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

#progressbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 5px;
    background: linear-gradient(to top, #008aff, #00ffe7);
    animation: animate 5s linear infinite;
}

@keyframes animate {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(360deg);
    }
}

#progressbar:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #008aff, #00ffe7);
    filter: blur(10px);
}

#progressbar:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #008aff, #00ffe7);
    filter: blur(30px);
}

/** GHOST HEADER **/

header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: left;
    transition: 0.15s;
    padding: 5px 100px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
}

header.sticky {
    padding: 5px 100px;
    background: #fff;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 50px 100px;
    box-sizing: border-box;
    transition: 0.15s;
}

header navbar-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    vertical-align: middle;
}

header navbar-nav nav-link {
    position: relative;
    transition: 0.15s;
}

header.sticky #CS, header.sticky #uno, header.sticky #dos, header.sticky #tres, header.sticky #cuatro {
    color: #666666;
}

/** NAV BAR COLORS**/

#CS {
    color: #fff;
    font-size: 1.6rem;
}

#uno {
    -moz-border-right: 2.5px solid transparent;
    -webkit-border-right: 2.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(top, #ffaa2d 0%, #eb4375 100%);
    -webkit-border-image: -webkit-linear-gradient(top, #ffaa2d 0%, #eb4375 100%);
    border-image: linear-gradient(to bottom,#ffaa2d 0%, #eb4375 100%);
    border-image-slice: 0;
    color: #fff;
}


#dos {
    -moz-border-right: 2.5px solid transparent;
    -webkit-border-right: 2.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(top, #04cbfc 0%, #015ceb 100%);
    -webkit-border-image: -webkit-linear-gradient(top, #04cbfc 0%, #015ceb 100%);
    border-image: linear-gradient(to bottom,#04cbfc 0%, #015ceb 100%);
    border-image-slice: 0;
    color: #fff;
}

#tres {
    -moz-border-right: 2.5px solid transparent;
    -webkit-border-right: 2.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(top, #a0dc56 0%, #0b9484 100%);
    -webkit-border-image: -webkit-linear-gradient(top, #a0dc56 0%, #0b9484 100%);
    border-image: linear-gradient(to bottom, #a0dc56 0%, #0b9484 100%);
    border-image-slice: 0;
    color: #fff;
}

#cuatro {
    color: #fff;
}

/** SERVICE CARD **/

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    min-height: 65vh;
}

.container .service {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.container .card {
    position: relative;
    width: 300px;
    height: 480px;
    max-height: 480px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.container:hover .card {
    opacity: 0.8;
}

.container .card:hover {
    opacity: 1;
}

.container .card::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    width: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.container .card .content {
    padding: 30px;
    margin: 2rem 0rem;
    text-align: center;
}

.container .card .content h2 {
    position: absolute;
    right: 30px;
    color: #666666;
    z-index: 1;
    opacity: 0.1;
    transition: 0.05s;
}

.container .card:hover .content h2 {
    opacity: 1;
    transform: translateY(-70px);
}

.container .card .content h3 {
    position: relative;
    color: #666666;
    z-index: 2;
    opacity: 0.5;
    letter-spacing: 1px;
    transition: 0.5s;
}

.container .card:hover .content h3 {
    opacity: 1;
}

.container .card .content p {
    position: relative;
    color: #666666;
    z-index: 2;
    opacity: 0.5;
    font-weight: 300;
    letter-spacing: 1px;
    transition: 0.5s;
}

.container .card:hover .content h3, .container .card:hover .content p {
    opacity: 1;
}

.container .card .content a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    color: #0c002b;
    text-decoration: none;
    text-transform: uppercase;
}

.container .card .content .a1 {
    background: linear-gradient(to bottom, #ffaa2d, #eb4375);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.container .card .content .a2 {
    background: linear-gradient(to bottom, #04cbfc, #015ceb);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.container .card .content .a3 {
    background: linear-gradient(to bottom, #a0dc56, #0b9484);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.container .card span {
    transition: 0.5;
    opacity: 0;
}

.container .card:hover span {
    opacity: 1;
}

.container .card span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #a0dc56, #0b9484);
    animation: animate1 2s linear infinite;
}

@keyframes animate1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.container .card span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #04cbfc, #015ceb);
    animation: animate2 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate2 {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.container .card span:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, transparent, #a0dc56, #0b9484);
    animation: animate3 2s linear infinite;
}

@keyframes animate3 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.container .card span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to top, transparent, #ffaa2d, #eb4375);
    animation: animate4 2s linear infinite;
    animation-delay: 1s;
}

@keyframes animate4 {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

/** PRODUCTS CARD **/

.container .products {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.dos {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px;
}

.dos .card2 {
    position: relative;
    max-width: 300px;
    height: 220px;
    background: #fff;
    margin: 50px 10px;
    padding: 80px 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.5);
    transition: 0.3s ease-in-out;
}

.dos .card2:hover {
    height: 520px;
}

.dos .card2 .imgBx {
    position: relative;
    width: 300px;
    height: 280px;
    top: -80px;
    left: -15px;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.dos .card2 .imgBx img {
    max-width: 100%;
    border-radius: 4px;
}

.dos .card2 .content {
    position: relative;
    margin-top: -140px;
    padding: 10px 15px;
    text-align: center;
    color: #111;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.dos .card2:hover .content {
    visibility: visible;
    opacity: 1;
    margin-top: -80px;
    transition-delay: 0.3s;
    vertical-align: middle;
}

#p1 {
    border-top: 3px solid #666666;
    -moz-border-top: 1.5px solid transparent;
    -webkit-border-top: 1.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(left, #ffaa2d 0%, #eb4375 100%);
    -webkit-border-image: -webkit-linear-gradient(left, #ffaa2d 0%, #eb4375 100%);
    border-image: linear-gradient(to right, #ffaa2d 0%, #eb4375 100%);
    border-image-slice: 1 0 0 0;
    padding: 5% 0;
    font-size: 16px;
}

#p2 {
    border-top: 3px solid #666666;
   -moz-border-top: 1.5px solid transparent;
    -webkit-border-top: 1.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(left, #04cbfc 0%, #015ceb 100%);
    -webkit-border-image: -webkit-linear-gradient(left, #04cbfc 0%, #015ceb 100%);
    border-image: linear-gradient(to right,#04cbfc 0%, #015ceb 100%);
    border-image-slice: 1 0 0 0;
    padding: 5% 0;
    font-size: 16px;
}

#p3 {
    border-top: 3px solid #666666;
    -moz-border-top: 1.5px solid transparent;
    -webkit-border-top: 1.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(left, #a0dc56 0%, #0b9484 100%);
    -webkit-border-image: -webkit-linear-gradient(left, #a0dc56 0%, #0b9484 100%);
    border-image: linear-gradient(to right,#a0dc56 0%, #0b9484 100%);
    border-image-slice: 1 0 0 0;
    padding: 5% 0;
    font-size: 16px;
}

/**---- WHATS APP -----**/

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #666;
    z-index: 100;
}

.float:hover {
    text-decoration: none;
    color: #25d366;
    background-color: #fff;
}

.my-float {
    margin-top: 16px;
    display:block;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:390px) {
    .container .card .content h3 {
        font-size: 1.2rem;
    }
    .container .card .content p {
        font-size: 1rem;
    }
    #scrollPath {
        position: fixed;
        top: 0;
        right: 0;
        width: 0px;
        height: 100%;
        background: rgba(255, 255, 255, 0.05);
    }
    #progressbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 0px;
        background: linear-gradient(to top, #008aff, #00ffe7);
        animation: animate 5s linear infinite;
    }
}

@media(max-width:500px) {
    #inicio h1 {
        font-size: 1.5rem;
    }
    #inicio h2 {
        font-size: 1.3rem;
    }
    p {
        font-size: 1.3rem;
    }
    header {
        padding: 0px;
        position: inherit;
        background: rgba(0, 0, 0, 0);
    }
    header.sticky {
        padding: 0px;
    }
    #CS {
        color: #666666;
    }
    #uno {
        color: #666666;
    }
    #dos {
        color: #666666;
    }
    #tres {
        color: #666666;
    }
    #cuatro {
        color: #666666;
    }
    .container .card {
        width: 350px;
        height: 300px;
    }
    #servicios {
        margin-bottom: 5rem;
    }
    #productos {
        margin-top: 5rem;
    }
    #productos h2 {
        font-size: 1.2rem;
    }
    #productos p {
        font-size: 1rem;
    }
    .dos {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 50px;
    }
    .dos .card2 {
        position: relative;
        max-width: 260px;
        height: 130px;
        background: #fff;
        margin: 50px 10px;
        padding: 80px 15px;
        display: flex;
        flex-direction: column;
        transition: 0.3s ease-in-out;
    }
    .dos .card2:hover {
        height: 530px;
    }
    .dos .card2 .imgBx {
        position: relative;
        width: 260px;
        height: 290px;
        top: -80px;
        left: -15px;
        z-index: 1;
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    }
    .dos .card2 .imgBx img {
        width: 120px;
        height: auto;
        border-radius: 4px;
    }
    #nene {
        margin-bottom: 1rem;
    }
    #nosotros {
        margin-top: 0rem;
    }
    .carousel-caption a strong {
        font-size: .3rem;
    }
    .carousel-caption {
        right: 10%;
        left: 10%;
    }
    #carouselExampleCaptions .btn {
        font-size: .0rem;
    }
    .navbar-brand {
        margin-right: 0rem;
    }
    #form {
    padding:20px 0;
    width: 90%;
}
}

@media(max-width:992px) {
    header {
        padding: 5px 5px;
    }
    #uno {
        border-right: 0px;
    }
    #dos {
        border-right: 0px;
    }
    #tres {
        border-right: 0px;
    }
    .reverza {
        display: flex;
        flex-direction: column-reverse;
    }
    .navbar {
        justify-content: center;
    }
    .container .card .content {
        margin: 0rem 0rem;
    }
    
}

@media(max-width:1220px) {
    #inicio h2 {
        padding-left: 0rem;
    }
    #nene {
        margin-top: 0px;
        float: none;
    }
    .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.5);
    }
}

/** CONTACT FORM ***/

form input {
    font-family: geosanslightregular;
}

#nombres {
    border: 1px solid #666666;
    --moz-border: 1.5px solid transparent;
    -webkit-border: 1.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(left, #ffaa2d 0%, #eb4375 100%);
    -webkit-border-image: -webkit-linear-gradient(left, #ffaa2d 0%, #eb4375 100%);
    border-image: linear-gradient(to right,#ffaa2d 0%, #eb4375 100%);
    border-image-slice: 1;
    width: 100%;
}

#telefono {
    padding: .5rem;
    width: 100%;
    border: 1px solid #666666;
    -moz-border: 1.5px solid transparent;
    -webkit-border: 1.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(left, #ffaa2d 0%, #eb4375 100%);
    -webkit-border-image: -webkit-linear-gradient(left, #ffaa2d 0%, #eb4375 100%);
    border-image: linear-gradient(to right,#ffaa2d 0%, #eb4375 100%);
    border-image-slice: 1;
}

#email {
    border: 1px solid #666666;
    -moz-border: 1.5px solid transparent;
    -webkit-border: 1.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(left,#04cbfc 0%, #015ceb 100%);
    -webkit-border-image: -webkit-linear-gradient(left,#04cbfc 0%, #015ceb 100%);
    border-image: linear-gradient(to right,#04cbfc 0%, #015ceb 100%);
    border-image-slice: 1;
    width: 100%;
}

#mensaje {
    border: 1px solid #666666;
    -moz-border: 1.5px solid transparent;
    -webkit-border: 1.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(left,#a0dc56 0%, #0b9484 100%);
    -webkit-border-image: -webkit-linear-gradient(left,#a0dc56 0%, #0b9484 100%);
    border-image: linear-gradient(to right,#a0dc56 0%, #0b9484 100%);
    border-image-slice: 1;
    width: 100%;
}

#form {
    color: #666666;
    text-align: center;
    width: 80%;
}

input[type="text"], input[type="email"], select {
    background-color: white;
    outline: none;
    border: none;
    height: 2.5rem;
    width: 100%;
    padding: .5rem;
    margin: 0;
}

label {
    margin: 10px;
    font-size: 1.2rem;
}

textarea {
    color: #666666;
    outline: none;
    height: 12rem;
    width: 100%;
    padding: .5rem;
    margin: .5rem 0;
    resize: none;
}

.boton {
    width: 100%;
    display: flex;
    justify-content: center;
}

button[type="submit"] {
    background: transparent;
    border: 1px solid #666666;
    outline: none;
    color: #666666;
    background: #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 10px;
}

button[type="submit"]:focus {
    color: #666666;
    border: 1px solid #666666;
    font-weight: bold;
}

form p {
    padding-top: 3%;
    text-align: center;
}

footer {
    border: 1px solid #666666;
    -moz-border: 1.5px solid transparent;
    -webkit-border: 1.5px solid transparent;
    -moz-border-image: -moz-linear-gradient(left, #ffaa2d 0%, #eb4375 100%);
    -webkit-border-image: -webkit-linear-gradient(left, #ffaa2d 0%, #eb4375 100%);
    border-image: linear-gradient(to right,#ffaa2d 0%, #eb4375 100%);
    border-image-slice: 1 0;
}