@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500&display=swap");
:root {
  --main-color: #5656f1;
  --secondary-color: #d4af37;
  --light-text-color: rgb(139, 136, 136);
}

html {
  font-size: 62.5%; /* font-size 1em = 10px on default browser settings */
}

body {
  font-weight: 400;
  font-family: "Libre Baskerville", serif;
  background: #f4f4f4;
}

h2 {
  font-size: 2rem;
}

p {
  font-size: 1.8rem;
}

.logo {
  margin-right: 0;
  text-align: right;
}
.logo img {
  height: 10rem;
  width: 10rem;
  object-fit: contain;
}

.title h1 {
  font-size: 3.5rem;
}

a {
  text-decoration: none !important;
}
.nbg {
  font-size: 1.5rem;
  background-color: var(--main-color) !important;
}

.navbar-light .navbar-nav .nav-link:active {
  color: rgba(0, 0, 0, 0.9) !important;
}

.navbar-light .navbar-nav .nav-link {
  color: rgb(255, 255, 255) !important;
  padding-left: 4.5rem !important;
}

.navbar-light .navbar-nav > .active > a {
  color: rgba(0, 0, 0, 0.9) !important;
}

.navbar-light .navbar-nav > .nav-item > a:hover,
.navbar-light .navbar-nav > .nav-item > a:focus {
  color: rgba(0, 0, 0, 0.9) !important;
}

.dropdown-menu a {
  font-size: 1.5rem;
  text-transform: uppercase;
}

.slide-one-item {
  width: 100%;
  height: 100vh;
}

.site-blocks-cover {
  width: 100%;
  height: 100vh;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.site-blocks-cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

.site-blocks-cover {
  position: relative;
}

.site-blocks-cover:before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.4);
}

.site-blocks-cover h1 {
  color: #fff;
  font-size: 6rem;
}

