*,body{
    margin: 0;
    padding: 0;
    color: var(--color2);

}

body{
    background-color: white !important;
}


body header{
    position: relative;
    height: 142vh;
}

.iniciales{
    max-width: 180px;
}

   .reloj{
    display: flex;
    justify-content: center;
    }

    .faltan{
        font-size: clamp(1rem, calc(3rem + 3vw),4rem) !important;
    }

.contenedor_botones{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 6%;
    flex-direction: column;
}

.cont_contador{
    position: absolute;
    z-index: 100;
    color: white;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-content: end;
}

.background_one{
    background-color: var(--color1) !important;
}

.cont_contador ul{
    display: flex;
}

#clock{
    width: 70%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-bottom: 8%;
}

#clock div {
    display: flex;
    flex-direction: column;
}

#clock div b, #clock div span{
    color: var(--color2);
    text-transform: uppercase;
    text-align: center;
    font-family: var(--font3);
}

#clock div span{
font-size: 2rem;
}

main section{
    padding: calc(1rem + 1.4vh) 0 !important;
}

.mensaje p{
    display: flex;
    justify-content: center;
    font-size: clamp(1.5rem, calc(1rem + 1vw), 4rem);
    text-align: center;
}

a:hover{
    color: black !important;
}

.color1{
    color: var(--color1) !important;
}

.color2{
    color: var(--color2) !important;
}


.blur_fondo {
    width: 100vw;
    height: calc(500vh * 5);
    filter: blur(364px);
    -webkit-filter: blur(192px);
    bottom: 0px;
    right: 0;
    left: -40px;
    top: 0;
    position: absolute;
    background-color: white;
    overflow: hidden;
    z-index: -1;
}

.img_principal{
   background-size: cover;
    background-position-x: center;
    background-position-y: 40%;
    overflow: hidden;
    position: absolute;
    height: 100%;
}

.img_nombres{
    width: 50%;
    max-width: 800px;
    min-width: 320px;

}

.img_lugar{
    width: 15%;
    max-width: 400px;
    min-width: 100px;

}


.blur{
    width: 200%;
    bottom: -140px;
    right: auto;
    left: -100px;
    height: 30rem;
    position: absolute;
    background-color: white;
    overflow: hidden;  
    filter: blur(20px);
   -webkit-filter: blur(100px);
   will-change: transform; 
   transform: translateZ(0);
    
}

.cont_nombre{
    position: absolute;
    z-index: 100;
    top: 30px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5%;
    color: white;
    bottom: 0;
}

.f1{
    font-family: var(--font1);
}

.f2{
    font-family: var(--font2);
}

.f3{
    font-family: var(--font3);
}

.color_white{
    color: white;
}

.color_black{
    color: rgb(0, 0, 0) !important;
}

.background_black{
    background-color: rgb(0, 0, 0) !important;
}

.background_white{
 background-color: white !important;
 color: var(--color1) ;
}

.f_letras{
    font-size: 3.5rem !important;
}


.msj1{
    font-size: calc(0.5rem + 0.5vh);
    display: flex;
    justify-content: center;
    background-color: var(--color1);
    position: relative;
    padding: 16% 0px !important;
}

.msj1 div{
    width: 80%;
}

.msj_confirmacion{
    font-size: calc(0.7rem + 0.5vh);
    color: var(--color1);
}

.rect_fondo{
    background: url(../images/rectangulofondo.png?v=1);
    background-size: 100% 100%;
    padding: 13% 3% 4% 7%;
    width: 94% !important;
    position: relative;
}

.boton_icon{
    width: 5.6rem;
    position: absolute;
    top: 20px;
    top: -45px;
    left: 40%;
}

.historia{
    background: linear-gradient(rgb(0 0 0 / 14%), rgb(0 0 0 / 35%)), url(../images/imagen2.png?v=1); 
    background-size: cover;
    background-position-x: center;
   /* padding: 12% 0px !important;*/
    min-height: 40rem;
    height: 70vh;
    position: relative !important;
}

.historia img{
    width: 90%;
    max-width: 627px;
}

