:root {
    --lwdmb-background: #d6b588;
    --lwdmb-titles: #e48660;
    --lwdmb-sand: #eae3d9;
    --lwdmb-header-blue: rgba(96, 132, 156, 0.9);
    --lwdmb-header-blue-darker: rgba(45, 77, 97, 0.9);
    --lwdmb-header-blue-darker-25: rgba(45, 77, 97, 0.25);
}

.fancy {
    font-family: "Alex Brush", serif;
    font-weight: 400;
    font-size: 3.3rem;
}

.quotes {
    width: 30px;
    margin-block: 15px;
    fill: var(--lwdmb-titles);
}

a.button-style {
    padding: 10px 20px;
    background-color: var(--lwdmb-sand);
    border-radius: 1000px;
    text-decoration: none;
    color: black;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s;
}

a.button-style:hover {
    padding: 10px 30px;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    background-color: var(--lwdmb-sand);
    background-image: url("body.jpg");
}

#wrapper {
    position: relative;
    background-color: rgba(128, 200, 255, 0.28);
}

#page {
    position: relative;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.loader {
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: var(--lwdmb-background);
    background-image: linear-gradient(0deg, rgba(234,227,217,1) 0%, rgba(214,181,136,1) 12%, rgba(184,184,184,1) 19%, rgba(3,134,145,1) 28%, rgba(0,29,34,1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.75s, visibility 0.75s;
}

.animated-path {
    stroke-dasharray: 300 385;
    stroke-dashoffset: 685;
    animation: dash-animation 2s linear infinite;
}

@keyframes dash-animation {
    from {
        stroke-dashoffset: 685;
    }
    to {
        stroke-dashoffset: -685;
    }
}

.animation-hidden {
    opacity: 0;
    visibility: hidden;
}

#pre-page {
    background-color: var(--lwdmb-background);
    background-image: url("prepage.jpg");
    background-size: 100%;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.45s, visibility 1.5s;
}

.screen {
    --blue-rgb: 33 150 243;
    --primary-rgb: var(--blue-rgb);
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 650px;
    overflow: hidden;
    display: flex;
}

.screen-image {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("screen.jpg");
    background-size: 500%;
    background-position: 50% 50%;
    filter: sepia(100%);
    opacity: 0.9;
    animation: pan-image 15s infinite linear;
}

.screen-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 4rem;
    position: relative;
    z-index: 2;
    margin: 1rem;
    border: 1px solid rgb(var(--primary-rgb) / 50%);
    border-radius: 0.6rem;
    box-sizing: border-box;
    max-height: 100%;
}

.blurred-button {
    /* Apariencia del fondo */
    background-color: rgba(255, 255, 255, 0.2); /* Color translúcido */
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    -webkit-backdrop-filter: blur(10px); /* Compatibilidad con navegadores WebKit */

    /* Estilo del botón */
    border-radius: 12px; /* Bordes redondeados */
    padding: 10px 20px; /* Espaciado interno para que no se pegue al texto */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borde sutil */

    /* Estilo del texto */
    color: #fff; /* Texto blanco */
    font-weight: bold; /* Negrita para resaltar el texto */
    text-align: center;
    font-family: monospace;
    text-shadow: 0 0 0.5rem white;
    animation: zoom-in-zoom-out 2s ease infinite;

    /* Efectos interactivos */
    cursor: pointer; /* Cambiar cursor al pasar el mouse */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para dar efecto de elevación */

    /* Transición para efectos suaves */
    transition: all 0.3s ease;
}

.blurred-button.no-animation {
    animation: unset;
}

/* Efecto al pasar el mouse */
.blurred-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@keyframes pan-image {
    0% { /* -- View 1 -- */
        background-position: 46% 0;
        background-size: 400%;
    }

    20% {
        background-position: 46% 35%;
        background-size: 400%;
    }

    20.0001% { /* -- View 2 -- */
        background-position: 95% 15%;
        background-size: 750%;
    }

    40% {
        background-position: 90% 25%;
        background-size: 450%;
    }

    40.0001% { /* -- View 3 -- */
        background-position: 47% 15%;
        background-size: 450%;
    }

    60% {
        background-position: 19% 0;
        background-size: 450%;
    }

    60.0001% { /* -- View 4 -- */
        background-position: 15% 100%;
        background-size: 560%;
    }

    80% {
        background-position: 25% 90%;
        background-size: 560%;
    }

    80.0001% { /* -- View 5 -- */
        background-position: 80% 10%;
        background-size: 500%;
    }

    100% {
        background-position: 72% 14%;
        background-size: 500%;
    }
}

@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1.2);
    }
    100% {
        transform: scale(1, 1);
    }
}

/* Hero section */
.hero {
    position: relative;
    height: calc(100vh - 90px);
    min-height: 700px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url("cover.jpg");
    background-position: 60% 50%;
    background-size: cover;
    filter: brightness(0.7);
}

.hero-caption {
    color: white;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1;
}

.hero-caption h3 {
    font-size: 4rem;
}

.hero-caption h3 span {
    font-family: initial;
}

/* Header */
header {
    background-color: var(--lwdmb-header-blue);
    padding: 2px 8px;
}

header svg {
    color: white;
    height: 3.5rem;
}

.navbar-toggler {
    border: unset;
    box-shadow: unset;
    color: white;
}

.navbar-toggler:focus {
    box-shadow: unset;
}

.navbar-nav .nav-link {
    color: white;
}

.dropdown-menu {
    background-color: transparent;
}

@media screen and (min-width: 992px) {
    .dropdown-menu {
        background-color: var(--lwdmb-header-blue);
    }
}

.dropdown-item {
    color: white;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: white;
    background-color: unset;
}

/* Intro section */
#intro {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

#intro h3 {
    margin-bottom: 1.5rem;
}

