@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Didot&display=swap');


*{
  font-family: 'Didot', serif;
    box-sizing: border-box;
}
body{
    padding: 0px;
    margin: 0px;
    background-color: var(--principal-color);
    overflow-y: auto;
    overflow-x: hidden;
}

:root{
    --principal-color:#dfd9bc;
    --white:#ededed;
    --green:#95aa95;
    --blue:#79a4c6;
    --ocre:#c18f42;
}
/*GENERAL CLASS*/
.visible{
    opacity: 100%;
}
.invisible{
    opacity: 0%;
}
/*ANIMATION*/
.fast-transition{
    transition-duration: 0.25s;
}
.middle-transition{
    transition-duration: 1s;

}
.slow-transition{
    transition-duration: 5s;
}
.ease-transition{/*inicia lento, acelera y termina lento*/
    transition-timing-function: ease;
}
.linear-transition{/*animación constante de inicio a fin*/
    transition-timing-function: linear;
}
.out-transition{/*inicia rapido, termina lento*/
    transition-timing-function: ease-out;
}

/*INVITATION OPENER*/
#opener_window{
    z-index: 3;
    top: 0;
    position: fixed;
    width: 100%;
}
.opener-container{
    position:relative;
}
.opener-panel{
    position: absolute;
    width: 50%;
    height: 100vh;
    background: var(--white);
}
.panel-2{
    display: flex;
    align-items: center;
}
.opener-pin-cont{
    transition: 1s ease-in;
    width: 200px;
    position: absolute;
    height: 200px;
    align-self: center;
    display: flex;
    flex-direction: column;
    left: calc(-200px / 2);
    justify-content: center;
    align-items: center;

}

.opener-pin-cont > img{
    width: 100px;
    border-radius: 50%;
    background-color: var(--white);
}
.opener-pin-cont > span{
    text-align: center;
    color: var(--ocre);
    font-size: 2.0em;
    width: 100%;
    border-radius: 30px;
    border: 2px solid;
    border-color: var(--ocre);
    margin-top: 5px;
    font-family: 'Lobster Two',sans-serif;

}
.panel-right-center{
    right: 0;
}
.panel-left-center{
    left: 0;
}
.panel-right-middle{
    right: -3%;
}
.panel-left-middle{
    left: -3%;
}
.panel-right-open{
    right: -150%;
}
.panel-left-open{
    left: -150%;
}
/*FONDO IMAGEN*/
.fondo {
  position:relative ;
  width: 100%;
  height: 100vh;
  background-image: url('../images/novios\ 2.jpg'); /* Puedes cambiar esta URL */
  background-size: cover;
  background-position: center;
}

.capa-negra {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Ajusta la opacidad aquí (0.4 = 40%) */
}

/*PRIMERA PARTE NOMBRE*/
.tittle{
    position: absolute;
    width: 100%;
    height: 40%;
    color: var(--white);
}
h1 {
  font-family: 'Didot', serif; /* Usa Didot o similar */
  font-size: 60px;
  font-weight: normal;
  margin: 0;
}
h1 .amp {
  font-size: 100px;        /* Más grande */
  position: relative;
  top: 20px;               /* Baja un poco el & */
  margin: 0 10px;          /* Espacio a los lados */
  display: inline-block;
}
h2 {
  font-size: 28px;
  font-weight: normal;
  margin-top: 15px;
  margin-right: 30px;
  text-align: end;
}
h3{
    font-size: 28px;
    font-weight: normal;
    margin: 0;
    text-align: center;
}

.content{
    position: relative;
    top: 0;
    background-color: var(--principal-color);
    height: auto;
    display: flex;
    flex-direction: column;
   
}
/*RING*/
.ring-content{
    width: 100%;
    position: absolute;
    height: 100px;
    top: -50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ring-circle{
    height: 100px;
    width: 100px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    
}
.ring-circle > img {
    width: 80%;
}
/*Contador*/
.contador-content{
    max-width: 100%;
    padding: 4em 1em;
    text-align: center;
    box-shadow: 0px 2px 8px 0px #80808052;
    background-color: var(--white);
}
#contador{
    font-size: 2em;
    margin-top: 1em;
}

/*POLAROIDS*/
.polaroid-container{
    position: relative;
    margin: 3em 1em;
    max-width: 100%;
    
}
.polaroid-container > h3 {
    margin-bottom: 1em;
}
.polaroid-div{
    width: 100%;
    display: flex;
    margin: 1em 0em;
}
.div-1{
    justify-content: center;
    transform: rotate(5deg);
}
.div-2{
    justify-content: end;
    transform: rotate(-5deg);
}
.div-3{
    justify-content: start;
    transform: rotate(5deg);
}
.div-1 > .polaroid > .foto-fondo{
  background-image: url('../images/novios 3.jpg');
}
.div-2 > .polaroid > .foto-fondo{
  background-image: url('../images/novios 1.jpg');
}
.div-3 > .polaroid > .foto-fondo{
  background-image: url('../images/novios 4.jpg');
}



.polaroid {
  background-color: white;
  padding: 10px 10px 0px 10px; /* Más espacio en la parte inferior */
  width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  border-radius: 4px;
}
.foto-fondo {
  width: 100%;
  height: 250px; /* altura fija para que mantenga proporción polaroid */
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}
.caption {
  margin: 10px;
  font-size: 2em;
  color: #333;
}
/*Frase*/
.phrase{
    max-width: 100%;
    padding: 4em 1em;
    text-align: center;
    box-shadow: 0px 2px 8px 0px #80808052;
    background-color: var(--white);
}
.phrase-cont > p{
  font-size: 28px;
}

/*smooth animation*/
.to-appear{
    transition: 2s ease-in-out;
}

/*BOTON*/
.boton {
    position: relative; /* Para que los hijos absolutos se posicionen respecto a este */
    text-align: center;
    padding: 2em 1em;
    max-width: 100%;
}
  .boton > h3 {
    font-size: 2em;
    font-weight: bold;
    padding-bottom: 1em;
  }
  .floral {
    max-width: 100%;
    width: 100%;
  }
  .floral > img {
    width: 250px;
    position: relative;
  }

  .btn {
    display: inline-block;
    padding: 25px 16px;
    font-size: 28px;
    border-radius: 25px;
    background-color: var(--white);
    color: var(--ocre);
    border: 1px solid var(--ocre);
    cursor: pointer;
    text-decoration: none;
    font-family: 'Lobster Two',sans-serif;

  }


  footer {
    background-color: white;
    text-align: center;
    padding: 40px 20px;
    font-family: 'Lobster Two',sans-serif;
    color: #000;
  }

  .mensaje {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .autores {
    font-size: 22px;
    font-family: 'Lobster Two',sans-serif;
    margin-bottom: 20px;
  }

  .derechos {
    font-size: 12px;
    font-family: 'Arial', sans-serif;
    color: #555;
  }