﻿

/*Card Black*/
.cardBlack {
    width: 190px;
    height: 200px;
    background: #212529;
    position: relative;
    display: flex;
    place-content: center;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
}

.cardBlack h2 {
    z-index: 1;
    color: white;
    font-size: 2em;
}


.cardBlack::before {
    content: '';
    position: absolute;
    width: 100px;
    background-image: linear-gradient(180deg, rgb(102, 207, 245), rgb(102, 207, 245));
    height: 130%;
    animation: rotBGimg 3s linear infinite;
    transition: all 0.2s linear;
}

.cardBlack::after {
    content: '';
    position: absolute;
    background: #212529;
    inset: 5px;
    border-radius: 15px;
}

.card-light span {
    z-index: 3;
}

.card-light {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 14px;
    z-index: 1111;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 10px 40px #bebebe, -10px -10px 40px #ffffff;
    margin-bottom: 2em;
}

.bg {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 190px;
    height: 190px;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px);
    border-radius: 10px;
    overflow: hidden;
}

.blob {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #66CFF5;
    opacity: 1;
    filter: blur(12px);
    animation: blob-bounce 5s infinite ease;
}

@keyframes blob-bounce {
    0% {
        transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }

    25% {
        transform: translate(-100%, -100%) translate3d(100%, 0, 0);
    }

    50% {
        transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
    }

    75% {
        transform: translate(-100%, -100%) translate3d(0, 100%, 0);
    }

    100% {
        transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
}


/* Card Social*/
.card-social svg {
    height: 25px;
}

.card-social {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7e7e7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    height: 50px;
    width: 230px;
}

.card-social::before, .card-social::after {
    position: absolute;
    display: flex;
    align-items: center;
    width: 50%;
    height: 100%;
    transition: 0.25s linear;
    z-index: 1;
}

.card-social::before {
    content: "";
    left: 0;
    justify-content: flex-end;
    background-color: #212529;
}

.card-social::after {
    content: "";
    right: 0;
    justify-content: flex-start;
    background-color: #1A1D1F;
}

.card-social:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.card-social:hover span {
    opacity: 0;
    z-index: -3;
}

.card-social:hover::before {
    opacity: 0.5;
    transform: translateY(-100%);
}

.card-social:hover::after {
    opacity: 0.5;
    transform: translateY(100%);
}

.card-social span {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: whitesmoke;
    font-family: 'Fira Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    opacity: 1;
    transition: opacity 0.25s;
    z-index: 2;
}

.card-social .social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    height: 100%;
    color: whitesmoke;
    font-size: 24px;
    text-decoration: none;
    transition: 0.25s;
}

.card-social .social-link svg {
    text-shadow: 1px 1px rgba(31, 74, 121, 0.7);
    transform: scale(1);
}

.card-social .social-link:hover {
    background-color: rgba(249, 244, 255, 0.774);
    animation: bounce_613 0.4s linear;
}

