/* all general styling resides here! */

p{
  font-size: 16px;
  font-family: "General Sans", sans-serif;
}

h1{
  color: rgb(13, 36, 21);
  font-size: 50px;
  font-family:"Sentient", serif;
}

h2{
  color: rgb(13, 36, 21);
  font-size: 40px;
  font-family:"Sentient", serif;
}

h3{
  color: rgb(13, 36, 21);
  font-size: 32px;
  font-family:"Sentient", serif;
}

h4{
  color: rgb(13, 36, 21);
  font-size: 25px;
  font-family:"Sentient", serif;
}

h5{
  color: rgb(13, 36, 21);
  font-size: 20px;
  font-family:"Sentient", serif;
}

body{
  margin: 0;
  padding: 0;
  background-color: rgb(204, 217, 208);
  display: flex;
  flex-direction: column;
  min-height: 110vh;
  overflow-x:hidden;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  display: flex;
  align-items: center;
  width: 40px;
  height: 40px;
  white-space: nowrap;
  transition: width 0.4s ease;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 0 10px;
}

/* Expand the list item first */
li:hover {
  width: 160px;
}

/* Default hidden state for the paragraph */
li p {
  margin: 0 0 0 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Fade in the paragraph when li is hovered */
li:hover p {
  opacity: 1;
  visibility: visible;
  /* Adds a slight delay so text fades in after the box expands */
  transition-delay: 0.1s; 
}


a{
  color: white;
  font-size: 16px;
  font-family: "General Sans", serif;
  text-decoration: none;
}
a:visited{
  color: white;
}
a:hover{
  color: rgb(211, 209, 209);
}
a:active{
  color: white;
}

.welcome{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: rgb(13, 36, 21);
  min-height: calc(100vh);
  padding: 5rem 1.5rem 2rem;
  box-sizing: border-box;
}

.welcome > * {
  margin: 0 0 0.5rem;
}

.fancy-image {
  width: min(100%, 500px);
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(13, 36, 21, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.7);
}

/* Navbar Wrapper */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: white;
  color: rgb(13, 36, 21);
  border-bottom: 1px solid rgba(0, 0, 0, 0.714);
  padding: 10px 24px;
  z-index: 1000;
  box-sizing: border-box;
}

/* Flex Container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: center;
  width: 100%;
  height: 100%;
}

.footer {
  width: 100%;
  max-width: 100%;
  height: 100px;
  background-color: rgba(13, 36, 21, 0.85);
  color: rgb(250, 250, 250);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-sizing: border-box;
}

/* Flex Container */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: white;
  justify-content: center;
  color: black;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.dropdown-content {
  display: none;
  font-size: 16px;
  position: absolute;
  background-color: white;
  min-width: 60px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  margin-left: 10px;
}

/* Links inside the dropdown menu */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of links when you hover over them */
.dropdown-content a:hover {
  background-color: white;
  color: grey;
}

/* MAGIC HAPPENS HERE: Show the menu when hovering over the container */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Optional change to main button background on hover */
.dropdown:hover .dropbtn {
  background-color: white;
}