:root {
  --primary-color: #d0ac83;
  --secondary-color: #ea3a60;
  --third-color: #fed9ca;
  --fourth-color: #333;
  --six-color: #f7f8fa;
  --seven-color: #2e3447;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.4;
}

p {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Ubuntu', sans-serif;
  line-height: 1.1;
  margin-bottom: 2rem;
}
p {
  font-size: 1.1rem;
}
ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333;
}

/* Utility class */
.container {
  margin: auto;
  max-width: 1100px;
  padding: 0 1rem;
  overflow: hidden;
}

.short-line {
  border-bottom: 7px solid var(--third-color);
}

.l-heading {
  font-size: 3rem;
}

.btn {
  display: inline-block;
  border: none;
  padding: 1rem 2rem;
  background-color: var(--fourth-color);
  color: #fff;
  transition: all 0.44s ease-out;
  cursor: pointer;
}

.btn-submit {
  display: inline-block;
  border: none;
  padding: 1rem 2rem;
  background-color: var(--fourth-color);
  color: #fff;
  transition: all 0.44s ease-out;
  cursor: pointer;
}

.btn-dark:hover {
  background-color: var(--primary-color);
  color: #000;
}

.btn-light {
  background-color: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.btn-light:hover {
  color: #fff;
  background-color: var(--primary-color);
  border: 2px solid var(--third-color);
}
.py-1 {
  padding: 1.5rem 0;
}
.py-2 {
  padding: 2rem 0;
}
.py-3 {
  padding: 3rem 0;
}

.p-1 {
  padding: 1.5rem;
}
.p-2 {
  padding: 2rem;
}
.p-3 {
  padding: 3rem;
}

/* navbar */
#main-nav {
  background-color: #fbfbfb;
  position: sticky;
  top: 0px;
  z-index: 3;
}
#main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#main-nav .container ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
}

#main-nav .container ul li a {
  display: inline-block;
  color: var(--fourth-color);
  padding: 1rem;
  transition: color 0.3s ease-in-out;
}

#main-nav .container ul li a:hover {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}
#main-nav img {
  width: 85px;
  transition: all 0.3s ease-out;
}

#main-nav img:hover {
  padding: 0.6rem;
}

#main-nav .container > div {
  transition: all 0.3s ease;
}

#main-nav .container > div:hover {
  background-color: var(--third-color);
  border-radius: 50%;
}

/* navbar mob */
#main-nav-mob {
  background-color: #fbfbfb;
  position: sticky;
  top: 0px;
  z-index: 3;
  display: none;
}
#main-nav-mob .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#main-nav-mob .container ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
}

#main-nav-mob .container ul li a {
  display: inline-block;
  color: var(--fourth-color);
  padding: 1rem;
  transition: color 0.3s ease-in-out;
}

#main-nav-mob .container ul li a:hover {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}
#main-nav-mob img {
  width: 85px;
  transition: all 0.3s ease-out;
}

#main-nav-mob img:hover {
  padding: 0.6rem;
}

#main-nav-mob .container > div {
  transition: all 0.3s ease;
}

#main-nav-mob .container > div:hover {
  background-color: var(--third-color);
  border-radius: 50%;
}

/* mobile navbar */
#nav-mob {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.8rem;
  display: none;
}

#nav-mob-icon img {
  width: 55px;
  transition: all 0.3s ease-out;
}

#nav-mob-icon img:hover {
  padding: 0.6rem;
}

#nav-mob-icon {
  transition: all 0.3s ease;
  position: absolute;
  right: 0.7rem;
  top: 0.5rem;
  display: none;
}

#nav-mob-icon:hover {
  background-color: var(--third-color);
  border-radius: 50%;
}

#nav-mob-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.8rem;
  display: none;
}

.fa-home,
.fa-address-card,
.fa-briefcase,
.fa-servicestack,
.fa-envelope {
  display: none;
}
/* showcase */
#showcase {
  background-color: #f1f1f1;
  position: relative;
}

#showcase::before {
  content: '';
  background: url('../img/white-shabby-concrete-wall-with-cracked-stucco-3968175.jpg')
    no-repeat center center/cover;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.3;
}

#showcase .container {
  display: flex;
  flex-direction: row;
  height: 94vh;
}

#showcase .showcase-content {
  z-index: 1;
  color: var(--fourth-color);
  align-self: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

#showcase .showcase-content .l-heading {
  color: var(--primary-color);
  margin-bottom: 2.8rem;
  margin-top: 1rem;
  animation: animate1 2s ease-in-out reverse;
}

@keyframes animate1 {
  to {
    transform: translateX(-800px);
  }
}

#showcase .showcase-content .short-line {
  padding-bottom: 1rem;
}
#showcase .container .showcase-photo {
  align-self: center;
  justify-content: center;
  width: 70%;
  z-index: 1;
  overflow: hidden;
}

#showcase .container .showcase-photo img {
  width: 70%;
  box-shadow: 10px 10px 10px 1px rgba(0, 0, 0, 0.2);
  border-radius: 3%;
}

