/* Hamburger Button Styling */

#close-menu-btn {
  position: absolute;
  transform: translate(14rem, -2.5rem);
  cursor: pointer;
  display: none;
  width: 180px;
  height: auto;
  color: var(--purple);
}

#hamburger-btn {
  color: var(--purple);
  cursor: pointer;
  display: none;
  position: absolute;
  right: 0;
  margin-right: 2rem;
  margin-top: 1.1rem;
}

/*----------General ------------------*/
section:not([id]) {
  border-top: none;
}

html{
  z-index: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;

}

h1{
  color: var(--purple);
  text-align: center;
  border-bottom: solid 3px var(--purple);
  padding-bottom: 1rem;
  width: 40%;
  margin: 8rem auto 3rem auto;
}

.image-nav{
  width: 300px;
  height: auto;
}



figcaption{
  margin-top: 1.5rem;
  font-style: italic;
  margin-bottom: 4.5rem;
  font-size: 0.85rem;
}

/*----------Navigation bar-------------*/

.logo{
  position: fixed;
  left: 0;
  margin-left: 4rem;
  margin-top: 1.2rem;
  padding-bottom: 0.3rem;
}

nav{
  position: fixed;
  width: 100%;
  z-index: 9999;
  display: flex;
  margin-top: -2.5rem;
  margin-left: -2.5rem;
  background-color: var(--white);
  padding-bottom: 5rem;
  border-bottom: solid 1px var(--purple);
  animation: fadeInDown 1s forwards;

  ul{
    position: fixed;
    right: 0;
    margin-right: 2rem;
    margin-top: 1.2rem;

    li:nth-child(n+1){
      transform: translateY(0.4rem);

      a {
        color: var(--purple);
  
        &:hover{
          color: var(--dark-purple);
        }
     }
    }
  }
}

.navbar{
  ul{
    margin-right: 5rem;
  }
  li{
    padding-right: 1rem;
  }

  /* :nth-child(4){
    padding-right: 0;
  } */

}
/* .nav-links a[href$="resume.pdf"] {
  background-color: var(--purple);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 20px;
  transition: background-color 0.3s ease;

}

.nav-links a[href$="resume.pdf"]:hover {
  background-color: var(--dark-purple);
  color: var(--white);
} */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

#active{
  color: var(--dark-purple);
}

/*-------------Bio-----------------*/

#bio{
  transform: translateY(3rem);
  padding-bottom: 8.5rem;

}

.bio-main-description{
  width: 75%;
  margin: auto;
  animation: fadeInUp 0.5s forwards;
  margin-bottom: 5rem;
}

.bio-main-name{
  font-size: 27.5px;
  margin-top: 8rem;
  font-weight: 800;
}

.bio-main-quote{
  margin-top: 3rem;
  font-size: 31px;
  line-height: 50px;
  font-weight: 100;
}

/*-------------Vision-----------------*/
.vision-section{
  background-color: var(--light-purple);
   width: 110%;
   margin-left: -2.5rem;
   padding-top: 2rem;
   padding-bottom: 2rem;
}

.vision-container{
  margin: auto;
  width: 70%;
  padding-left: 5.5rem;
  background-color: var(--light-purple);
}

.vision-quote{
  font-size: 35px;
  font-weight: 100;
  line-height: 3.5rem;
}


/*-----------------Hobby--------------------------*/
#hobby-container{
  padding-top: 5.5rem;
  width: 70%;
  margin: auto;
  padding-left: 3rem;
  margin-top: -1rem;
  padding-bottom: 5.5rem;
}

.hobby-headline{
  line-height: 3rem;
}

/*-----------Featured Projects-------------------*/

#featured-projects{
  display: block;
  padding-top: 3.5rem;
  margin: auto;
  background-color: var(--light-purple);
  width: 110%;
  margin-left: -2.2rem;
}

.featured-projects-container{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 7rem;
  width: 90%;
  margin: auto;
}

.featured-projects-container:first-child{
  margin-top: 2rem;
}

.featured-projects-description{
  width: 40%;
  margin-right: 5rem;
  line-height: 1.5rem;

  h4{
    opacity: 0.5;
  }

  h3{
    margin-top: -1rem;
  }
}

.featured-projects-subheading{
  font-size: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 3rem;
}

.featured-projects-content{
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}

#second-featured-projects-description{
  margin-left: 4rem;
}

#second-featured-projects-image{
  margin-left: 4rem;
}

button{
  border-radius: 80px;
}

.featured-project-tag{
  font-size: 1rem;
  font-weight: 400;
}

/*----------------Featured Project Image--------------*/

#seniowell-thumbnail{
  width: 250px;
  height: auto;
}

#quebec-thumbnail, #ux-thumbnail{
  width: 350px;
  height: auto;
}


