#bloque1{
    padding-top: 40px;
    background-color: var(--color-c9);
}
#seccion1{
 margin-top: 30px;
}
.tituloPromo{
    font-size: 2.3rem;
    background-color: white;
    color:black;
    margin: 0px;
    line-height: 1;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 10px;
}
.tituloPromo2{
    font-size: 2.3rem;
    background-color: white;
    color:black;
    margin: 0px;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 10px;
    text-align: center;
  margin-bottom: 10px;
}
.cardPromo{
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cardTitulopromo{
    background-color: var(--color-c3);
    width: 100%;
    border-radius: 10px;
    padding:10px 5px;
    margin-bottom: 20px;
}
.tituloIphone{
    font-size: 1.5rem;
    color:white;
    margin: 0px;
    line-height: 1;
    text-align: center;
    
}




.cardPrecioPromo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.eurosPromo{
    font-size: 6rem;
    color:white;
    margin: 0px;
    line-height: 1;
}
.mesPromo{
    font-size: 2.5rem;
    color:white;
    margin: 0px;
    line-height: 1;
}

.durante{
    font-size: 1.2rem;
    color:white;
    margin: 0px;
    line-height: 1.2;
    font-family: "Trade Regular";
}

.rayas{
    margin-top: 20px;
    margin-bottom: 20px;
}

.contratando{
    font-size: 1rem;
    color:white;
    margin: 0px;
    line-height: 1.2;
    font-family: "Trade Regular";
}
.textoIlimitadas{
    font-size: 1.2rem;
    color:white;
    margin: 0px;
    line-height: 1.5; 
}
.textoIlimitadas span{
 color:black;
 background-color: white;
 border-radius: 5px;
padding: 0px 5px;
}

/* SECCION2................................. */
#seccion2{
 margin-top: 30px;
}

.imagenPortada{
    width: 100%;
    height: 374px;
    background-image: var(--img-pc);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}





/* FORMULARIO...................................... */

.containerForm{
    margin-top: -30px;
}



/* BLOQUE2 ********************************************** */

#bloque2 {
  width: 100%;
  background-color: var(--color-c9);
}
#textoLegalPromo {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  color: rgb(255, 255, 255);
  padding-bottom: 20px;
  margin: 0px;
}



/* BLOQUE YOIGOOOOOOO BANER ************************* */


#bloqueYoigo {
width: 100%;
height: auto;
background-color: var(--color-c3);
padding-top: 20px;
padding-bottom: 20px;
}
#bloqueYoigo #yoigoContainer {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
#bloqueYoigo #yoigoContainer p {
margin: 0px;
font-size: clamp(1.2rem, 2vw, 1.6rem);
text-align: center;
color: white;
}






/* CAJAS............................. */
#bloque3{
padding-top: 50px;
padding-bottom: 30px;
}
#cardSeccion1,#cardSeccion2,#cardSeccion3{
  margin-bottom: 20px;
}

.cardCajas{
    width: 100%;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
    padding: 20px;
     height: 100%;
}

.cardContenido{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cardTituloCajas{
    width: 100%;
    padding: 10px 5px;
   background-color: var(--color-c3);
   margin-top: 10px;
   margin-bottom: 10px;
   border-radius: 5px;
}

.textoTituloCajas{
    font-size: 1.5rem;
    color: white;
    margin: 0px;
    line-height: 1;
    text-align: center;
}

.cardEurosCajas{
    display: flex;
    justify-content: center;
    align-items: center;
}
.textoEurosCajas{
    font-size: 5rem;
    color: black;
    margin: 0px;
    line-height: 1;
}
.cardMesCajas{
    display: flex;
    flex-direction: column;
    
}
.mesCajas{
    font-size: 2.5rem;
    color: black;
    margin: 0px;
    line-height: 1;

}
.mesCajas2{
    font-size: 1.8rem;
    color: black;
    margin: 0px;
    line-height: 1;

}
.textoIvaCajas{
    font-size: 1.2rem;
    color: black;
    margin: 0px;
    line-height: 1.2;
    text-align: center;
    font-family: "Trade Regular";
}

.textoDuranteCajas{
    font-size: 0.8rem;
    color: black;
    margin: 0px;
    line-height: 1.5;
    text-align: center;
    font-family: "Trade Regular";
}


.rayaCajas{
    margin-top: 5px;
    margin-bottom: 5px;
 
}
.textoFibraCajas{
    font-size: 0.8rem;
    color: black;
    margin: 0px;
    line-height: 1.5; 
    text-align: center;
}

/* CONDICIONES................................... */
#condicionesCajas{
    padding-top: 40px;
    padding-bottom: 20px;
}
.textoCondicionesPromos{
    font-size: 0.8rem;
    margin: 0px;
    line-height: 1.5; 
  font-family: Arial, Helvetica, sans-serif;
}

/* MEDIAQUERIS.................................... */

@media (max-width: 1400px) {
        #seccion1,#seccion2{
        margin-top: 20px;
    }
 
    .cardPromo{
    width: 100%;
  
}
.textoTituloCajas{
    font-size: 1.3rem;
}
}
@media (max-width: 1200px) {
    #bloque1{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #seccion1,#seccion2{
        margin-top: 10px;
    }

    .cardPromo{
        width: 100%;
    }

    .eurosPromo{
     font-size: 5rem;
    }
    .mesPromo{
        font-size: 2rem;
    }
    .imagenPortada{
        width: 100%;
    }
    #textoLegalPromo{
        text-align: center;
    }
    #bloque3 {
    padding-top: 20px;
    padding-bottom: 0px;
}

    #condicionesCajas{
    padding-top: 20px;
    padding-bottom: 20px;
}

/* FORMULARIO...................................... */

.containerForm{
    margin-top: 0px;
}




}

@media (max-width: 765px) {
    .tituloIphone{
    font-size: 1.6rem;
}

    .imagenPortada{
        height: 277px;
        background-image: var(--img-movil);
        margin-top: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 400px) {
.tituloPromo2{
    font-size: 2rem;
}
}

@media (max-width: 380px) {
.tituloPromo2{
    font-size: 1.8rem;
}
.tituloIphone{
    font-size: 1.4rem;
}
.textoTituloCajas{
    font-size: 1.3rem;
}
}

@media (max-width: 320px) {
.tituloPromo2{
    font-size: 1.6rem;
}

.contratando{
    font-size: 0.8rem;
}
.textoIlimitadas{
    font-size: 1rem;
}
}
