/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Elven';
    src: url('elvencommonspeak.woff') format('woff2');
}

@font-face {
    font-family: 'Isabella';
    src: url('isabella.woff2') format('woff2');
}

@font-face {
    font-family: 'Adirek';
    src: url('adirek-serif-regular.woff2') format('woff2');
}

:root {
    --bermellon: #f40;
    --fondo: #fff;
    /* #e0dcd9; */
    --grisalla: #00000010;
    --pral: #260303;
    --dyd: #C6547F;
    --r: #29C1D3;
    --f: #6CBC45;
}

output {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--pral);
    color: var(--fondo);
    padding: 0.2rem;
    font-size: 0.6rem;
    display: none
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Adirek', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.125em;
    background: #fff3d3 url(../img/fondo.png) repeat-y;
    background-size: 100%;
    color: var(--pral);

}

header {
    display: none;
}

.king {
    font-family: 'Elven', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
}

.isabella {
    font-family: 'Isabella', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    text-align: center;
}

.king span {
    position: relative;
}

.king .tilde::before {
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Montserrat', sans-serif;
    content: '´';
}

.king .dieresis::before {
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Montserrat', sans-serif;
    content: '¨';
}

.king .virgulilla::before {
    position: absolute;
    top: 13px;
    left: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    content: '~';
}

.gara {
    font-family: "Cormorant Garamond", serif;
}

strong {
    font-size: 1.5rem;
    font-weight: 900;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1em;
    font-weight: 800;
}

a {
    font-family: 'Lexend', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}


h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.7rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.15rem;
    font-weight: 200;
}




a {
    color: #000;
}







main {
    width: 100%;
    max-width: 768px;
    margin: auto;

}

section {
    min-height: 100vh;
    ;
    padding: 9vh 36px 18vh 36px;
    position: relative;
    background: url(../img/cordilleras.svg) no-repeat bottom center;
    background-size: 100%;

}

.flexy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mitad {
    padding-right: 35%
}

#anillo {
    width: 20%;
    max-width: 70px;
    margin: 20px auto;
}

#inicio {
    padding-top: 30vw;
    background-image: url(../img/cordilleras.svg), url(../img/arboles.png);
    background-repeat: no-repeat, no-repeat;
    background-position: bottom center, left top;
    background-size: 100%, 95%;
}

#lafecha {

    background-image: url(../img/cordilleras.svg), url(../img/hogar.png);
    background-repeat: no-repeat, no-repeat;
    background-position: bottom center, right -36px top 80%;
    background-size: 100%, 55%;
}

#el-lugar {
    background-image: url(../img/cordilleras.svg), url(../img/pajaros.png);
    background-repeat: no-repeat, no-repeat;
    background-position: bottom center, right 0 bottom 10%;
    background-size: 100%, 95%;
}

#selesfuelaolla {
    min-height: auto;
}


#cuanto-falta {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translate(-50%, 100%);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.33);
}

#cuanto-falta>span {
    flex-grow: 1;
    flex-shrink: 0;
    text-align: center;
}

#cuanto-falta>span:first-child {
    flex-basis: 100%;
}

#cuanto-falta>span>time {
    font-size: 2rem;
    display: block;
}

#selesfuelaolla div {
    width: 95%;
    aspect-ratio: 1 / 1;
    background: url(../img/ring.png) no-repeat;
    background-size: 100%;
    display: flex;
    flex-direction: column;
    max-width:350px;
}

#selesfuelaolla div img {
    width: 12%;
    margin: 2rem auto 0 auto;
}


#selesfuelaolla div p {
    width: 75%;
    font-size: 1rem;
    margin: 0 auto;
}

