:root {
  --secondary-color: #baff00;
  --grey: #efefef;
  --dark-grey: #222222;
  --section-top: 100px;
  --section-bottom: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto", sans-serif;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}

/* Start header */
header {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 1;
}
@media (max-width: 767px) {
  header {
    background-color: var(--dark-grey);
  }
}
header .container {
  display: flex;
  justify-content: space-between;
}
header .logo {
  background-color: #222222;
  padding: 20px;
}
.nav-bar {
  display: flex;
}
.nav-bar i {
  padding: 30px;
  font-size: 30px;
  display: none;
}
@media (max-width: 767px) {
  .nav-bar i {
    display: block;
    color: white;
  }
}
.nav-bar ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 767px) {
  .nav-bar ul {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav-bar i {
    position: relative;
  }
  i:hover + ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: white;
    background-color: var(--dark-grey);
    position: absolute;
    top: 100%;
    left: 0;
  }
}

.nav-bar ul li a {
  margin-right: 20px;
  color: white;
  display: block;
}

@media (max-width: 767px) {
  .nav-bar ul li {
    width: 100%;
    padding: 20px !important;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }
  .nav-bar ul li:first-child {
    border-top: 1px solid #ddd;
  }
  .nav-bar ul li:nth-child(5) {
    border-bottom: none;
  }
  .nav-bar ul li:last-child {
    display: none;
  }
}

.nav-bar ul li:last-child {
  background-color: var(--secondary-color);
  padding: 10px;
  color: black;
}
.nav-bar ul li {
  padding: 30px 0;
  position: relative;
}
.nav-bar ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 20px;
  background-color: var(--secondary-color);
  top: -22px;
  left: calc(50% - 10px);
  transition: 0.5s;
}
.nav-bar ul li:first-child::after {
  top: -2px;
}
.nav-bar ul li:not(:last-child):hover:after {
  top: -2px;
}
@media (max-width: 767px) {
  .nav-bar ul li:not(:last-child)::after {
    display: none;
  }
}

/* Start landing */
.landing {
  height: 140vh;
  width: 100%;
  background-image: url(../images/kk.webp);
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .landing {
    flex-direction: column;
    height: 70vh;
  }
}

.landing .slider {
  flex: 0 0 10%;
  background-color: var(--dark-grey);
  height: 100%;
  position: relative;
}
@media (max-width: 767px) {
  .landing .slider {
    display: none;
  }
}
.slider .social-media {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%);
}
.social-media a {
  margin-bottom: 25px;
}
.social-media a i {
  color: #bebbbb67;
  font-size: 25px;
}

.center-box {
  padding-top: 15%;
}
@media (max-width: 767px) {
  .center-box {
    flex-basis: 100%;
    padding-top: 40%;
  }
}

.center-box p {
  color: white;
  font-size: 90px;
  margin-left: 45%;
  letter-spacing: -2px;
  font-weight: 800;
  line-height: 1;
  position: relative;
}
@media (max-width: 767px) {
  .center-box p {
    margin-left: 50px;
    font-size: 60px;
  }
}
.center-box p::after {
  content: "";
  width: 140px;
  height: 400px;
  border-style: solid;
  border-color: #bbff00b6;
  border-left-width: 140px;
  border-top-width: 100px;
  border-bottom-width: 100px;
  border-right-width: 0px;

  position: absolute;
  left: -170px;
  top: -120px;
}
@media (max-width: 767px) {
  .center-box p::after {
    display: none;
  }
}
.center-box button {
  padding: 20px 40px;
  border: 4px solid white;
  background-color: transparent;
  color: white;
  margin-top: 20px;
  margin-left: 45%;
  font-size: 20px;
  font-weight: bold;
  position: relative;
}
@media (max-width: 767px) {
  .center-box button {
    margin-left: 60px;
    margin-top: 60px;
    padding: 25px 70px;
  }
}
.center-box button::after {
  content: "\3d";
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  position: absolute;
  font-size: 30px;
  right: 0;
  top: 50%;
  transform: translatex(50%);
}
.direction {
  margin-left: 30%;
  margin-top: 180px;
}
@media (max-width: 767px) {
  .direction {
    margin-top: 80px;
  }
}
.next,
.direction,
.prev {
  display: flex;
  color: white;
}
.next a,
.prev a {
  color: white;
  font-weight: bold;
}
.prev a {
  margin-right: 20px;
  margin-left: 10px;
}
.next a {
  margin-right: 10px;
}
.right-slider {
  flex: 0 0 20%;
  position: relative;
}

.right-slider p {
  transform: rotate(-90deg);
  color: white;
  letter-spacing: 20px;
  position: absolute;
  top: 50%;
}
@media (max-width: 767px) {
  .right-slider {
    display: none;
  }
}

.page-no {
  position: absolute;
  top: 80%;
  left: 40%;
  background-color: var(--dark-grey);
  padding: 70px 10px 20px 10px;
}
.page-no span:not(:last-of-type) {
  font-size: 70px;
  color: var(--secondary-color);
  font-weight: bold;
}
.page-no span:last-of-type {
  color: white;
  font-weight: bold;
}

/* Studio */
.Studio {
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}

.Studio .container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
@media (max-width: 767px) {
  .Studio .container {
    flex-direction: column;
  }
}

