/* start variables */
:root {
  --bgc1: #f6f6f6;
  --bgc2: #fff;
  --tc: #2c4755;
  --thc: #10cab7;
}
/* End variables */
/*Start Global rules */
i {
  cursor: pointer;
}
body {
  font-family: "Work Sans", sans-serif;
}
body p {
  color: #777;
  font-weight: 300;
}
* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
/*End Global rules */
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 0px;
  padding-bottom: 0px;
}
/* // Small devices (landscape phones, 576px and up) */
@media (max-width: 575) {
  .container {
    width: 100%;
  }
}
@media (min-width: 576px) {
  .container {
    width: 500px;
  }
  header ul {
    width: 240px;
  }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    width: 700px;
  }
  header ul {
    width: 480px;
  }
}
/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    width: 900px;
  }
  header ul {
    width: 480px;
  }
}
/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    width: 1100px;
  }
  header ul {
    width: 480px;
  }
}
/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    width: 1350px;
  }
  header ul {
    width: 480px;
  }
}
header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
header .logo {
  width: 60px;
}
header .links i {
  font-size: 20px;
  transition: 600ms;
  -webkit-transition: 600ms;
  -moz-transition: 600ms;
  -ms-transition: 600ms;
  -o-transition: 600ms;
}
header .links:hover i {
  transform: rotate3D(0, 0, 1, -90deg);
  -webkit-transform: rotate3D(0, 0, 1, -90deg);
  -moz-transform: rotate3D(0, 0, 1, -90deg);
  -ms-transform: rotate3D(0, 0, 1, -90deg);
  -o-transform: rotate3D(0, 0, 1, -90deg);
}
header .links {
  position: relative;
  cursor: pointer;
}
header ul {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  list-style: none;
  margin: 0px;
  top: 0px;
  right: 30px;
  padding-left: 0;
  z-index: 5;
}
header ul li:nth-of-type(n) {
  padding-left: 15px;
  padding-right: 15px;
  transition: 300ms;
  transform: translateY(-300px);
  -webkit-transform: translateY(-300px);
  -moz-transform: translateY(-300px);
  -ms-transform: translateY(-300px);
  -o-transform: translateY(-300px);
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -ms-transition: 300ms;
  -o-transition: 300ms;
  opacity: 0;
  height: 30px;
  background-color: white;
}
header .links:hover li {
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  opacity: 1;
}
header .links:hover li:nth-of-type(2) {
  transition-delay: 100ms;
}
header .links:hover li:nth-of-type(3) {
  transition-delay: 200ms;
}
header .links:hover li:nth-of-type(4) {
  transition-delay: 300ms;
}
header a {
  text-decoration: none;
  color: #333;
  transition: 300ms;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -ms-transition: 300ms;
  -o-transition: 300ms;
}
header li:hover a {
  font-weight: bolder;
  color: var(--tc);
}
/* End Header */
/* Start landing */
.landing {
  height: calc(100vh - 70px);
  background-image: url(../img/mountain.jpg);
  background-size: cover;
  position: relative;
}
.landing h1 {
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  color: var(--thc);
}
.landing p {
  margin-left: auto;
  margin-right: auto;
  color: #2c4755;
  font-size: 20px;
  font-size: 19;
  line-height: 1.8;
}
.landing .introtext {
  position: relative;
  top: 100px;
  width: 357px;
  max-width: 100%;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  text-align: center;
}
/* End Landing */
/* Start features */
.features .container {
  padding-top: 60px;
  /* background-color: var(--bgc1); */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  grid-gap: 20px;
  text-align: center;
}
.features i {
  font-size: 60px;
  color: var(--thc);
  transition: 500ms;
  -webkit-transition: 500ms;
  -moz-transition: 500ms;
  -ms-transition: 500ms;
  -o-transition: 500ms;
  transition-timing-function: cubic-bezier(0.01, 1.34, 0.61, 2.15);
}
.features > .container div:nth-of-type(n):hover i {
  transform: scale(1.3, 1.3);
  -webkit-transform: scale(1.3, 1.3);
  -moz-transform: scale(1.3, 1.3);
  -ms-transform: scale(1.3, 1.3);
  -o-transform: scale(1.3, 1.3);
  color: var(--tc);
}
.features > .container div:nth-of-type(n):hover {
  box-shadow: 0.5px 0.5px 5px 0px gray;
  background-color: var(--bgc2);
}
.features > .container > div {
  text-align: center;
  /* background-color: var(--bgc1); */
  padding: 20px;
}
.features p {
  line-height: 1.8;
  font-size: 17px;
}
.features h3 {
  font-weight: 800;
}
/* End Features */
/*Start main components */
.assets {
  padding-bottom: 100px;
  padding-top: 60px;
}
.elem {
  font-size: 150px;
  font-weight: bold;
  color: var(--thc);
  margin: 0px;
  position: relative;
  transition: 1000ms;
  -webkit-transition: 1000ms;
  -moz-transition: 1000ms;
  -ms-transition: 1000ms;
  -o-transition: 1000ms;
  opacity: 0.3;
}
.elem + p {
  font-size: 20px;
  bottom: 5px;
  color: black;
  margin-top: -50px;
  z-index: 1;
}
@media (max-width: 768px) {
  .elem {
    font-size: 60px;
    margin-bottom: 20px;
  }
}
.elem::after {
  content: "";
  position: absolute;
  right: 150%;
  width: 100px;
  height: 100%;
  transform: skewX(-20deg);
  background-color: rgb(255, 255, 255);
  -webkit-transform: skewX(-20deg);
  -moz-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  -o-transform: skewX(-20deg);
  transition: 2000ms;
  -webkit-transition: 2000ms;
  -moz-transition: 2000ms;
  -ms-transition: 2000ms;
  -o-transition: 2000ms;
  mix-blend-mode: overlay;
}
.elem:hover::after {
  right: -50%;
}
.elem:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  color: var(--tc);
}
/* End main components */
/* Start Services  */
.services .containerb {
  display: flex;
  align-items: center;
}
.services .main {
  display: grid;
  margin: 100px 0px 100px 0px;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}