/* about */

#about .about-content {
  display: grid;
  grid-template-columns: 5fr 2.5fr;
}

#about .l-heading {
  color: var(--primary-color);
  margin-bottom: 3rem;
}

/* follow */

#follow {
  position: relative;
  height: 280px;
  overflow: hidden;
}

#follow .back-vid1 {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100vw;
}
#follow .head-container {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0rem;
  left: -0.6rem;
}
#follow .head-container .l-heading {
  padding-top: 1.1rem;
}
#follow .container {
  position: relative;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
#follow .content-mid {
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-content: center;
  align-items: center;
  text-align: center;
}
#follow .follow-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 2rem;
}

#follow .follow-content a {
  color: #fff;
  padding: 2rem;
  transition: color 0.4s ease-in-out;
}

#follow .follow-content a:hover {
  color: var(--secondary-color);
}
#follow h1 {
  color: #fff;
}

/* my works */
.card {
  background-color: #fff;
  padding: 1rem;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.43s ease-in-out;
  margin-bottom: 1rem;
  box-shadow: 8px 8px 8px 1px rgba(0, 0, 0, 0.1);
}

.card:hover {
  box-shadow: 8px 8px 8px 1px rgba(0, 0, 0, 0.32);
}

#myworks {
  background-color: var(--six-color);
}

#myworks .l-heading {
  color: var(--primary-color);
  margin-bottom: 3rem;
}

#myworks img {
  width: 100%;
  height: 70%;
}

#myworks .myworks-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  color: var(--fourth-color);
}

#myworks .myworks-content h2 {
  font-family: 'Staatliches', cursive;
  margin-top: 1rem;
}

/* my services */
#myservices {
  background-color: #212529;
  position: relative;
  height: 810px;
  z-index: 2;
  overflow: hidden;
}

#myservices::before {
  content: '';
  background: url('../img/aaaawe.jpg') center center;
  background-size: cover;
  background-attachment: fixed;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: -1;
}

#myservices .container {
  color: #fff;
}
#myservices .container h1 {
  color: var(--primary-color);
}

#myservices .myservices-content {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 3rem;
}

#myservices .card2 i {
  margin-bottom: 1.5rem;
}

/* cover photo */
#cover {
  background-color: var(--fourth-color);
  position: relative;
  z-index: 2;
  height: 100vh;
}

#cover::before {
  content: '';
  background: url('../img/cover2.jpg') no-repeat center center;
  background-size: cover;
  position: absolute;
  background-attachment: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.6;
  z-index: -1;
}

#cover .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

#cover .container .l-heading {
  color: #fff;
  text-align: center;
}

/* contact */
#contact .l-heading {
  color: var(--primary-color);
}

#contact .contact-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-gap: 3rem;
}

#contact .contact-content form {
  padding-bottom: 1rem;
}

#contact .contact-content input {
  margin-bottom: 2rem;
}
#contact .contact-content input[type='text'],
#contact .contact-content input[type='email'],
#contact .contact-content form textarea {
  display: block;
  width: 100%;
  padding: 1rem 1rem;
  font-size: 1rem;
  background-color: var(--six-color);
  border: none;
  border-radius: 0.3rem;
  outline: none;
  font-family: 'Roboto', sans-serif;
}

#contact .contact-content input[type='text']:focus,
#contact .contact-content input[type='email']:focus {
  outline: var(--primary-color) 2px solid;
  border-radius: 0.3rem;
  background-color: #fff;
}

#contact .contact-content form textarea {
  height: 33%;
  margin-bottom: 2rem;
  overflow-y: auto;
  resize: vertical;
  resize: none;
}

#contact .contact-info h3 {
  margin-bottom: 0.5rem;
}

#contact .contact-info div:nth-child(2),
#contact .contact-info div:nth-child(3) {
  padding-top: 1.4rem;
}

#contact .contact-info p {
  font-size: 1rem;
  line-height: 0.7rem;
}

/* footer */
#main-footer {
  text-align: center;
  background-color: var(--six-color);
  color: var(--seven-color);
  padding: 3rem;
  font-family: 'Montserrat', sans-serif;
}

/* arrow up */
#arrow-up {
  position: fixed;
  bottom: 4rem;
  right: 1rem;
  z-index: 4;
  display: none;
  animation: animate3 0.3s ease-in-out reverse;
}

@keyframes animate3 {
  to {
    transform: translate(30px);
  }
}
#arrow-up i {
  color: var(--primary-color);
  font-size: 2rem;
  opacity: 0.9;
}

@media screen and (min-width: 768px) {
  .mobile-img {
    display: none;
  }

  #follow .head-container .container .content-mid #follow-content-mobile {
    display: none;
  }

  /* #follow .back-vid1 {
      display: none;
      visibility: hidden;
       width: 30%;
   } */
}

@media (min-width: 769px) and (max-width: 847px) {
  #showcase .showcase-content .short-line {
    border-bottom: none;
  }
}
