@font-face {
  font-family: primary-font;
  src: url("../Fonts/OTF/ClashDisplay-Regular.otf");
}

@font-face {
  font-family: secondary-font;
  src: url("../Fonts/OTF/ClashGrotesk-Regular.otf");
}

:root {
  --mainbg: #0a0a09;
  --white: #fff;
  --primary: #f4fa94;
  --lightgrey: #ffffff1f;
  --workbg: #ffffff0f;
  --primary-font: 'primary-font', sans-serif;
  --secondary-font: 'secondary-font', sans-serif;
}

/* width */

::-webkit-scrollbar {
  width: 10px;
}

/* Track */

::-webkit-scrollbar-track {
  background: var(--mainbg);
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: var(--primary);
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: var(--lightgrey);
}

#prealoder {
  background: #000 url("../img/loader.gif") no-repeat center center;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 100;
}

body {
  background-color: var(--mainbg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--primary-font);
  letter-spacing: 1.2px;
}

button {
  cursor: pointer;
}

p {
  font-family: var(--secondary-font);
  font-weight: 500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--primary-font);
}

.inner {
  max-width: 1100px;
  margin: 0 auto;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

a,
a:hover {
  text-decoration: none;
  color: var(--white);
}

ul li {
  list-style: none;
}

nav {
  padding: 30px 0;
  font-family: var(--secondary-font);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 1px;
}

.menu {
  position: fixed;
  top: 5%;
  right: 3.2%;
  font-size: 20px;
  z-index: 10;
}

.menu button {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--mainbg);
  font-size: 22px;
  border: none;
}

#sidenav {
  width: 0px;
  height: 100vh;
  border-left: 2px solid var(--lightgrey);
  background-color: var(--mainbg);
  position: fixed;
  top: 0%;
  right: 0;
  z-index: 9;
  padding: 20px 0;
  transition: 0.3s all ease-in-out;
}

#sidenav ul {
  margin: 80px auto;
  padding-left: 20px;
}

#sidenav ul li {
  list-style: none;
}

#sidenav ul li a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  display: block;
  padding: 20px 10px;
}

#sidenav ul li a:hover {
  background-color: var(--lightgrey);
  transform: translateX(2px);
  transition: 0.5s all ease-in-out;
}

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px auto;
  color: var(--white);
  z-index: -1;
}

.hero-txt {
  margin: 20px auto;
  text-align: center;
}

.hero-txt h2 {
  font-size: 4.8rem;
  text-transform: uppercase;
  line-height: 90px;
}

.hero-txt h2 span {
  font-family: var(--boldfont);
  background-color: var(--primary);
  color: var(--mainbg);
}

.hero-txt p {
  font-size: 1.5rem;
  line-height: 35px;
}

.hero-txt .btn {
  background-color: var(--lightgrey);
  width: 300px;
  height: 80px;
  margin: 20px 0;
  font-size: 20px;
  color: var(--white);
  text-transform: uppercase;
  border: none;
}

.hero-txt .btn i {
  margin-left: 5px;
  color: var(--primary);
}

.about {
  align-items: flex-start;
}

.about-img {
  width: 40%;
  text-align: center;
}

.about-img img {
  width: 80%;
}

.about-txt {
  width: 58%;
  background-color: var(--white);
  padding: 40px 20px;
  color: var(--mainbg);
  box-shadow: 1px 5px 10px var(--lightgrey);
}

.about-txt h2 {
  font-size: 2rem;
}

.about-txt p {
  font-size: 1.2rem;
  margin: 20px 0;
  line-height: 30px
}

.about-txt .btn {
  width: 200px;
  height: 50px;
  background-color: var(--mainbg);
  color: var(--white);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
}

.skill-section {
  margin: 50px auto;
  background-color: var(--lightgrey);
  padding: 80px 0;
}

.heading {
  font-family: var(--secondary-font);
  text-align: center;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--white);
}

.heading span {
  color: var(--primary);
}

.heading p {
  font-size: 1.3rem;
  margin-top: 10px;
}

.service-container {
  margin: 50px auto;
}

.service-box {
  width: 32%;
  background-color: var(--lightgrey);
  color: var(--white);
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: 0.3s all ease-in-out;
}

.box-2 {
  box-shadow: 1px 15px 5px rgba(0, 0, 0, 0.468);
}

.service-box:hover {
  transform: translateY(-10px) !important;
  box-shadow: 1px 15px 5px rgba(0, 0, 0, 0.468);
  cursor: pointer;
}

.service-box img {
  width: 70px;
}