/*-----------------Contact Me-----------------*/

.contact-me-quote{
  color: var(--cocoa-brown);
}

#about-me-footer{
  transform: translateY(-1rem);
}
/*-----------------Overall Project-----------------*/

.project-overall{
  width: 75%;
  margin: auto;
  padding-bottom: 3rem;
}

.project-logo{
  width: 310px;
  height: auto;
}

/* .project-hero-section::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

.project-hero-section{
  text-align: center;
  width: 110%;
  /* max-height: 350px; */
  margin-top: -2rem;
  transform: translate(-2.5rem, 2.5rem);
  margin-bottom: 5rem;
  background-color: var(--light-purple);
    
  h2{
    padding-bottom: 4rem;
    font-weight: bold;
    animation: fadeInUp 0.5s forwards;
    color: var(--cocoa-brown);
    width: 60%;
    margin: auto;
    line-height: 3.2rem;
  }

  h4{
    padding-top: 4rem;
    font-weight: 100;
    animation: fadeInUp 0.5s forwards;
    color: var(--cocoa-brown);
    font-size: 1.6rem;
    margin-top: 1rem;
  }

  img{
    padding-bottom: 5rem;
  }

  
}

table td{
  word-break: break-word;
}

tr td:last-of-type{
  width: 90%;
  display: flex;
  padding-bottom: 1.5rem;

}

.project-section-title:not(:first-child){
  margin-top: 4rem;
}

.project-section-subheading{
  margin-top: 0;
}

.project-section-paragraph{
  margin-top: -0.5rem;
}

.project-section-paragraph + .project-section-paragraph {
  margin-top: 25px; /* Adjust the value as needed */
}

.project-main-content{
  display: flex;
  justify-content: space-between;
}

.project-overview{
  width: 65%;
}

.project-link{
  color: var(--cocoa-brown);
  font-size: 0.75rem;
}

.context{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 25%;
  border: dashed 2px var(--purple);
}

.new-section{
   background-color: var(--light-purple);
   width: 145%;
   margin-left: -14rem;
   padding-top: 2rem;
   padding-bottom: 2rem;
   margin-top: 5rem;
}

.final-result-container{
  display: flex;
  width: 70%;
  margin: auto;
  justify-content: center;

  img{
    width: 250px;
    height: auto;
  }

  #qwc-final-image{
    width: 500px;
    height: auto;
  }
}

.comparing-container{
  width: 70%;
  display: flex;
  margin: auto;
  justify-content: center;

  :first-child{
    padding-right: 2rem;
  }
}

.comparing-item{
  display: block;
  text-align: center;

  h2{
    color: var(--cocoa-brown);
    margin-top: 0;
  }

  img{
    width: 100%;
    height: auto;

  }
}
.two-section-container{
  display: flex;
  align-items: center;
  width: 70%;
  margin: auto;
  transform: translateX(-2rem);
}

.project-solution-section{
  width: 148%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-left: -13.5rem;
}

.image-text-container{
  img{
    width: 100%;
    vertical-align: middle;
   }

   h2, h4, p{
    width: 90%;
    margin-left: 4rem;
   }
}

.text-image-container{

   /* h2, h4, p, li, h3{
    width: 70%;
   } */
}

.design-phase-container{
  display: flex;

  .design-phase-card:nth-child(2){
    margin-left: 1.5rem;
  }

  .design-phase-card:nth-child(3){
    margin-left: 4.1rem;
  }

  .design-phase-card:nth-child(4){
    margin-left: 4rem;
  }

  .design-phase-card:nth-child(5){
    margin-left: 1.6rem;
  }
}

.design-phase-card{
  margin-left: 2rem;
  margin-right: 6rem;
  margin-top: -1rem;

  li{
    padding: 0;
    margin-top: -1rem;
    margin-bottom: 0.75rem;
    width: 600%;
    font-size: 0.8rem;
    font-weight: 100;
    margin-left: -2.5rem;
  }
}

.one-image{
  width: 100%;
  height: auto;
  margin: auto;
  display: flex;
  margin-top: 3rem;
  justify-content: center;
}

.bulletless{
  list-style: none;
}

.three-images{
  display: flex;
  margin: auto;
  justify-content: center;

  img{
    width: auto;
    height: 500px;
    text-align: center;
  }

  figcaption{
    width: 75%;
  }
}

.three-images-size{
  width: 200px;
  height: auto;
}


.image-and-caption{
  display: block;
}

.refinement figcaption{ 
  margin-top: -1rem;
}

.highlight-blue{
  font-weight: bold;
  color: var(--purple);
}

.three-points-container{
  display: flex;
  justify-content: space-between;

  .three-points{
    width: 30%;
    margin-bottom: 2rem;
  }

  h4{
    font-weight: 400;
  }
}

