/* General styles */
body {
    margin: 0;
    font-family: "Shantell Sans", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "BNCE" 0,
    "INFM" 0,
    "SPAC" 0;
}

/* Container for the image */
.main-container {
    position: relative;
    width: 100%; /* Adjusts to parent container */
    max-width: 800px; /* Optional: Set max-width for the container */
    margin: 0 auto;
    overflow: hidden; /* Ensures no text spills out of container */
}

/* Responsive image */
.responsive-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Text overlay */
.text-overlay {
    position: absolute;
    pointer-events: none;
    color: #000;
    font-size: 4vw;
}

.text-header {
    font-size: 5vw;
    font-weight: bold;
    color: #c42a2a;
}

input, select, button, textarea {
    font-size: 4vw;
    pointer-events: initial;
    border: 2px #86d2d0 dashed;
}

input:active, input:active, textarea:focus, textarea:active {
    border: 2px #c42a2a solid;
}

button {
    font-weight: bold;
    font-size: 5vw;
    padding: 1vw 2vw;
    color: #c42a2a;
}

.error {
    background-color: #e6c5c5 !important;
}

.sent-letter-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #f0f0f0; /* Light grey background */
    margin: 0;
    padding: 0;
}

.sent-letter-container img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add shadow for a nice effect */
    margin-bottom: 20px; /* Add spacing between the image and text */
}

.sent-letter-container p {
    font-size: 1.5rem; /* Adjust the font size as needed */
    color: #333; /* Dark grey text for better contrast */
    margin: 0;
    text-align: center;
    max-width: 60%;
}

.hidden {
    display: none;
}