/* Countdown section */
#count-down {
    min-height: 100vh;
    background-image: url('calendar.jpg');
    background-position: center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

#count-down::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

#count-down .container {
    z-index: 2;
}

#count-down .std-date {
    font-size: 1.5rem;
    text-shadow: 0 0 6px #000000;
}

#count-down #clock {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#count-down #clock .box {
    width: 148px;
    height: 148px;
    margin: 5px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    background: rgba(158, 146, 130, 0.8);
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 600;
}

#count-down #clock .box span {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
}

.add-to-calendar {
    position: relative;
    text-align: center;
}

.calendar-buttons {
    display: flex;
    justify-content: center;
}

@media (max-width: 480px) {
    .calendar-buttons {
        flex-wrap: wrap;
    }

    .calendar-buttons a {
        width: 100%;
        margin-bottom: 14px;
    }
}

/* Heart section */
#heart {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

#heart img {
    width: 100%;
    mask: radial-gradient(at 70% 31%, #000 29%, #0000 30%),
    radial-gradient(at 30% 31%, #000 29%, #0000 30%),
    linear-gradient(to bottom, #000, #000) bottom / 100% 50% no-repeat;
    clip-path: polygon(-41% 0, 50% 91%, 141% 0);
}

/* When where section */
#when-where {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    background-color: var(--lwdmb-header-blue);
}

#when-where img {
    width: 100%;
}

#when-where svg {
    color: var(--lwdmb-sand);
    width: 2rem;
    height: 2rem;
}

/* Dress code section */
#dress-code {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

#dress-code p:first-of-type {
    margin: 0;
    padding: 0;
}

#dress-code .dress-code-type {
    font-weight: 600;
    font-size: 2rem;
}

#dress-code img {
    width: 100%;
}

#dress-code .dress-code-forbidden {
    font-weight: 600;
}

/* Additional info */
#additional-info {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.ad-info-title {
    font-weight: 600;
    font-size: 1.8rem;
    margin-top: 1rem;
    margin-bottom: 1.2rem;
    color: var(--lwdmb-header-blue-darker);
}

.ad-info-subtitle {
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

.ad-info-city {
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 1.3rem;
}

#additional-info ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin: 2rem 0 0 0;
}

#additional-info ul li {
    list-style: none;
}

#additional-info img {
    width: 150px;
}

#housing img {
    clip-path: circle();
    aspect-ratio: 1/1;
}

#housing ul li img {
    clip-path: unset;
    aspect-ratio: unset;
}

#recommendations a {
    text-decoration: none;
    color: inherit;
}

#recommendations a:hover {
    text-decoration: none;
    color: inherit;
}

#recommendations img {
    width: 100%;
    aspect-ratio: 6/2;
    object-fit: cover;
}

#recommendations svg {
    color: var(--lwdmb-header-blue);
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: .5rem;
}

#recommendations .text-on-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 6/2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-block: 1.3rem;
}

#recommendations .text-on-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5);
}

#recommendations .text-on-image p {
    color: white;
    font-weight: 600;
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
    width: 100%;
    z-index: 2;
    padding-inline: .2rem;
}

.separator {
    display: flex;
    padding-top: 2rem;
    padding-bottom: 2rem;
    align-items: center;
    justify-content: center;
}

.separator span {
    display: flex;
    width: 33%;
    align-items: center;
}

.separator svg {
    margin-inline: .7rem;
}

.separator span:before,
.separator span:after {
    display: block;
    content: "";
    border-bottom: 0;
    flex-grow: 1;
    border-top: 1px solid #000;
}

/* RSVP section */
#rsvp {
    margin-top: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    background-color: var(--lwdmb-header-blue);
}

.form-container {
    padding: 1.2rem 1.5rem;
}

.form-control {
    background: var(--lwdmb-sand);
    border-color: var(--lwdmb-header-blue-darker);
}

.form-control:focus {
    color: #495057;
    border-color: var(--lwdmb-header-blue-darker);
    outline: 0;
    box-shadow: 0 0 0 .2rem var(--lwdmb-header-blue-darker-25);
    background: var(--lwdmb-sand);
}

.form-group:has(:required) label:first-child:after {
    content: "*";
    font-family: initial;
}

.form-check-input {
    width: 0.85em;
    height: 0.85em;
    margin-top: 0.3em;
    border: 1px solid var(--lwdmb-sand);
    background-color: var(--lwdmb-sand);
}

.form-check-input:checked {
    background-color: var(--lwdmb-header-blue-darker);
    border-color: var(--lwdmb-header-blue-darker);
    box-shadow: 0 0 0 1px #fff, 0 0 0 .2rem var(--lwdmb-header-blue-darker-25);
}

.form-check-input:focus {
    border-color: var(--lwdmb-header-blue-darker);
    box-shadow: 0 0 0 1px #fff, 0 0 0 .2rem var(--lwdmb-header-blue-darker-25);
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group > label {
    font-weight: 500;
    margin-bottom: 0.3em;
}

.form-group input[type="text"],
.form-group textarea {
    padding: 10px;
}

.form-group textarea {
    resize: none;
}

.custom-radio {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
}

#form-button {
    padding: 10px 20px;
    background-color: var(--lwdmb-sand);
    border-radius: 1000px;
    color: black;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

/* footer section */
footer {
    margin-top: 10rem;
    padding: 3rem 0 7rem 0;
    background-color: var(--lwdmb-header-blue);
}

footer img {
    width: 20px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

footer a {
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    color: inherit;
}

.flags div {
    font-size: 30px;
    margin-left: 20px;
    cursor: pointer;
}

.flags span:nth-child(2) {
    font-size: 14px;
    margin-left: 5px;
    cursor: pointer;
}

.flags div:first-child {
    margin-left: 0;
}

