@font-face {
    font-family: 'Telefonica-Sans';
    font-style: normal;
    font-weight: bold;
    src: url("/landings/portabilidad-online/fonts/Telefonica\ Sans\ Bold.otf");
}

@font-face {
    font-family: 'Telefonica-Sans';
    font-style: normal;
    font-weight: 400;
    src: url("/landings/portabilidad-online/fonts/Telefonica\ Sans\ Regular.otf");
}


.mainBanner {
    display: grid;
    background-image: url(/landings/portabilidad-online/images/background-landing-oscuro.jpg);
    background-size: cover;
    width: 100%;
    height: 340px;
    clip-path: ellipse(100% 100% at 50% 0);
    animation: mover-sonrisa 10s linear infinite;

    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
}

.mainBanner h1 {
    color: #FFF;
    font-size: 100px;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.75);
    font-weight: bold;
    margin-bottom: -50px;
    -webkit-transform: rotate(-5deg) skewX(-5deg);
    transform: rotate(-5deg) skewX(-5deg);
    text-align: center;
    margin-top: 24px;
}

.mainBanner .masGigas {
    margin-top: 4px;
    -webkit-transform: rotate(-5deg) skewX(-5deg);
    transform: rotate(-5deg) skewX(-5deg);
    width: 214px;
    margin: -24px auto auto auto;
}
.mainBanner .masGigas > div:nth-child(2) {
    background-color: #A13EA1;
    color: #FFF;
    padding: 16px 24px;
    border-radius: 16px;
    text-align: center;
    width: 180px;
    -webkit-box-shadow: 2px -2px 8px -1px rgba(0,0,0,0.25);
    -moz-box-shadow: 2px -2px 8px -1px rgba(0,0,0,0.25);
    box-shadow: 2px -2px 8px -1px rgba(0,0,0,0.25);
}
.mainBanner .masGigas > div > div:first-child {
    font-size: 32px;
    line-height: 1;
    font-weight: bold;
}
.mainBanner .precio {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: #FFF;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.75);
    font-size: 24px;
    gap: 8px;
    -webkit-transform: rotate(-5deg) skewX(-5deg);
    transform: rotate(-5deg) skewX(-5deg);
}
.mainBanner .precio > div:nth-child(2) {
    font-size: 32px;
    font-weight: bold;
}

.mainBanner .precio> div:nth-child(1) {
    position: relative;
}

.mainBanner .precio > div:nth-child(1):before {
    position: absolute;
    content: "";
    left: 0;
    top: 45%;
    right: 0;
    border-top: 5px solid #e63780c6;
    -webkit-transform: skewY(-10deg);
    -moz-transform: skewY(-10deg);
    transform: skewY(-10deg);
}





#emojiPulgar {
    position: absolute;
    background: transparent;
    width: 48px;
    height: 48px;
    animation: mover-en-circulo 10s linear infinite;
    margin-left: -8px;
    margin-top: -24px;
}


#emojiCorazon {
    position: absolute;
    background: transparent;
    width: 48px;
    height: 48px;
    animation: girar-circulo 10s linear infinite;
    margin-left: 140px;
    margin-top: -16px;
}

#emojiCorazon img,
#emojiPulgar img {
    width: 100%;
}




@keyframes mover-sonrisa {
    0% {
        clip-path: ellipse(100% 100% at 30% 0);
    }
    10% {
        clip-path: ellipse(120% 100% at 40% 0);
    }
    20% {
        clip-path: ellipse(140% 100% at 50% 0);
    }
    35% {
        clip-path: ellipse(120% 100% at 60% 0);
    }
    50% {
        clip-path: ellipse(100% 100% at 70% 0);
    }
    65% {
        clip-path: ellipse(100% 100% at 60% 0);
    }
    80% {
        clip-path: ellipse(100% 100% at 50% 0);
    }
    90% {
        clip-path: ellipse(100% 100% at 40% 0);
    }
    100% {
        clip-path: ellipse(100% 100% at 30% 0);
    }
}

@keyframes mover-en-circulo {
    0% {
      transform: translate(0, 0);
    }
    10% {
      transform: translate(4px, 8px);
    }
    20% {
      transform: translate(8px, 16px);
    }
    30% {
      transform: translate(16px, 24px);
    }
    40% {
      transform: translate(24px, 32px);
    }
    50% {
        transform: translate(32px, 24px);
    }
    60% {
        transform: translate(24px, 16px);
    }
    70% {
        transform: translate(16px, 8px);
    }
    80% {
        transform: translate(8px, 4px);
    }
    90% {
        transform: translate(4px, 2px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes girar-circulo {
    0% {
      transform: translate(8px, 0); /* Mitad del radio (8px) desde el centro */
    }
    25% {
      transform: translate(0, 8px); /* Mover hacia abajo */
    }
    50% {
      transform: translate(-8px, 0); /* Mover hacia la izquierda */
    }
    75% {
      transform: translate(0, -8px); /* Mover hacia arriba */
    }
    100% {
      transform: translate(8px, 0); /* Volver al punto de inicio */
    }
}


h2 {
    text-align: center;
    margin: 32px 0 16px 0;
}

h3 {
    margin: 0 32px;
    text-align: center;
}

.card {
    margin: 16px 32px;
    border-radius: 8px;
    -webkit-box-shadow: 0px 5px 17px -7px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 5px 17px -7px rgba(0,0,0,0.25);
    box-shadow: 0px 5px 17px -7px rgba(0,0,0,0.25);
    background-color: #FFF;
    text-align: center;
    padding-bottom: 32px;
}

.card:nth-child(2) .nombrePlan {
    padding: 8px 0;
}
.card .nombrePlan {
    background-color: #e63780;
    padding: 12px 0;
    color: #FFF;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: 16px;
    font-size: 20px;
}

.card .gigasAntesPlan {
    position: relative;
    width: 100px;
    font-size: 32px;
    margin: auto;
}

.card .precioAntesPlan:before,
.card .gigasAntesPlan:before {
    position: absolute;
    content: "";
    left: 0;
    top: 45%;
    right: 0;
    border-top: 3px solid #e63780c6;
    -webkit-transform: skewY(-10deg);
    -moz-transform: skewY(-10deg);
    transform: skewY(-10deg);

}

.card:nth-child(2) .nombrePlan {
    background-color: #019df4;
}

.card .gigasPlan {
    font-size: 60px;
    font-family: Telefonica-Sans;
    font-weight: bold;
    margin-top: -8px;
}

.card .infoDoblePlan {
    font-size: 16px;
    margin-top: -4px;
    margin-bottom: 24px;
}

.card .precioAntesPlan {
    position: relative;
    width: 120px;
    font-size: 24px;
    margin: auto;
}

.card .precioPlan {
    font-size: 38px;
    color: #0b2739;/*5cb615*/
    font-weight: bold;
}
.card .precioPlan span {
    font-weight: normal;
}

.card .btn {
    background-color: #019df4;
    margin-top: 16px;
    color: #FFF;
    margin-bottom: 32px;
    padding: 12px 40px;
    border-radius: 100px;
    transition: .3s;
    font-size: 24px;
}
.card .btn:hover {
    transform: scale(1.15);
}

.card .datoPlan {
    font-size: 18px;
    margin-bottom: 16px;
    
}