.historia > div{
 height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.historia  div div{
     display: flex;
   justify-content: flex-end;
    flex-direction: column;
    align-items: center;
}

.cuadro_historia{
    background-color: #ffffff91;
    padding: 3%;
    width: 85%;
    border-radius: 15px;
    font-size: 0.8rem;
}

.lugar_info{
    /*background-color: var(--color1);*/
 /*   background-color: white;*/

}


.card_lugar{
    width: 80%;
    height: 24rem;
    position: relative;
    border-radius:15px;
}

.info_lugar_card{
    background-color: var(--color1);
    position: absolute;
    bottom: 0;
    border-radius: 0 0 15px 15px;
    width: 100%;
}

.NombreNovios{
    font-family: var(--font1);
    font-size: clamp(1rem, 2vw + 1rem, 2.5rem);
    text-transform: capitalize;
}

.titulos{
    font-family: var(--font2);
    font-size:  clamp(1rem, calc(0.8rem + 1vw), 2.5rem);
    text-transform: uppercase;
}

.subtitulo{
    font-family: var(--font3);
    font-size:  calc(1rem + 1vh);
}

.subtitulo2{
    font-family: var(--font2);
    font-size:  calc(1rem + 1vh);
}

.parrafo{
    font-family: var(--font3);
    font-size:  calc(0.7rem + 1vh);
}

.font_titulos{
    font-family: var(--font1);
}

.font_subtitulos{
    font-family: var(--font3);
}

.font_parrafo{
    font-family: var(--font3);
}

.may{
    text-transform: uppercase;
}

.cap{
    text-transform: capitalize;
}

.strong{
    font-weight: bold;
}

.center{
    text-align: center;
}

.info_parientes{
    position: relative;
}


.cont_flex{
    display: grid;
    grid-template-rows: 1fr;
    gap: (1rem + 1rem);
    position: relative;
    height: auto;
}

.cont_flex2{
    display: grid;
    grid-template-rows: 1fr;
    gap: (1rem + 1rem);
    position: relative;
    height: auto;
}

.cont_flex .ceremonia{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2% 0;
    align-items: center;
    height: 12rem;
}


.cont_flex > div,.cont_flex > a , .cont_flex2 > div{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 2% 0;
    align-items: center;
    height: 17rem;
}

.cont_flex2 div {
    width: 100%;
}

.nombre_padres{
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    padding: 2% 0;
    align-items: center;
    height: 20rem;
}

.icon{
    width: 30%;
    min-width: 76px;
}

.icon2{
    width: 8%;
}

.icon{
    width: 20%;
}
.widht_15{
    width: 15%;
}

.widht_50{
    width: 50%;
}

.widht_70{
    width: 70%;
}

.widht_100{
    width: 100% !important;
}

.mg-9{
    margin-bottom: 10%;
}

.pa-10{
    padding: 0 10%;
}
.gap_0{
gap: 40px 0 !important;
}

.boton{
 width: 70%;
    background-color: #ffffff00;
    color: #100606;
    padding: 2%;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-family: var(--font2);
    font-size: clamp(0.7rem, 1vw + 1rem, 1rem);
    border: 2px solid #797976;
    border-radius: 50px;
}

.radius{
    border-radius: 23px;
}

.boton2{
    width: 100%;
    background-color: var(--color1);
    color: white;
    padding: 2%;
    text-align: center;
   /* font-weight: 700;*/
    text-transform: uppercase;
    text-decoration: none;
    font-size: clamp(0.7rem, 1vw + 1rem, 1.2rem);
    border: none;
}



.fx_c{
    justify-content: center !important;
}

.galeria{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}

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

.mesaregalos{
    padding: 2%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.centrar{
    display: flex;
    justify-content: center;
    height: auto;
    width: 100%;
}

.cont_mesaregalos{
    display: flex;
    flex-wrap: wrap;
    max-width: 70vw;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.regalo{
    display: flex;
    flex-wrap: wrap-reverse;
    align-content: center;
    justify-content: center;
    max-width: 75vw;
    position: relative;
    cursor: pointer;
}

.nombreRegalo{
    position: absolute;
    top: 40%;
    color: white;
    font-family: var(--font1);
    font-size: 3rem;
    text-transform: uppercase;
}

.foto,.confirmacion{
    position: relative;
    top: 5rem;
}

.confirmacion_form{
    position: relative;
    top: 0rem;
}

.foto div{
    background-size:cover; 
    background-repeat: no-repeat; 
    width: 100%; 
    height: 15rem !important; 
    background-position-x: center;
}

.confirmacion,.confirmacion_form{
    display: flex;
    justify-content: center;
    align-content: center;
}

#descripcion{
    width: 70%;
}

.confirmacion_form form{
    width: 100%;
}

.hover:hover{
    opacity: 1 !important;
}

.confirmacion_form form fieldset > div{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-floating>.form-control,input {
background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid var(--color1) !important;
}


.form .fieldset .col{
    width: 100%;
    padding-left: 20px;
    height: 6rem;
}

.form-floating>label,input {
    padding: 1rem 1.75rem;
}

.button{
    width: 50%;
    padding: 1%;
    font-family: var(--font1);
    text-transform: uppercase;
}

.button_enviar{
    width: 100%;
    padding: 1%;
    border: 0;
    font-family: var(--font1);
}

.form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
    opacity: .65 !important;
    transform: scale(.95) translateY(-0.9rem) translateX(0.15rem) !important;
    color: var(--color1) !important;
}

.form-floating>.form-control:not(:placeholder-shown),input {
    font-size: 1.7rem !important;
}

.fotos_footer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
}

.fotos_footer img:nth-child(3) { 
    grid-column: span 2; /* Hace que la tercera imagen ocupe ambas columnas */
    width: 100%; /* Asegura que la imagen cubra todo el espacio */
}

.fotos_footer img{
    width: 100%;
}

footer{
    background-color: var(--color1);
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 10rem;
    top: 10rem;
   display: flex;
    justify-content: center;
    align-items: center;
    padding: 2% 0px;   
}

footer h1, footer h2,footer h3,footer h4,footer h5,footer h6,footer p{
    color: white !important;
        font-size: clamp(1rem, calc(1rem + 7vw), 2.5rem) !important;
}

.padding{
    padding: 3rem 1rem;
}

.seleccionaBoton{
    border: 2px solid red ;
}

.buttonSelect{
    background-color: black !important;
    color: white !important;
  }

  .contenedor_mensajes {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20%;
    margin-top: 10%;
    gap: 20px;
}

.mensajes_card:nth-child(2n) {
    justify-self: end;
}

.mensajes_card:nth-child(2n+1) {
    justify-self: start;
}

.mensajes_card
 {
    font-style: oblique;
    font-weight: 500;
}

.mensajes_card {
    background-color: var(--color1) !important;
    color: white !important;
    padding: 3%;
    border-radius: 15px;
    width: 80%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}


.mensajes_card p, .mensajes_card span{
    color: white !important;
}

@media screen AND (min-width:850px) {
    .img_principal{
        height: 100%;
    }


    .iniciales{
        max-width: 300px;
    }

    body header{
        position: relative;
        height: 250vh;
    }

    .contenedor_botones{
    flex-direction: row;
}

 

    #clock div span{
        font-size: 6rem;
    }

    .historia {
       height: 200vh;
}

    #clock div b{
        font-size: 3.5rem;
    }

    .msj1 {
        padding: 9% 0px !important;
    }

    .msj_confirmacion{
        font-size: calc(0.7rem + 1.5vh);
          color: var(--color1);
    }

    .lugar_info{
        padding: 10vh 0px !important;
    }

    .padding{
        padding: 9vh 0px !important;

    }
    .rect_fondo {
        padding: 7% 3% 4% 7%;
    }

    .boton_icon{
        width: 12vw;
        max-width: 140px;
        top: -30px;
        left: 50%;
    }

    .cuadro_historia{
        font-size: 2.5vh;
    }

    .mesaregalos{
        padding: 9vh 0px !important;
    }
    .mesaregalos p{
        font-size: calc(1.2rem + 1vh);
    }
    .mesaregalos a{
        height: 40px;
        width: 40%;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .titulos{
        font-size:  calc(2rem + 1vh);
    }

    .cont_flex2{
        display: flex;
        justify-content: center;
        grid-template-rows: 1fr;
        grid-template-columns:  repeat(auto-fill, minmax(calc(40%), 1fr));
        place-items: center;
        gap: 30%;
    }

    .cont_flex2 div {
        width: 20%;
    }

    .cont_flex{
        display: flex;
        justify-content: center;
        grid-template-rows: 1fr;
        grid-template-columns:  repeat(auto-fill, minmax(calc(40%), 1fr));
        place-items: center;
        gap: 30%;
    }

    .cont_flex > div,.cont_flex > a{
        height: 20rem;
    }

    .gap_0{
        gap:0px !important;
        }

    .msj1{
        font-size: calc(1.2rem + 1vh);
    }

    .msj1 div{
        width: 50%;
    }

    .widht_50{
        width: 50%;
    }

    .regalo{
        max-width: 100vw;
    }

    .foto div{
        height: 40rem !important;
    }

    .form .fieldset .col{
        width: 50% !important;
        float: left;
    }

    .padding{
        padding: 3rem;
    }

    .cont_flex > div,.cont_flex > a{
        max-width: 50vw;
        width: 50%;
    }
   
    footer h1, footer h2,footer h3,footer h4,footer h5,footer h6,footer p{
    color: white !important;
    font-size: clamp(1rem, calc(1rem + 7vw), 5rem) !important;
}
}



