body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    background-color: whitesmoke;
    margin-top: 6px;
    margin-left: 5px;
    margin-right: 5px;
}

.wrapper-generic {
    background-color: white;
    border-width: 1px;
    border-style: solid;
    border-color: lightgray;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 8px;
}

h1 {
    color: black;
    background: linear-gradient(to right, rgba(79, 195, 247, 0.5), transparent 80%);
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 0px;
    padding: 12px;
    border-radius: 8px;
}


.main-menu-container {
    width: 100%;
    padding: 0px; 
    border-radius: 0px; 
    margin-top: 0px;
    margin-bottom: 6px;
}

.top-menu {
    display: flex;
    width: 100%;
}

.icon-button {
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightgray;
    border: none;
    color: white;
    cursor: pointer;
    height: 45px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 8px;
}

/* Move the icon itself inside the button */
.icon-button span {
    font-size: 40px; /* Larger icon size */
    transform: translateY(2px); /* Move the icon up by 5px */
    display: inline-block;
}

.menu-button {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, plum, purple); 
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    height: 45px;
    padding: 0;
    margin-left: 6px; 
    border-radius: 8px; 
    text-decoration: none;
}

.logged-out .menu-button {
    flex-grow: 1;
    margin-left: 6px;
    width: calc(100% - 66px); 
    justify-content: center;
    background: #4fc3f7;
    color: white; 
    cursor: default;
}

.menu-container {
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    background-color: white;
    width: 60%;
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    border: 3px solid lightgray;
    border-radius: 8px;
}
.menu-container a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 16px;
    background: linear-gradient(to right, rgba(79, 195, 247, 0.5), transparent 80%);
    border-radius: 8px;
    margin: 5px;
    border: 1px solid gray;
    font-weight: bold;
}
.menu-container a:hover {
    background: gold;
}
.footerdiv {
    font-size: 12px;
    color: darkgray;
    margin-top: 2px; /* Remove margin from all footerdiv elements */
    padding: 0px;
    text-align: center;
}
.footerdiv.top {
    margin-top: 10px; /* Add margin to the top div */
}
.footerdiv a {
    text-decoration: none;
    color: darkgray;
}
.footerdiv a:hover {
    text-decoration: underline;
}
.button-green-wide {
    font-size: 16px;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.button-green-wide:hover {
    background-color: #218838;
}
.rainbowbubble {
    background: linear-gradient(
    to right,
    rgba(255, 0, 0, 0.3),  /* red with 80% opacity */
    rgba(255, 165, 0, 0.3), /* orange with 80% opacity */
    rgba(255, 255, 0, 0.3), /* yellow with 80% opacity */
    rgba(0, 128, 0, 0.3),   /* green with 80% opacity */
    rgba(0, 0, 255, 0.3),   /* blue with 80% opacity */
    rgba(75, 0, 130, 0.3),  /* indigo with 80% opacity */
    rgba(238, 130, 238, 0.3)/* violet with 80% opacity */
    );
    color: black;
    width: calc(100% - 15px);
    border-radius: 8px;
    padding: 8px;
    display: inline-block; /* Ensures the bubble only takes up as much width as its content */
}
.goldbubble {
    background-color: gold;
    color: black;
    border-radius: 8px;
    padding: 10px;
    display: inline-block; /* Ensures the bubble only takes up as much width as its content */
    margin-right: 0px;
}
.redbubble {
    background-color: red;
    color: white;
    border-radius: 8px;
    padding: 10px;
    display: inline-block; /* Ensures the bubble only takes up as much width as its content */
    margin-right: 0px;
}
.text-input-field {
    border: 1px solid #ccc; /* Border color */
    border-radius: 8px; /* Rounded corners */
    padding: 10px; /* Space inside the input */
    font-size: 16px; /* Text size */
    outline: none; /* Remove default outline */
    transition: border-color 0.3s ease; /* Smooth transition for border color */
    margin-top: 5px;
    width: calc(100% - 20px); /* Full width minus 5px */
  }
.text-input-field:focus {
    border-color: #66afe9; /* Change border color when focused */
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.5); /* Optional shadow when focused */
}
.text-question {
    color: black;
    background: lightgray;
    padding: 6px;
    display:inline-block;
    margin: 0px 0px 5px 0px;
    border-radius: 8px;
}
/* Set the width of the dropdown */
.dropdown {
    margin-top: 6px;
    width: 60%; /* Set to desired width in pixels */
    height: 40px;
    padding: 8px; /* Optional: Adds some padding */
    font-size: 16px; /* Optional: Adjusts font size */
}