#header {
  width: 100%;
  height: 50vh;
  background-image: url("../img/portfolio.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header h1 {
  font-size: 80px;
  text-align: center;
  color: var(--color-white);
}

#portfolio {
  width: calc(100% - 100px);
  height: 2000px;
  margin: auto;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  background-color: var(--color-white);

  margin-bottom: 100px;
}

#portfolio .left,
.right {
  max-width: 1000px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

#portfolio .project-left,
.project-right {
  width: 95%;
  margin-bottom: 100px !important;
}

#portfolio .project-left .image,
.project-right .image {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

#portfolio .project-left .image {
  height: 500px;
  width: 100%;
}

#portfolio .project-right .image {
  height: 500px;
  width: 100%;
}

#portfolio .project-left .text h2,
.project-right .text h2 {
  font-weight: 400;
  font-size: 20px;
  margin: 10px 0 0 0 !important;
}

#portfolio .project-left .text p,
.project-right .text p {
  font-weight: 200;
  font-size: 15px;
  margin: 0 0 10px 0 !important;
}

#portfolio .zoom {
  transition: transform 1s;
  margin: 0 auto;
}

#portfolio .zoom:hover {
  transform: scale(1.02);
}


#special-project {
  padding-top: 200px;
}

@media screen and (max-width: 768px) {
  #portfolio {
    flex-direction: column;
    width: 90%;
    height: auto;
  }

  #portfolio .left,
  #portfolio .right {
    width: 100%;
    height: auto;
    align-items: center;
  }

  #portfolio .project-left,
  #portfolio .project-right {
    width: 100%;
    margin-bottom: 50px !important;
  }

  #portfolio .project-left .image,
  #portfolio .project-right .image {
    height: 300px;
  }

  #portfolio .project-left .text h2,
  #portfolio .project-right .text h2 {
    font-size: 18px;
  }

  #portfolio .project-left .text p,
  #portfolio .project-right .text p {
    font-size: 14px;
  }

  #header h1 {
    font-size: 40px;
  }

  #special-project {
    padding-top: 0;
  }

  #header {
    background-attachment: scroll;
    height: 40vh;
  }
}