/* PRELOADER CSS */
.page-loader{
	/*width: 100%;
	height: 100vh;*/
	position: fixed;
	background: #272727;
	z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	.txt{
		color: #666;
		text-align: center;
		top: 40%;
		position: relative;
		text-transform: uppercase;
		letter-spacing: 0.3rem;
		font-weight: bold;
		line-height: 1.5;
	}
}

/* SPINNER ANIMATION */
.spinner {
    position: relative;
	font-size:8rem;
	 display: flex;
	align-items:center;
  justify-content:center;
 top:35%;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  color: red;
  border-radius: 100%; 
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
  0% { -webkit-transform: scale(0) }
  100% {
    -webkit-transform: scale(3.0);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}

/**
style form
*/

.sky-form2 .input input, .sky-form2 .select select, .sky-form2 .textarea textarea, .sky-form2 .checkbox{
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    height: 39px;
    padding: 8px 10px;
    outline: none;
    background: transparent;
  /*  font: 15px/19px 'Open Sans', Helvetica, Arial, sans-serif;*/
    appearance: normal;
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 100%;
}

.sky-form2 .input input, .sky-form2 .select select, .sky-form2 .textarea textarea, .sky-form2 .radio i, .sky-form2 .checkbox i, .sky-form2 .toggle i {
    border-color: transparent;
    border-bottom: 2px solid var(--color1);
    -ms-transition: border-color 0.3s;
    -moz-transition: border-color 0.3s;
    /* -webkit-transition: border-color 0.3s; */
    width: 100%;
}

.sky-form .input input, .sky-form .select select, .sky-form .textarea textarea, .sky-form .checkbox{
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    height: 39px;
    padding: 8px 10px;
    outline: none;
    background: transparent;
  /*  font: 15px/19px 'Open Sans', Helvetica, Arial, sans-serif;*/
    appearance: normal;
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 100%;
}

.sky-form .input input, .sky-form .select select, .sky-form .textarea textarea, .sky-form .radio i, .sky-form .checkbox i, .sky-form .toggle i {
    border-color: transparent;
    border-bottom: 2px solid var(--color1);
    -ms-transition: border-color 0.3s;
    -moz-transition: border-color 0.3s;
    /* -webkit-transition: border-color 0.3s; */
    width: 100%;
}

.sky-form .textarea textarea{
    border: 2px solid var(--color1) !important;
    height: 20rem;
}

.sky-form {
    margin: 0;
    outline: none;
     box-shadow: none !important;
    font: 13px / 1.55 'Open Sans', Helvetica, Arial, sans-serif;
    color: #666;
}

.borderCol1 {
	border-bottom: 3px solid var(--color1) !important;
}


.borderAllCol1 {
	border-color: var(--color1) !important;
}

.ocultar {
    display: none !important;
}

.boton3 {
    padding: 2% 7%;
    color: black;
    text-decoration: none;
    margin: 2%;
    border-radius: 15px;
    text-align: center;
    font-size: small;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    cursor: pointer;
}


@media screen and (max-width:780px) {

    #descripcion{
        width: 87%;
    }

    .btns_env,.cont_btn{
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }

    .icon2 {
        width: 20%;
    }

    .mensaje p{
   font-size: clamp(1rem, calc(2rem + 1vh), 0.5rem);
}

    .widht_50{
        width: 70%;
    }

    .gap_00{
        gap: 0px !important;
    }

    .confirmacion_form form fieldset > div{
        grid-template-columns: 1fr;
    }


    .blur{
        height: 18rem;
    }

}

/*corazones*/
.button_heard{
    font-size: 5rem;
    margin: 5%;
  }
  .contenedor_corazones {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .contenedor_corazones2 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .contenedor_corazones div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .claro,
  #claro {
    color: #8b8b8e  !important;
    filter: drop-shadow(gray 0.5rem 0.5rem 5px);
  }
  
  .oscuro {
    color: #111 !important;
    filter: drop-shadow(gray 0.5rem 0.5rem 5px);
  }
  
  .claro2,
  #claro2 {
    color: #8b8b8e !important;
  
  }
  
  .oscuro2 {
    color: #111 !important;
  
  }
  
  .nombre_boton {
    text-align: center;
    font-size: 1.5rem;
    padding: 16%;
  }
  
  
  .heard:hover {
    animation-name: girar;
    animation-duration: 2s;
    animation-fill-mode: backwards;
  }
  
  @keyframes girar {
    0% {
        transform: rotateY(0deg);
    }
  
    20% {
        transform: rotateY(45deg);
    }
  
    50% {
        transform: rotateY(90deg);
    }
  
    70% {
        transform: rotateY(45deg);
    }
  
    100% {
        transform: rotateY(180deg);
  
    }
  }