@font-face {
    font-family: 'chapbook';
    src: url('../font/chapbook.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'chapbook', Courier, monospace;
}

#body-text-bg {
    position: relative;
    isolation: isolate;
}

#body-text-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../img/hearts2.png');
    background-size: 100rem 80rem;
    background-repeat: repeat;
    background-position: top left;

    filter: blur(3px);
    transform: scale(1.1);
    z-index: 0;
}

#body-text-bg > * { position: relative; z-index: 1; }

#body-text {
    border-radius: 15px;
    margin: 8vw;
    padding: 5vw;
    background-color: black;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.99);
}

hr {
    margin: 10px 0;
}

b {
    color: pink;
}

.polaroid-row {
    display: flex;
    gap: 2rem;            
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;        
}


.polaroid {
    width: 35%;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.polaroid:nth-child(1) { transform: rotate(-2deg); }
.polaroid:nth-child(2) { transform: rotate(2deg); }
.polaroid:nth-child(3) { transform: rotate(-2deg); }
.polaroid:nth-child(4) { transform: rotate(-5deg); }

img {
    width: 100%;
}

.img-container {
    padding: 1rem 1rem 2rem 1rem;
}

.img-container h3 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 3vw;
    text-align: center;
    padding-top: 2rem;
    color: black;
}

#bottom-text, #sign {text-align: center;}

#sign {
    margin-top: 20px;
    font-family: 'signature', Courier, monospace; 
    font-size: 5rem;
}