@font-face {
    font-family: 'Luxurious Script';
    src: url('LuxuriousScript-Regular.ttf') format('truetype');
}

h1,
h2 {
    font-family: 'Luxurious Script', cursive;
    font-weight: normal;
}

h1,
h2 {
    font-size: 400%;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: rgb(255, 233, 207);
    margin: 0;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    opacity: 0.3;
    z-index: -1;
}

.decoracionesquina {
    position: absolute;
    width: 585px;
    height: 390px;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10;
}

.decoracionesqder {
    top: 0;
    right: 20px;
    background-image: url(decoes.png);
}

.decoracionesqinfizq {
    bottom: 0;
    left: 20px;
    background-image: url(decoesqinferiorizquierda.png);
}

.parallax-lateral {
    position: absolute;
    width: 140px;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.lat-izq {
    left: 0;
    top: 0;
    bottom: 260px;
    -webkit-mask-image: linear-gradient(to top, transparent, black 75px);
    mask-image: linear-gradient(to top, transparent, black 75px);
}

.lat-der {
    right: 0;
    top: 180px;
    bottom: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 75px);
    mask-image: linear-gradient(to bottom, transparent, black 75px);
}

.hoja {
    position: absolute;
    width: 70px;
    height: 70px;
    background-image: url(lateral.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    will-change: transform;
}

header, main, .caja-ubicacion {
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.8);
    width: 50%;
    max-width: 600px;
    box-sizing: border-box;
}

header {
    border-radius: 40px;
}

header p .fecha-evento {
    display: block;
    font-weight: bold !important;
    font-size: 1.8rem !important; 
    margin-top: 15px;
    color: #8b5e3c;
    line-height: 1.2;
}

.caja-final {
    margin-bottom: 300px;
}

.caja-revelar {
    opacity: 0.1;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.btn-mapa {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #d2b89f;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-family: inherit;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.btn-mapa:hover {
    background-color: #bfa388;
    transform: scale(1.05);
}

.imgisa {
    width: 60%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.lista-personas {
    list-style-position: inside;
    padding: 0;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width:768px) {
    h1 {
        font-size: 16vw;
        margin: 10px 0;
    }

    h2 {
        font-size: 10vw;
        margin: 10px 0;
    }

    header,
    main,
    .caja-ubicacion {
        width: 80%;
        padding: 25px;
        margin: 15px auto;
    }

    .caja-final {
        margin-bottom: 180px;
    }

    .decoracionesquina {
        width: 234px;
        height: 234px;
    }

    .parallax-lateral {
        width: 100px;
    }

    .lat-izq {
        bottom: 240px;
    }

    .lat-der {
        top: 108px;
    }

    .decoracionesqder {
        top: 0;
        right: 20px;
    }

    .decoracionesqinfizq {
        bottom: 0;
        left: 20px;
    }

    header p .fecha-evento {
        font-size: 1.2rem !important;
    }
}