* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Set minimum height to fill the viewport */
}

/* Header/logo Title */
.header {
  padding: 2vw;
  text-align: center;
  background: #26272b;
  color: white;
}

/* Increase the font size of the heading */
.header h1 {
  font-size: 3vw;
  display: inline;
}

/* Sticky navbar */
.navbar {
  overflow: hidden;
  background-color: #33363b;
  position: sticky;
  position: -webkit-sticky;
  display: block;
  top: 0;
  margin-left: 10%;
  margin-right: 10%;
  z-index: 1000; /* Ensure navbar appears above content */
}

/* Padding before nav text is displayed */
body .navbar {
  padding-left: 1%;
}

/* Style the navigation bar links */
.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 1vw 1vw;
  text-decoration: none;
}

/* Right-aligned link */
.navbar a.right {
  float: right;
}

/* Change color on hover */
.navbar a:hover {
  transition: transform .2s;
  transform: scale(1.05);
  background-color: #006bde;
  color: white;
}

/* Active/current link */
.navbar a.active {
  background-color: #0053cc;
  color: white;
  transition: transform .1s;
}

/* Column container */
.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  flex: 1; /* Take remaining vertical space */
  padding-bottom: 50px; /* Ensure space above footer */
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  -ms-flex: 30%; /* IE10 */
  flex: 0 0 15%;
  background-color: #f1f1f1;
  padding: 1% 2%;
  margin-left: 10vw;
  box-shadow: 1px 1px rgba(0,0,0,0), -0.01em 0 0.1em #26272b;
}

/* Main column */
.main {
  flex: 1;
  background-color: white;
  margin-right: 10vw;
  box-shadow: 0.01em 0.01em 1px #26272b;
  padding: 2vw;
}

/* Footer */
.footer {
  font-family: Helvetica, sans-serif;
  padding: 10px;
  font-size: 10px;
  text-align: right;
  background: #ddd;
  width: 100%; /* Ensure footer spans the width of the page */
  position: relative; /* Fixed positioning for footer */
  bottom: 0; /* Position footer at the bottom of the viewport */
}

.proj-img-format {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  box-shadow: 0 0 0.2rem 0.1rem #727272;
}

/* Responsive layout - when the screen is less than 700px wide */
@media screen and (max-width: 700px) {
  .row {
    flex-wrap: wrap; /* Allow items to wrap */
  }

  .navbar {
    text-align: center; /* Center the navigation items */
    
  }

  .navbar a {
    display: inline-block; /* Make navigation items stack vertically */
    width: 100%; /* Take up full width */
    padding: 1vw 1vw; /* Adjust padding */
  }

  .dropdown {
    display: block; /* Ensure dropdowns stack vertically */
    text-align: center; /* Center dropdown items */
    margin-left: 27vw;
  }
}

/* Responsive layout - when the screen is less than 400px wide */
@media screen and (max-width: 400px) {
  .proj-img-format {
    width: 100%; /* Adjust image size to fit smaller screens */
    height: auto; /* Maintain aspect ratio */
  }
}

p a {
  color: #006bde; /* Change the text color */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make the text bold */
  cursor: pointer; /* Show pointer cursor on hover */
  font-size: 15px;
}

h5 a {
  color: #006bde; /* Change the text color */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make the text bold */
  cursor: pointer; /* Show pointer cursor on hover */
  font-size: 15px;
}

h3 a {
  color: #006bde; /* Change the text color */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make the text bold */
  cursor: pointer; /* Show pointer cursor on hover */
}

.blued {
  color: #006bde;
  display: inline;
  font-size: 15px;
  font-style: bold;
}

.list-items {
  margin-left:5%;
}

hr {
  border: none; 
  height: 2px;
  background-color: #cdcdcd;
  margin: 20px 0;
}

.dropdown {
  float: left;
  overflow: hidden;
  position: relative;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  text-align: center;
  padding: 1vw 1vw;
  background-color: inherit;
  font-family: inherit;
  margin: auto;
}

.dropdown:hover .dropbtn {
  background-color: #006bde;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: fixed;
  background-color: #f9f9f9;
  min-width: 2vw;
  height: auto;
  box-shadow: 1px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top: 0.01rem;
  transform: scaleY(1);
  transition-duration: 10ms;
}

.dropdown-content a {
  float: none;
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #006bde;
}

.dropdown:hover .dropdown-content {
  display: block;
  background-color: #26272b;
}
