body {
  overflow-x: hidden;
  color: black;
  background-color: #f6f6f6;
}

.project-title h1 {
  margin-bottom: 1rem;
}

h1::after {
  content: "";
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(32, 146, 180);
}

h1::after {
  width: 30rem;
  height: 3px;
  border-radius: 0.8rem;
}

h2 {
  font-size: 2.5rem;
}

.backgrounds {
  min-height: 100vh !important;
  max-height: 100vh !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

#generalCard {
  margin: 0px !important;
  padding: 0px !important;
}

.vertical-align {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.content-left-align {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
}

.text-center {
  text-align: center;
}
.content-title {
  padding-top: 30px;
}
.btn {
  border-radius: 1px;
  border: 2px solid white;
  color: white;
  background-color: transparent;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
}

.btn:hover {
  background-color: white;
  color: black;
}

.item {
  height: 40vh;
}

.project-container {
  padding: 20px;
  /* box-shadow: 5px 10px #888888; */
  margin-bottom: 60px;
  /* box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2); */
}

.project-title {
  margin: 60px 0px;
  padding: 10px;
}

.project-details table td {
  padding: 20px;
  font-size: 1.2rem;
  text-align: left;
}

tr:nth-child(odd) {
  background-color: rgba(155, 195, 255, 0.288);
}

.project-card {
  padding: 20px;
  margin-bottom: 80px;
  border-top: 3px solid;
  border-top-color: rgb(21, 184, 224);
  box-shadow: 5px 5px 30px 5px rgba(166, 171, 189, 0.25);
  background-color: white;
}

@media only screen and (min-width: 768px) {
  .card-details table td {
    padding: 20px;
    font-size: 1.2rem;
    text-align: left;
  }
  .project-container {
    padding-left: 180px;
    padding-right: 180px;
    margin-bottom: 60px;
    box-shadow: 5px 5px 30px 5px rgba(166, 171, 189, 0.25);
  }
  h1::after {
    bottom: 20%;
  }
  h1::after {
    width: 20rem;
  }
  .tekla-projects,
  .solidworks-projects {
    margin-top: 60px;
    padding-left: 180px;
    padding-right: 180px;
  }

  .card-details {
    font-size: 1.2rem;
  }

  #galleryLandingPage {
    background: url(../img/photogallery-bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
  }
  .content-left-align {
    padding-left: 40px;
  }
  #projectImg {
    background-color: rgb(31, 79, 209);
    color: black;
    height: 50vh;
  }
}

@media only screen and (max-width: 767px) {
  .card {
    padding: 20px;
    margin-bottom: 80px;
    box-shadow: 5px 5px 30px 5px rgba(166, 171, 189, 0.25);
  }
  .card-details table td {
    padding: 20px;
    font-size: 1rem;
    text-align: left;
  }
  h1::after {
    bottom: 20%;
  }
  h1::after {
    width: 10rem;
  }
  /* .card > .card-image {
		width: 100%;
		height: 30%;
	} */

  #galleryLandingPage {
    background: url("../img/photo.jpg");
    /* background-attachment: fixed; */
    background-size: cover;
    background-position: center;
    color: white;
  }
  .cards {
    height: 40vh;
  }
  #projectImg {
    /* background-color: rgb(151, 179, 255); */
    color: black;
    min-height: 70vh;
  }
  .mould1 {
    background: url(../img/photoGallery/mould1.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat;
  }
  .mould2 {
    background: url(../img/photoGallery/mould2.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat;
  }
  .mould3 {
    background: url(../img/photoGallery/mould3.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .mould4 {
    background: url(../img/photoGallery/mould4.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .mould5 {
    background: url(../img/photoGallery/mould5.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .mould6 {
    background: url(../img/photoGallery/mould6.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .tek1 {
    background: url(../img/photoGallery/tek1.png);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .tek2 {
    background: url(../img/photoGallery/tek2.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .tek3 {
    background: url(../img/photoGallery/tek3.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .tek4 {
    background: url(../img/photoGallery/tek4.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .tek5 {
    background: url(../img/photoGallery/tek5.JPG);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .tek6 {
    background: url(../img/photoGallery/tek6.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
  }
  .lay1 {
    background: url(../img/photoGallery/layout1.JPG);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .lay2 {
    background: url(../img/photoGallery/layout2.JPG);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .lay3 {
    background: url(../img/photoGallery/layout3.JPG);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .b1 {
    background: url(../img/photoGallery/bulk1.png);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .b2 {
    background: url(../img/photoGallery/bulk2.png);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .s1 {
    background: url(../img/photoGallery/static1.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .s2 {
    background: url(../img/photoGallery/static2.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .s3 {
    background: url(../img/photoGallery/static3.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .infra1 {
    background: url(./../img/photoGallery/infra1.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .infra2 {
    background: url(./../img/photoGallery/infra2.jpg);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
  }
  .infra3 {
    background: url(./../img/photoGallery/infra3.JPG);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
  }
  .infra4 {
    background: url(./../img/photoGallery/infra4.JPG);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
  }
  .infra5 {
    background: url(./../img/photoGallery/infra5.JPG);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
  }
  .infra6 {
    background: url(./../img/photoGallery/infra6.JPG);
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
  }

  #main-focus-subs1 h1,
  #main-focus-subs2 h1,
  #main-focus-subs3 h1,
  #main-focus-subs4 h1 {
    /* padding-top: 30px; */
    /* padding-bottom: 30px; */
    font-size: 2rem;
    text-align: center;
  }
  #main-focus-subs1 h1,
  #main-focus-subs4 h1 {
    padding-bottom: 30px;
  }

  #main-focus-subs1 h1 {
    padding-top: 30px;
  }

  .project-details table td {
    font-size: 1rem;
  }
}
