html, body {
    margin: 0;
    padding: 0;
    height:100%;
    width:100%;
    overflow-x: hidden;
    background-color: rgb(245, 233, 219);
}
.decor {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.photos {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    
    object-fit: cover;
    
}
.avocado {
    position:absolute;
    top: 60px;
    right: 15%;
    transform: rotate(7deg);
}

.flowers {
    position:absolute;
    top: 80px;
    left: 15%;
    transform: rotate(-5deg);

}
.flowers2 {
    position: absolute;
    bottom: 40px;
    right: 15%;
    transform: rotate(12deg);
}
.cherry {
    position: absolute;
    bottom: 60px;
    left: 15%;
    transform: rotate(-8deg);
}
.olives {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: auto;
    transform: rotate(20deg);
    z-index: 0;
    pointer-events: none;
}
.letter {
    color:rgb(0, 0, 0);
    font-size: 1em;
    font-family: 'Tagesschrift', sans-serif;
    text-align:center;
    border-width: 2px;
    border-radius: 20px;
    border-color: rgb(255, 136, 0);
    border-style: solid;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    width: 85%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.heading {
    font-family: "Playfair Display", serif;
    font-size: 2em;
    text-align: center;
}
.heading h1 {
    transform: translateY(20px);
    margin-bottom: 20px;
}
.fl-o {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}
.foot {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    height: auto;
    margin: 0;
    object-position: bottom;
    padding: 0;
    display: block;
    justify-content: center;
    z-index:1;
    vertical-align: bottom;
    pointer-events: none;
}
.footer p{
    font-size: 0.8em;
    color: rgba(0,0,0,0.7);
    background-color: rgba(255,255,255, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 6px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: max-content;
    display: inline-block;
    transform: translateY(-30px);
    pointer-events: auto;
    font-family: "Playfair Display", sans-serif;
    letter-spacing: 0.5px;
}
.footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    pointer-events: none;
    line-height: 0;
}
body {
    background-color: rgb(245, 233, 219);
}

@media screen and (max-width: 600px) {
    .letter {
        width: 85%;
        padding: 15px;
        font-size: .9em;
        margin: 10px auto;
        max-height: 80vh;
    }
    .heading {
        font-size: 1.5em;
        padding: 5px;
    }
    .photos {
        width: 100px;
        height: 100px;
    }
    .foot {
        height: 150px;
    }
    .footer p{
        font-size: 0.7em;
        padding: 4px 10px;
        transform: translateY(-20px);
    }
}