.service-box h2 {
  color: var(--primary);
}

.service-box p {
  margin-top: 20px;
  line-height: 25px;
}

.project-section {
  margin: 50px auto;
}

.project-heading {
  text-align: center;
  font-size: 3rem;
  background-color: var(--primary);
  color: var(--mainbg);
  margin: 50px auto;
}

.box {
  margin-bottom: 30px;
  background-color: var(--lightgrey);
  box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.097);
  border: 2px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.5s all ease-in-out;
}

.box:hover {
  transform: translateY(-8px) !important;
}

.box-left {
  width: 48%;
}

.box-right {
  width: 48%;
}

img {
  width: 100%;
  height: auto;
}

.info {
  padding: 25px 20px;
  color: #fff;
}

.info h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.info p {
  font-size: 18px;
  line-height: 30px;
}

.testimonial {
  align-items: center;
  margin: 80px auto;
}

.testimonial-img {
  width: 40%;
}

.testimonial-txt {
  width: 55%;
}

.testimonial-txt h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin: 25px 0;
}

.test-user {
  padding: 20px;
  background-color: var(--white);
  box-shadow: 1px 5px 20px var(--mainbg);
  margin-bottom: 20px;
}

.test-user a {
  background-color: var(--mainbg);
  color: var(--white);
  font-size: 16px;
  display: inline-block;
  padding: 10px;
  margin-top: 5px;
}

.star {
  color: var(--mainbg);
  margin: 10px 0;
}

.star i {
  color: gold;
  font-size: 20px;
}

.test-user p {
  line-height: 25px;
  margin-bottom: 20px;
}

.client-name {
  margin-bottom: 0 !important;
}

.cta {
  background-color: var(--lightgrey);
  padding: 80px 20px;
  margin: 50px auto;
  border: 1px solid transparent;
  border-radius: 50px;
  text-align: center;
}

.cta-container h2 {
  font-size: 96px;
  line-height: 96px;
  color: var(--white);
  letter-spacing: 2.5px;
  margin-bottom: 25px;
}

.cta-container a {
  color: var(--primary);
  font-size: 2rem;
}

.social-icon {
  width: 30%;
  margin-top: 25px;
}

.social {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  color: var(--mainbg);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 30px;
}

.social i {
  color: black;
}

.social:hover {
  background-color: var(--white);
  cursor: pointer;
}

.f-copyright {
  color: var(--white);
  padding: 20px 0;
  border-top: 2px solid var(--lightgrey);
  text-align: center;
}

.f-copyright a {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 1px;
}

@media (max-width:770px) {
  .inner {
      width: 97%;
  }
  .hero-txt h2 {
      font-size: 3rem;
      line-height: 55px;
  }
  .hero-txt p {
      font-size: 1rem;
      line-height: 20px;
      margin: 25px;
      letter-spacing: 1.4px;
  }
  .hero-txt .btn {
      width: 250px;
      height: 60px;
      margin: 15px 0;
      font-size: 1rem;
  }
  .master {
      flex-direction: column;
  }
  .box-left {
      width: 100%;
  }
  .box-right {
      width: 100%;
  }
}

@media (max-width: 600px) {
  .inner {
      width: 96%;
  }
  .hero-txt h2 {
      font-size: 2.1rem;
      line-height: 43px;
  }
  .hero-txt .btn {
      margin: 0;
  }
  .about-img {
      width: 100%;
  }
  .about-img img {
      width: 100%;
      height: auto;
  }
  .about-txt {
      width: 100%;
  }
  .heading h2 {
      font-size: 1.9rem;
  }
  .heading p {
      font-size: 1rem;
  }
  .service-box {
      width: 100%;
      margin-bottom: 40px;
  }
  .project-heading {
      font-size: 2rem;
  }
  .box-3 {
      margin-bottom: 0;
  }
  .testimonial {
      flex-direction: column-reverse;
  }
  .testimonial-txt {
      width: 100%;
  }
  .testimonial-img {
      width: 100%;
  }
  .cta-container h2 {
      font-size: 2.7rem;
      line-height: 55px;
  }
  .cta-container a {
      color: var(--primary);
      font-size: 1.5rem;
  }
}

@media (max-width: 400px) {
  .project-heading {
      font-size: 1.4rem;
  }
}

@media (max-width: 350px) {
  .cta-container h2 {
      font-size: 2.5rem;
      line-height: 55px;
  }
  .cta-container a {
      color: var(--primary);
      font-size: 1.2rem;
  }
  .social {
      width: 50px;
      height: 50px;
  }
}