body {
    background-image: url(imagenes/fondo.jpg);
    background-repeat: repeat-y;
    background-position: center;
    background-size: 110%;
    margin: 0;
}

p {
    color: #274a2a;
}

.header {
    z-index: -1;
}

.flores {
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
}

.corona {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.nom {
    width: 33%;
}

.nombre {
    font-family: "Inria Serif", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 500%;
    line-height: 0;
}

.linea {
    width: 70%;
    height: 0.5vh;
    background-color: #274a2a;
    border-color: #274a2a;
    border-radius: 50px;
}

.num { 
    width: 34%;
    text-align: center;
}

.numero {
    font-family: "Inria Serif", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 10vw;
    transform: scale(2.5);
    transform-origin: center;
    line-height: 0;
    filter: drop-shadow(5px 5px 5px #274a2a);
}

.mensajeDiv {
    width: 80%;
    margin-left: 10%;
    margin-bottom: 7.5%;
}

.mensaje{
    font-family: "Inria Serif", serif;
    font-size: 100%;
    text-align: center;
}


.titulo {
    display: flex;
    align-items: center;
}

#der {
    text-align: right;
}

#izq {
    text-align: left;
}

#arr {
    margin-bottom: 0%;
}

#aba {
    margin-top: 0%;
}



/* Antes del error */



.savediv {
    text-align: center;
}

.savethedate {
    font-size: 600%;
    color: #274a2a;
    font-weight: 500;
}

#save {
    font-family: "Playfair Display", serif;
}

#the {
    margin-left: 3%;
    margin-right: 3%;
    font-family: "Allura", serif;
}

#date {
    font-family: "Playfair Display", serif;
}

.fecha {
    font-family: "Inria Serif", serif;
    font-size: 500%;
    font-weight: 900;
}

.slides {
    max-width: 1000px;
    position: relative;
    margin: auto;
    margin-bottom: -5%;
}

.contador {
    margin-top: -10%;
}

#demo {
    font-family: "Inria Serif", serif;
    font-size: 800%;
    font-weight: 900;
    text-align: center;
    margin-bottom: -5%;
}

.texto-reloj {
    text-align: center;
    margin-top: 5%;
    color: #274a2a;
    font-family: "Inria Serif", serif;
    font-size: 200%;
    font-weight: 900;
    text-align: center;

}

.misdiv {
    background-color: #82b584;
    padding-top: 1px;
    padding-bottom: 1px;
}

.displaymis {
    display: flex;
}

.bloquesmis {
    width: 25%;
}

.estrellasizq {
    width: 70%;
    margin-left: 25%;
}

.estrellasder {
    width: 70%;
    margin-right: 15%;
}

.bloquecentro {
    width: 50%;
}

.margenmis {
    margin-bottom: 10%;
    margin-top: 10%;
    width: 100%;
}

.contmis {
    width: 80%;
    margin-left: 10%;
}

.titulomis {
    font-family: "Style Script", cursive;
    font-size: 700%;
    font-weight: 500;
    margin-top: 5%;
    margin-bottom: -4%;
    text-align: center;
    color: white;
}

.textomis {
    font-family: "Inria Serif", serif;
    font-size: 275%;
    margin-bottom: 5%;
    text-align: center;
    color: white;
}

.ceremonia {
    margin-top: 10%;
}

.titulocer {
    font-family: "Inria Serif", serif;
    font-size: 700%;
    font-weight: 700;
    margin-bottom: 0%;
    text-align: center;
}

.textocer {
    font-family: "Inria Serif", serif;
    font-weight: 200;
    font-size: 300%;
    margin-bottom: 0%;
    text-align: center;
}


.horacer {
    display: flex;
}

.lineascer {
    width: 30%;
}

.sepcer {
    width: 5%;
}

.cincopm {
    font-family: "Inria Serif", serif;
    font-weight: 600;
    width: 30%;
    text-align: center;
    font-size: 400%;
}

#cerder {
    width: 70%;
    height: 2%;
    margin-top: 35%;
    background-color: #274a2a;
    border-color: #274a2a;
    border-radius: 50px;
    
}

#cerizq {
    width: 70%;
    height: 2%;
    margin-top: 35%;
    background-color: #274a2a;
    border-color: #274a2a;
    border-radius: 50px;
}

.salon {
    margin-top: 5%;
    background-color: #82b584;
    padding-bottom: 10%;
}

.imgsalon {
    width: 80%;
    margin-left: 10%;
    border-radius: 50px;
    margin-top: 10%;
}

.salontxt {
    padding: 0% 10%;
}

