@font-face {
  font-family: 'GildaDisplay-Regular';
  src: url('./fonts/GildaDisplay-Regular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Sackers Italian Script Std Regular';
  src: url('./fonts/Sackers-Italian-Script-Std-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Brioche-ExtraLight';
  src: url('./fonts/Brioche-ExtraLight.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Urbanist';
  src: url('./fonts/Urbanist-Thin.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Brioche-SemiBold';
  src: url('./fonts/Brioche-SemiBold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ed-fayetteville-script-regular';
  src: url('./fonts/ed-fayetteville-script-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ITCGaramondStd-LtCond';
  src: url('./fonts/ITCGaramondStd-LtCond.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Zaslia';
  src: url('./fonts/Zaslia.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth; /* Desplazamiento suave en toda la página */
}

body{
    font-family: GildaDisplay-Regular, sans-serif;
    color: #191919;
    background-color: #ECECE2;
    margin: 0;
}



#button-subir {
    background-color: #846425;
    top: 90%;
    left: 85vw;
    color: #ECECE2;
    padding: 10px 10px;
    border: none;
    border-radius: 53%;
    font-size: calc(0.6vw + 0.5em);
    cursor: pointer;
    position: fixed;
    width: 3em;
    height: 3em;
    text-align: center;
    align-content: center;
    z-index: 2;
}

@media (max-width: 768px) {
  #button-subir{
    font-size: calc(1vw + 0.5em) !important;
  }
}



/* ======================
   NAV STYLES 
   ====================== */

#tittle-main-name{
    font-family: Sackers Italian Script Std Regular;
    color: #846425;
    font-size: calc(6vw + 1em);
    font-weight: 100;
}

.nav {
    text-align: center;
    position: static;
}

.nav-title{
    padding: 1%;
}

.nav-menu ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-menu li {
    width: 25%;
    border: 0.5px solid #191919;
    border-left: 0.2px;
    height: 70px;
    align-content: center;
}

.nav-menu li:hover {
    background-color: #846425;
    color: #ECECE2;
}

a {
    display:block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    font-size: calc(1.3vw + 0.5em);
}

#separator {
    height: 1px; /* Lo más delgado posible */
    width: 23%; /* O el ancho que prefieras */
    border: none; /* Eliminamos el borde por defecto */
    background: linear-gradient(to right, transparent, #846425, transparent);
}

#separator2 {
    height: 1px; /* Lo más delgado posible */
    width: 100%; /* O el ancho que prefieras */
    border: none; /* Eliminamos el borde por defecto */
    background: linear-gradient(to right, transparent, #846425, transparent);
}

@media (max-width: 768px) {
    #separator {
      width:70% !important;
    }
    .nav-title img {
        width: 80vw;
    }
    .nav-menu ul {
        flex-direction: column;
    }
    .nav-menu li {
        width: 100%;
        border-left: none;
        
    }
    #tittle-main-name{
      font-size: calc(8vw + 2em);
    }

    a {
      font-size: calc(1vw + 1em) !important;
    }
    .nav-menu li:hover {
        background-color: #846425;
        color: #ECECE2;
    }
}

/* ======================
   COUNTDOWN STYLES 
   ====================== */

hr{
    margin-top:5px;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0.3px solid #846425;
}
.countdown {
    font-family: 'GildaDisplay-Regular', sans-serif;
    color:#846425;
    font-size: 2em;
    text-align: center;
    margin-top: 30px;
}

.countdown span {
    font-family: 'GildaDisplay-Regular', sans-serif;
    font-size: calc(1.9vw + 0.8em);
}

.countdown-boxes{
    font-family: 'GildaDisplay-Regular', sans-serif;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 45px;
    padding: 0% 20vw;
}

.countdown-box {
    display: flex;
    flex-direction: column;;
}

.countdown-number {
    font-family: 'GildaDisplay-Regular' !important;
    border: 0.3px solid #191919;
    border-radius: 10px;
    width: 10vw;
    height: 7.5vw;
    font-size: calc(2.5vw + 0.5em) !important;
    align-content: center;
}

.countdown-label {
    margin-top: 25px;
    font-size: calc(1vw + 0.5em) !important;
    font-weight: bold;
}

.countdown-box span{
    font-family: 'GildaDisplay-Regular', sans-serif;
    color: #191919
}

@media (max-width: 768px) {

    .countdown span{
      font-size: calc(2.5vw + 1em);
    }

    .countdown-boxes {
      padding: 0;
    }

    .countdown-box {
      margin-bottom: 20px;
    }

    .countdown-number {
      width: 12vw;
      height: 12vw;
      font-size: calc(1.0vw + 0.7em) !important;
    }

    .countdown-label {
      font-size: calc(1.0vw + 0.2em) !important;
    }
}

/* ======================
   DETALLES STYLES 
   ====================== */

.detalles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items:center;
    margin-right: 20%;
    margin-left: 10%;
}

.detalles-texto{
    font-size: calc(1.3vw + 0.4em);
}

#ceremonia-texto{
    margin-top:20px;
    font-size: calc(1vw + 0.3em);
}

#ubicacion {
    display:grid;
    grid-template-columns: 2.6fr 1fr;
    gap: 10px;
    align-items: center;
    margin-top: -10%;
    margin-bottom: -3%;
}

