@import "general.css";
@import "landing.css";

/* =============
INDIVIDUAL PROJECTS
============= */
.single-project {
  height: 40vh;
  background-position: bottom right;
  margin-bottom: 150px;
}

#proj-h1 {
  font-size: 45px;
  text-align: center;
  padding-top: 18vh;
}

.proj-underline {
  background-color: #03cc85;
  height: 6px;
  width: 80px;
  margin: 2px auto;
}

.project-info {
  text-align: center;
  width: 90%;
  margin: 0 auto;
  padding: 80px 0;
}

.project-content h2,
.before-after h2 {
  font-size: 20px;
  margin: 50px 0 0;
}

.before-after h2 {
  margin: 50px 0;
}

.project-content h5,
.before-after h5 {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.02rem;
  padding-bottom: 14px;
  font-size: 20px;
}

.project-content h3 {
  text-align: left;
  padding-bottom: 14px;
}

.single-project-image {
  width: 85%;
  margin: 20px auto;
}

.single-project-image-ba {
  width: 300px;
  display: block;
  margin: 0 auto 50px;
}

.single-project-image-container {
  margin: 20px auto;
}

.single-project-image-container img {
  width: 85%;
}

.project-info p a {
  color: #03cc85;
}

.project-info p,
.project-content h5 {
  text-align: left;
  width: 85%;
  line-height: 1.5;
  margin: 40px auto;
  font-size: 16px;
}

.project-info ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  padding: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.project-info ul li {
  padding: 0 6px;
}

.proj-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  max-width: 500px;
  margin: 0 auto;
}

.sp-button {
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid #0a1316;
  box-shadow: 1px 1px 2px #0a131666;
  color: #0a1316;
  padding: 7px 10px;
  width: 46%;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.sp-button:hover {
  color: #fff;
}

.sp-button:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0a1316;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.sp-button:hover:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.disclaimer {
  margin-top: 20px;
  font-size: 14px !important;
  color: gray;
}

/* =============
MEDIA QUERIES
============= */
@media (min-width: 768px) {
  .project-info {
    margin: 180px auto 100px;
    width: 80%;
  }
  .single-project-image,
  .single-project-image-container {
    width: 50%;
    margin: 0 0 20px 50px;
    float: right;
  }
  .single-project-image-container img {
    width: 100%;
  }
  .project-content p:not(.disclaimer),
  .project-content h5 {
    font-size: 18px;
    width: 100%;
    margin: 0 auto 20px;
  }
  .project-content h2,
  .before-after h2 {
    margin-top: 30px;
    font-size: 26px;
  }
  .proj-underline {
    width: 80px;
    height: 7px;
  }
  .sp-button {
    padding: 8px 10px;
  }
  .single-project-image-ba {
    width: 360px;
    margin: 0;
  }
  .before-after div.desktop,
  .before-after div.mobile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 50px;
  }
  .before-after div.desktop {
    min-height: 325px;
  }
  .before-after div.mobile {
    min-height: 700px;
  }
}
@media (min-width: 1200px) {
  #proj-h1 {
    font-size: 60px;
  }
  .proj-text {
    padding-bottom: 40px;
  }
  .project-content h2 {
    font-size: 30px;
    margin: 30px 0;
  }
  .project-content li {
    font-size: 22px;
  }
  .sp-button {
    padding: 10px 12px;
    font-size: 16px;
  }
}

/* Portfolio project gallery */
#projects {
  padding-bottom: 60px;
  margin: 0 auto;
}

#projects .proj-container {
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#projects .jakeorndorff {
  background: url("../images/jakeorndorff.png");
}

#projects .energyassistance {
  background: url("../images/energyassistance.png");
}

#projects .usmodernist {
  background: url("../images/usmodernist.png");
}

#projects .hawsphoto {
  background: url("../images/hawsphoto.png");
}

#projects .vespa {
  background: url("../images/crm-properties.png");
}

#projects .otusasio {
  background: url("../images/otusasio.jpg");
}

#projects .performancecoach {
  background: url("../images/performanceCoach.jpg");
}

#projects .single-proj {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 280px;
  height: 100%;
  min-height: 250px;
}

#projects .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  -webkit-transition: 200ms ease-in-out;
  -o-transition: 200ms ease-in-out;
  transition: 200ms ease-in-out;
  background-color: #03cc85;
  padding: 40px 20px;
  border: 2px solid #0a1316;
}

#projects .single-proj:hover .overlay {
  opacity: 0.94;
}

#projects .show {
  opacity: 1;
}

#projects h3 {
  font-size: 26px;
  color: #0a1316;
}

#projects .proj-text {
  color: #0a1316;
  font-size: 18px;
  padding-bottom: 30px;
  line-height: 1.5;
}

#projects .proj-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#projects .project-button {
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid #0a1316;
  box-shadow: 1px 1px 2px #0a131666;
  color: #0a1316;
  padding: 7px 10px;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  border-radius: 3px;
}

#projects .project-button:hover {
  color: white;
}

#projects .project-button:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0a1316;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

#projects .project-button:hover:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

#projects .project-button:focus {
  background-color: #0a1316;
  color: white;
}

@media (min-width: 470px) {
  #projects .proj-container {
    margin: 0 50px;
  }
  #projects .single-proj {
    width: 340px;
    min-height: 280px;
  }
}

@media (min-width: 768px) {
  #projects p {
    font-size: 18px;
  }
  #projects .proj-container {
    margin: 0 60px;
  }
  #projects .single-proj {
    width: 360px;
    min-height: 300px;
  }
  #projects .project-button {
    width: 70%;
  }
}

@media (min-width: 1200px) {
  #projects .proj-container {
    margin: 0 50px;
  }
  #projects .single-proj {
    width: 400px;
    min-height: 360px;
  }
  #projects .proj-text {
    padding-bottom: 40px;
  }
  #projects .project-button {
    padding: 10px 12px;
  }
}