.Studio h1 {
  font-size: 60px;
  color: var(--dark-grey);
  line-height: 1.2;
}
@media (max-width: 767px) {
  .Studio h1 {
    font-size: 40px;
  }
}
.Studio h1 span {
  background-color: var(--secondary-color);
  padding: 5px;
}
.Studio p {
  color: var(--dark-grey);
  opacity: 0.5;
  line-height: 1.8;
}

.Studio button {
  padding: 20px 40px;
  border: 4px solid var(--dark-grey);
  background-color: transparent;
  color: var(--dark-grey);
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  position: relative;
}

.Studio button::after {
  content: "\3d";
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  position: absolute;
  font-size: 30px;
  right: 0;
  top: 50%;
  transform: translatex(50%);
}

@media (max-width: 767px) {
  .Studio .s-image {
    margin-top: 20px;
  }
  .Studio .s-image img {
    max-width: 90%;
  }
}
/* Services */
.service {
  /* padding-top: var(--section-top); */
  padding-bottom: var(--section-bottom);
}
.service h1 {
  font-size: 60px;
  background-color: var(--secondary-color);
  padding: 5px 10px;
  display: inline-block;
}

.serv-info {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.serv-box img {
  margin-bottom: 30px;
  max-width: 100%;
  opacity: 0.3;
  transition: 0.5s;
  background-color: white;
  padding: 36px 5px 5px 5px;
}
.serv-image {
  position: relative;
  z-index: -5;
}
.serv-box .serv-image::after {
  content: "";
  width: 89px;
  height: 111px;
  background-color: white;
  position: absolute;
  left: 12px;
  top: -73px;
  z-index: 1;
  transform: rotate(-65deg);
}
.serv-box:hover img {
  background-color: var(--secondary-color);
  opacity: 1;
  transform: translateX(10px);
}

.serv-box h2 {
  margin-bottom: 30px;
}

.serv-box p {
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 30px;
}
.serv-box a {
  color: #222222;
  font-size: 12px;
  font-weight: bold;
  transition: 0.5s;
  z-index: 10;
}

.serv-box:hover a {
  background-color: var(--secondary-color);
  padding: 5px;
  transform: translateX(10px);
}

/* home */
.home {
  padding-bottom: var(--section-bottom);
  position: relative;
}

.home .info {
  padding: 100px;
  width: 70%;
  background-color: var(--dark-grey);
  color: white;
  position: absolute;
  right: 0;
}

@media (max-width: 767px) {
  .home .info {
    width: 100%;
    padding: 15px;

    margin: auto;
  }
}
.home .info h1 {
  font-size: 60px;
}
.info h1 span {
  background-color: var(--secondary-color);
  padding: 5px;
  color: var(--dark-grey);
}
.home .info p {
  line-height: 1.6;
}

.home .info .home-image {
  margin-top: 20px;
}

.home-image img {
  margin-right: 20px;
}
.home .image-b {
  height: 600px;
  width: 700px;
  position: absolute;
  left: 0;
  top: 100px;
  z-index: -1;
}

.image-b img {
  height: 100%;
  width: 100%;
}
@media (max-width: 767px) {
  .home .image-b img {
    display: none;
  }
}

/* analytics */

.analytics {
  margin-top: 600px;
  padding-top: var(--section-top);
  padding-bottom: var(--section-bottom);
}
.analytics .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  row-gap: 75px;
  column-gap: 75px;
}

.anal-box {
  display: flex;
  gap: 30px;
}
.anal-box .number {
  font-weight: 900;
  font-size: 60px;
  color: var(--dark-grey);
  position: relative;
}
.anal-box .number:before {
  content: "";
  height: 120px;
  width: 120px;
  background-color: var(--grey);
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translatey(-50%);
  z-index: -1;
}
.anal-box .number:hover:before {
  background-color: var(--secondary-color);
}

.anal-box p {
  font-size: 25px;
  color: var(--dark-grey);
  font-weight: bold;
  opacity: 0.5;
}
/* Projects */
.Projects {
  padding-bottom: var(--section-bottom);
}

.Projects .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.project-image {
  position: relative;
}
.project-image img {
  max-width: 100%;
}
.project-image:after {
  content: "";
  width: 100%;
  height: 99%;
  background-color: #22222280;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
  transition: 0.6s;
}
.project-image:hover::after {
  display: block;
}
.pro-box {
  position: relative;
}

.pro-box .project-info {
  position: absolute;
  top: 90px;
  left: 20px;
  z-index: 20;
  opacity: 0;
  transition: 1s;
}
.pro-box:hover .project-info {
  opacity: 1;
  top: 50px;
}
.project-info h2 {
  font-size: 40px;
  color: white;
}

.project-info span {
  display: block;
  font-weight: bold;
  margin-top: 20px;
  color: var(--secondary-color);
  margin-bottom: 150px;
}

.project-info a {
  margin-top: 100px;
  color: var(--dark-grey);
  background-color: var(--secondary-color);
  padding: 5px;
  font-weight: bold;
  margin-left: 110px;
}

/* footer */
footer {
  background-color: #222222;
  padding: 20px;
}
footer p {
  color: white;
  text-align: center;
}
