


body{
    
  margin-top: 0.2vh;
  margin-left: 3vw;
  margin-right: 3vw;
  
  background-color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;

    
}

.navbarDiv{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    position: relative;

    font-family: 'Arial', sans-serif; /* A clean, modern font */

}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline; /* Aligns items at their text baseline */
    padding: 1vw;
    max-width: 40%;
}

.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1vw; /* Space between navigation items */
}

.nav-item .nav-link {
    text-decoration: none;
    color: #333; /* Darker text color */
    font-size: clamp(.4vh, 1.5vh, 1.5vh);
    padding-bottom: .5vh; /* Space for the underline */
}

.nav-item.active .nav-link {
    border-bottom: 2px solid #333; /* Underline for the active item */
}

.navbar-brand {
    font-size: clamp(.4vh, 2vh, 2vh); /* Larger font size for the brand name */
    font-weight: bold;
   
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    
}


.content {
    flex: 1; /* fills remaining vertical space */
    width: 95vw;
}

/*end of navbar css*/

/*start of title css*/

.titleDiv{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.titleDiv > * {
    margin-top: .2vh;
    margin-bottom: .2vh;;
}



/*endn of title css*/
/*red sash*/
.redSash{

  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background-color: #A45A52;
  min-height: 30vh;

  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

/*end of red sash but will come back to add the cards inside css*/

/*cards*/
.cardContainer{
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(400px, 1fr));
    justify-items: center;
    align-items: center;
    gap: 1vw;
  }



.article-card {
  width: 95%;
  height: clamp(10vh, 30vh, 100vh);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 300ms;
  margin-bottom: 1vh;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .content {
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  padding: 30px 20px 20px 20px;
  height: auto;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.article-card .date,
.article-card .title {
  margin: 0;
}

.article-card .date {
  font-size: clamp(.5vh, 1.1vw, 1.2vh);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.article-card .title {
  font-size: clamp(.5vh, 1.2vw, 1.3vh);
  color: #fff;
}
