bodyGradient {
    background: linear-gradient(to right, white, lightgreen);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: url('/static/images/background.jpg') no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the entire screen */
    position: relative;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    position: relative; /* Ensures content is above the occlusion */
    z-index: 1; /* Content is above the occlusion */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(59, 148, 36, 0.815), rgba(255, 255, 255, 0.75)); /* Light yellow to white gradient */
    color: black;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.navbar a {
    color: rgb(4, 29, 3);
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.5s ease;
}

.navbar a:hover {
    background-color: rgba(255, 174, 0, 0.50);
}

.MainHeader {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    padding: 125px 0 75px 0;
    font-size: 4rem;
    color: #003504;
    font-weight: bold;
}

.MainText {
    text-align: center;
    font-size: 1.8rem;
    color: #003504;
    line-height: 2;
}


.header {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    padding: 105px 0;
    font-size: 3rem;
    color: #003504;
}

.subheader {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    padding: 25px 0;
    font-size: 2.5rem;
    color: #003504;
    text-decoration: underline;
}

.text {
    text-align: center;
    font-size: 1.8rem;
    color: #003504;
    line-height: 2;
    padding: 0 5%; /* 0 for top and bottom, 20px for left and right */
}

.list {
    text-align: center;
    font-size: 1.5rem;
    color: #003504;
    line-height: 1.3;
}

.occlusion {
    position: fixed; /* Fixed ensures it stays above the background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows interactions with content above it */
    background: linear-gradient(to top, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)); /* Gradient from solid white to 33% transparent white */
    z-index: 0; /* Ensure it only affects the background */
}


/* Center the form and its elements */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 80%;
    max-width: 600px;
    padding: 20px;
    border: 2px solid #003504;
    border-radius: 10px;
    background-color: #f8f9fa;
}

/* Style question labels */
.label {
    text-align: center;
    font-size: 1.8rem;
    color: #003504;
    font-weight: bold;
    line-height: 2;
}

/* Style answer options */
.options {
    text-align: left;
    margin-left: 10px; /* Add slight indentation for radio options */
}

.option-label {
    font-size: 1.2rem;
    color: #333;
    margin-left: 5px;
}

/* Ensure radio buttons are left-aligned with options */
input[type="radio"] {
    margin-right: 10px;
}

/* Textarea and submit button styles */
textarea, button {
    margin: 10px 0;
    width: 90%;
}

button {
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #fff;
    background-color: #003504;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #004d05;
}

.text-content {
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden; /* Default to hidden */
    padding: 0;
}

.text-content.hidden {
    max-height: 0;
    opacity: 0;
    visibility: hidden; /* Ensure it's hidden from focus and hover */
    padding: 0; /* Remove padding when hidden */
}

.text-content.visible {
    max-height: none;
    opacity: 1;
    visibility: visible; /* Make it focusable and hoverable */
    padding: 1rem; /* Adjust for your layout */
}

#icon-tipy:hover {
    cursor: pointer;
  }

  .tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 500px;
    background-color: #003504;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    opacity: 0;
    transition: opacity 0s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