#hora{
    background-color: #846425;
    padding: 7px 10px;
    border-radius: 12px;
    letter-spacing: 1.5px;
    color:#ECECE2
}

.detalles2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items:center;
    margin-left: 20%;
    margin-right: 10%;
}
#detalles3{
  display:none;
}
#recepcion {
    display:grid;
    grid-template-columns: 2.6fr 1fr;
    gap: 10px;
    align-items: center;
    margin-top: -10%;
    margin-bottom: -3%;
}

#ubicacion_icon {
    width: 100%
}

.tittle-detalles{
    color:#846425; 
    font-size: calc(1.3vw + 0.4em);
}

@media (max-width: 768px) {
  .detalles {
    grid-template-columns: 1fr;
    margin-right: 5%;
    margin-left: 5%;
    text-align: center;
  }

  .tittle-detalles{
    color:#846425; 
    font-size: calc(1.5vw + 0.7em);
  }

  #ceremonia-texto{
    font-size: calc(1.5vw + 0.6em);
  }

  .detalles2 {
    grid-template-columns: 1fr;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
  }
  #detalles2{
    display: none;
  }
  #detalles3{
    display: block;
  }

  .detalles-texto {
    font-size: calc(1.5vw + 0.7em);
  }

  #ubicacion, #recepcion {
    display: block;
    margin-top: 0;
    margin-bottom:15px;
  }

  #ubication_icon{
    place-content: center;
  }
  #ubicacion a{
    place-content: center;
  }
  #ubicacion_icon {
    width: 20%
  }
}

/* ======================
   BANNER FOTOS STYLES 
   ====================== */

.grid-3{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.cita{
    background-color: #846425;
    text-align: center;
    padding: 40px 30%;
    color: #ECECE2;
    font-size: calc(1vw + 0.5em);
    height: 15vw
}

.cita p{
    margin:10px;
}

#ramo{
    position: relative;
    top: -8vw;
    left: -15vw;
}

#paloma{
    position: relative;
    top: -8vw;
    left: 27vw;
}
#anillos{
    position: relative;
    top: -2vw;
    left: -30vw;
}
#copas{
    position: relative;    
    top: -11vw;
    left: 19vw;
}

.nombres{
    position: relative;
    top: -17vw;
    font-family: Sackers Italian Script Std Regular, sans-serif;
    font-size: calc(2vw + 1.3em);
    color: #ECECE2;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
  .cita{
    padding: 8% 10%;
    font-size: calc(1.2vw + 0.7em);
    height: 35vw;
  }
  .nombres{
    font-size: calc(1.5vw + 1.3em);
    top: -48%;
  }
  #ramo {
    width: 15vw !important;
    position: relative;
    top: -102%;
    left: -14%;
  }
  #paloma {
    position: relative;
    top: -101%;
    left: 66%;
    width: 15vw !important;
  }
  #anillos {
    position: relative;
    top: -21%;
    left: 38%;
    width: 20vw !important;
  }
  #copas {
    position: relative;
    top: -21%;
    left: -78%;
    width: 20vw !important;
  }
}

/* ======================
   DRESSCODE SECTION
   ====================== */

.dresscode {
  text-align: center;
  margin-top: 40px;
  font-family: 'GildaDisplay-Regular', sans-serif;
  font-size: calc(1.2vw + 0.8em);
  color: #191919;
  max-width: 100vw;
  overflow-x: hidden;
}

.title {
  font-family: 'GildaDisplay-Regular', sans-serif;
  font-size: calc(2.5vw + 0.5em);
  color: #846425;
  text-align: center;
}

.divider {
  width: 25%;
  margin: 0 auto;
  border: 1px solid #846425;
}

.grid-col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: right;
  gap: 60px;
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 20px;
}

.flex-col-2 {
  display: flex;
  align-items: center;
  margin: 40px auto 10px;
}

.main-illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.dress-info {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: 100px;
    justify-content: flex-end;
}

.label {
  color: #846425;
  font-weight: bold;
  font-size: 1em;
}

.icon { 
    width: 20%;
}

.black-font {
  color: #191919;
  font-weight: normal;
  font-size: 1em;
}

