/* LOOK INTO FLEXBOX W3SCHOOLS */


/* Add your CSS styles here */
body {
    font-family: Arial, sans-serif;
    margin: 0px;
    padding: 0px;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: #fff;
    text-align: left;
    padding-left: 20px;
    padding-top: 1px;
    padding-bottom: 1px;
}

main {
    padding: 1em;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    bottom: 0;
    width: 100%;
    overflow: hidden; /* Hide overflowing content */
    bottom: 0;
    position: reletive;
    min-height: 30px;
}

.navbar {
    background-color: #333333dc; /* Background color */
    overflow: hidden; /* Hide overflowing content */
    justify-content: space-evenly;
    padding: 12px;
  }
  
  /* Style the navigation bar links */
  .navbar a {
    /*float: left; /* Float the links to the left */
    /*display: block; /* Make them block elements for better spacing */
    color: #fff; /* Text color */
    /*text-align: center; /* Center-align the text */
    padding: 14px 16px; /* Padding around each link */
    text-decoration: none; /* Remove underlines from links */  }
  
  /* Change link color on hover */
  .navbar a:hover {
    background-color: #ddd; /* Background color on hover */
    color: #333; /* Text color on hover */
  }
  
  /* Responsive Navigation Bar Styles */
  
  /* Style the navigation bar links for smaller screens */
  @media screen and (max-width: 600px) {
    .navbar {
      flex-direction: column;
    }

    .navbar a {
      float: none; /* Remove float for stacked links */
      display: block; /* Display as block elements */
      text-align: left; /* Left-align the text */
    }
  }

  .navbar ul, li {
    all: unset;
  }

  div {
    text-align: left;
  }

  .centered {
    text-align: center;
    justify-content: center;
  }

  .left {
    text-align: left;
    padding-left: 20px;
  }

  .bullets {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .centered-header{
    text-align: center;
    margin: 0;
  }

  .container {
    display: flex; /* or inline-flex */
    flex-flow: row wrap;
    justify-content:space-evenly;
    padding: 0;
    /* margin-left: 5%; */
    /* margin-right: 5%; */
    list-style: none;
    align-items:center;
  }

  .card{
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding: 0;
    /* margin-left: 2%; */
    /* margin-right: 2%; */
    list-style: none;
    align-items: center;
  }

  .textbox {
    display: flex;
    flex-flow: column;
    justify-content: center;
    flex-shrink: 1;
    padding: 5px 20px 5px 20px;
    max-width: 1310px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    line-height: 1.5;
  }

  .flex-head{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    /* align-items: right; */
  }
  
  .flex-head h1{
    padding-right: 20px;
  }

  .item-frame {
    /* background: #b9b9b9; */
    flex-shrink: 0;
    padding: .75%;
    margin: 1rem 1rem 0rem 1rem;
    width: 325px;
    height: 325px;
    color: black;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
  }

  .item-frame img {
    background: #333;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit:cover;
  }

  .project-frame {
    /* background: #b9b9b9; */
    flex-shrink: 0;
    padding: .75%;
    margin: 1rem 1rem 0rem 1rem;
    width: 200px;
    height: 200px;
    color: black;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
  }

  .project-frame img {
    background: #333;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit:cover;
  }

  .caption {
    padding: 5px;
    border-radius: 10px;
    background-color: #333;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: larger;
  }

  .item-textbox {
    padding: 0rem;
    margin: 0rem;
    flex: 1 1;
    color: black;
    font-size: larger;
    width: 325px;
  }

  .project-textbox {
    padding: 0rem;
    margin: 0rem;
    flex: 1 1;
    color: black;
    width: 325px;
  }

  .nomargin{
    margin: 0;
    padding: 0;
  }

  .subtext {
    font-size: large;
    color: rgb(75, 75, 75);
  }

  .justify {
    text-align: justify;
  }

  .text-footer {
    font-size: small;
    color: rgb(184, 184, 184);
  }

  .name {
    font-size: x-large;
    color: rgb(0, 0, 0);
  }

  .bold {
    font-weight: bold;
  }

  .small {
    font-size: medium;
  }

  main {
    flex: 1;
    /* background-image: url(Images/carbon_background.jpg); */
    padding-bottom: 2%;
    /* background-size: cover; */
    /* background-repeat:space; */
    /* background-color: rgba(255,255,255,.2); */
  }

/* div {
    background-color: rgba(255, 38, 0, 0.226);
}

.p1 {
    background-color: black;
    color: #fff;
}

#top {
    font-size: 30px;
} */


/*EVERYTHING ABOVE IS DEPRICATED. FROM NOW ON, USE WHAT IS BELOW HERE.*/

  .text {
    line-height: 1.5;
  }


  .image-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.image-item {
    flex: 1 1 auto; 
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}