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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #777;
  box-sizing: border-box;
  overflow-x: hidden;
}

.nav {
  position: absolute;
  width: 100%;
  height: 8rem;
  opacity: 0;
}

.logo {
  font-size: 1.8rem;
  margin: 0.2em 2em;
  line-height: 8rem;
  position: absolute;
  left: 12rem;
  z-index: 3;
}

.menu {
  position: absolute;
  height: 8rem;
  right: 12rem;
  z-index: 3;
}

.menu ul {
  list-style: none;
}

.menu ul li {
  display: inline-block;
  margin: 1em 0;
  padding: 0 3rem;
  font-size: 1.5rem;
}

.menu ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.nav_side {
  position: fixed;
  right: 3.5%;
  top: 78%;
  display: block;
  z-index: 2;
}

.nav_side a {
  text-decoration: none;
  color: #777;
}

.nav_side a:hover {
  color: #56ccf2;
}

.media {
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  border-radius: 5rem;
  margin-top: 1rem;
  background-color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
  opacity: 0.7;
  transition: all 0.2s;
  cursor: pointer;
}

.media:hover {
  opacity: 1;
  transform: scale(1.1);
  color: #56ccf2;
}

.header {
  height: 100vh;
  background-image: linear-gradient(to bottom right, #56ccf2 0%, #2f80ed 100%);
  position: relative;
  overflow: hidden;
}

.header h1 {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16rem;
  letter-spacing: 1.5rem;
  font-weight: 800;
  text-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.1),
    0 1rem 1rem rgba(0, 0, 0, 0.1);
}

.header p {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-55%, -60%);
  color: white;
  font-size: 3.5rem;
  opacity: 0.8;
}

.bg-logo {
  position: absolute;
  top: -13%;
  left: 11.3%;
  width: 73.6rem;
  transform: rotate(-28deg);
  opacity: 0.1;
}

.icon-down {
  position: absolute;
  color: white;
  bottom: 1%;
  left: 50%;
  transform: translate(-50%, 1%);
  font-size: 4rem;
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.2s ease-in;
  backface-visibility: hidden; /*Shaking animation fix*/
  -webkit-backface-visibility: hidden; /*Shaking animation fix*/
}

.icon-down:hover {
  font-size: 4.3rem;
  opacity: 0.4;
  text-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.1),
    0 1rem 1rem rgba(0, 0, 0, 0.1);
}

.icon-down:active {
  font-size: 3.5rem;
  opacity: 1;
}

.about {
  height: 100vh;
}

.title {
  font-size: 4.1rem;
  margin: 2rem;
  border-bottom: 2px solid #56ccf2;
  padding: 10px;
}

.middle {
  text-align: center;
}

span {
  display: inline-block;
  padding: 3px;
  font-weight: 600;
  background-image: linear-gradient(
    120deg,
    transparent 0%,
    transparent 50%,
    #56ccf2 0%,
    #2f80ed 100%
  );
  background-size: 267%;
  transition: all 0.4s ease-out;
  border-bottom: 1.7px solid #2f80ed;
  z-index: 2;
}
span:hover {
  background-position: 100%;
  color: white;
  transform: scale(1.1);
}

.content {
  position: relative;
  display: flex;
  width: 100%;
  height: 70%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5rem;
}

.left-side img {
  max-width: 35rem;
  vertical-align: middle;
  margin-right: 5rem;
  /* transform: rotate(-90deg); */
}

