@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700&display=swap");
html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  color: #31353b;
  background-color: rgb(249, 249, 249);
}

a {
  text-decoration: none;
}

.top-viewport {
  height: 100vh;
}

.top-bg {
  background-color: white;
  width: 100%;
  height: 4.5rem;
  box-shadow: 0px 3px 20px rgb(20, 20, 20, 0.07);
}

.top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 1.3em;
}

.social-icons div {
  margin-right: 30px;
  float: right;
}
.social-icons div a {
  text-decoration: none;
  color: black;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: 0.3s ease-out;
}

.social-icons div a:hover {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

#linkedin {
  opacity: 0.7;
  transition: 0.3s ease-out;
}

#linkedin:hover {
  opacity: 1;
}

#behance {
  opacity: 0.7;
  transition: 0.3s ease-out;
}
#behance:hover {
  opacity: 1;
}

#medium {
  opacity: 0.5;
  transition: 0.3s ease-out;
}

#medium:hover {
  opacity: 1;
}

#top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  max-width: 1080px;
  margin: 0 auto;
  letter-spacing: -0.3px;
}

.content {
  padding-top: 9em;
  font-weight: 300;
  color: #31353b;
}

.greet {
  font-size: 2em;
}

#name {
  font-size: 3.5em;
  margin: 0.35em 0;
}

.desc {
  font-weight: 400;
}

.highlight {
  color: #2a87d3;
  font-weight: 400;
}

.dp img {
  float: right;
  border-radius: 100%;
  width: 280px;
  margin-top: 9em;
}

.status {
  color: rgba(180, 185, 190, 1);
  font-weight: 400;
  font-size: 1.5em;
  margin-top: 2em;
}

.wrapper {
  display: block;
  max-width: 1080px;
  margin: 0 auto;
}

#Resume {
  color: #2a87d3;
  width: 200px;
  display: inline-block;
  font-size: 1.2em;
  text-align: center;
  font-weight: 600;
  border-radius: 2px;
  padding: 16px 36px;
  border: 1.5px solid #2a87d3;
  text-decoration: none;
  transition: 0.2s ease-out;
}

.see-work {
  display: inline-block;
  font-weight: 600;
}
i {
  margin-left: 5px;
  margin-bottom: 2px;
  border: solid #31353b;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.down {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.down-white {
  margin-left: 5px;
  margin-bottom: 2px;
  border: solid white;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

#see-work {
  display: inline-block;
  font-size: 1.2em;
  color: #31353b;
  margin-left: 30px;
}

#Resume:hover {
  background-color: #2a87d3;
  color: white;
  box-shadow: 0px 5px 18px rgba(60, 70, 120, 0.3);
}

#Work {
  text-align: center;
  font-size: 1.5em;
  padding-top: 1em;
}

#heading {
  color: #0d0c22;
}

#work-caption {
  margin: 0 auto;
  color: #6e6d7a;
  text-align: center;
  max-width: 720px;
  line-height: 1.4;
}

.showcase-top {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  display: grid;
  margin-top: 3em;
  grid-template-columns: 35% 65%;
  grid-template-rows: 526px;
  grid-gap: 10px;
  justify-content: space-around;
}

.fade-box {
  display: none;
  color: white;
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.55)
  );
  border-radius: 100px;
  padding: 10px 40px;
  font-size: 1em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 22%;
}

.fade-box h3 {
  font-weight: 400;
  font-size: 0.8em;
}

.TringTrim img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: 0.2s ease-out;
}

.TringTrim img:hover {
  transform: scale(1.1);
  box-shadow: 0 30px 30px rgba(0, 0, 0, 0.2);
}

.motionfolio video {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: 0.2s ease-out;
}

.motionfolio video:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.showcase-bottom {
  max-width: 1080px;
  margin: 0 auto;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 35% 32% 32%;
  grid-template-rows: 300px;
  grid-gap: 10px;
  justify-content: space-around;
}

.ecomm img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: 0.2s ease-out;
}

.ecomm img:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.2);
}

.battery img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: 0.2s ease-out;
}

.battery img:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.limetray img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: 0.2s ease-out;
}

.limetray img:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

footer {
  color: white;
  margin-top: 100px;
  font-weight: 400;
  height: 330px;
  background-image: linear-gradient(to right, #32638b, #1b3448);
  text-align: center;
  padding-top: 10px;
}

footer h1 {
  font-weight: 400;
}

footer h2 {
  font-weight: 400;
}

footer h3 {
  font-weight: 400;
}

.email {
  color: #67d1ff;
  text-decoration: none;
  font-size: 2em;
  padding: 19px 0;
}

.footer-social div {
  display: inline-block;
  padding: 16px;
  padding-top: 30px;
  margin-bottom: 20px;
  transform: scale(1.3);
}

.credits {
  font-size: 1em;
  font-weight: 300;
  letter-spacing: 0.3px;
}

#heart {
  color: rgba(230, 65, 70, 1);
}

@media (max-width: 500px) {
  body {
    font-size: 10px;
  }

  .top-viewport{
    height: 100%;
  }

  .top-bg {
    display: none;
  }

  #top {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 20px 15px;
    padding-top: 30px;
    text-align: left;
  }

  .dp {
    margin: 0 auto;
  }

  #heading {
    margin-bottom: 8px;
  }

  .dp img {
    margin: 0;
    padding: 0;
    width: 180px;
    float: none;
    margin-bottom: 5em;
  }

  #Resume {
    margin: 0 auto;
    font-size: 2em;
    font-weight: 600;
    display: block;
  }
  #see-work {
    display: none;
  }
  #Work {
    margin-top: 5em;
  }

  #work-caption {
    margin-bottom: 20px;
  }

  .showcase-top,
  .showcase-bottom {
    margin: 0 auto;
    width: 95vw;
    grid-template-columns: 100%;
    grid-template-rows: 250px;
  }

  .showcase-bottom {
    margin-top: 6px;
  }

  footer {
    margin-top: 20px;
    height: 260px;
  }

  footer .credits {
    font-size: 1.5em;
  }
}
