html {
  scroll-behavior: smooth;
}
body {
  background-color: #000;
  padding: 0 0 20px 0;
  margin: 0;
}
.vtimeline-icon {
  background-color: #fff;
}
.reveal,
.reveal-1,
.reveal-1,
.reveal-2,
.reveal-3,
.reveal-4,
.reveal-right,
.reveal-left {
  /* visibility: hidden; */
}
* {
  font-family: 'Montserrat', sans-serif;
}
.dot {
  color: #dc4a4a;
}
nav {
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  padding: 20px 20px;
}
nav .contact-me a {
  color: #fff;
  margin: 0 20px;
  text-decoration: none;
}
nav .contact-me a:nth-child(1) {
  font-weight: 100;
}
nav .contact-me a:nth-child(2) {
  background-color: #dc4a4a;
  border-radius: 20px;
  padding: 7px 30px;
  font-weight: 200;
}
.main-container {
  width: 70%;
  margin: auto;
}
@media (min-width: 1900px) {
  .main-container {
    max-width: 50%;
  }
}
.main-container .header {
  display: flex;
  justify-content: space-between;
  margin-top: 100px;
}
.main-container .header .image {
  width: 50%;
  text-align: right;
}
.main-container .header .image img {
  width: 300px;
  height: auto;
}
.main-container .header .text {
  width: 50%;
  display: flex;
  position: relative;
}
.main-container .header .text::before {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-image: url('https://res.cloudinary.com/dqbgnn5hf/image/upload/v1546957973/W-bg.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.main-container .header .text .text-inner {
  position: relative;
  margin: auto;
  width: 100%;
}
.main-container .header .text .text-inner h1 {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
}
.main-container .header .text .text-inner p {
  font-size: 18px;
  color: #fff;
  opacity: 0.5;
}
.main-container .about {
  text-align: center;
  margin: 100px auto 0 auto;
}
.main-container .about h1 {
  color: #fff;
}
.main-container .about p {
  color: #fff;
  font-weight: 200;
  line-height: 30px;
  max-width: 80%;
  margin: auto;
}
.main-container .skill-set {
  text-align: center;
  margin: 100px auto 0 auto;
}
.main-container .skill-set h1 {
  color: #fff;
}
.main-container .skill-set .skills-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(3, 170px);
}
.main-container .skill-set .skills-wrapper .skills-each {
  display: flex;
  /* min-height: 200px; */
}
.main-container .skill-set .skills-wrapper .skills-each svg,
.main-container .skill-set .skills-wrapper .skills-each img {
  margin: auto;
}
.main-container .work {
  text-align: center;
  margin-top: 30px;
}
.main-container .work h1 {
  color: #fff;
}
.main-container .work .work-wrapper {
  margin-top: 70px;
}
.main-container .work .work-wrapper .work-each {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}
.main-container .work .work-wrapper .work-each .image {
  width: 47%;
  text-align: left;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
}
.main-container .work .work-wrapper .work-each .image:hover {
  transform: translateY(-7px);
}
.main-container .work .work-wrapper .work-each .image a {
  margin: auto;
}
.main-container .work .work-wrapper .work-each .image img {
  max-width: 100%;
  height: auto;
  max-height: 230px;
}
.main-container .work .work-wrapper .work-each .text {
  width: 47%;
  text-align: left;
  position: relative;
}
.main-container .work .work-wrapper .work-each .text object {
  position: absolute;
  z-index: -1;
  opacity: 0.2;
  width: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 90% !important;
  height: 90% !important;
}
.main-container .work .work-wrapper .work-each .text h2 {
  color: #fff;
  font-size: 30px;
  margin: 50px 0 0 0;
  font-weight: 700;
}
.main-container .work .work-wrapper .work-each .text p {
  color: #fff;
  opacity: 0.7;
  font-weight: 100;
  line-height: 1.7em;
}
.main-container .work .work-wrapper div:nth-child(2),
.main-container .work .work-wrapper div:nth-child(4) {
  flex-direction: row-reverse;
}
.main-container .work .work-wrapper .image {
  width: 50%;
  overflow: hidden;
  text-align: center;
}
.main-container .work .work-wrapper .image a {
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.main-container .work .work-wrapper .image img {
  margin: auto;
  max-width: 100%;
  /* min-height: 250px; */
}
.main-container .contact {
  text-align: center;
  margin-top: 100px;
}
.main-container .contact h1 {
  color: #fff;
}
.main-container .contact .contact-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
}
.main-container .contact .contact-wrapper .text {
  width: 50%;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}
.main-container .contact .contact-wrapper .text h3 {
  color: #fff;
  margin: auto;
}
.main-container .contact .contact-wrapper .text .icons {
  width: 51%;
  margin: auto;
  display: flex;
  justify-content: center;
}
.main-container .contact .contact-wrapper .image {
  width: 50%;
}
.main-container .contact .contact-wrapper .image img {
  max-width: 350px;
}
@media (max-width: 996px) {
  .title {
    font-size: 22px;
  }
  nav {
    padding: 10px;
  }
  nav .logo img {
    width: 40px;
  }
  nav .contact-me a {
    margin: 0;
  }
  nav .contact-me a:nth-child(2) {
    display: none;
  }
  .main-container {
    width: 85%;
  }
  .main-container .header {
    margin-top: 30px;
    flex-direction: column-reverse;
  }
  .main-container .header .image {
    width: 100%;
    text-align: center;
  }
  .main-container .header .image img {
    margin: auto;
    width: 60%;
  }
  .main-container .header .text {
    width: 100%;
  }
  .main-container .header .text .text-inner h1 {
    font-size: 37px;
    text-align: center;
  }
  .main-container .header .text .text-inner p {
    font-weight: 100;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
  .main-container .about {
    margin-top: 20px;
  }
  .main-container .about p {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
  }
  .main-container .skill-set {
    margin-top: 30px;
  }
  .main-container .skill-set h1 {
    margin-bottom: 0;
  }
  .main-container .skill-set .skills-wrapper {
    margin-top: 10px;
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: repeat(6, 150px);
  }
  .main-container .skill-set .skills-wrapper .skills-each {
    margin-top: 0;
  }
  .main-container .work {
    margin-top: 0;
  }
  .main-container .work .work-wrapper {
    margin-top: 0;
  }
  
  .main-container .work .work-wrapper .work-each {
    flex-direction: column !important;
    justify-content: auto;
  }
  .main-container .work .work-wrapper .work-each .image {
    width: 80%;
    
    margin: auto ;
    height: auto !important;
    
  }
  .main-container .work .work-wrapper .work-each .text {
    width: 100% ;
    margin-top: 30px;
  }
  .main-container .work .work-wrapper .work-each .text h2 {
    font-size: 22px;
    margin-top: 10px;
  }
  .main-container .work .work-wrapper .work-each .text p {
    font-size: 14px;
  }
  .main-container .contact {
    margin-top: 0;
  }
  .main-container .contact .contact-wrapper {
    margin-top: 0;
    flex-direction: column;
  }
  .main-container .contact .contact-wrapper .text {
    width: 100%;
  }
  .main-container .contact .contact-wrapper .text h3 {
    font-size: 15px;
  }
  .main-container .contact .contact-wrapper .text .icons svg {
    width: 40px;
  }
  .main-container .contact .contact-wrapper .image {
    width: 100%;
    margin-top: 20px;
  }
  .main-container .contact .contact-wrapper .image img {
    width: 40%;
  }
}
