@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}



/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box ;    
}

a {
    text-decoration: none;
    color: inherit;
}


ul {
    list-style: none;
}

/* BASE STYLES */

.body_container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

h1 {
    padding: 15px 0px;
    text-align: center;
    
}


h2 {
    padding: 15px 0px;
    align-items: center;
    text-align: center;
}

h3 {
    padding: 5px 5px;
    align-items: center;
    text-align: center;
}

.p_indent {
    padding-left: 2em;
}

p {
    padding-bottom: 1em;
}

body {
    font-family: 'Roboto', san-serif;
    
}

/* NAV BAR */

.header {
    display: flex; 
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 30px;
    min-height: 100px;
    max-width:1440px; 

}

.header_content {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 1001;
    width:100%;
}

.logo__img {
    height: 100px;
    display: block;
}

.nav {
 z-index: 1000;  
}

.nav_list {
    display: flex;
    column-gap: 20px;
}

.nav_item {
    color:rgba(121, 59, 59, 0.8);
    /* background-color: rgba(213, 212, 227, .9); */
    padding: 7px 10px;  
}

.nav_link {
    color: rgba(43, 123, 37, 1);
    padding: 5px 5px;
}

.nav_link:hover,
.dropdown:hover .nav_link {
    background-color: rgba(45, 115, 60, 0.8);
}

.dropdown {
    position: relative;
}

.dropdown:hover .dropdown_list{
    display: block;
}

.dropdown_list {
    background: rgb(45, 115,60, 0.8);
    position: absolute;
    left: 0;
    top: 100%;
    min-width: max-content;
    box-shadow: 0 5px 10 px rgba(0,0,0, 0.75);
    display: none;
    z-index: 1100;
}

.dropdown_item {
    padding: 5px 5px;
    cursor: pointer;
}

.dropdown_link {
    color:aliceblue;
}

.dropdown_item:hover {
    background-color:rgb(8, 34, 34);
}


.section_hero {
  position: relative;
  display: block;
  width: 100%;
  background-image: url('images/background_image.jpg'); 
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  padding: 1rem; /* fixed */
}

.section_hero_content {
  position: absolute;
  top: 50%;
  left: 35%;
  max-width: 100%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: white;
   font-size: clamp(1rem, 1vw + 1rem, 1.5rem);
  line-height: 1.1;
}


.section_hero_content h2 {
  color: rgb(147, 223, 223);
  text-align: left;
  padding-left: 1em;

}

.section_hero_content p {
  color: white;
  padding-left: 2rem;  
}

/* cards with images for projects and techs */
.link_card {
    color:#06281b;

}
.card_image img {
    border-radius: 10px;
}
/* Laurentian */
.laurentian_section {
  position: relative;
  display: block;
  width: 100%;
  color: #06281b;
  background-image: url('images/laurentianlibrary.jpeg'); 
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  padding: 1rem; /* fixed */
}

.laurentian_content {
    z-index: 10;
}



/* section projects */
.section_projects {
    background-color: rgb(207, 230, 197);
    padding-bottom: 1rem;
}


.section_projects_content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
  justify-content: center;
  gap: 1em;
}

.section_techs {
    color:#06281b;
     background-color: rgb(168, 193, 159); 
     padding-bottom: 20px;  
}


.section_clients_content {
    background-color: rgb(136, 151, 130);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(.3rem, .5+1.5vw ,1.5rem);
   padding: auto;
}
.clients_title {
    color:#06281b;
    text-align: center;
    background-color: rgb(118, 151, 105);
}
.client_col{
    background-color: aliceblue;
    padding: 10px;
    margin: 10px;
    border: 1px solid #492323;
}
.client_col p {
    line-height: 1.3;
    padding: 0;
    margin: 5px;

}
.team_title {
    color: #06281b;
    text-align: center;
    background-color:#47724b;
}
.section_team {
    background-color: #47724b;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(.3rem, .5+1.5vw ,1.5rem);
    padding: auto;
}
.team_card {
    text-align: center;
    background-color:aliceblue;
    padding: 10 px;
    margin: 10px;
    border: 1px solid #b68383;
}

.team_photo {
    align-items: center;
    text-align: center;
}

#cattail_list {
    list-style-type: disc;
    margin-left: 3em;
    padding-bottom: .2em;
}

.footer {
    display: block;
    background-color: rgb(9, 58, 26);
    min-width: 90%;
}
.footer_container {
       color:aliceblue;
       text-align: center;
   /* display: flex;
 
    max-width: 95%;
    background-color: blue; */
    
}

@media (max-width: 650px) {
    .header_content {
        flex-direction: column;
        row-gap: 18px;
        padding: 25px 0;
    }

    .nav_list {
        column-gap: 10px;
    }
    
}


@media (max-width: 801px) {
  .section_hero_content {
    width: 90%;
    max-width: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    .nav_list {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .header_content {
        flex-direction: column;
        align-items: start;
    }

  }
}
@media (max-width: 499px) {
  /* 1. Center the container's children */
  .header_content {
    align-items: center !important;
    text-align: center;
  }
  ul.nav_list {
    flex-direction: column; /* Stack items vertically */
    align-items: center;    /* Keep them centered */
    width: 95%;
    /* gap: 15px;              Add some space between items */
  }
  .section_hero_content h2,
  .section_hero_content p {
    padding-left: 0%;
    text-align: left;
  }
}
