@font-face {
    font-family: 'Prince Valiant';
    src:url('../resources/Prince Valiant.ttf') format('Truetype');
}

html, body{
    position: relative;
    height: 100%;
    background-image: url('../images/portal.jpg');
    overflow:auto;
    font-family:'Prince Valiant';
    background-size: cover;
}

/*********************************************
            SECCION INICIO
 ********************************************/
 .bg-inicio {
    background-color: #000;
    overflow: hidden;
    width: auto;
    background-size:cover;
    height: 100%;
}
.text {
    font-family: 'Prince Valiant';
    font-size: calc(100% + 3vw);
    width: auto;
    color: #fff;
}
.text-notificacion {
    font-family: 'Prince Valiant';
    width: auto;
    color: #fff;
}

/*********************************************
            SECCION INICIO
 ********************************************/

/*********************************************
            SECCION INVITACION
 ********************************************/
/* Resetear márgenes y rellenos por defecto */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    /* padding-top:50px; */
    padding-bottom:50px;
}

/* Estilo para la sección parallax */
.bg-invitacion {
    position: relative;
    /* background-image: url('../images/fondo.jpg'); */
    background-size: cover;
    background-attachment: fixed;
    display: grid;
    justify-content: normal;
    align-items: center;
    overflow: hidden;
    /* padding-left: 20%; */
    margin-bottom: -5%;
}

/* Contenedor del pergamino */
.pergamino-container {
    position: relative;
    width: auto; /* Ocupa el 80% del ancho de la pantalla */
    /*max-width: 800px; *//* Límite máximo para pantallas grandes */
    height: auto;
    top: 1%;
}

/* Imagen del pergamino */
.pergamino {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenedor del texto dentro del pergamino */
.text-container {
    position: absolute;
    top: 45%;
    left: 49%;
    transform: translate(-50%, -50%);
    width: 70%;
    text-align: center;
    font-size: calc(20% + 3vw);
    font-family: 'Prince Valiant';
    color:#333;
    font-weight: normal;
}

.text-container-identify{
    position: absolute;
    top: 6%;
    left: 49%;
    transform: translate(-50%, -50%);
    width: 70%;
    text-align: center;
    font-family: 'Prince Valiant';
    color:#333;
    font-weight: normal;
}
.text-nombre-invitado {
    text-align: center;
    color: #adb5bd;
    font-size: 4.5rem;            
}

.text-nombre {
    text-align: center;
    color: #140043;
    font-size: 5.5rem;            
}
.Nombres{
    padding-left: 10%;
}
.Nombreinvitado{
    padding-left: 5%;
}
/* Imagen de la lacra (sello) */
.lacra {
    position: absolute;
    bottom: 0%; /* Posición desde la parte inferior */
    right: 10%; /* Posición desde la derecha */
    width: 15%; /* Tamaño relativo al pergamino */
    height: auto;
    z-index: 1; /* Asegura que esté encima del pergamino */
}
.rounded-input {
    border: 2px solid #3498db;
    border-radius: 20px;
    padding: 12px;
    width: 100%;
}
/* Consultas de medios para diseño responsive */
@media (max-width: 720px) {
    .text-container {
        font-size: 1em; /* Reducir tamaño en tablets */
    }
    .lacra {
        width: 20%; /* Aumentar ligeramente en pantallas medianas */
    }
    /****** CONTADOR  ***********/
    /* .contenedor-contador {
        margin-top: -50%;
    }
    .banner {
        margin-bottom: 30px; 
    }
    .cartel {
        height: 99px;
        width: 100%;
    }
    .cartel>div{
        font-size: 45px;
    }
    .cartel>div>h3 {
        font-size: 15px;
        margin-top: 0px;
    } */
}

@media (max-width: 480px) {
    .bg-inicio {
        background-attachment: fixed;
        justify-content: normal;
        align-items: center;
        overflow: hidden;
        height: 100vh;
    }            
    .bg-invitacion {
        height: 100vh;
        background-attachment: fixed;
        justify-content: normal;
        align-items: center;
        overflow: hidden;
        margin-bottom: -50%;
    }
    .pergamino-container {
        position: relative;
        width: auto;
        height: auto;
        top: -9%;
        left:0%;
    }
    .text-container {
        font-size: .8em; /* Reducir más en móviles */
        top:50%;
    }
    .text-container-identify{
        top: 8%;
        font-size: 1.5rem;            
    }
    .text-nombre-invitado {
        font-size: 1.5rem;            
    }
    
    .text-nombre {
        font-size: 1.5rem;            
    }
    .lacra {
        width: 20%; /* Aumentar en pantallas pequeñas */
    }
    /****** CONTADOR  ***********/
    /* .contenedor-contador {
        margin-top: -50%;
    }
    .banner {
        margin-bottom: 30px; 
    }
    .cartel {
        height: 99px;
        width: 100%;
    }
    .cartel>div{
        font-size: 45px;
    }
    .cartel>div>h3 {
        font-size: 15px;
        margin-top: 0px;
    } */
  
}

@media (max-width: 360px) {
    .bg-inicio {
        background-attachment: fixed;
        justify-content: normal;
        align-items: center;
        overflow: hidden;
        height: 100vh;
    }            
    .bg-invitacion {
        height: 100vh;
        background-attachment: fixed;
        justify-content: normal;
        align-items: center;
        overflow: hidden;
        margin-bottom: -50%;
    }
    .pergamino-container {
        position: relative;
        width: auto;
        height: auto;
        top: -8%;
        left:0%;
    }
    .text-container {
        font-size: .7em; /* Reducir más en móviles */
        top:53%;
    }
    .text-container-identify{
        top: 8%;
        font-size: 1.3rem;            
    }
    .text-nombre-invitado {
        font-size: 1.3rem;            
    }
    
    .text-nombre {
        font-size: 1.3rem;            
    }
    .lacra {
        width: 20%; /* Aumentar en pantallas pequeñas */
    }
    /****** CONTADOR  ***********/
    /* .contenedor-contador {
        margin-top: -50%;
    }
      .banner {
       margin-bottom: 30px; 
      }
      .cartel {
        height: 99px;
        width: 99px;
      }
      .cartel>div{
        font-size: 45px;
      }
      .cartel>div>h3 {
        font-size: 15px;
        margin-top: 0px;
      } */
}

/*********************************************
            FIN SECCION INVITACION
 ********************************************/
 .bg-invitacion-2 {
    /* background-image: url('../images/portal.jpg'); */
    position: relative;
    background-size: cover;
    background-attachment: fixed;
    display: grid;
    justify-content: normal;
    align-items: center;
    overflow: hidden;
    /* padding-left: 20%; */
}
.contenido{
    padding-right: 1% !important;
    padding-left: 1% !important;
}
.textConFondo {
    font-size: calc(100% + 2vw);
    width: auto;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 15px 15px 20px #888888;
    text-align: left;
    padding: 20px;
}

.textConFondo .row {
    display: flex;
    align-items: center;
}

.textConFondo .img-fluid {
    max-width: 100%;
    height: auto;
}

.textConFondo .mt-3 {
    margin-top: 1rem;
}

.titulos-2vw {
    font-family:'Prince Valiant';
/*    src:url('../fonts/Magnolia Script.otf') format('Opentype');*/
/*    font-size: 80px;;*/
    font-size:calc(100% + 3vw);
    width:auto;
    color: #2f7ae9;
    text-align: center;
    text-shadow: 7px -3px 10px rgba(0, 0, 0, 0.6);
}
.item {
    margin-bottom: 10px;
}
.item input {
    margin-right: 10px;
}
#submitBtn {
    margin-top: 10px;
}

