body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-image: url('picture/background.jpeg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    
}

h1 {
    text-align: center;
}

p {
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.background {
    position: relative; 
    height: 100vh;  
    width: 100%;    
    padding: 20px;
    overflow: hidden; 
    color: black;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('picture/background.jpeg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    opacity: 0.3; 
    z-index: 0; 
    pointer-events: none;  

}

.background .content {
    position: relative;
    z-index: 3;  
    color: rgb(14, 12, 12);  
}

.container {
    max-width: 800px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    overflow-y: auto;
    padding-bottom: 40px;
}

#navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

#next-btn {
    background-color: #007bff;
    color: white;
    position: absolute;
    border: none;
    cursor: pointer;
    transition: all 1.2s ease-in-out;
}

#submit-btn {
    background-color: #4CAF50;
    color: white;
}

#options-container label {
    display: inline-block; 
    margin-right: 20px; 
}

#options-container label input[type="radio"] {
    margin-right: 10px; 
}

#placeholder-label {
    margin-bottom: 10px; 
}

#confirmation-textbox {
    margin-top: 10px; 
    padding-left: 5px;
    color: black; 

}

.modal-content {
    background-image: url('picture/modalbg.jpeg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    color: black;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    height: auto;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('picture/modalbg.jpeg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center; 
    min-height: 100vh; 
    margin: 0; 
}

.modal-body {
    padding: 20px;
    color: rgb(75, 6, 6);
}

.no-interaction * {
    pointer-events: none;
    user-select: none;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1049; 
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
}

#overlay:not(.hidden) {
    visibility: visible;
    opacity: 1;
}

#dynamic-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    background-color: #0c0b0b;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
}

#dynamic-popup:not(.hidden) {
    visibility: visible;
    opacity: 1;
}

#popup-image {
    max-width: 600px; 
    max-height: 600px; 
    width: auto;
    height: auto; 
    display: block;
    margin: 0 auto;
}