.noun {
  color: #846425;
  font-size: calc(1.2vw + 0.5em);
  font-weight: bold;
}

.noun2, .noun4{
  font-family: 'Sackers Italian Script Std Regular', sans-serif;
  color: #846425;
  font-size: calc(2vw + 1em);
}


.palette {
  margin: 2%;
  width: 50%;
  height: auto;
}

.texto-min {
  font-size: calc(0.6vw + 0.4em);
  color: #846425;
  font-weight: bold;
  margin: 5px 0;
}

@media screen and (max-width: 768px) {
  .grid-col-2 {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0px;
  }

  .flex-col-2{
    margin: 29px 10px -5px;
    flex-direction: column-reverse;
  }

  .dress-info {
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 0px;
  }

  .section {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 50px;
  }

  .title {
    font-size: calc(2.5vw + 1em);
  }
  .dresscode {
    font-size: calc(1.5vw + 0.7em);
  }

  .icon{
    position: inherit;
    width: 20vw;
    place-self: center;
  }

  .noun{
    font-size: calc(1.5vw + 0.7em);
  }
  .noun2{
    font-size: calc(1.5vw + 1em);
  }
  .noun4{
    font-size: calc(2vw + 2em);
  
  }
  .texto-min{
    font-size: calc(1vw + 0.8em);
    padding: 0 30px
  }

}


/* ======================
   CODIGO RESERVA
   ====================== */

#code-reserva{
    background-image: url('./images/recuadro-reserva.png');
}
#square-reserva{
    position: absolute;
    z-index:-1;
}

.text-reserva{
    font-size: calc(1.2vw + 1em);
}
.text-reserva2{
    font-size: calc(1.2vw + 1em);
    color:#846425
}

.codigo{
    background-color: #846425;
    color: white;
    padding: 2px 30px;
    border-radius: 10px;
    margin-left: 15px;
    width:20%
}
  #reserva-box1 {
    display: block;
  }
  #reserva-box2 {
    display: none;
  }   

  .flex-group-2-reserva{
    display:flex;
    justify-content: center;
  }

@media screen and (max-width: 768px) {
  #reserva-box1 {
    display: none;
  }
  #reserva-box2 {
    display: block;
  }
  #box-reserva  {
    padding: 3% 3% !important;
  }

  #title-reserva {
    font-size: calc(1.5vw + 0.7em);
  }
  .text-reserva {
    font-size: calc(1vw + 0.4em);
  }
  .text-reserva2 {
    font-size: calc(1vw + 0.7em);
  }
  .codigo{
    font-size: calc(1.3vw + 0.5em) !important;
  }
}


/* ======================
   LLUVIA DE SOBRES
   ====================== */
.noun3 {
  color: #846425;
  font-size: calc(1.2vw + 0.5em);
}

/* ======================
   FORMULARIO
   ====================== */

.formulario-title{
  padding-top:30px;
  padding-bottom: 20px;
  background-color: #846425;
  text-align: center;
  color: #ECECE2;
  font-size: calc(1.3vw + 1.1em);
  font-family: 'GildaDisplay-Regular', sans-serif;
}

.input-nombre{
  width: 30%;
  padding: 10px;
  margin:2%;
  border: 1px solid #191919;
  border-radius: 5px;
  font-size: calc(0.5vw + 0.5em);
  text-align: center;
}

.rsvp-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 10px;
  font-size: calc(0.5vw + 0.5em);
}

.rsvp-options li {
  list-style: none;
}

.btn-submit{
  background-color: #ECECE2;
  color: #846425;
  padding: 5px 20px;
  border: none;
  border-radius: 10px;
  font-size: calc(0.5vw + 0.5em);
  cursor: pointer;
  font-family: 'GildaDisplay-Regular', sans-serif;
  margin-bottom: 4%
}

input[type="radio" i]{
  background-color: #846425;
}

@media screen and (max-width: 768px) {
  .rsvp-options {
    margin: 0% 20% 5% 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0%;
    gap: 10px;
    margin-top: 5px;
    font-size: calc(0.4vw + 0.5em);
  }
  .input-nombre{
    width:50%;
  }
  .text-reserva {
    font-size: calc(1.2vw + 0.7em);
  }
}

#final-phrase{
    font-family: 'Sackers Italian Script Std Regular';
    position: absolute;
    color: #ECECE2;
    font-size: calc(6vw + 1em);
    top: -8.8%;
    left: 20%;
}

#logo{
    position: absolute;
    width: 40%;
    justify-self: anchor-center;
    align-self: center;
    filter: brightness(10);
}

@media screen and (max-width: 768px) {
  #final-phrase{
    top: -11%;
    left: 9%;
  }
}