@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');


html,
body {
    margin: 0;
    padding: 0;
    font-size: 25px;
    font-family: "Playfair Display", serif;
}

header {
    background-color: #fafbfd;
    display: flex;
    box-shadow: 0 0 10px;
    position: sticky;
    top: 0;
    z-index: 999999;
}

header img {
    max-width: 115px;
    height: auto;
}

header nav {
    background-color: #fafbfd;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

h1 {
    color: #2d475a;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: "DM Serif Display", serif;
    color: #425563;

}

h1 {
    width: 100%;
    margin: 0;
    text-align: left;
    font-size: 2.4rem;
    box-sizing: border-box;
}


ul {
    list-style-type: none;
}

/*nav ul {
    list-style-type: none;
    display: flex;
    column-gap: 0.5rem;*/


li {
    display: inline-block;
    position: relative;
    margin: 5px 15px;
}

/*nav a,
nav a:link {
   
    padding: 10px 15px;
    margin: 0 10px;
    display: block;*/


ul ul {
    display: none;
    position: absolute;
    padding-left: 0;
    background-color: rgba(160, 163, 163, 0.712);

}

/* padding-left:0; para que se deje ver el listado debajo */

ul li:hover ul {
    display: block;
    z-index: 999;
}

ul li ul li {
    display: block;
    margin: 0;
}



/*nav a:hover {
    text-decoration: none;*/


/*a:hover {
    display: inline-block;
    position: relative;
    margin: 15px;*/

nav a {


    padding: 8px 15px;
    /* anchura de relleno del texto el navegador*/
    display: inline-block;


}

nav ul ul a {
    margin: 0;
    /*quedan juntos sin espacios cada sub titulo*/
    width: 100%;
    box-sizing: border-box;
    /* quede los bloques subrayados iguales*/

}


.bg-fondo {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.bg-fondo h1 {
    width: unset;
    text-align: center;
    align-self: flex-start;

}

.bg-fondo img {
    width: 100%;
}

.bg-fondo h2 {
    align-self: flex-start;
    font-size: 30px;
    margin: 0;
}



a {
    color: #425563;
    text-decoration: none;

}

a:hover {
    color: #0634cc
}

.caja-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
    position: absolute;
    margin-left: 125px;
   
}    
.caja-flex h2  {
    color: #fff;
}  



div.criadero {
    width: 100%;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

div.criadero h2 {
    color: #425563;
}

div.criadero p {
    color: #fff;
    font-size: 22px;
    padding: 0 10px;
   /* margin-top: 10%;*/
}

section.criadero {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #9cabbe;
}

h2 {
    font-size: 36px
}

div.luigi-asturias3 img{
	width: 70%;
}

div.silueta {
    display: flex;
    width: 10%;
    margin: 24px auto;
    
}

div.silueta img {
    width: 100%;
    box-shadow: unset;
}

section.primero {
    width: 100%;
    display: flex;
    justify-content: center;
}

div.primero {
    display: flex;
    width: 80%;
    column-gap: 20px;
    margin: 20px 0;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

div.primero div.sombra { /* cambio nuevo */
    display: flex;
    width: 100%;
    box-shadow: black 0 0 20px;
}

div.primero div.sombra img {
    width: 100%;
}

div.primero div.mitad {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 184px;
}

div.primero div.mitad.lea {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
}

div.primero.lea {
    display: flex;
    width: 80%;
    column-gap: 20px;
    margin: 20px 0;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

div.primero div.mitad.planes { /* cambio nuevo */
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
}

div.boton {
    background-color: #425563;
    width: 25%;
    text-align: center;

}

div.boton p a {
    color: #fff;
}

div.boton:hover {
    background-color: #617787;
    box-shadow: black 0 0 10px;

}

/*revisar*/
section.segundo {
    width: 100%;
    display: flex;
    justify-content: center;
}

div.segundo {
    display: flex;
    width: 80%;
    column-gap: 20px;
    margin: 20px 0;
}

div.segundo div.sombra {
    display: flex;
    width: 50%;
    box-shadow: black 0 0 20px;
}

div.segundo div.sombra img {
    width: 100%;
}

div.segundo div.mitad {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    color: black;
}

div.boton-segundo {
    background-color: #425563;
    width: 34%;
    text-align: center;
}

div.boton-segundo p a {
    color: #fff;
}

div.boton-segundo:hover {
    background-color: #617787;
    box-shadow: black 0 0 10px;

}

section.primero,
section.segundo,
section.british.section.macho {
    margin: 100px 0;
}

div.boton-tercero a {
    background-color: #fff;
    width: 40%;
    font-weight: 600;
    text-align: center;
    color: #425563;
    padding: 8px 16px;
}

div.boton-tercero a:hover {
    background-color: #fff;
    box-shadow: #ffffff 0 0 10px;
}

div.redes {
    font-size: 48px;
    display: flex;
    column-gap: 15px;
    margin: 0 auto;
}

div.redes a {
    color: white;
}

div.redes a:hover {
    color: rgb(186, 186, 186);
}

div.british {
    width: 100%;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

div.british h2 {
    color: #425563;
}

section.british {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #9cabbe;
    margin: 0;
}

footer {
    display: flex;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

div.imagen-footer {
    width: 100%;
    display: flex;
}

div.imagen-footer img {
    width: 100%;
}

footer nav {
    background-color: unset;
    color: white;
    height: 70px;
    width: 100%;
    align-content: center;
}

footer ul {
    width: 100%;
    text-align: center;
    font-size: 22px;
    display: flex;
    padding: 0;
}

footer a {
    color: #fff;
    padding: 5px 10px;
}

footer a:hover {
    box-shadow: #fff 0 0 10px;
    border-radius: 50px;
    color: #9d9dff;
}

div.silueta-footer {
    display: flex;
    width: 16%;
    filter: invert(1);
}

div.silueta-footer img {
    width: 100%;
    box-shadow: unset;
}

div.todo-footer {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.gato-macho {
    background-color: #9cabbe;
    width: 100%;

}

div.gato-macho h2 {
    text-align: center;
    color: #2d475a;
    margin: 0 auto;
}

div.gato-macho.mitad h3 {
    font-size: 40px;


}

section.british-uno {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #9cabbe;

}

section.british-uno {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.british-uno {
    display: flex;
    width: 90%;
    column-gap: 40px;
    margin: 20px 0;
	align-items: center;
}
.british-uno h3 {
    font-size: 30px;

}


/*div.primero div.sombra {
    display: flex;
    width: 50%;
    box-shadow: black 0 0 20px;
    height: fit-content;
}*/

div.primero div.sombra img {
    width: 100%;
}

div.british-uno div.sombra {
    display: flex;
    width: 40%;
    box-shadow: black 0 0 20px;
	height: fit-content;
}


div.british-uno div.sombra img {
    width: 100%;
	height: auto;
}


div.british-uno div.mitad {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}  
.british-uno p {
    font-size: 28px;
}
                                       /*negrita*/
/* div.british-uno div.mitad p {
    
} */


div.listas-british-uno {
    display: flex;
    width: 90%;
    column-gap: 30px;
    color: #fafbfd;
}

div.listas-british-uno ul {
    padding: 0;
    width: 50%;
    list-style-type: disc;
}

div.listas-british-uno ul li {
    display: list-item;
    margin: 0;
}

div.boton-luigi {
    background-color: #425563;
    width: 40%;
    text-align: center;
    margin-top: 20px;
}

div.boton-luigi p a {
    color: #fff;
}

div.boton-luigi:hover {
    background-color: #617787;
    box-shadow: black 0 0 10px;
}


/*revisar*/


section.british-dos {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 65px;
    box-sizing: border-box;
    background-color: white;
    column-gap: 40px;
	align-items: center;
}

div.british-dos {
    display: flex;
    width: 60%;
    column-gap: 20px;
    margin: 20px 0;
}

section.british-dos div.sombra {
    display: flex;
    width: 50%;
    box-shadow: black 0 0 20px;
	height: fit-content;
}

section.british-dos div.sombra img {
    width: 100%;
	height: auto;
}

div.british-dos div.mitad {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    color: black;
}

div.boton-cuarto {
    background-color: #425563;
    width: 39%;
    text-align: center;
    margin-bottom: 6%;
}

div.boton-quinto {
    width: 35%;
    background-color: #425563;
    text-align: center;
}

div.boton-cuarto p a, div.boton-quinto p a {
    color: #fff;
}

div.boton-cuarto:hover, div.boton-quinto:hover {
    background-color: #617787;
    box-shadow: black 0 0 10px;

}

section.fotos-luigi {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #9cabbe;
    width: 100% !important;
}

div.fotos-luigi {
    width: 100%;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

div.fotos-luigi h2 {
    color: #9cabbe;
}

div.boton-luigi {
    background-color: #425563;
    width: 15%;
    text-align: center;
    margin-top: 2% ;
    margin-bottom: 2%;
}

.checkbtn {
    float: right;
    line-height: 80px;
    cursor: pointer;
    display: none;
    color: black;
}

#check {
    display: none;
}

@media screen and (orientation: portrait) {
	div.foto-nacido div {
    width: 40%!important;
    transition: all .5s ease;
	}
	
    header nav {
        width: 100%;
        position: relative;
        justify-content: flex-end;
        align-items: flex-end;
    }

    header nav>ul {
        flex-direction: column;
        position: absolute;
        width: 90%;
        background-color: #2d475a;
        top: 80px;
        left: -200%;
        padding: 0;
        text-align: center;
        transition: left .5s ease-in-out;
        z-index: 99;
    }

    header nav ul ul {
        width: 70%;
    }

    header nav ul ul li {
        background-color: #3c596d;
    }

    /*#617787;*/

    header nav ul ul li:hover {
        background-color: #617787;


    }

    div.boton{
        width: 55%;
    }

    div.boton-luigi{
        width: 25%;
        margin-top: 4%;
    }

	section.formulario {
    background-position-x: 70%!important;
}
	
    .checkbtn {
        display: block;
        margin-right: 20px;
    }

    #check:checked~ul {
        left: 0;
    }

    header nav ul li {
        line-height: 30px;
        width: 100%;
        padding: 6px 0;
        margin: 0;
    }

    header nav ul li a {
        font-size: 1rem;
        display: block;
        width: 100%;
        color: #fff;
    }

    header li:hover {
        background-color: #617787cf;
    }

    .caja-flex h1 {
        font-size: 29px;
    }

    .caja-flex h2 {
        font-size: 22px;
    }

    /*adaptado al movil*/
	
	div.sombra~div.mitad>h2{
		text-align: center!important;
		
	}
	
    section.primero div.primero {
        flex-direction: column;
        align-items: center;
    }

    div.primero div.sombra {
        width: 90%;
    }

    div.primero div.mitad {
        width: 100%;
    }

    section.segundo div.segundo {
        flex-direction: column-reverse;
        align-items: center;
    }

    div.segundo div.sombra {
        width: 100%;
    }

    div.segundo div.mitad {
        width: 90%;
        background-color: unset;
        /*pie de pagina*/
    }

    div.boton-segundo{
        width: 60%;
    }

    div.imagen-footer {
        height: 260px;
    }

    div.imagen-footer.con-iconos {
        height: 400px;
    }

    div.silueta-footer {
        justify-content: center;
        width: 23%;
    }

    footer nav {
        flex-direction: column-reverse;
        align-items: center;
    }

    footer ul {
        width: 100%;
        flex-direction: column;
    }

    footer div.imagen-footer.con-iconos~div.todo-footer~div.numeros{
        bottom: 0% !important;
        left: 37% !important;
    }

    .bg-fondo{
        overflow: hidden;
    }

    .bg-fondo img{
        width: 222%;
        transform: translateX(-48%);
    }

    .caja-flex{
        width: 80%;
        margin-left: 23px;
        transform: translateY(54px);
        margin-top: 48px;
    }

    .mitad>h2~p{
        font-size: 25px;
    }

    .mitad

    footer a:hover {
        box-shadow: #fff 0 0 10px;
        border-radius: 50px;
    }

    div.silueta-footer img {
        width: 50%;
    }

    div.imagen-footer.con-iconos~div.todo-footer{
        transform: translateY(-106px);
    }

    div.todo-footer {
        transform: translateY(-35px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }
    section.british-uno div.british-uno{
        flex-direction: column;
        align-items: center;
    }
    div.british-uno div.sombra{
        width: 65%;
   } 
   div.british-uno div.mitad{
    width: 100%;
}
    section.british-dos{
        flex-direction: column-reverse;
        align-items: center;
    }
    section.british-dos div.sombra {
        width: 85%;
        justify-content: center;
    }
    div.british-dos{
        width: 100%;
    }

    input[type="reset"], input[type="submit"]{
        width: 40%!important;
    }

    div.numeros{
        bottom: 40%!important;
        left: 3%!important;
    }

    div.boton-cuarto{
        width: 50%;
    }
	div.segundo.column {
        flex-direction: column!important;
    }

    div.segundo.expo {
        flex-wrap: wrap;
        flex-direction: row!important;
        justify-content: center;
    }
    div.segundo.expo div.fotos-expo{
        width: 75%;
    }
}

div.foto-nacido {
    display: flex;
    width: 95%;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
    justify-content: center;
}

div.foto-nacido div{
    width: 20%;
    transition: all .5s ease;
}

div.foto-nacido div:hover {
    transform: scale(2.5)!important;
}

div.varias-fotos{
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.varias-fotos h2 p {
    text-align: center;
}

div.varias-fotos h3 {
    margin: 1em 27px;
}

/*.foto-nacido img {
    width: 15%; */
    

.foto-nacido img {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

section img {
                                           /*todas las imagenes tienen sombra con esto*/
    box-shadow: black 0 0 15px;
}

a.ancla{
    visibility: hidden;
}

.ancla::before{
    content: '';
    display: block;
    height: 120px;
    margin-top: -120px;
}
              /*aqui hay una animacion que tiene una transformacio y un filtro*/
    

.caja-flex{
      
    animation: 2s derecha linear;
}


@keyframes derecha {
    from{
        transform: translateX(500px);
        filter: opacity(0);
    }
    to{transform: translateX(0);
    filter: opacity(1);
    }
    
} 

label {
    display: flex; /* cambio */
    margin: 0.5rem 0;
    font-family: "DM Serif Display";
    color: white;
    justify-content: space-between;
}

fieldset {
    border-color: #2d475a;
    margin-bottom: 30px;
    border-width: 2px 4px 6px;
    border-style: solid;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.15);
    margin: auto;
    background-color: #9cabbe7c;
    margin-top: 5%;
    margin-bottom: 9%;
    
       
}

fieldset p{
    font-family: "DM Serif Display";
    color: #fafbfd;
}

legend {
    text-transform: uppercase;
    text-decoration: underline;
    color: #fafbfd;
    font-family: "DM Serif Display";
}
form {
    margin: 0px auto;
    width: 65%;
    
}

label[for="hombre"], label[for="Mujer"], label[for="contacto-email"], label[for="contectoportelefono"], label[for="aceptacion"] {
    font-weight: 700;
    font-size: 0.9rem;
    display: block!important;
   
}

input {
    border: 2px solid #3c596d;
    padding: 6px;
    color: rgb(63, 63, 105);
    width: 60%;
}
input[ type="radio"], input[type="checkbox"] {
     width: auto;
     color: black;

}
input[type="reset"], input[type="submit"] {
         width: 20%;
         height: 48px;
        margin: 0% 10px;
        display: inline-block;
        border: unset;
        background-color: #3c596d;
        color: #fff;
        margin-bottom: 5%;
        
}   

input[type="reset"]{
    background-color: #9cabbe;
}


input:focus, input:focus-within, input:focus-visible
textarea:focus,textarea:focus-within,textarea:focus-visible {

    border: 2px solid #9cabbe;
    outline: none;
    box-shadow: 0px 0px 3px rgba(0,0,0,);

}
input::placeholder {
    font-style: italic;
}

.botones {
    text-align: right;
    
}

.botones input[type="submit"]:hover, .botones input[type="reset"]:hover{
    background-color: #617787;
    box-shadow: 0 0 10px #fff;
}

.h1-contacto{
    text-align: center;
    margin-top: 30%;
}

section.condiciones {
    width: 100%;
    display: flex;
    justify-content: center;
}

div.condiciones {
    display: flex;
    width: 80%;
    column-gap: 20px;
    margin: 20px 0;
    flex-direction: column-reverse;
    align-items: center;
}

div.condiciones div.sombra { 
    display: flex;
    width: 60%;                             /*se agranda la imagen*/
    box-shadow: black 0 0 20px;
    animation: aparecer 2s ease;             /*es una animacion*/
	
}

div.condiciones div.sombra img {
    width: 100%;
    
}

div.condiciones div.mitad {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    color: black;
}

div.condiciones div.mitad p{
	font-size: 14px!important;
}

div.condiciones div.mitad h2{
	text-align: center;
}

div.youtube {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
    row-gap: 20px;
}

div.video-short{
    display: flex;
    flex-direction: row;
    column-gap: 60px;
    margin-top: 80px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 60px;
}

section.formulario {
    background-image: url(..//img/formulario-foto.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
}

section.formulario h2{
    text-align: center;
    color: #fafbfd;
    margin-top: 0;
    padding-top: 25px;
}

#aceptacion ~ a{
    color: #0e1f2c;
}

div.whatsapp{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 3%;
    right: 1%;
    width: 70px;
    height: 70px;
    background-color: #2d475a;
    border-radius: 50%;
    z-index: 9;
}

div.whatsapp i{
    font-size: 50px;
}

div.numeros{
    color: #fff;
    position: absolute;
    bottom: 3%;
    left: 1%;
}    
footer h3 {
    color: #fff;
    margin-bottom: -13px;
    font-size: 22px;
}  


.h1-centrado{
    text-align: center;
    margin-top: 30px;
    font-size: 41px ;
}

section.fotos-expo{
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.mitad h2~h3{
    margin: 0;
}

div.fotos-expo {
    width: 30%;
    transition: all .5s ease;
}

div.fotos-expo:hover {
    transform: scale(1.5);
}

div.fotos-expo img{
    width: 100%;
    height: auto;
}

@keyframes aparecer {
    from{scale: 0;}
    to{scale: 1;}
}