* {
  margin: 0;
  padding: 0;
}

body {
  background-color: rgb(29, 44, 56);
  color: ghostwhite;
  overflow-x: hidden;
}

.left div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.mid {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: 600;
}

nav {
  position: fixed;
  z-index: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 80px;
  width: 100%;
  margin-top: -20px;
  background-color: rgb(79, 50, 42);
}
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
nav ul li {
  list-style: none;
  margin: 0 25px;
}
nav ul li a {
  text-decoration: none;
  color: ghostwhite;
  font-size: 1.25rem;
}
/* Add these styles for the active link in the navbar */
nav .right ul li a:active {
  color: black;
  border-bottom: 2px solid black; /* Horizontal line below the link */
}
.home-firstSection {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 20px 0;
}

.portrait {
  width: 100vw;
  filter: blur(1.5px) opacity(0.75) grayscale(100%) contrast(125%) brightness(50%);
}

.rightSection {
  width: 35%;
  position: absolute;
  z-index: 0;
  font-size: 3rem;
  right: 5%;
  text-align: start;
}
.name {
  color: aquamarine;
}
#element {
  color: aquamarine;
}

main hr {
  border: 0;
  background-color: #9c97f1; 
  height: .75rex;
  width: 90vw;
  margin: 60px 85px;
}

.home-secondSection {
  max-width: 80vw;
  height: 505px;
  margin: auto;
}
.intro {
  color: rgba(248, 248, 255, 0.704);
  font-size: 1.05rem;
}
.home-secondSection h1 {
  font-size: 2.25rem;
  color: rgb(255, 202, 134);
}
.home-secondSection .experience {
  background-color: antiquewhite;
  width: 80vw;
  height: 5px;
  margin: 90px 0;
  display: flex;
}
.home-secondSection .exp-events {
  height: 50px;
  width: 5px;
  background-color: antiquewhite;
  margin: 0 400px 0 0;
}
.home-secondSection .exp-img {
  height: 60px;
  width: 60px;
  position: relative;
  top: -65px;
  left: -9px;
}
.home-secondSection .exp-title {
  position: relative;
  width: 235px;
  font-size: 1.35rem;
  color: rgb(255, 202, 134);
}
.home-secondSection .exp-desc {
  position: relative;
  top: 15px;
  color:ghostwhite;
  width: 310px;
  font-size: 18px;
}

.about-me {
  margin: auto;
}
.about-me h1 {
  font-size: 2.75rem;
  color: rgb(255, 202, 134);
  max-width: 80vw;
  margin: 10px auto 30px auto;
}
.about-me>p {
  font-size: 1.25rem;
  color: ghostwhite;
  line-height: 30px;
  max-width: 80vw;
  margin: auto;
  padding: 10px;
}

.projects {
  max-width: 80vw;
  margin: auto;
}
.projects h1 {
  font-size: 2.75rem;
  color: rgb(255, 202, 134);
  max-width: 80vw;
  margin: auto;
}

.project-container {
  position: relative;
  display: flex;
  overflow-y: hidden;
  overflow-x: scroll; /* Hide overflow to create a carousel effect */
}
.project-container::-webkit-scrollbar {
  height: 8px;
  background-color: rgb(161, 148, 116);
}
.project-container::-webkit-scrollbar-thumb {
  background-color: ghostwhite;
}
.project-container a {
  text-decoration: none;
  color: ghostwhite;
}

.project {
  max-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background-color: rgb(161, 148, 116);
  padding: 10px;
  margin: 20px 50px;
  transition: transform 0.5s ease;
}

.project-desc {
  line-height: 35px;
  margin: 15px;
  max-height: 40vh;
  max-width: 30vw;
  color: rgb(236, 252, 248);
  overflow-y: scroll;
}
.project-desc::-webkit-scrollbar {
  width: 10px;
  background-color: rgb(29, 44, 56);
}
.project-desc::-webkit-scrollbar-thumb {
  background-color: rgb(158, 222, 228);
}

.project-img {
  display: inline-flex;
  height: 40vh;
  width: auto;
  object-fit: contain;
  border: 5px double cyan;
}

footer {
  margin-top: 100px;
  bottom: 0;
  width: 100%;
  background-color: rgb(80, 44, 39);
  height: fit-content;
}
footer ul li {
  list-style: none;
  margin: 0 0px;
}
footer a {
  text-decoration: none;
  color: ghostwhite;
  font-size: 1.25rem;
  padding: 10px;
}

.footer-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  margin: 10px
}
.footer-container>div {
  margin: 10px 50px 10px 10px;
}

.footer-one {
  font-size: 1.25rem;
}

.footer-outro {
  display: flex;
  align-items: center;
  justify-content: left;
  color: rgba(254, 248, 255, 0.704);
  font-size: 1.05rem;
}

.contact {
  margin: 20px 0px;
  font-size: 1.2rem;
}
.footer-one li {
  padding: 10px 0;
  font-size: 1.01rem;
}


.footer-two {
  font-size: 1.25rem;
}
.footer-two li {
  font-size: 1.01rem;
  padding: 10px 0;
}
.footer-three {
  font-size: 1.25rem;
}

.fa-brands {
  font-size: 2rem ;
  padding: 10px;
}
.fa-facebook {
  color: #1877F2;
}
.fa-linkedin {
  color: #0077B5;
}
.fa-google-drive {
  color: #dede25;
}
.fa-github {
  color: #181717;
}
.fa-instagram {
  color: #d57e36;
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
}

