* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #F5F5F5;
    /* border: solid red 1px; */
  }
p.{
  text-decoration: none;
  
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(18, 18 , 18);
}
.container {
    padding: 20px 3%;
}
/* Nav bar styles */
.bg-image {
  display: flex;
  position: relative;
}
.bg-image img {
  max-width: 100%;
  height: auto;
  box-shadow: inset 0px 0px 50px 0px rgba(0,0,0,0,9)
}
.nav-container {
  position: absolute;
  margin: 0px;
  width: 100%;
  z-index: 1;
}
.navbar {
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    /* border: solid red 1px; */
    padding: 8px 0;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.30), rgba(0,0,0,0));
}
.navbar img{
  width: 200px;
  height: auto;
  /* border: solid red 1px; */
}
.navbar a {
    float: left;
    display: flex;
    color: #F5F5F5;
    align-items: center;
    align-content: center;
    padding: 14px 16px;
    text-decoration: none;
    /* border: solid red 1px; */
}
.navbar a:hover {
    background-color: #ddd;
    color: black;
}
.header-blurb {
  position: absolute;
  bottom: 35%;
  left: 0;
  width: 100%;
  color: #F5F5F5;
  text-align: center;
  padding: 20px;
  text-shadow: 0 3px 3px black;
}

.portfolio-dropdown {
  float: left;
  overflow: hidden;
  display: flex;
  align-items: center;
  align-content: center;
}

/* Dropdown button */
.portfolio-dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}
/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.portfolio-dropdown:hover .dropdown-content {
  display: block;
}

/* Image Gallery Styles */
.image-gallery {
    /* Mobile first */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .image-gallery .column {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    /* border: solid red 1px; */
  }
  .column img{
    width: 100%;
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
  }
  
/* overlay styles */

.image-item {
    position: relative;
    cursor: pointer;
  }
  
  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    /* center overlay content */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* hover */
  /* .image-item:hover .overlay {
    transform: scale(1);
  }   */

/* Adjust for uneven images in the last row */
@media only screen and (min-width: 768px) {
  .image-gallery {
    flex-direction: row;
  }
  .MobileHeader{
    display: none;
  }
  .mobileNavBar{
    display: none;
  }
}
  
@media screen and (max-width: 768px) {
  .navbar{
    display: none;
  }
  .header-blurb {
    display: none;
  }

  .MobileHeader{
    overflow: hidden;
    position: absolute;
    z-index: 1;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.30), rgba(0,0,0,0));
  }
  .topnav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
  }
  .mobilelogocontainer img {
    max-width: 130px;
    height: auto;
  }
  .faBarsIcon{
    font-size: 25;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }
  .menu-text{
    text-decoration: none;
  }
  /* Mobile nav bar dropdown elements */
  .mobileNavBar{
    height: 0;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  }
  .overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  }
  /* The navigation links inside the overlay */
  .mobileNavBar a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
  }
  /* When you mouse over the navigation links, change their color */
  .mobileNavBar a:hover, .mobileNavBar a:focus {
    color: #f1f1f1;
  }
  .mobileNavBar .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 50px;
    color: #818181;
    transition: 0.3s; /* Transition effects on hover (color) */
  }
  /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
  @media screen and (max-height: 450px) {
    .mobileNavBar a {font-size: 20px}
    .mobileNavBar .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }
}
/* About Me page */
.aboutme {
  /* border: solid red 1px; */
  background-color: rgb(18, 18, 18);
  margin: 15px;
}
.aboutme h2{
  padding: 20px 10px;
}
.container1, .container2, .container3 {
  display: flex;
  /* border: solid red 1px; */
  padding: px;
  gap: 15px;
}
.container1, .container2, .container3 p{
  display: flex;
  align-items: center;
  align-content: center;
  font-size: large;
  line-height: 1.3;
}
.container2{
  flex-direction: row-reverse;
}

.container1 img {
  max-width: 50%;
}
.container2 img {
  max-width: 50%;
}
.container3 img {
  max-width: 50%;
}

/* Footer */
.footer {
  background-color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 3px;
}
.footer h3,p {
  color: #F5F5F5;
}
.footer img {
  width: 35px;
  height: auto;
}