.left-side::before {
  content: "";
  position: absolute;
  top: 11%;
  left: 19%;
  width: 31rem;
  height: 48rem;
  background-image: linear-gradient(to bottom right, #56ccf2 0%, #2f80ed 100%);
  display: none;
}

.right-side {
  max-width: 30%;
  line-height: 2.2rem;
  letter-spacing: 0.3rem;
  font-size: 1.7rem;
  flex-direction: start;
  align-items: flex-start;
}

.skill {
  position: relative;
  height: 30vh;
  background-image: linear-gradient(to bottom right, #56ccf2 0%, #2f80ed 100%);
}

.slider {
  width: 100%;
  position: absolute;
  top: 54%;
  transform: translateY(-50%);
}

.slider img {
  height: 10rem;
  filter: invert(100%);
}

.slick-slide:focus {
  outline: none;
}

.slick-slide img {
  width: 100%;
}

.slick-slide {
  transition: all ease-in-out 1s;
  opacity: 0.2;
}

.slick-active {
  opacity: 0.2;
}

.slick-current {
  opacity: 1;
}

.slider h3 {
  color: white;
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 2rem;
  margin-left: 5rem;
  width: 80%;
  text-align: center;
}

.services {
  height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-row-gap: 7.6rem;
  justify-content: center;
  margin: 0 15rem;
}

.services .title {
  margin: 2rem 0 0 0;
}

.services .middle {
  grid-row: 1;
  grid-column: 1/4;
}

.box {
  width: 32rem;
  height: 24rem;
  background-image: linear-gradient(to bottom right, #232526 0%, #414345 100%);
  margin: 0 auto;
  margin-bottom: 2%;
  position: relative;
  overflow: hidden;
  box-shadow: -1rem 1rem 0 #56ccf2;
  transition: all 0.2s ease-out;
}

.box6 {
  margin-bottom: 6rem;
}

.box:hover {
  box-shadow: 0 0 0 #56ccf2;
}

.box h2 {
  text-align: center;
  display: inline-table;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.6rem;
  font-weight: 800;
  background: linear-gradient(to bottom right, #56ccf2, #2f80ed);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact {
  height: auto;
  background-image: linear-gradient(to bottom right, #56ccf2 0%, #2f80ed 100%);
  position: relative;
  padding: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-container {
  height: auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.1), 0 1rem 1rem rgba(0, 0, 0, 0.1);
  transform-style: preserve-3d
}

.contact-container h1 {
  text-align: center;
  margin-top: 15px;
  font-size: 3.2rem;
  letter-spacing: 0.1rem;
  background: linear-gradient(to bottom right, #56ccf2, #2f80ed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

fieldset {
  border: none;
  margin: 2rem;
  padding: 0.7rem;
}

fieldset label {
  font-size: 1.5rem;
}

fieldset input,
.msg {
  opacity: 0.7;
  transition: all 0.2s ease-out;
  margin-top: 1rem;
  padding: 1rem;
  border: 0.1rem solid #777;
  border-radius: 0.5rem;
  width: 40rem;
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.1), 0 1rem 1rem rgba(0, 0, 0, 0.1);
  transform: translateZ(20px)
}

fieldset input:focus,
textarea:focus {
  border-bottom: 0.1rem solid #2f80ed;
  box-shadow: 0 1.4rem 2.8rem rgba(47, 128, 237, 0.4),
    0 1rem 1rem rgba(47, 128, 237, 0.3);
}

.msg {
  height: 16rem;
  resize: none;
}

.btn-submit {
  background-image: linear-gradient(to bottom right, #56ccf2 0%, #2f80ed 100%);
  border: none;
  font-size: 2.2rem;
  font-weight: 200;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  display: block;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 3rem;
  cursor: pointer;
  -webkit-text-fill-color: white;
  -webkit-text-stroke-color: white;
  -webkit-text-stroke-width: 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  transition: all 0.2s ease-out;
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.1), 0 1rem 1rem rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
  box-shadow: 0 1.4rem 2.8rem rgba(47, 128, 237, 0.4),
    0 1rem 1rem rgba(47, 128, 237, 0.3);
  -webkit-text-fill-color: transparent;
}

.btn_submit:active {
  font-size: 2rem;
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.08),
    0 1rem 1rem rgba(0, 0, 0, 0.08);
  -webkit-text-fill-color: white;
}

footer {
  height: 25vh;
  background-image: linear-gradient(to bottom right, #232526 0%, #414345 100%);
  position: relative;
}

.footer_wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer_media {
  text-align: center;
  margin-bottom: 3rem;
  text-decoration: none;
}

.footer_media i {
  padding: 0 0.5rem;
  font-size: 2.5rem;
  cursor: pointer;
  background: linear-gradient(to bottom right, #56ccf2, #2f80ed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.2),
    0 1rem 1rem rgba(0, 0, 0, 0.2);
}

.footer_media i:hover {
  font-size: 2.8rem;
  -webkit-text-fill-color: transparent;
  transition: all 0.2s ease-out;
}

.footer_media i:active {
  font-size: 2.2rem;
  color: white;
}

footer p {
  font-size: 1.5rem;
}

footer p b {
  font-size: 2rem;
  font-weight: 500;
}

@media screen and (max-width: 1024px) {
  .bg-logo {
    top: -9%;
  }

  .left-side::before {
    left: 17%;
  }

  .services {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 9rem;
  }

  .services .middle {
    grid-column: 1/3;
  }
}

@media screen and (max-width: 768px) {
  .logo {
    left: 0;
  }
  /* 
  .menu {
    right: 2rem;
  } */

  .bg-logo {
    left: -6.7%;
  }

  .left-side::before {
    left: 11%;
    top: 13%;
  }

  .services {
    grid-column-gap: 6rem;
    grid-row-gap: 6rem;
  }

  .menu {
    position: fixed;
    background-color: #232526;
    height: 100vh;
    width: 0%;
    right: 0;
    transition: all 0.5s ease-in-out;
  }

  .menu_open {
    position: fixed;
    background-color: #232526;
    height: 100vh;
    width: 45%;
    right: 0;
    transition: all 0.5s ease-in-out;
  }
  .menu ul li {
    display: list-item;
    margin-top: 13rem;
    text-align: center;
    padding: 0;
    font-size: 1.8rem;
  }

  .menu ul li a {
    border-bottom: 1px solid #2f80ed;
    padding-bottom: 1rem;
  }

  .line {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 7px;
    transition: all 0.2s ease;
  }

  .nav {
    position: relative;
  }

  .hamburger {
    position: absolute;
    right: 6%;
    top: 2%;
    z-index: 4;
    cursor: pointer;
  }

  .hamburger_active {
    position: fixed;
    right: 10%;
    top: 3%;
    z-index: 4;
    cursor: pointer;
    color: #2f80ed;
    transition: all 0.2s;
  }

  .line_active:first-child {
    transform: rotate(45deg);
    position: absolute;
    top: 5%;
    right: -2rem;
  }

  .line_active:nth-child(2) {
    transform: rotate(-45deg);
    position: absolute;
    top: 5%;
    right: -2rem;
  }

  .line_active:nth-child(3) {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .menu ul li {
    padding: 0 1rem;
  }
  .header h1 {
    font-size: 11rem;
  }

  .header p {
    font-size: 3.1rem;
  }

  .bg-logo {
    width: 58.6rem;
    left: -18.7%;
  }

  .about {
    height: auto;
  }

  .left-side img {
    margin-top: 5rem;
  }

  .left-side::before {
    display: none;
  }

  .right-side {
    max-width: 66%;
    margin: 3rem;
    margin-top: 11rem;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .services .middle {
    grid-column: 1/2;
  }

  fieldset input,
  .msg {
    width: 36rem;
  }
}

@media screen and (max-width: 375px) {
  .header h1 {
    font-size: 9rem;
  }

  .header p {
    font-size: 3rem;
    width: 100%;
    text-align: center;
  }

  .contact {
    overflow: hidden;
  }
  fieldset input,
  .msg {
    width: 27rem;
  }
}

@media screen and (max-width: 320px) {
  .logo {
    margin: 0.2em 0.2em;
  }

  .menu {
    right: 0;
  }
  .menu ul li {
    padding: 0 0.6rem;
  }

  .header h1 {
    font-size: 7rem;
  }

  .header p {
    font-size: 2.1rem;
  }

  .left-side img {
    max-width: 38rem;
  }

  .box {
    width: 26rem;
    height: 19rem;
  }

  .box h2 {
    font-size: 3.1rem;
  }
  fieldset input,
  .msg {
    width: 20rem;
  }

  .footer_media {
    margin-bottom: 1rem;
  }

  footer p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  .menu ul li {
    margin-top: 8rem;
    font-size: 1.4rem;
  }
}

.rev-block:after {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  width: 0%;
  height: 100%;
  background: #56ccf2;
  animation: rev-block 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes rev-block {
  0% {
    left: 0;
    width: 0%;
  }
  50% {
    left: 0;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 0%;
  }
}
