#bridge-container {
    position: relative;
    width: 100vw; /* Full viewport width */
    height: auto;
    display: flex;
    justify-content: center; /* Center the image */
    align-items: center;
    overflow: hidden; /* Prevents unwanted scrollbars */
}

#bridge {
    max-width: 90vw; /* Ensure it scales proportionally */
    height: auto;
    aspect-ratio: 1600 / 1026; /* Adjust based on your bridge image */
    display: block;
    border: 5px solid #241807; /* Border width, style, and color */
    border-radius: 10px; /* Optional: Rounds the corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Optional: Adds a soft shadow */
}

#lock-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/*.lock {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto; 
}
*/
.lock {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
}

#popup-overlay {
    display: none; /* Keep it hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

/* Letter-style popup */
#popup {
    background: #f5f0e1; /* Light paper color */
    border: 2px solid #c4a484; /* Aged paper border */
    padding: 20px;
    width: 400px;
    max-width: 80%;
    text-align: center;
    font-family: 'Georgia', serif;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    border-radius: 8px;
}

/* Close button */
#close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}
#close-popup:hover {
    color: red;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('heartsf.png'); /* Replace with your actual image file */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px); /* Adjust blur strength (lower = less blur) */
    z-index: -1; /* Keeps it behind everything else */
}

#title {
    font-size: 56px; /* Adjust the size */
    font-weight: bold; /* Optional: Makes it bolder */
    text-align: center; /* Optional: Centers the text */
}

#subtitle {
    font-size: 20px; /* Adjust this for the smaller text */
}
