/* Styling for Capture Your Moment text */
h2.text-center {
    font-family: 'Courgette', cursive; /* Elegant font */
    font-size: 36px; /* Font size */
    color: #b56969; /* Soft romantic color */
    margin-bottom: 20px; /* Space below the heading */
    text-transform: uppercase; /* Uppercase for elegance */
}

/* Camera container */
.camera-container {
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center items */
    margin: 20px auto;
}

/* Video container */
.video-container {
    text-align: center; /* Center align text */
    margin-right: 20px; /* Space between video and photo */
}

/* Align button directly below the video */
#snap {
    background-color: #b56969; /* Button background color */
    color: white; /* Button text color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    padding: 12px 20px; /* Increased padding for better size */
    font-size: 18px; /* Slightly larger font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth background transition */
    margin-top: 10px; /* Reduced space above button */
    display: block; /* Make it a block element for proper alignment */
    width: 100%; /* Full width on smaller screens */
    max-width: 200px; /* Limit max width on larger screens */
}

/* Hover effect for Take Photo button */
#snap:hover {
    background-color: #a55858; /* Darker shade on hover */
}

/* Photo container */
.photo-container {
    text-align: center; /* Center align photo and button */
}

/* Styling for the photo */
#photo {
    margin-top: 10px;
    max-width: 100%; /* Ensure it fits the container */
    border-radius: 10px; /* Rounded corners for the photo */
}

/* Watermark */
.watermark {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white; /* Change to a color that contrasts well */
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Shadow for better visibility */
}

/* Styling for Download Photo button */
#download {
    background-color: #b56969; /* Button background color */
    color: white; /* Button text color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    padding: 12px 20px; /* Increased padding */
    font-size: 18px; /* Consistent font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth background transition */
    margin-top: 10px; /* Space above button */
    display: inline-block; /* Ensure it respects margin and padding */
}

/* Hover effect for Download Photo button */
#download:hover {
    background-color: #a55858; /* Darker shade on hover */
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .camera-container {
        flex-direction: column; /* Stack elements on smaller screens */
        align-items: center; /* Center elements */
    }

    .video-container {
        margin-right: 0; /* Remove margin for stacked layout */
        margin-bottom: 20px; /* Space below video */
    }

    /* Button responsive styling */
    #snap {
        width: 100%; /* Full width on small screens */
        max-width: none; /* Remove max width for small screens */
    }
}