@media(min-width:320px) {
    #selesfuelaolla div {
        width: 90%;
    }

    #selesfuelaolla div p {
        font-size: 1.2rem;
    }
}
@media(min-width:400px) {
    #selesfuelaolla div {
        width: 80%;
    }

    #selesfuelaolla div p {
        font-size: 1.3rem;
    }
}
@media(min-width:700px) {
    #selesfuelaolla div {
        width: 80%;
    }

    #selesfuelaolla div p {
        font-size: 1.5rem;
    }
}
p {
    line-height: 1.5;
    margin-bottom: 1rem;
}

img {
    width: calc(100% + 72px);
    margin: 100px 0 2rem 0;
    padding: 0;
    position: relative;
    left: 0;

}























/* Estilo general del formulario */
form {

    padding: 0rem;

    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* Estilos generales para etiquetas de texto */
label {
    flex: 1 0 100%;
    margin-bottom: 0px;
    font-size: 1rem;
}

label.medio {
    flex: 1 0 calc(50% - 9px);
}

/* Estilos para los inputs de texto y correo */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 9px;
    border: 1px solid var(--pral);
    border-radius: 5px;
    color: #333;
    background-color: transparent;
    font-family: 'Adirek', Georgia, 'Times New Roman', Times, serif;
}

/* Estilo para el input tipo número */

label:has(input[type="file"]) {
    width: 50%;
    position: relative;
    max-width: 300px;
    padding: 0.75rem;
    background-color: #f40;
    ;
    color: #fff;
    border: none;
    border-radius: 9px;
    margin: 1rem auto;
    cursor: pointer;
    transition: background-color 0.3s ease;
    overflow: hidden;
}

label input[type="file"] {

    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
    background-color: aqua;
}

#nombre-archivo {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    color: #333;

}

/* Estilo para select */
/* select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    background-color: #fff;
} */

/* Estilos para los botones */
button,
input[type="submit"] {
    width: 70%;
    font-family: 'Adirek', Georgia, 'Times New Roman', Times, serif;
    max-width: 400px;
    font-size: 1.2rem;
    padding: 0.75rem;
    background-color: var(--pral);
    color: #fff;
    border: none;
    border-radius: 9px;
    margin: 1rem auto;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
    background-color: #f10;
}

/* Estilos para los checkbox y radio */
input[type="checkbox"],
input[type="radio"] {
    margin-right: 10px;
}

/* Agrupar los checkbox y radio en filas */
.checkbox-group,
.radio-group {
    margin-bottom: 15px;
}



/* Estilo para textarea */
textarea {
    height: 100px;
}

/* Estilo para fieldset */
fieldset {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

/* Estilo para legend */
legend {
    font-weight: bold;
    color: #333;
}

#mensaje {
    transition: all 0.5s ease;
    opacity: 0;
    width: 400px;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25), 0px 8px 20px rgba(0, 128, 255, 0.3), 0px 0px 10px rgba(0, 128, 255, 0.5);
    padding: 10px;
    text-align: center;
    background-color: #fff;
    color: #000;
    cursor: pointer
}

@keyframes rodar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#rueda {
    animation: rodar 6s linear infinite;
    width: 40px;
    margin: 20px auto;
}

/* ======= FOOTER ESTILOS ======= */
footer {}

/* Secciones del footer */
footer div {
    padding: 1rem;
    min-height: auto;
    margin-bottom: 0;
}

footer div:first-child {
    padding: 1rem;
    background: url('../img/comunidad.png') no-repeat bottom center;
    background-size: 100%;
    aspect-ratio: 10 / 3;
}





/* Derechos de autor */
.copyright {
    background-color: rgba(38, 3, 3, 75%);

}

.copyright small {
    font-size: 0.6em;
    color: #fff;
    text-align: center;
    display: block;
}

@media(min-width:768px) {

    header {
        display: block;
        position: fixed;
        width: 15%;
        background-color: #f40;
        color: #ccc;
        left: 18px;
        top: 36px;
        padding: 18px;
    }

}






@media(min-width:960px) {}

@media(min-width:1200px) {}

@media(min-width:1600px) {}