.services .c {
  display: flex;
  gap: 10px;
}
.services i {
  font-size: 40px;
  color: var(--tc);
  transition: 300ms;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -ms-transition: 300ms;
  -o-transition: 300ms;
}
.services .c:hover i {
  transform-origin: center;
  transform: scale(1.3, 1.3) rotate(-20deg);
  -webkit-transform: scale(1.3, 1.3) rotate(-20deg);
  -moz-transform: scale(1.3, 1.3) rotate(-20deg);
  -ms-transform: scale(1.3, 1.3) rotate(-20deg);
  -o-transform: scale(1.3, 1.3) rotate(-20deg);
}
.services .text {
  text-align: left;
  flex: 1;
}
.services h3 {
  margin-top: 10px;
}
.services img {
  width: 200px;
  padding: 0px;
  margin: 0px;
  filter: invert(150);
  -webkit-filter: invert(150);
  transition: 500ms;
  -webkit-transition: 500ms;
  -moz-transition: 500ms;
  -ms-transition: 500ms;
  -o-transition: 500ms;
}
.services img:hover {
  filter: invert(0);
  -webkit-filter: invert(0);
}
.services .image {
  position: relative;
  text-align: center;
}
.services .image::before {
  content: "";
  width: 100px;
  height: calc(100% + 100px);
  background-color: var(--tc);
  position: absolute;
  top: -50px;
  right: -50px;
  z-index: -1;
}
@media (max-width: 768px) {
  .services .c {
    flex-direction: column;
  }
  .services .text {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .services .image {
    display: none;
  }
}
/* end services */
/* start portfolio */
.portfolio .containerb {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
  justify-content: space-between;
}
/* end portfolio */
/* Start About */
.about .containerb {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  justify-content: space-between;
  align-items: center;
}
.about .container div:not(:first-of-type) p:first-of-type {
  font-weight: bold;
  font-size: 20px;
  line-height: 22px;
}
.about .container div:not(:first-of-type) p:last-of-type {
  font-size: 15px;
  line-height: 18px;
}
.about .containerb .image {
  position: relative;
}
.about .containerb .image::after {
  content: "";
  position: absolute;
  width: 50px;
  height: calc(100% + 50px);
  background-color: var(--tc);
  left: 80px;
  top: -25px;
  z-index: -1;
}
.about .containerb .image::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 60%;
  background-color: var(--thc);
  right: 70px;
  top: -23px;
  z-index: -1;
}
.about .containerb img {
  width: 450px;
  filter: invert(150);
  -webkit-filter: invert(150);
  transition: 500ms;
  -webkit-transition: 500ms;
  -moz-transition: 500ms;
  -ms-transition: 500ms;
  -o-transition: 500ms;
}
.about .containerb img:hover {
  filter: invert(0);
  -webkit-filter: invert(0);
}
.portfolio img {
  width: 300px;
  height: 200px;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  transition: 300ms;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -ms-transition: 300ms;
  -o-transition: 300ms;
}
.portfolio img:hover {
  filter: blur(0px);
  -webkit-filter: blur(0px);
}
/* End About */
/* Contact start */
.contact .msg p:first-of-type {
  font-size: 50px;
  color: var(--tc);
  text-transform: capitalize;
  margin: 20px;
}
.contact .msg p:nth-of-type(2) {
  font-size: 40px;
  color: var(--thc);
  text-transform: capitalize;
  margin: 20px;
}
.contact .social {
  display: flex;
  justify-content: center;
  font-size: 30px;
  align-items: center;
  margin: 20px;
  gap: 20px;
  color: #777;
}
@media (max-width: 768px) {
  .contact .social {
    flex-direction: column;
  }
}
.contact {
  margin-bottom: 60px;
}
.contact i:hover {
  color: #2c4755;
}
/* Contact end */
/* footer start */
footer {
  background-color: var(--tc);
  color: #fff;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
}
/* footer end */
