/* Custom Fonts Telefonica */
@font-face {
    font-family: Telefonica-Bold;
    src: url("./fonts/TelefonicaWeb-Bold.woff2");
}

@font-face {
    font-family: Telefonica-ExtraLight;
    src: url("./fonts/TelefonicaWeb-ExtraLight.woff2");
}

@font-face {
    font-family: Telefonica-Hand;
    src: url("./fonts/TelefonicaWeb-Hand.woff2");
}

@font-face {
    font-family: Telefonica-Light;
    src: url("./fonts/TelefonicaWeb-Light.woff2");
}

@font-face {
    font-family: Telefonica-Regular;
    src: url("./fonts/TelefonicaWeb-Regular.woff2");
}

@font-face {
    font-family: Telefonica-RegularItalic;
    src: url("./fonts/TelefonicaWeb-RegularItalic.woff2");
}
/* Custom Fonts Telefonica */



body{
    margin: 0;
    background-color: #efbe5f;
    background-repeat: no-repeat;
	background-image: url(./images/background.png);
    font-family: Telefonica-Regular, Helvetica, sans-serif;
}

.container{
    display: grid;
    grid-template-rows: 2.8rem 1fr 4rem;
    min-height: 100vh;
}

.textService{
    display: flex;
    justify-content: center;
    background: #ffffff;
    color: #000000;
}

.textService p{
    margin: 15px;
}

.section{
    display: grid;
}

.btn{
    width: 375px;
    height: 56px;
    border-style: #118080;
    background: #07D9D9;
    border-radius: 13px;
    margin: 0 auto;
    display: block;
    color: black;
    font-size: 32px;
    
    font-family: Telefonica-RegularItalic, Helvetica, sans-serif;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.btn::after{
    content: " - Remember this";
}

.btn:hover{
    width: 380px;
    background-color: #F25D07;
}

.btn:active{
    width: 372px;
    background-color: #F25D07;
}

.sectionA {
    display: grid;
    grid-template-rows: 1fr 7.600rem;
}

.sectionA .frase p{
    text-align: center;
    font-size: 47px;
    line-height: 1;
    margin: 0;
}

.sectionA .frase .gratis{
    font-family: Telefonica-Bold, Helvetica, sans-serif;
}

.sectionB input[type=tel], .sectionB input[type=number]{
    width: 48%;
    height: 50px;
    margin: 0 auto;
    display: block;
    border-radius: 30px;
    border: 1px solid  #D9814E;
    padding: 0 20px;
    text-align: center;
    font-size: 20px;
}

.sectionB .logoMovistar{
    display: flex;
    justify-content: center;
    margin-top: 45px;
}

.Movistar img{
    display: block;
    margin: 0 auto;
    width: 140px;
    margin-bottom: 10px;
}

.Movistar p{
    padding: 8px 0 0;
    margin: 0;
    text-align: center;
    font-size: 9px;
}

.title{
    font-size: 50px;
    text-align: center;
    margin: 0 0 20px;
    font-family: Telefonica-RegularItalic, Helvetica, sans-serif;
    line-height: 1.2;
}

.seleccion{
    text-align: center;
}

.checkBox {
    margin: 5px 15px;
    text-align: justify;
    font-size: 14px;
    padding-left: 20px;
    text-indent: -20px;
}

.checkBox a {
    color: #1c4760;
    text-decoration: none;
    font-weight: bolder;
}

.checkBox a:hover {
    color: #ffffff;
}

.checkTerminos{
    display: flex;
    justify-content: center;
    margin: 6px 10px 0px;
}

.checkTerminos input{
    margin-right: 10px;
}

.mensaje{
    position: relative;
    z-index: 2;
    text-align: center;
}

.mensaje h2{
    margin: 10px 0 16px;
    font-style: italic;
    font-size: 30px;
    line-height: 1.2;
}

.mensaje span{
    font-family: Telefonica-Bold, Helvetica, sans-serif;
}

.mensaje p{
    font-size: 22px;
    text-align: center;
    font-family: Telefonica-RegularItalic, Helvetica, sans-serif;
    margin: 0;
}

.container-slider {
    display: flex;
    align-items: center;
    width: 490px;
    margin: 0 auto;
}

.container-slider i{
    font-size: 0px;
    padding-bottom: 60px;
    width: 50px;
    text-align: center;
}

.container-slider .btn-izquirda:hover,
.container-slider .btn-derecha:hover{
    font-size: 62px!important;
    cursor: pointer;
}

.container-slider .btn-izquirda:active,
.container-slider .btn-derecha:active{
    font-size: 59px!important;
    cursor: pointer;
}


.plan-container{
    display: grid;
    grid-auto-flow: column;
    overflow: auto;
    width: 402px;
    margin: 0 auto;
    scroll-behavior: smooth;
    overflow-y: hidden;
}

.plan-container::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none; /* IE 11 */
    scrollbar-width: none; /* Firefox 64 */
}

