:root {
    --color-blue: #008DFF;
    --color-white: white;
    --color-black: black;
    --color-red: red;
    --color-yellow: #FFE100;
    --color-green: green;
    --color-gray: gray;
    --color-purple: purple;
    --color-emerald: #009975;
}

@font-face {
    font-family: 'Ancient';
    src: url('./Fonts/AncientMedium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lordish';
    src: url('./Fonts/LordishRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

div.fondo {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
div.fondo video, div.fondo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65; /* Ajusta la transparencia si lo deseas */
    pointer-events: none; /* El video no bloquea clics */
}

div.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E6D1B866;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté por encima de todo */
    backdrop-filter: blur(10px) brightness(0.8);
}
div.loader a {
    text-decoration: none;
    color: gold;
    transition: 0.2s all ease-in-out;
}
div.loader a:hover {
    color: darkgoldenrod;
}
div.loader img {
    position:absolute;
    height: 35vh; /* Ajusta el tamaño del loader */
    animation: spin 5s linear infinite; /* Animación de rotación */
    display: block;
    opacity: 0.35; /* Ajusta la opacidad si lo deseas */
    pointer-events: none; /* Para que no interfiera con el contenido */
}
div.loader p {
    font-size: 1em;
    max-width: 50vw;
    text-align: center;
    color: #14110D;
    font-family: 'Arial', serif;
}
div.loader h3 {
    font-size: 2em;
    text-align: center;
    color: #241d15;
    font-family: 'Arial', serif;
}
#closeLoader
{
    font-size: 1em;
    background-color:#14110D77;
    color: #E6D1B8;
    font-family: 'Arial', serif;
    border: 1px solid #14110D;
    border-radius: 16px;
    padding: 1vh 2vw;
    transition: all 0.3s ease-in-out;
    z-index: 100;
    cursor: pointer;
    opacity: 0; /* Oculto por defecto */
}
#closeLoader:hover
{
    background-color:#14110DBB;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


#video-fondo {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    opacity: 0.75; /* Ajusta la transparencia si lo deseas */
    pointer-events: none; /* El video no bloquea clics */
}
body{
    margin: 0;
    font-family: 'Arial' sans-serif;
    background-color: black;
    background-image: url('./Images/BackgroundConfirm.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;  /* Centrado horizontal */
    align-items: center;      /* Centrado vertical */
}


#confirmBtn
{
    background-color: #E6D1B866;
    color: #14110D;
    border: 1px solid #14110D;
    padding: 0.5vmax;
    font-size: 2em;
    border-radius: 16px;
    width: 50%;
    cursor: pointer;

    transition: all 0.3s ease-in-out;
}
#confirmBtn:hover
{
    background-color: #E6D1B8AA;
}

div.container input:disabled,
div.container select:disabled {
    background-color: #11111133 !important;
    color: #e6d1b8 !important;
    font-size: 1.5em !important;
    font-weight: bold !important;
    opacity: 1 !important;
    pointer-events: none !important;
    border: none !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
}

/* Contenedor */
div.container
{
    display: grid;
    grid-template-columns: 1fr 1fr;   /* Dos columnas iguales */
    grid-template-rows: auto 8vh 40vh 8vh 1fr;   /* Tres filas automáticas */
    padding: 2.5vh 2.5vw;
    min-width: 60vw;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
    box-sizing: border-box;
    box-shadow: 0 8px 32px 16px rgba(0,0,0,0.5);
    background-color: #E6D1B833;
    backdrop-filter: blur(10px) brightness(0.8);
}
div.container div.footer
{
    grid-column: 1 / span 2; /* Ocupa ambas columnas */
    grid-row: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
div h1
{
    grid-column: 1 / span 2; /* Ocupa ambas columnas */
    grid-row: 1;
    text-align: center;
    font-family: 'Lordish', serif;
    font-size: 5em;
    color: #E6D1B8;
    margin-bottom: 5vh;
    letter-spacing: 0.2em;
}
div h2
{
    text-align: center;
    font-family: serif, sans-serif;
    color: #E6D1B8;
    margin-bottom: 5vh;
    letter-spacing: 0.2em;
}
div.container img.heading
{
    position: relative;
    grid-column: 1 / span 2;
    grid-row: 1;
    height: 30vh;
    top: -1.5vh;
    margin: auto;
    opacity: 0.25;
}

label
{
    letter-spacing: 0.25em;
    margin: 0;
}

/* Formularios */
div.container div.house
{
    position:relative;

    grid-row: 2;
    grid-column: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Opcional: alinea a la izquierda */;
}
div.container div.membership
{
    position:relative;

    grid-row: 4;
    grid-column: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Opcional: alinea a la izquierda */;
}
div.container input
{
    
    background-color: #241D1488;
    padding: 0.5vmax;
    border: #14110D 1px solid;
    border-radius: 8px;
    color: #E6D1B8;
    width: 100%;

    transition: all 0.3s ease-in-out;
}
div.container input::placeholder {
    color: #E6D1B866;      /* Color del texto del placeholder */
    opacity: 1;          /* Asegura que el color se vea */
    font-style: italic;  /* Opcional: estilo */
}
div.container input:hover
{
    background-color: #14110DBB;
}
div.container div.customizations
{
    position:relative;

    grid-row: 3;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Opcional: alinea a la izquierda */;
}
div.container div.customizations select
{
    margin-bottom: 2vh;
    width: 100%;
    margin-bottom: 1vmax;
    background-color: #241D1488;
    padding: 0.5vmax;
    border: #14110D 1px solid;
    border-radius: 8px;
    color: #E6D1B8;

    transition: all 0.3s ease-in-out;
}
div.container div.customizations select option {
    background-color: #E6D1B888;
    color: #241D1499;
}
div.container div.customizations select:hover
{
    background-color: #14110DBB;
}
div.container label
{
    font-size: 1.5em;
    font-weight: bold;
    font-style: italic;
    color: gold; /* Color del texto */
}

/* Cabeceras */
h2.blason-title
{
    grid-row: 3;
    grid-column: 1;
    position: relative;
    width: 100%;
    text-align: center;
    font-family: 'Lordish', serif;
    font-size: 3em;
    color: #14110D;
    pointer-events: none; /* Para que no interfiera con el contenido */
    z-index: 10;
    padding-top: 0.5vh;
    background: linear-gradient(to right, transparent 10%, rgba(230, 209, 184, 0.9), transparent 90%);

    margin-top: auto;
    max-width: 40vh;
    margin-bottom: 2vh;
}
div.blason
{
    position: relative;
    width: 40vh;
    height: 40vh;
    overflow: hidden; 
    grid-row: 3;
    grid-column: 1;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-image: url('./Images/Overlay.png');
    mask-image: url('./Images/Overlay.png');
}
div.blason div
{
    position: absolute;
    width: 80%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    mask-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none; /* Para que no interfiera con el contenido */
    z-index: 5;
}
div.blason::after
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    pointer-events: none; /* evita que interfiera con clics */

    -webkit-mask-size: cover;
    mask-size: cover;

}

/* Colores de simbolo */
div.symbol-color-black div
{
    background-color: black;
}
div.symbol-color-white div
{
    background-color: white;
}
div.symbol-color-red div
{
    background-color: red;
}
div.symbol-color-blue div
{
    background-color: #008DFF;
}
div.symbol-color-yellow div
{
    background-color: #FFE100;
}
div.symbol-color-green div
{
    background-color: green;
}
div.symbol-color-gold div
{
    background: linear-gradient(to bottom, #6E5400 0%, #ffd700 100%);
    backdrop-filter: blur(10px) brightness(0.8);

}
div.symbol-color-silver div
{
    background: linear-gradient(to bottom, #4D4D4D 0%, #C0C0C0 100%);
    backdrop-filter: blur(10px) brightness(0.8);
}

/* Patrones */
div.pattern1::after 
{
    -webkit-mask-image: url('./Images/Pattern1.png');
    mask-image: url('./Images/Pattern1.png');
}
div.pattern2::after 
{
    -webkit-mask-image: url('./Images/Pattern2.png');
    mask-image: url('./Images/Pattern2.png');
}
div.pattern3::after 
{
    -webkit-mask-image: url('./Images/Pattern3.png');
    mask-image: url('./Images/Pattern3.png');
}
div.pattern4::after 
{
    -webkit-mask-image: url('./Images/Pattern4.png');
    mask-image: url('./Images/Pattern4.png');
}
div.pattern5::after 
{
    -webkit-mask-image: url('./Images/Pattern5.png');
    mask-image: url('./Images/Pattern5.png');
}
div.pattern6::after 
{
    -webkit-mask-image: url('./Images/Pattern6.png');
    mask-image: url('./Images/Pattern6.png');
}
div.pattern7::after 
{
    -webkit-mask-image: url('./Images/Pattern7.png');
    mask-image: url('./Images/Pattern7.png');
}
div.pattern8::after 
{
    -webkit-mask-image: url('./Images/Pattern8.png');
    mask-image: url('./Images/Pattern8.png');
}

/* Simbolos */
div.symbol-shape-0 div
{
    -webkit-mask-image: url('./Images/Pattern1.png');
    mask-image: url('./Images/Pattern1.png');
}
div.symbol-shape-1 div
{
    -webkit-mask-image: url('./Images/Symbol1.png');
    mask-image: url('./Images/Symbol1.png');
}
div.symbol-shape-2 div
{
    -webkit-mask-image: url('./Images/Symbol2.png');
    mask-image: url('./Images/Symbol2.png');
}
div.symbol-shape-3 div
{
    -webkit-mask-image: url('./Images/Symbol3.png');
    mask-image: url('./Images/Symbol3.png');
}
div.symbol-shape-4 div
{
    -webkit-mask-image: url('./Images/Symbol4.png');
    mask-image: url('./Images/Symbol4.png');
}
div.symbol-shape-5 div
{
    -webkit-mask-image: url('./Images/Symbol5.png');
    mask-image: url('./Images/Symbol5.png');
}
div.symbol-shape-6 div
{
    -webkit-mask-image: url('./Images/Symbol6.png');
    mask-image: url('./Images/Symbol6.png');
}
div.symbol-shape-7 div
{
    -webkit-mask-image: url('./Images/Symbol7.png');
    mask-image: url('./Images/Symbol7.png');
}
div.symbol-shape-8 div
{
    -webkit-mask-image: url('./Images/Symbol8.png');
    mask-image: url('./Images/Symbol8.png');
}
div.symbol-shape-9 div
{
    -webkit-mask-image: url('./Images/Symbol9.png');
    mask-image: url('./Images/Symbol9.png');
}
div.symbol-shape-10 div
{
    -webkit-mask-image: url('./Images/Symbol10.png');
    mask-image: url('./Images/Symbol10.png');
}
div.symbol-shape-11 div
{
    -webkit-mask-image: url('./Images/Symbol11.png');
    mask-image: url('./Images/Symbol11.png');
}
div.symbol-shape-12 div
{
    -webkit-mask-image: url('./Images/Symbol12.png');
    mask-image: url('./Images/Symbol12.png');
}
div.symbol-shape-13 div
{
    -webkit-mask-image: url('./Images/Symbol13.png');
    mask-image: url('./Images/Symbol13.png');
}
div.symbol-shape-14 div
{
    -webkit-mask-image: url('./Images/Symbol14.png');
    mask-image: url('./Images/Symbol14.png');
}
div.symbol-shape-15 div
{
    -webkit-mask-image: url('./Images/Symbol15.png');
    mask-image: url('./Images/Symbol15.png');
}
div.symbol-shape-16 div
{
    -webkit-mask-image: url('./Images/Symbol16.png');
    mask-image: url('./Images/Symbol16.png');
}
div.symbol-shape-17 div
{
    -webkit-mask-image: url('./Images/Symbol17.png');
    mask-image: url('./Images/Symbol17.png');
}
div.symbol-shape-18 div
{
    -webkit-mask-image: url('./Images/Symbol18.png');
    mask-image: url('./Images/Symbol18.png');
}
div.symbol-shape-novio div
{
    -webkit-mask-image: url('./Images/BlasonNovio.png');
    mask-image: url('./Images/BlasonNovio.png');
}
div.symbol-shape-novia div
{
    -webkit-mask-image: url('./Images/BlasonNovia.png');
    mask-image: url('./Images/BlasonNovia.png');
}

/* Novios */
div.novio
{
    background-color: #FFE100;
}
div.novio::after
{
    -webkit-mask-image: url('./Images/Pattern6.png');
    mask-image: url('./Images/Pattern6.png');
    background-color: black;
}
div.novio div
{
    background-color: silver;
    -webkit-mask-image: url('./Images/BlasonNovio.png');
    mask-image: url('./Images/BlasonNovio.png');
}
div.novia::after
{
    -webkit-mask-image: url('./Images/Pattern1.png');
    mask-image: url('./Images/Pattern1.png');
    background-color: #287233;
}
div.novia div
{
    background-color: gold;
    -webkit-mask-image: url('./Images/BlasonNovia.png');
    mask-image: url('./Images/BlasonNovia.png');
}

/* Colores de fondo 1 */
div.bg1-white
{
    background-color: white;
}
div.bg1-black
{
    background-color: black;
}
div.bg1-yellow
{
    background-color: #FFE100;
}
div.bg1-red
{
    background-color: red;
}
div.bg1-green
{
    background-color: #00D919;
}
div.bg1-blue
{
    background-color: #008DFF;
}
div.bg1-orange
{
    background-color: orange;
}
div.bg1-purple
{
    background-color: purple;
}
div.bg1-emerald
{
    background-color: #009975;
}

/* Colores de fondo 2*/
div.bg2-white::after
{
    background-color: white;
}
div.bg2-black::after
{
    background-color: black;
}
div.bg2-yellow::after
{
    background-color: #FFE100;
}
div.bg2-red::after
{
    background-color: red;
}
div.bg2-green::after
{
    background-color: #00D919;
}
div.bg2-blue::after
{
    background-color: #008DFF;
}
div.bg2-orange::after
{
    background-color: orange;
}
div.bg2-purple::after
{
    background-color: purple;
}
div.bg2-emerald::after
{
    background-color: #009975;
}

div.lista-confirmados
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
     overflow-y: auto;
}

div.lista-confirmados div.entry
{
    display: grid;
    grid-template-columns: 40vh auto; /* Dos columnas iguales */
    grid-template-rows: auto auto; /* Dos filas automáticas */
    width: 96vw;
    padding: 2vh 2vw;
    margin-bottom: 2vh;
    background-color: #00000044;
    backdrop-filter: blur(2px) brightness(0.8);
}

div.lista-confirmados div.entry div.blason
{
    grid-column: 1;
    grid-row: 1 / span 2;
}

div.lista-confirmados div.entry h2
{
    grid-column: 2;
    grid-row: 1;
    font-family: serif;
    font-size: 4em;
    text-align: left;
    color: gold;
    margin-bottom: 2vh;
    letter-spacing: 0.2em;
    align-self: end; /* Alinea al fondo de la celda del grid */;
}
div.lista-confirmados div.entry p
{
    grid-column: 2;
    grid-row: 2;
    font-family: 'Arial', sans-serif;
    font-size: 2em;
    color: #E6D1B8;
}

@media (max-height: 1200px) and (orientation: landscape)
{
    div.container
    {
        grid-template-rows: auto auto auto auto auto;
        padding: 1.5vh 1.5vw;
    }
    #confirmBtn
    {
        margin: 0.25vmax;
        width: 40%;
        padding: 0.25vmax;
        font-size: 1.25em;
        border-radius: 8px;
    }
    div.container div.customizations select
    {
        margin-bottom: 1vh;
    }
    div.container label
    {
        font-size: 1em;;
    }
    div.container h1
    {
        font-size: 2.5em;
    }
    div.loader img 
    {
        height: 50vh; /* Reduce el tamaño del loader en móviles */
    }
}

@media (max-width: 600px) 
{
    div.loader img {
        height: 50vh; /* Reduce el tamaño del loader en móviles */
    }
    div.loader P {
        max-width: 80vw; /* Reduce el tamaño del loader en móviles */
    }
    #closeLoader {
        padding: 1vh 6vw; /* Reduce el tamaño del loader en móviles */
    }
    div.container input:disabled,
    div.container select:disabled 
    {
        font-size: 1em !important; /* Reduce el tamaño de la fuente */
    }
    div.container
    {
        background-color: #E6D1B844;
    }
    div.container div.footer h2
    {
        font-size: 1em;;
    }

    #confirmBtn {
        width: 75vw; /* Ajusta el ancho del botón en móviles */
        font-size: 1.2em; /* Reduce el tamaño de la fuente del botón */
    }

    div.container img.heading {
        height: 20vh; /* Reduce la altura de la imagen en móviles */
        top: -2vh; /* Ajusta la posición vertical de la imagen */
    }
    div.container label  {
        font-size: 1em; /* Reduce el tamaño base en móviles */
    }
    body {
        padding: 0;
    }
    div h1
    {
        font-size: 1.8em;
        letter-spacing: 0.1em; /* Reduce el espaciado entre letras */
    }
    div.lista-confirmados div.entry
    {
        grid-template-columns: 50% auto;
    }
    div.lista-confirmados div.entry h2
    {
        font-size: 1.5em;
        letter-spacing: 0em; /* Reduce el espaciado entre letras */
    }
    div.lista-confirmados div.entry p
    {
        font-size: 0.5em;
        letter-spacing: 0em; /* Reduce el espaciado entre letras */
    }
    div.container input
    {
        width: 96% !important;
    }
    div.container
    {
        width: 100vw;
        height: 90vh;
        padding: 5vh 5vw;
        margin: 0;
        grid-template-rows: auto auto auto auto auto; /* Ajusta las filas para móviles */
        backdrop-filter: blur(2px) brightness(0.8);
    }
    div.blason {
        width: 20vw;
        height: 20vw;
        min-width: 200px;
        min-height: 200px;
    }

    h2.blason-title {
        font-size: 2em;
        max-width: initial;
        margin-bottom: 7vh;
    }
}

address {
    font-style: italic;
    color: #dfcbb4;
    padding: 0 5vw;
    font-size: 1.25em;
}