@font-face {
  font-family: "Dosis";
  src: url("fonts/dosis.ttf");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Maiden";
  src: url("fonts/maiden.ttf");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Dosis", sans-serif;
  color: #333;
  background-color: #f0f0f0;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("images/icon.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.cont {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Write a CSS style that expands horizontally on click */
.expand {
  width: 100px;
  transition: width 2s;
}
/* 
#menu{
    display: flex;
    font-family: 'Dosis';
    font-size: 20px;
    background-color: #BFBFBF;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
} */

#menu {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin-bottom: 40px;
  background-color: rgb(140, 209, 140);
  height: 70px;
  font-size: 25px;
}



#menu-button {
  background-color: #bfbfbf;
  font-family: "Dosis", sans-serif;
  font-size: 20px;
  font-weight: bolder;
  margin-right: 2vw;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 5px;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
}

.custom_nav_root {
            background-color: #013220 !important;
            border-radius: 8px;
            margin: 10px 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .navbar-nav {
            width: 100%;
            justify-content: center;
        }

        .nav-list {
            position: relative;
            overflow: hidden;
            margin: 0 15px;
            padding: 0;
            border-radius: 4px;
        }

        /* Rising color effect */
        .nav-list::before {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 0;
            background-color: chartreuse;
            transition: height 0.4s cubic-bezier(0.65, 0, 0.35, 1);
            z-index: 0;
            border-radius: 4px;
        }

        .nav-list:hover::before {
            height: 100%;
        }

        .nav-link {
            position: relative;
            color: white !important; /* Override Bootstrap default */
            font-family: "Dosis", sans-serif;
            font-size: 1.2rem;
            font-weight: bold;
            padding: 1rem 1.5rem !important;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.2s ease;
            z-index: 2;
        }

        .nav-list:hover .nav-link {
            color: black !important; /* Change to black on hover */
        }

h1,
h2,
h3 {
  font-family: "Maiden", sans-serif;
  color: green;
}

.large_header {
  display: flex;
  font-size: 60px;
  font-family: "Maiden";
  color: green;
  margin: 10px;

  align-items: center;
  justify-content: center;
}
.small_header {
  display: flex;
  font-size: 26px;
  font-family: "Dosis";
  align-items: center;
  justify-content: center;
}

body {
  padding: 10px;
}

/* h1 {
    color: green;
    text-align: center;
    font-size: 55px;
} */
form {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: 0 auto;
}
input,
textarea {
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: green;
  color: white;
  cursor: pointer;
}
p {
  text-align: center;
  font-size: 20px;
}

.custom_nav_root {
  background-color: #013220 !important;
}

.question-form {
  width: 100%;
  max-width: 700px;
}

.submission-message {
  color: #0f5132;
  font-weight: bold;
}

.qa-card {
  border: 1px solid #cfe2d2;
  border-left: 6px solid #0f5132;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
  background-color: #f8fffa;
}

.qa-date {
  font-size: 14px;
  margin-bottom: 8px;
  color: #1f5136;
  text-align: left;
}

.qa-question {
  color: #135d37;
  margin-bottom: 8px;
}

.qa-answer {
  text-align: left;
  margin: 0;
}