.caption {
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.link {
  outline: none;
  text-decoration: none;
  position: relative;
  font-size: 1.2em;
  line-height: 50px;
  color: #9e9ba4;
  display: inline-block;
}

.link--yaku {
  color: rgb(26, 15, 233);
  font-weight: 400;
  text-transform: lowercase;
  font-size: 2rem;
  overflow: hidden;
  padding: 0 0 10px;
}

.link--yaku::before {
  content: "";
  position: absolute;
  height: 90%;
  width: 100%;
  border-width: 2px 0;
  border-color: var(--secondary-color);
  border-style: solid;
  left: 0;
  -webkit-transform: translate3d(-101%, 0, 0);
  transform: translate3d(-101%, 0, 0);
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

.link--yaku:hover::before {
  webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.link:hover {
  color: var(--main-color);
  text-decoration: none;
}

.link--yaku:hover span {
  color: #1e1a1b;
  -webkit-transform: perspective(1000px) rotate3d(0, 1, 0, 360deg);
  transform: perspective(1000px) rotate3d(0, 1, 0, 360deg);
}

.link--yaku span {
  display: inline-block;
  padding-right: 2px;
  position: relative;
  -webkit-transform: perspective(1000px) rotate3d(0, 1, 0, 0deg);
  transform: perspective(1000px) rotate3d(0, 1, 0, 0deg);
  -webkit-transition: -webkit-transform 0.5s, color 0.5s;
  transition: transform 0.5s, color 0.5s;
}

.contact {
  margin-left: 30pt;
}

.info {
  background-color: #f7f7f7;
}

.info h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 3rem;
  line-height: 6.2rem;
  font-weight: 500;
  color: #1f1f1f;
}

.info p {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  color: var(--light-text-color);
  line-height: 28px;
}

.service-item {
  position: relative;
}

.service-item h3 {
  display: block;
  width: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.5) right bottom no-repeat;
  font-size: 1.3rem;
  color: #fff;
  padding: 10px 20px;
  text-align: left;
  bottom: 0.5em;
  z-index: 2;
}

.service-item img {
  display: inline-block;
  width: 100%;
  height: 25rem;
  object-fit: cover;
  object-position: center center;
}

.page-footer {
  background-color: #3f51b5;
}

.page-footer h6,
.page-footer p,
.page-footer li,
.page-footer a {
  color: #fff !important;
}

.breadcrumb-item a,
.active {
  font-size: 1.5rem;
}
.page-footer a:hover {
  color: var(--secondary-color) !important;
  text-decoration: none;
}

.pat2 {
  position: relative;
}

.pat2:after {
  position: absolute;
  content: "";
  top: 10px;
  left: 105%;
  width: 80px;
  height: 3px;
  background: #3f51b5;
}

.project-item:hover img {
  webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.site-section {
  padding: 5em 0;
}

.client-section {
  background-color: var(--secondary-color);
}

.site-section-heading {
  font-size: 3rem;
  position: relative;
  padding-bottom: 1em;
}

.site-section-heading:before {
  content: "";
  left: 0%;
  bottom: 0;
  position: absolute;
  width: 40px;
  height: 2px;
  background: #fd7e14;
}

.site-section-heading.text-center:before {
  content: "";
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.project .owl-stage-outer,
.client .owl-stage-outer,
.product .owl-stage-outer {
  padding-top: 1.875em;
  padding-bottom: 1.3em;
}

.media-image img {
  height: 15.6em;
  object-fit: cover;
  object-position: center center;
}

.media-image .media-image-body {
  padding: 20px;
  -webkit-box-shadow: 0 0 10px -3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px -3px rgba(0, 0, 0, 0.5);
}

.media-image h3 {
  font-size: 1.9rem;
  height: 6rem;
}

.media-image p {
  font-size: 1.4rem;
  height: 3.8rem;
  color: var(--light-text-color);
}

.border-shadow:hover {
  box-shadow: 0 0 20px rgba(33, 33, 33, 0.2);
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
  color: #000;
}

.pagination {
  justify-content: center;
}

.pagination .page-link {
  font-size: 1.6rem;
}

.table td {
  padding: 0 !important;
}

.detailtext p {
  margin: 0 !important;
}

.media-body,
.media-body h5 {
  font-size: 12px !important;
}

.customwell {
  border-top: 2px solid #3f51b5;
  background-color: #fdfdfd;

  border-left: 1px solid #ededed;
  border-right: 1px solid #ededed;
  border-bottom: none;
  box-shadow: 1px 1px 1px 1px #f6f6f6;
  margin-top: 20px;
  padding: 10px;
}

.pj h3 {
  color: #3f51b5;
  font-size: 17pt;
  margin-top: 0;
  /* padding-bottom: 20px; */
  /* border-bottom: 1px solid #ededed; */
}

.media-centered {
  position: relative;
  width: 350px;
  height: 320px;
  display: inline-block;
}

.media-centered img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

/* product */

.product-background {
  background-color: rgb(171, 208, 223);
  position: relative;
  margin-left: 70px;
  margin-right: 20px;
  border-radius: 1.2rem;
  -webkit-border-radius: 1.2rem;
  -moz-border-radius: 1.2rem;
  -ms-border-radius: 1.2rem;
  -o-border-radius: 1.2rem;
}

.product-image {
  border-radius: 20%;
  -webkit-border-radius: 20%;
  -moz-border-radius: 20%;
  -ms-border-radius: 20%;
  -o-border-radius: 20%;
  height: 120px;
  width: 120px;
  left: -60px;
  margin-top: -60px;
  position: absolute;
  top: 50%;
}

.product-image > img {
  background: linear-gradient(to bottom, var(--secondary-color), white);
  border-radius: 20%;
  padding: 5px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-border-radius: 20%;
  -moz-border-radius: 20%;
  -ms-border-radius: 20%;
  -o-border-radius: 20%;
}

.product-text {
  padding: 40px 20px 40px 73px;
}

.product-text > h2 {
  font-size: 2rem;
  font-weight: 500;
}

.product-text p {
  color: var(--light-text-color);
}

.product:hover .product-text {
  background: white;
  border-radius: 1.2rem;
  -webkit-border-radius: 1.2rem;
  -moz-border-radius: 1.2rem;
  -ms-border-radius: 1.2rem;
  -o-border-radius: 1.2rem;
}

.product-carousel div.owl-nav {
  color: var(--secondary-color);
  display: inline-block;
  font-size: 30px;
  height: 60px;
  margin-top: -30px;
  text-align: center;
  width: 40px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.product-carousel .owl-prev,
.owl-next {
  position: absolute;
}

.product-carousel .owl-prev {
  left: -20px;
  top: 60px;
}

.product-carousel .owl-next {
  right: -20px;
  top: 60px;
}

/* client */
.client-image {
  background-color: white;
  display: grid;
  align-content: center;
  width: 100px;
  height: 100px;
}

/* footer */
.social a {
  font-size: 1.8rem;
}

footer h2 {
  color: #f7f7f7;
}

/* show product page */

.pds img {
  padding: 0.5rem;
  height: 30rem;
  object-fit: cover;
  object-position: center center;
}

.pds h2 {
  font-size: 1.7rem;
  height: 2.8rem;
}

/* show project page */
.pjs img {
  padding: 0.5rem;
  height: 30rem;
  object-fit: cover;
  object-position: center center;
}

.pjs h2 {
  font-size: 1.7rem;
  height: 5.8rem;
}

/* show construction page */

.cts img {
  padding: 0.5rem;
  height: 30rem;
  object-fit: cover;
  object-position: center center;
}

.cts h2 {
  font-size: 1.7rem;
  height: 5.8rem;
}

/* show client page */

.cls {
  position: relative;
}

.cls-img {
  background-color: #fff;
  display: grid;
  align-content: center;
  justify-content: center;
  width: 250px;
  height: 250px;
  margin-bottom: 3rem;
}

.cls-text {
  position: absolute;
  bottom: 50%;
  right: 5%;
  background: rgb(171, 208, 223);
  color: white;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: visibility 0s, opacity 0.5s linear;
  transition: visibility 0s, opacity 0.5s linear;
}

.cls-text p {
  font-size: 1.2rem;
  font-weight: 500;
}

.cls:hover .cls-text {
  cursor: pointer;
  width: 220px;
  padding: 7px 15px;
  visibility: visible;
  opacity: 0.7;
}

/* contact page */
.cts label {
  font-size: 2rem;
}

.cts-info {
  font-size: 2rem;
}

.cts-address {
  font-size: 1.5rem;
  color: var(--light-text-color);
}

.cts-btn input {
  font-size: 1.5rem;
}

.form-control {
  font-size: 1.5rem;
}

/* project-detail page */

.pjd-title h3 {
  font-size: 2.2rem;
}

.pjd-side h3 a {
  font-size: 1.5rem;
}

.pjd-side p {
  font-size: 1.1rem;
}

.myborder {
  border: 3px solid var(--secondary-color);
  background-color: var(--light-text-color);
}

.icon::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  content: "\f0c8";
  margin-right: 1rem;
}

.icon::after {
  font-family: "Font Awesome 5 Free";
  font-size: 0.7rem;
  font-weight: 500;
  content: "\f111";
  margin-left: 0.5rem;
  margin-right: 1rem;
}

.pjd-detailtext p {
  margin-bottom: 1rem;
}

/* construction detail page  */
img.art {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 1s;
  -webkit-transition: transform 1s;
  -moz-transition: transform 1s;
  -ms-transition: transform 1s;
  -o-transition: transform 1s;
}

.thumb {
  overflow: hidden;
}

img.art:hover {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
}

.construction-detail h2 {
  font-size: 2.2rem;
}

/* service detail page  */
.servicedetail-title h3 {
  font-size: 2.2rem;
}
