/* colors we can use */
/* 
black #2E2D1D
dark green #0C3C01
lighter green #5B6D49
lightest green #A2AC82
white #F1F2ED
our green #0A3D3A
creme #fdfff0
*/

@keyframes slide-in {
  0% {transform: translateY(-100%);}
  100% {transform: translateY(0);}
}
@keyframes slide-right {
  0% {transform: translateX(-100%);}
  100% {transform: translateX(0);}
}

@keyframes slide-left {
  0% {transform: translateX(100%);}
  100% {transform: translateX(0);}
}

@keyframes slide-down {
  0% {transform: translateY(-50%);}
  100% {transform: translateY(0);}
}

body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F1F2ED;
  color: #fdfff0;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 20px 0;
  background-color: #164E42;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 80px;
}

.navbar .nav-link {
  font-weight: normal; /* Ensure normal font weight for nav links */
}


#logo-image {
  width: 150px;
  padding-left: 4rem;
  display: flex;
  animation: slide-in 2s forwards;
}

h1 {
  margin: 0;
  font-size: 2.5em;
  font-weight: 600;
}

p {
  margin: 20px auto;
  max-width: 800px;
  font-size: 1.2em;
}

nav {
  background-color: #0A3D3A;
  padding: 10px 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: slide-in 2s forwards;

}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #2E2D1D;;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.2s;
}


main {
  padding: 20px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#resources {
  max-width: 5000px;
  display: flex;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 100px;
   
  
}

.resource-box {
  background-color: #A2AC82;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  color: #F7F7F7;
  transition: transform 0.2s, box-shadow 0.2s;
}

.resource-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  
}

.resource-box h3 {
  margin-top: 0;
  font-size: 1.5em;
}

.resource-box p {
  margin: 10px 0;
}

a {
  color: #DAA520;
  text-decoration: none;
}


footer {
  background-color: #0D5245;
  color: #F7F7F7;
  text-align: center;
  padding: 10px 0;
  width: 100%;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}


.menu{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 85% ;
  margin: auto;
  color: #fdfff0;
}

#banner-image{
width: 500px;
object-fit: cover;
justify-content: center;
margin: auto;
  border: 2px solid #DAA520;
  border-radius: 20px;
  padding: 10px;
  display: inline-block;
  animation: slide-in 2s forward;
}

.container{
display: flex;
color: #2E2D1D;
}

.navbar{
background: #F1F2ED;
margin: auto;
padding: 0.5rem 1.5rem;
  margin-left: 100px;
  margin-right: 100px;
border-radius: 1rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
color: #2E2D1D;
  
}

.nav-links{
  display: flex;
  gap: 2rem
}

.nav-link, .drop-down li{
list-style: none;
height: 100%;
padding: 0.5rem 1rem;
font-weight: 600;
cursor: pointer; 
}

a{
text-decoration: none;
color: currentColor;
}

.drop-down{
position: absolute;
padding: 0.5rem 0;
flex-direction: column;
margin: 0.5rem -0.5rem;
background: #A2AC82;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
border-radius: 0.5rem;
width: 150px;
display: none;
}

.nav-link:hover{
background-color: #A2AC82;
  border-radius: 0.5rem;
transition: 0.3s;
}
.resources:hover .drop-down{
  display:block;
transition-duration: 1s;
}

.dropDownItem:hover{
  text-decoration: underline;
}

/*tracker test drop down  */

.nav-link, .dropDownTracker li{
list-style: none;
height: 100%;
padding: 0.5rem 1rem;
font-weight: 600;
cursor: pointer; 
}

.tracker:hover .dropDownTracker{
  display:block;
transition-duration: 1s;
}

.dropDownTracker{
position: absolute;
padding: 0.5rem 0;
flex-direction: column;
margin: 0.5rem -0.5rem;
background: #A2AC82;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
border-radius: 0.5rem;
width: 150px;
display: none;
}
.dropDownTrackerItem :hover{
  text-decoration: underline;
}

.watchnow{
text-decoration: underline;
  color: #2E2D1D ;
cursor: pointer;
}

.readnow{
text-decoration: underline;
color: #2E2D1D;
cursor: pointer
}

.readnow:hover{
color: #DAA520
}
.watchnow:hover{
color: #DAA520
}

.title2{
color: #2E2D1D; 
font-size: 30px;
display: flex;
justify-content: center;
}

.depression h3{
color: #2E2D1D;
font-size: 20px;
display: flex;
justify-content: left;
margin: 5%
}

.depression p{
  color: #2E2D1D;
  font-size: 18px;
  display: flex;
  justify-content: left;
  margin: 5%;
  font-weight: 400;
  }

.depression{
  margin: auto;
  padding: 20px;
  display: flex;
  border-bottom: 10px;
}

.depression a{
  color: #2E2D1D;
  display: flex;
  justify-content: bottom;
  margin: 5%;
  font-weight: 400;
}

.depression a:hover{
  color: #DAA520;
  text-decoration: underline;
}

.disorders{
display: flex;
justify-content: space-evenly;
flex-direction: column;
margin-top: 4px;
}


.current {
  font-weight: bold;

}