.texto-regalos {
    font-family: 'Prince Valiant';
    font-size: 0.5em;
    width: auto;
    color: #fff;
    text-align: center;
}

/*********************************************************************************
            CONTADOR
 *********************************************************************************/
 .contenido-contador {
    width: 80%;
    margin: 0 auto;
    border: 0px solid black;
    z-index: 10;
  }
  .responsivo1 {
    display: inline-block
  }
  .cartel {
    /* width: 109px; */
    height: 109px;
    padding: 21px 0px 5px 0px;
    text-align: center;
    display: inline-block;
    margin: 4px;
    border-radius: 5px;
  }
  .cartel>div{
    font-size: 50px;
    animation: fade 3s;
    line-height: 30px;
    margin-top: 5px;
    color: #fff;
  }
  .cartel>div>h3 {
    margin-top: 15px;
    font-size: 20px;
    font-weight: normal;
  }
  .h3 {
    bottom: 0;
    margin: 0 auto ;
  }

 /* .contenedor-contador {
    color: #fff;
    text-align: center;
  }
  .cartel {
    width: 109px;
    height: 109px;
    padding: 10px 0px 5px 0px;
    text-align: center;
    display: inline-block;
    margin: 5px;
    border-radius: 5px;
  }
  .cartel>div{
    font-size: 50px;
    animation: fade 3s;
    line-height: 30px;
    margin-top: 5px;
    color: #fff;
  }
  .cartel>div>h3 {
    margin-top: 15px;
    font-size: 20px;
    font-weight: normal;
  }
  .h3 {
    bottom: 0;
    margin: 0 auto ;
  }
  .contenedor-contador {
    margin-top: -3%;
  }
  .contenido-contador {
    width: 80%;
    margin: 0 auto;
    border: 0px solid black;
    z-index: 10;
  }
  li {
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 1em;
    text-transform: uppercase;
  }
  li span {
    display: block;
    font-size: 4.5rem;
  }
  .numeros {
    font-size: 60px;
    transition: .3s;
    animation-name: fade;
    animation-duration: 3s;
  }
  .responsivo1 {
    display: inline-block
  }
  .responsivo2 {
    display: inline-block
  }
  @keyframes fade {
      0%   {
        opacity: 0;
    }
      30%   {
        opacity: 0;
    }  
      100% {
        opacity: 1;
    }
  } */