* {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding-right: 0;
    margin-right:0;
    padding-left: 0;
    margin-left:0;

}

html {
  scroll-behavior: smooth;
}

section#about-me {
  scroll-margin-top: 100px;
}

section#my-skills {
  scroll-margin-top: 80px; 
}

section#my-projects {
  scroll-margin-top: 80px; 
}
section#contact {
  scroll-margin-top: 80px; 
}

.scroll-target {
  scroll-margin-top: 80px; 
}


    /*--- NAVIGATION ---*/

  #nav {
    color:#333;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    letter-spacing: 2px;
    background-color: rgba(116, 131, 134, 1);
    backdrop-filter: blur(10px);
    height: 75px;
  }
  #nav.transparent {
    background-color: rgba(116, 131, 134, 0.8);
  }

  .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 0.5rem;
    transition: background-color 0.3s ease;
  }

  .nav-logo{
    display: flex;
    align-items: left;
    justify-content: left;
    list-style: none;

  }

  .nav-logo img{
    position: relative;
    top: 1.5rem;
    left: 2.5rem;
    height: 80px;
    width: auto;
  }

  .nav-logo img:hover{
    transition: 0.3s;
    height: 81px;
    width: auto;
  }

  .nav-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    text-align: center;
  }
 .resume{
  display: none;
 }
  
  
.nav-menu a {
      padding-right: 1.25rem;
      text-decoration: none;
      font-size: 1.5rem;
      font-weight: 400;
      color: #333;
      transition: 0.3s;
  }

.nav-menu a:hover{
    font-size: 1.57rem; 
    text-decoration: underline;
    text-decoration-color: #a8b1b3;
}

.mobile-menu-toggle{
  display: none;
  order: 3;
  margin-left: 85%;
}
  
    /*--- ABOUT ME ---*/

#about-me {
  color:#333;
  padding-top: 10rem;
} 

#about-me h2 {
  margin-left: 7rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 400;
  color: #333;
  letter-spacing: 1px;
  text-decoration: underline;
  text-decoration-color: #748386;
}

.content{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.content-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text {
  flex: 1;
  margin-right: -5rem;
  max-width: 100%;
}

.text p {
  margin-left: 7rem;
  font-size: 1.4rem;
  text-align: left;
}

.text a{
  color: #333;
  text-decoration-color: #748386;
}

.action_btn {
  position: relative;
  gap: 1rem;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.action_btn a {
  text-decoration: none; 
  background-color: rgba(116, 131, 134, 0.5);
}

.action_btn a {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 10px 2rem;
  outline: none;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  cursor: pointer;
}

.buttonstyle {
  background-color: var(--secondary-color);
  color: white;
}

.buttonstyle:hover {
  background-color:#a8b1b3;
  color: #000000;
}

.portrait{
  display: grid;
  place-items: center;
}

.portrait img{
  max-width: 100%;
  height: 500px;
  width: auto;
  margin-bottom: 3%;
  border-radius: 10px;
  box-shadow: 0 6px 10px #748386;
}

#about-me .plant-img{
  position: relative;
  transform: rotate(140deg);
  height: 300px;
  width: auto;
  z-index: -1;
  margin-top: -30%;
}

#about-me .plant-img2{
  position:relative;
  margin-left: 80%;
  bottom: 0;
  transform: rotate(150deg);
  height: 300px;
  width: auto;
  z-index: -1;
  margin-top: -60%;
}

#about-me .mobile-img{
  display: none;
}

/*--- My skills ---*/
#my-skills {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: rgba(116, 131, 134, 1);
    max-width: 100%;
    box-sizing: border-box;
}

#my-skills h2{
    font-size: 2.5rem;
    color: #333;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 3rem;
}

#my-skills .content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#my-skills .row{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
  margin-bottom: 20px;
}

#my-skills .row img{
    max-width: 100%;
    height: 250px;
    width: auto;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

#my-skills img {
  animation: shake 0.5s ease-in-out;
}
#my-skills img:hover {
  animation: shake 0.5s ease-in-out infinite;
}

/*--- My projects ---*/

#my-projects {
  padding-top: 1.5rem;
}

#my-projects h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #333;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 3rem;
}

#my-projects .projects{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

#my-projects .projects h4 {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  color: #333;
  margin-top: 10px;
}

#my-projects .image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 100%;
  max-width: 27rem;
  margin-bottom: 2rem;
}

#my-projects .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 400;
  font-size: 2rem; 
  visibility: hidden;
  transition: visibility 0.3s, opacity 0.3s;
  opacity: 0;
  width: 80%;
  text-align: center;
  background-color: rgba(116, 131, 134, 0.5);
  padding: 300px;
  color: #fff;
}

#my-projects .text h4{
  color: #fff;
  margin-bottom: 0;
}

