body {
    font-family: Arial, sans-serif;
    background-color: rgb(238, 234, 234);
    max-width: 600px;
    margin: 0 auto;
    padding: 20px; /* Optional: Add padding for better visual presentation */
}
.fjalla-one-regular {
    font-family: "Fjalla One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  

/* Quiz questions */
#quiz .questions {
    display: none; /* Hide individual questions initially */
    margin-top: 20px;
}

/* Show the first question */
#quiz .questions:first-child {
    display: block;
    
}
p {
    font-size: 2rem;
    
}

/* Label styling */
label {
    display: block;
    text-align: start;
    transition: color 0.3s, font-size 0.3s; /* Add transition for smooth animation */
}

/* Style when label is selected */
input[type="radio"]:checked + label {
    color: #7BA05B; /* Shrek Green color */
    font-size: calc(1rem + 0.5rem); /* Increase font size by 0.5rem */
}



/* Result container styling */
#resultContainer {
    text-align: center;
    margin-top: 20px;
}

#resultImage {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* Centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Maximum width */
    text-align: center;
}

/* Close Button */
.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

#resultImage {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.heading-box {
    background-color: rgba(255, 255, 255, 0.4); /* Semi-transparent white background */
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    color: black;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Soft shadow for glass effect */
}

