/*GENERAL CSS*/
* {
  font-family: "Lato", sans-serif;
  margin: 0px;
  padding: 0px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0px;
  padding: 0px;
  background-color: #ffffff;
  color: #333333; 
}

a {
  text-decoration: none;
}

ul {
  margin: 16px 0px;
  padding: 0px 0px 0px 40px;
}

li {
  list-style: none;
}

h3 {
  margin: 0px;
}

p {
  margin-top:30px;
  font-size: 25px;
}

button {
  color: black;
}

textarea {
  color: black;
}

.spanBold {
  font-weight: bold;
}

/*COLORING*/
:root {
  --primary-color: #001f3f; 
  --secondary-color: #333333; 
  --accent-color: #0074cc;
  --background-color: #ffffff; 
}

/*GENERAL*/
.sectionHeader {
  font-size: 2.5em;
  color: #0074cc; 
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  position: relative;
  text-align: center;
}

/*NAVIGATION BAR*/
#navbar {
  position: fixed;
  background-color: #001f3f;
  color: #ffffff;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100px;
  justify-content: flex-end;
  z-index: 3;
  font-size: 20px;
  text-wrap: nowrap;
}

#navbar div {
  padding: 10px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

#navbar a {
  color: #ffffff;
  padding: 20px 10px; 
}

.navLinks {
  cursor: pointer;
  transition: background-color 0.3s ease; 
}

.navLinks:hover {
  background-color: #0074cc;
}

#navName {
  margin-right: auto;
  font-size: 30px;
  color: #0074cc; 
  font-weight: bold;
  padding: 10px; 
  border-radius: 5px; 
}

#seeMore {
  visibility: hidden;
  width: 0;
}

/*HERO*/
.hero {
  position: relative; 
  background-image: url('images/banner2.jpg'); 
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 370px 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

p {
  font-size: 1.5em;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/overlay1.jpg'); 
  opacity: 0.5; 
  pointer-events: none; 
  z-index: 0;
}

/*PROJECTS*/
#projects {
  background-color: #ebebeb;
  padding: 50px 0;
  text-align: center; 
}

.sectionHeader::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #0074cc; 
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.project {
  width: 300px; 
  margin: 20px;
  text-align: center;
  flex-grow: 1; 
  box-sizing: border-box;
}

.project img {
  max-width: 330px;
  width: 100%;
  border-radius: 8px;
}

.project-info {
  margin-top: 15px;
}

.project-info h3 {
  font-size: 1.5em;
}

.project-info p {
  font-size: 1em;
}

.project-info a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #0074cc;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.project-info a:hover {
  background-color: #005185;
}

/*ABOUT ME*/
#about-me {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
}

.tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

#about-me button {
  width: 140px;
  background-color: #0074cc;
  color: #fff;
  padding: 15px 25px;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

button.active {
  background-color: #004080;
}

#about-me-content {
  display: flex;
}

#about-me-content img {
  max-height: 300px;
  border-radius: 5px;
  margin-right: 20px;
}

#about-me li {
  list-style: disc;
}

.tab-content {
  display: none;
}

.bio-content img {
  max-height: 300px;
  border-radius: 5px;
  margin-right: 20px;
}

#bio {
  max-height: 300px;
  overflow: auto;
}

.tab-content.show {
  display: block;
}


.tab-content {
  display: none;
}

li {
  font-size: 1.5em;
}
.tab-content h2 {
  color: #0074cc;
}

.tab-content p, .tab-content ul {
  margin-top: 10px;
}

/* Show the active tab content */
.tab-content.active {
  display: block;
}

#contact {
  padding: 50px 0;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  margin-bottom: 5px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

button {
  background-color: #0074cc;
  color: #ffffff;
  padding: 15px 25px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.1em;
}

button:hover {
  background-color: #00548c;
}

#social-media {
  margin-top: 30px;
}

#social-media h3 {
  margin-bottom: 10px;
}

#social-media ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
}

#social-media li {
  margin: 0 10px;
}

#social-media a {
  color: #0074cc;
  text-decoration: none;
  font-size: 24px;
  display: flex;
  align-items: center;
}

#social-media a:hover {
  color: #00548c;
}

#social-media i {
  margin-right: 5px; 
}







/* Media query for smaller screens */
@media only screen and (max-width: 780px) {
  .project {
    width: 100%; 
    display: block; 
    margin: 20px 0; 
    padding: 20px;
  }

  .project img {
    max-width: 1000px;
  }
  
  #navbar {
    justify-content: space-between;
  }

  .navLinks {
    visibility: hidden;
    position: absolute;
  }

  #seeMore {
    visibility: visible;
    width: 120px;
  }

  #projects h3 {
    font-size: 1.8em;
  }

  #projects p {
    font-size: 1.2em;
  }

  .tabs {
    flex-direction: row; 
    justify-content: center; 
  }

  #about-me button {
    width: 220px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    font-size: 1.2em; 
    padding: 20px 25px; 
    margin: 0 5px; 
    border-radius: 5px;
  }

  .tab-content {
    padding: 10px; 
  }

  .contact-form {
    padding: 0 20px;
  }

  input,
  textarea {
    margin-bottom: 10px;
    font-size: 1.8em;
  }

  label {
    margin-bottom: 5px;
    font-size: 1.2em;
  }

  #contact button {
    width: 200px;
    padding: 20px;
    font-size: 1.2em;
  }

  .social-media {
    margin-top: 20px;
  }

  a {
    font-size: 20px;
  }

  .social-media a {
    font-size: 25px; 
    padding: 10px; 
  }
}