.plan{
    width: 402px;
}

.plan-descripcion{
    background: #146173;
    position: relative;
    border-radius: 8px 8px 0 0;
    width: 300px;
    margin: 0 auto;
}

.plan-descripcion p,
.plan-descripcion h3{
    margin: 0;
    text-align: center;
	color: white;
}

.plan-descripcion h3{
    font-size: 50px;
    padding-top: 15px;
    margin: 0;
    line-height: 1.1;
    font-family: Telefonica-Bold, Helvetica, sans-serif;
}

.plan-descripcion p{
    font-size: 20px;
    padding-bottom: 6px;
}

.vigencia{
    background: #D9814E;
    
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-family: Telefonica-Bold, Helvetica, sans-serif;
    text-align: center;
    padding-bottom: 4px;
}

.vigencia p{
    text-align: center;
    padding: 2px;
    font-style: italic;
    color: #ffffff8f;
    margin: 0;
    line-height: .5;
}

.vigencia img{
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.beneficios{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.beneficio{
    border: solid 2px white;
    border-radius: 0 0 10px 10px;
    width: 138px;
    padding-top: 10px;
    margin: -3px 6px 0;
    background-color: rgba(255, 255, 255, 0.35);
	color: black;
}

.beneficio img{
    width: 50px;
    margin: 0 auto;
    display: block;
}

.beneficio:nth-child(2) img{
    padding-top: 6px;
}

.beneficio p{
    text-align: center;
    margin: 0 5px 7px;
    font-size: 14px;
}

.footer{
    background-color: white;
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

.footer a{
    text-decoration: none;
    color: #b1a3be;
    font-weight: 600;
}

.modalbackground{
    position: absolute;
    background-color: #F3B170;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    padding-top: 5%;
    display: none;
    z-index: 10;
}

.modalbackground.activo{
    display: flex;
}

.cerrar{
    display: flex;
    flex-direction: row-reverse;
}

.cuadro{
    width: 40px;
    height: 40px;
    border: 2px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.imgClose{
    width: 30px;
    height: 30px;
}

.mensaj h1{
    text-align: center;
    font-family: Telefonica-Bold, Helvetica, sans-serif;
}

.iva{
    font-style: italic;
    text-align: center;
}

.burbuja {
    max-height: 100%;
    width: 40%;
    background: #ffffff;
    position: absolute;
    bottom:180px;
    z-index: 2;
    right: 11.3%;
    -webkit-box-shadow: 0px 13px 11px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 13px 11px -3px rgba(0,0,0,0.75);
    box-shadow: 0px 13px 11px -3px rgba(0,0,0,0.75);
    color: #000000;
    padding-right: 20px;
    padding-top: 4px;
    margin-top: 30px;
    margin-right: -20%;
    display: none;
}

.triangulo-2 {
    position: absolute;
    width: 0; 
    height: 0; 
    border-bottom: 20px solid transparent;
    border-right: 20px solid transparent ;
    border-left: 20px solid #ffffff; 
}

.formulario{
    position: relative;
}

.formulario p {
    text-align: center;
    padding: 0 15px;
}

.sectionA .frase > p:first-child{
    font-family: Telefonica-Bold, Helvetica, sans-serif;
    font-style: italic;
}

.tiempoCompra{
	font-style: italic;
    text-align: center !important;
    line-height: 0;
	font-size: .7em;
}

/* media queryes */
@media (max-width: 423px) {
    body{
        background-image: url(./images/perro-bg.png);
        background-position: center bottom;
        background-size:500px;
        background-position-x: 80%;
    }

    .Movistar img {
        display: block;
        margin: 0 auto;
        width: 122px;
        margin-bottom: 10px;
    }

    .sectionA{
        height: 350px;
        order:1;
        grid-template-rows: 1fr;
    }

    .sectionA .frase{
        width:100%;
        height: 60px;
        padding: 0;
    }
    
    .sectionA .frase p{
        margin-top: -20px;
        font-size: 30px;
    }
    
    .sectionA .logo{
        width: 96px;
        padding-left: 48px;
        padding-top: 40px;
        visibility: hidden;
    }

    .sectionB input[type=tel] {
        width: 50%;
    }

    .title {
        font-size: 28px;
        text-align: center;
        margin: 10px 0 20px;
    }

    .beneficio {
        width: 97px;
    }

    .beneficio p{
        font-size: 13px;
    }

    .sectionB input[type=tel] {
        height: 40px;
        font-size: 18px;
        width: 75%;
    }

    .sectionB{
        padding: 0 ;    
    } 

    .sectionB .logoMovistar {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .btn{
        max-width: 280px;
        cursor: pointer;
    }

    .mensaje {
        width: 82%;
        margin: 0 auto -48px;
        height: 120px;
    }

    .mensaje h2{
            font-size: 20px;
    }

    .mensaje p{
        font-size: 18px;
    }
    
    .textService{
        text-align: center;
        font-size: 14px;
    }

    .precioNormal{
        margin-top: 0 !important;
    }

    .plan-descripcion{
        width: 215px;
    }
    
    .legales{
        width: 80%;
    }

    .container-slider{
        width: 385PX;
    }

    .plan{
        width: 302px;
        /*padding-right: 103px;*/
    }

    .plan:nth-child(8){
        padding-right: 0px;
    }

    .modalbackground {
        overflow-y: overlay;
    }

    .burbuja {
        width: 73%;
        bottom: 210px;
        right: 11.3%;
        margin-right: 0;
    } 
    
    .triangulo-2 {
        right: 30px;
    }
    
}


@media (min-width: 424px) and (max-width: 640px) {
    
    body{
        background-image: url(./images/perro-bg.png);
        background-position: center bottom;
        background-size:600px;
    }

    .textService{
        text-align: center;
    }

    .section{
        display: grid;
        padding: 0 2rem 26px;
    }

    .sectionA{
        order:1;
        grid-template-rows: 1fr;
        height: 460px;
    }

    .sectionA .frase{
        width:97%;
    }

    .sectionA .logo{
        width: 96px;
        padding-left: 48px;
        padding-top: 70px;
        visibility: hidden;
    }

    .sectionB input[type=tel] {
        width: 50%;
    }

    .logoB{
        margin: 0 auto 15PX;
        display: block;
    }

    .title{
        font-size: 38px;
        text-align: center;
        margin: 5px 0 10px;
        line-height: 1.1;
    }


    .sectionB input[type=tel] {
        height: 40px;
    }
    
    .sectionB{
        padding: 0 ;    
    } 

    .mensaje {
        width: 100%;
    }    


    .btn{
        max-width: 382px;
    }

    .textService{
        padding: 0;
    }

    .legales{
        width: 80%;
    }

    .sectionA .frase p {
    font-size: 39px;
    }

    .burbuja {
        width: 73%;
        bottom: 190px;
        right: 11.3%;
        margin-right: 0;
    }
    
    .triangulo-2 {
        right: 30px;
    }
}


@media (min-width: 641px) and (max-width: 768px) {
    body{
        background-image: url(./images/perro-bg.png);
        background-position: center bottom;
    }

    .textService p{
        padding: 0 10px;
        text-align: center;
    }

    .section {
        display: grid;
        padding: 0 2rem 26px;
    }

    .sectionA{
        height: 578px;
        order:1;
        grid-template-rows: 1fr;
    }

    .sectionA .frase {
        width: 100%;
    }

    .sectionA .logo{
        visibility: hidden;
    }

    .sectionB{
        padding: 0 ;    
    } 

    .title {
        font-size: 46px;
        line-height: 1;
    }

    .logoB{
        margin: 0 auto 15PX;
        display: block;
    }

    .legales{
        width: 60%;
    }
    
    .burbuja {
        width: 73%;
        bottom: 194px;
        right: 12%;
        margin-right: 0;
    }
    
    .triangulo-2 {
        right: 56px;
    }
}

@media (min-width: 769px) and (max-width: 1024px){
    body{
        background-size: cover;
        background-position:center;
    }

    .section{
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        padding: 0 2rem;
    }

    .logo{
        margin-top: 60px;
        width: 150px;
        margin-left: 20px;
    }

    .sectionA{
        grid-template-rows: 1fr 135px;
    }

    .sectionA .frase{
        width: 90%;
        padding: 0;
    }

    .sectionA .frase p{
        font-size: 16px;
    }

    .frase>p:first-child{
        margin-top: 10px;
        font-size: 31.5px;
    }

    .sectionB{
        padding: 0 ;    
    } 

    .title{
        font-size: 40px;
    }

    .logoB{
        display: none;
    }

    .legales{
        width: 60%;
    }

    .burbuja {
        right: -52%;
        margin-right: 0;
        width: 73%;
        bottom: 198px;
    }   
    
    .triangulo-2 {
        left: 10px;
    }

}



@media (min-width: 1025px) and (max-width: 1280px) {
    body{
        background-size: cover;
        background-position:center;
    }
    .section{
        display: grid;
        grid-template-columns: 1fr  1fr;
        padding: 0 2rem;
    }

    .logo{
        margin-top: 60px;
        width: 150px;
        margin-left: 20px;
    }

    .sectionA {
        display: grid;
        grid-template-rows: 1fr 158px;
    }

    .sectionA .frase {
        padding: 0;
        margin: 0 auto;
    } 
    
    .sectionA .frase p {
        text-align: center;
        font-size: 18px;
        margin: 0;
    }

    .sectionA .frase > p:first-child{
        margin-top: 46px;
        font-size: 40px!important;
    }
    
    .sectionB{
        padding: 0 ;    
    } 

    .title {
        font-size: 40px;
        text-align: center;
        margin: 0 0 20px;
        font-family: Telefonica-RegularItalic, Helvetica, sans-serif;
        line-height: 1;
    }

    .mensaje {
        width: 100%;
    }

    .mensaje p{
        font-size: 20px;
    }

    .logoB{
        display: none;
    }

    .legales{
        width: 60%;
    }

    .burbuja {
        right: -140px;
        margin-right: 0;
        width: 280px;
        bottom: 190px;
    }   

    .triangulo-2 {
        left: 22px;
    }


}

@media (min-width: 1281px) and (max-width: 1536px) {
    body{
        background-size: cover;
        background-position:center;
    }
    .section{
        display: grid;
        grid-template-columns: 1fr  1fr;
        padding: 0 2rem;
    }

    .logo{
        margin-top: 30px;
        width: 150px;
        margin-left: 10px;
    }

    .sectionA .frase {
        width: 100%;
        padding: 0;
    }

    .sectionA .frase > p:first-child{
        margin-top: 0;
        font-size: 40px!important;
    }

    .logoB{
        display: none;
    }

    .sectionA {
        display: grid;
        grid-template-rows: 1fr 110px;
    }

    .legales{
        width: 60%;
    }

    .burbuja {
        right: 0;
        margin-right: -30px;
        width: 280px;
    }   

    .triangulo-2 {
        left: 20%;
    }
}

@media (min-width: 1537px) {
    body{
        background-size: cover;
        background-position:center;
    }
    .section{
        display: grid;
        grid-template-columns: 48% 52%;
        padding: 0 2rem;
    }

    .sectionA .frase {
        padding: 0;
        padding-right: 28%;
    }

    .sectionA .frase > p:first-child{
        margin-top: 5px;
        font-size: 40px!important;
    }


    .logo{
        margin-top: 60px;
        width: 150px;
        margin-left: 10%;
    }

    .logoB{
        display: none;
    }

    .sectionA {
        grid-template-rows: 1fr 110px;
    }

    .legales{
        width: 60%;
    }

    .mensaje h2{
        font-size: 35px;
        line-height: 1.18;
    }

    .burbuja {
        right: -20px;
        margin-right: 0;
    }   

    .triangulo-2 {
        left: 14%;
    }
}