.titulosalon {
    font-size: 400%;
    font-family: "Inria Serif", serif;
    font-weight: 700;
    text-align: center;
    color: white;
}

.textosalon {
    font-size: 200%;
    font-family: "Inria Serif", serif;
    text-align: center;
    color: white;
}

.botonsalon {
    margin-top: 5%;
}

.btnsalon {
    width: 80%;
    background-color: white;
    border: none;
    color: #274a2a;
    text-align: center;
    font-size: 200%;
    font-family: "Inria Serif", serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    padding: 3%;
    margin-left: 10%;
    border-radius: 25px;
    filter: drop-shadow(0px 10px 5px gray);
}

#siete {
    color: white;
}

.linease {
    background-color: white;
    border-color: white;
}

#sal {
    width: 70%;
    height: 2%;
    margin-top: 35%;
    background-color: white;
    border-color: white;
    border-radius: 50px;
}

.papas {
    padding: 10%;
}

.imgpapas {
    width: 40%;
    margin-left: 30%;
    margin-bottom: -5%;
}

.papasti {
    font-size: 700%;
    font-weight: 700;
    text-align: center;
    font-family: "Inria Serif", serif;
}

.papasnom {
    font-size: 300%;
    text-align: center;
    font-family: "Inria Serif", serif;
    margin-top: -10%;
}

.madrina {
    padding: 10%;
    background-color: #82b584;
}

.imgmadrina {
    width: 40%;
    margin-left: 30%;
    margin-bottom: -5%;
}

.madrinati {
    font-size: 700%;
    font-weight: 700;
    text-align: center;
    font-family: "Inria Serif", serif;
    color: white;
}

.madrinanom {
    font-size: 300%;
    text-align: center;
    font-family: "Inria Serif", serif;
    margin-top: -10%;
    color: white;
}


.gallery {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-content: center;
  overflow: hidden;
}

.pases {
    width: 80%;
    margin-left: 10%;
    margin-top: 10%;
    margin-bottom: 5%;
}

.textopase {
    font-size: 300%;
    text-align: center;
    font-family: "Inria Serif", serif;
}

.pase {
    width: 100%;
    border-radius: 15px;
    filter: drop-shadow(10px 10px 15px);
}

.confirmar {
    width: 100%;
    margin-bottom: 10%;
}

.botonconfirmar {
    border: none;
    border-radius: 20px;
    filter: drop-shadow(10px 10px 15px);
    color: #274a2a;
    background-color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 300%;
    font-family: "Inria Serif", serif;
    font-weight: 500;
    transition-duration: 0.4s;
    cursor: pointer;
    width: 80%;
    margin-left: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
}

.botonconfirmar:hover {
    background-color: #274a2a;
    color: white;
}

.mensajeSobre {
    background-color: #82b584;
    padding: 10%;
}

.mailpng {
    width: 40%;
    margin-left: 30%;
}

.sobresTitulo {
    font-size: 500%;
    font-weight: 500;
    text-align: center;
    font-family: "Inria Serif", serif;
    color: white;
}

.sobresTexto {
    font-size: 200%;
    font-family: "Inria Serif", serif;
    text-align: center;
    color: white;
}

@media only screen and (max-width: 1024px) {
    .linea {height: 0.2vh;}
    #arr {margin-bottom: -10%;}
    #aba {margin-top: -10%;}
}

.footer {
    margin-top: -1%;
    background-color: #82b584;
    position: relative;
    width: 100%;
    height: 25vw;
}

.floresabajo {
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
}

.reproductor {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25vh;
    font-family: Arial, sans-serif;
}

.player {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    padding: 40px 60px 40px 150px; /* espacio para el disco */
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: visible; /* permite que el disco sobresalga */
    margin-left: 15%;
    width: 40%;
    }

/* Disco */
.disk {
    position: absolute;
    left: -30%; /* mueve el disco hacia afuera */
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-image: url(imagenes/album.jpg);
    background-size: cover;
    background-position: center;
    animation: spin 5s linear infinite;
    animation-play-state: paused;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.disk::before {
    content: "";
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Info */
.info {
    flex: 1;
}
.info h3 {
    margin: 0;
    font-size: 200%;
}
.info p {
    margin: 5px 0;
    color: gray;
    font-size: 150%;
}

/* Barra de progreso */
.progress-container {
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
}

.progress {
    height: 5px;
    width: 0%;
    background: #4CAF50;
    border-radius: 5px;
}

/* Controles */
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.controls button {
    border: none;
    background: white;
    font-size: 200%;
    cursor: pointer;
}

.controls button:focus {
    outline: none;
}

.play-btn {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slides {box-sizing: border-box;}
.slides {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
slides img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {font-size: 11px}
}