.two-points-container{
  display: flex;
  justify-content: space-between;
  padding-bottom: 2rem;

  .three-points{
    width: 45%;
  }

  h4{
    font-weight: 500;
  }
}

.keypoints li{
  font-size: 16px;
  line-height: 24px;
  list-style-type: disc;
  margin: 0;
  padding: 0;
  padding-bottom: 1rem;

}


.view-more-projects-section{
  background-color: var(--light-purple);
  width: 142%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-left: -13.5rem;
  transform: translateY(3rem);
}

.view-more-projects-container{
  display: flex;
  width: 75%;
  margin: auto;
}

.view-more-projects-card{
  margin-right: 6rem;
  margin-left: 2rem;
  margin-top: 2rem;
}

.view-more-tag{
  width: 200%;
  font-weight: 400;
  font-size: 1rem;
}

.view-more-heading{
  width: 70%;
  margin: auto;
}

.view-more-subheading{
  width: 200%;
  font-size: 1.5rem;
}

.view-more-projects-container .image-nav{
  width: 250px;
  height: 250px;
  margin-top: 2rem;
}

.image-nav2{
  width: 200px;
  height: 200px;
  border: solid 2px var(--light-purple);
  border-radius: 25px;
}

/*-----------------Footer-----------------------*/
footer{
  width: 108%;
  margin-left: -2.5rem;

}

.copyright{
  margin-top: 5rem;
  font-style: italic;
  display: block;
  padding-bottom: 2rem;
  font-size: 0.8rem;
  color: var(--cocoa-brown);
}

#about-me-footer{
  border-top: solid 1px var(--purple);
}


/*-----------------Responsiveness-----------------------*/

@media (max-width: 992px) {

  /*----------Bio------------*/
   #bio{
      display: flex;
      flex-direction: column;
      width: 120%;
   }

   .bio-image{
      order: 2;
      margin-bottom: 5rem;
   }

   .bio-description{
      order: 1;
      width: 75%;
      margin-left: -1.25rem;
   }

   /*---------------Vision------------------*/
   .vision-section{
    width: 120%;
   }

  /*----------Featured Project------------*/
   .featured-project-title{
    width: 60%;
    display: flex;
    justify-content: center;
  }

  #second-featured-projects-description{
    min-width: 40%;
  }

  /*-----------Overall Project--------------*/

  .project-hero-section{
    width: 120%;

    h2{
      font-size: 1.8rem;
      width: 80%;
    }
  } 

  /* .one-image{
    width: 100%;
  } */

  .three-points-container, .two-points-container{
    display: block;

    .three-points{
      width: 100%;
      
      p{
        margin-top: -1rem;
        padding-bottom: 2rem;
      }
    }
  }

  /*----------Footer------------*/
  footer{
    width: 110%;
  }
  
}

@media (max-width: 768px) {

  header.show-mobile-menu::after {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 1;
  }

  #hamburger-btn {
    display: block;
    font-size: 40px;
  } 

  #close-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: -20px;
    left: -340px;
    width: 250px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 70px 40px 0;
    transition: left 0.2s ease;
    border-right: solid 2px var(--purple);
    z-index: 2000000;

    li{
      margin-bottom: 0.5rem;
    }
    /* li:last-of-type{
      transform: translateY(-2rem);
    } */
  }

  header.show-mobile-menu .navbar .nav-links {
    left: 0;
  }

  /*----------Featured Project------------*/
  .featured-project-title{
    width: 75%;
  }

  /*----------Overall Project-------------*/
  .project-main-content{
    display: block;
  }

  .project-overview{
    width: 100%;
    order: 2;
  }

  .context{
    width: 90%;
    order: 1;

    
  :first-of-type{
      font-weight: bold;
      font-size: 1.25rem;
    }

    .context td:last-of-type{
      font-size: 1rem;
    }
  }

  .project-logo{
    margin-top: 2rem;
    min-width: 100%;
    width:200px;
    height: auto;
  }
  /* .project-hero-section h2, .project-hero-section h4{
    margin-left: 0;
  } */

  .view-more-projects-container{
    display: block;
  }

  .view-more-tag, .view-more-subheading{
    margin-left: -2rem;
  }

  /*----------Footer------------*/
  footer{
    width: 120%;
  }


}

@media (max-width: 660px) {

  /*----------Featured Project------------*/

  .featured-projects-container{
    display: flex;
    flex-direction: column;
  }

  .featured-projects-image{
      order: 1;
      position: static;
      margin: 0;
      padding: 0;
  }

  .featured-projects-description{
      order: 2;
      width: 80%;
      margin: auto;
  }

  .featured-project-title{
    width: 90%;
  }

  #second-featured-projects-description{
    margin-left: 2rem;
  }

  #second-featured-projects-image{
    margin-left: 0;
  }

}