@keyframes bounce_613 {
    40% {
        transform: scale(1.4);
    }

    60% {
        transform: scale(0.8);
    }

    80% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotBGimg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* CARD TEAM*/
.card-team {
    width: 100%;
    max-width: 300px;
    min-width: 200px;
    height: 250px;
    background-color: #292929;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.24);
    border: 2px solid rgba(7, 7, 7, 0.12);
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.icon {
    margin: 0 auto;
    width: 100%;
    height: 224px;
    max-width: 224px;
    background: linear-gradient(90deg, #7eaaff 0%, #ff48fb 40%, rgba(0, 0, 0, 0.28) 60%);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease;
    background-position: 0px;
    background-size: 400px;
}

    .icon svg {
        fill: white;
    }

.card-team .title {
    width: 100%;
    margin: 0;
    text-align: center;
    margin-top: 30px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.card-team .text {
    width: 80%;
    margin: 0 auto;
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
    color: white;
    font-weight: 200;
    letter-spacing: 2px;
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}

.card-team:hover {
    height: 270px;
}

.card-team:hover .text {
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 40px;
}

.card-team:hover .icon {
    background-position: -120px;
    transition: all 0.3s ease;
}

.card-team:hover .icon svg path {
    fill: url('#gradientColor');
    transition: all 0.3s ease;
}

/* Service Card */
.book {
    position: relative;
    border-radius: 10px;
    width: 80%;
    height: 350px;
    background-color: whitesmoke;
    -webkit-box-shadow: 1px 1px 12px #fff;
    box-shadow: 1px 1px 12px #fff;
    -webkit-transform: preserve-3d;
    -ms-transform: preserve-3d;
    transform: preserve-3d;
    -webkit-perspective: 2000px;
    perspective: 2000px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #000;
}

.cover {
    top: 0;
    position: absolute;
    background-color: lightgray;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
    transform-origin: 0;
    -webkit-box-shadow: 1px 1px 12px #000;
    box-shadow: 1px 1px 12px #000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.book:hover .cover {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: rotatey(-80deg);
    -ms-transform: rotatey(-80deg);
    transform: rotatey(-80deg);
}

p {
    font-size: 20px;
    font-weight: bolder;
}


/*Animations*/
/* Scale Animation */
.scale-element {
}

@keyframes scale {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.slide-left {
    opacity: 0;
    transform: translateX(-100%);
}


.slide-right {
    opacity: 0;
    transform: translateX(100%);
}

@media (max-width: 767px) {
    .slide-right {
        opacity: 0;
        transform: translateX(-100%);
    }

    .slide-up.active {
        animation: slideIn 2.5s forwards;
    }
}


.slide-up {
    opacity: 0;
    transform: translateY(100%);
}

.slide-up.active {
    animation: slideIn 1.5s forwards;
}

.slide-up-1s {
    opacity: 0;
    transform: translateY(100%);
}

.slide-up-1s.active {
    animation: slideIn 1s forwards;
}

.slide-up-2s {
    opacity: 0;
    transform: translateY(100%);
}

.slide-up-2s.active {
    animation: slideIn 2s forwards;
}

.slide-up-3s {
    opacity: 0;
    transform: translateY(100%);
}

.slide-up-3s.active {
    animation: slideIn 3s forwards;
}

.slide-up-4s {
    opacity: 0;
    transform: translateY(100%);
}

    .slide-up-4s.active {
        animation: slideIn 4s forwards;
    }

.slide-left.active {
    animation: slideIn 2s forwards;
}

.slide-right.active {
    animation: slideIn 2s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.blur-element {
    opacity: 0;
}

    .blur-element.active {
        animation: fadeIn 2s ease-in-out forwards;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Card Contact*/
.card-contact {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 350px;
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.form-contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.group {
    position: relative;
}

.form-contact .group label {
    font-size: 14px;
    color: rgb(99, 102, 102);
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: #fff;
    transition: all .3s ease;
}

.form-contact .group input,
.form-contact .group textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    outline: 0;
    width: 100%;
    background-color: transparent;
}

.form-contact .group input:placeholder-shown + label, .form-contact .group textarea:placeholder-shown + label {
    top: 10px;
    background-color: transparent;
}

.form-contact .group input:focus,
.form-contact .group textarea:focus {
    border-color: #3366cc;
}

.form-contact .group input:focus + label, .form-contact .group textarea:focus + label {
    top: -10px;
    left: 10px;
    background-color: #fff;
    color: #3366cc;
    font-weight: 600;
    font-size: 14px;
}

.form-contact .group textarea {
    resize: none;
    height: 100px;
}

.form-contact button {
    background-color: #3366cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-contact button:hover {
    background-color: #27408b;
}

/*Card Products*/
.card-product {
    width: 17em;
    height: 25.5em;
    background: #171717;
    transition: 1s ease-in-out;
    clip-path: polygon(30px 0%, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0% 30px);
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    flex-direction: column;
    
}

.disabled-card2 {
    background: darkgray;
}

.disabled-card {
    animation: line-move 2s infinite linear;
    background-position: 0 0;
}

.disabled-button {
    animation: line-move 2s infinite linear;
    background-position: 0 0;
}

@keyframes line-move {
    0% {
        background-color: darkgray;
        background-position: 0 0;
    }

    100% {
        background-color: #006691;
        background-position: 100% 0;
    }
}


.card-product span {
    font-weight: bold;
    color: white;
    text-align: center;
    display: block;
    font-size: 1em;
}

.card-product .info {
    font-weight: 400;
    color: white;
    display: block;
    text-align: center;
    font-size: 0.72em;
    margin: 1em;
}

.card-product .img {
    width: 4.8em;
    height: 4.8em;
    background: white;
    border-radius: 15px;
    margin: auto;
}

.card-product .share {
    margin-top: 1em;
    display: flex;
    justify-content: center;
    gap: 1em;
}

.card-product a {
    color: white;
    transition: .4s ease-in-out;
}

.card-product a:hover {
    color: #006691;
}


.card-product .btn-product {
    padding: 0.8em 1.7em;
    display: block;
    margin: auto;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    background: #ffffff;
    color: rgb(0, 0, 0);
    transition: .4s ease-in-out;
}

.card-product .btn-product:hover {
    background: #006691;
    color: white;
    cursor: pointer;
}

/*Background Cards*/
.cover-web {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./assets/img/Services/web.png");
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir el div */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
}

.cover-web2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./assets/img/Services/web2.png");
    background-size: cover; 
    background-repeat: no-repeat; 
}

.cover-app {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./assets/img/Services/app.png");
    background-size: cover; 
    background-repeat: no-repeat; 
}

.cover-app2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./assets/img/Services/app2.png");
    background-size: cover; 
    background-repeat: no-repeat; 
}

.cover-ia {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./assets/img/Services/ia.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.cover-ia2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./assets/img/Services/ia2.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.cover-marketing {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./assets/img/Services/marketing.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.cover-marketing2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./assets/img/Services/marketing2.png");
    background-size: cover;
    background-repeat: no-repeat;
}


.cover-auto {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("./assets/img/Services/auto.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.cover-auto2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./assets/img/Services/auto2.png");
    background-size: cover;
    background-repeat: no-repeat;
}