#my-projects p{
  color: #fff;
  margin-left: 0;
  text-align: center;
}

#my-projects .image-container:hover .text {
  z-index: 2;
  visibility: visible;
  opacity: 1;
}

#my-projects .image-container img {
  height: 400px;
  max-width: 100%;
  border-radius: 10px;
  transition: filter 0.2s; 
}

#my-projects .image-container:hover img {
  filter: blur(3.5px);
}

/*--- Contact ---*/
#contact{
  background-color: rgba(116, 131, 134, 0.5);
}

#contact h2{
  padding-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 400;
  color: #333;
  letter-spacing: 1px;
  text-align: center;
}

#contact h4{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 400;
}


#contact .fa-solid.fa-envelope{
  color: #748386;
  display: flex;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: -1.25rem;
}

#contact .fa-solid.fa-phone{
  color: #748386;
  display: flex;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: -1.25rem;
}


#contact .contact-info{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: auto;
  height: 2.5rem;
  gap: 1.5rem;
}

#contact .contact-info img{
  width: auto;
  height: 65px;
}

#contact h3{
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 2rem;
}

#contact .contact-flower{
  position:relative;
  height: 400px;
  width: auto;
  margin-left: 80%;
  margin-top: -80%;
}

#contact .contact-plant{
  position:relative;
  height: 400px;
  width: auto;
  left: 1%;
  transform: rotate(180deg);
  margin-top: -80%;
}

/*--- mobile view ---*/

@media (width < 1900px) {

/*--- contact me ---*/

  .contact-flower{
    display: none;
  }

}

@media (width < 1440px) {
}

@media (width < 1000px) {

/*--- navigation ---*/

  .nav-bar{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-logo img{
    position: relative;
    height: 65px;
    width: auto;
    top: 0.5rem;
    left: 0%;
    margin-right: 0.5rem;
    transition: 0.3s;
  }

  .nav-logo img:hover{
    height: 66px;
    width: auto;
  }

  .nav-menu a {
    font-size: 1.47rem;
    transition: 0.3s;
}

.nav-menu a:hover{
  font-size: 1.5rem; 
  text-decoration: underline;
  text-decoration-color: #a8b1b3;
}

/*--- about me ---*/

  #about-me{
    margin-bottom: 2rem;
    margin-top: -2rem;
  }
  .text{
    margin-left:-2rem ;
    margin-top: -2rem;
  }
  .portrait{
    width: 100%;
    margin-left: -1rem;
  }

/*--- projects ---*/

  #my-projects .image-container img {
    filter: blur(3.5px);
  }
  #my-projects .text{
    visibility: visible;
    opacity: 1;
    margin-left: 1px;
  }

  .plant-img2 {
    display: none;
  }


/*--- contact me ---*/

  .contact-flower{
    display: none;
  }

}

@media (width < 800px) {

/*--- navigation ---*/
  .nav-menu {
    display: none; 
    flex-direction: column; 
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: rgb(116, 131, 134);
    backdrop-filter:inherit ;
    padding: 2rem;
    box-sizing: border-box;
    z-index: 98;

}

.nav-menu.active {
    display: flex; 
}

.mobile-menu-toggle {
    display: block; 
    cursor: pointer;

}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    right: 0;
}

.nav-logo img{
  position: absolute;
  left: 2%;
}
.nav-logo img:hover{
  height: 65px;
}

.resume{
  display:initial;
 }

/*--- about me ---*/
  #about-me {
      display: flex;
      flex-direction: column;
      align-items: center; 
      justify-content: center;
      padding-top: 12rem;
  }

  #about-me h2{
    margin-top: 0;
    font-size: 1.7rem;
  }

  #about-me .content {
      flex-direction: column;
      align-items: center; 
      justify-content: center;
  }
  .content{
    grid-template-columns: repeat(1, 1fr);
  }
  .text{
    margin-right: 7rem;
  }
 
  .text p{
    font-size: 1.1rem;
  }

  .action_btn{
    display: none;
  }

  .portrait img {
      width: 70%; 
      max-width: 100%; 
      height: auto;
      right: 0;
      margin-bottom: 2rem;
      margin-left: 0;

  }
  #about-me .mobile-img{
    display: flex;
    position: absolute;
    width: auto;
    height: 220px;
    transform: rotate(180deg);
    top:0;
    right: 0;
  }

  #about-me .plant-img2, .plant-img{
      display: none;
  }

/*--- projects ---*/

  #my-projects .image-container img {
    filter: blur(3.5px);
  }
  #my-projects .text{
    visibility: visible;
    opacity: 1;
    margin-left: 1px;
  }


/*--- contact me ---*/

#contact{
  padding-bottom: 2rem;
}
.contact-flower, .contact-plant{
      display: none;
  }
}
