@media only screen and (max-width: 1200px) {
  #hero {
    height: 100vh;
  }
  .my-toggle {
    display: none;
  }
}

@media only screen and (max-width: 1024px) {
  #hero {
    height: 100vh;
  }
  header .v-middle {
    text-align: center;
    margin-left: 1rem;
  }
  html {
    font-size: 57.5%;
  }
  .nav {
    padding: 0 1.6rem;
  }
  .main-nav {
    display: none;
  }
  .my-toggle {
    display: block;
  }
  .part-2 {
    display: none;
  }

  /*###################End Header section##############*/

  .span_1_of_2 {
    width: 100%;
  }

  .my-img {
    position: relative;
    width: 8rem;
    height: 16rem;
    margin-right: 0rem;
  }
  /* animation part */

  .my-img:active {
    -webkit-animation-name: bounce;
    animation-name: bounce;
  }

  .my-img img:nth-child(5) {
    -webkit-animation-name: bounce5;
    animation-name: bounce5;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
  }

  @-webkit-keyframes bounce5 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(10rem, -10rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  @keyframes bounce5 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(10rem, -10rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  .my-img img:nth-child(4) {
    -webkit-animation-name: bounce4;
    animation-name: bounce4;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
  }

  @-webkit-keyframes bounce4 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(8rem, -8rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  @keyframes bounce4 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(8rem, -8rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  .my-img img:nth-child(3) {
    -webkit-animation-name: bounce3;
    animation-name: bounce3;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
  }

  @-webkit-keyframes bounce3 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(6rem, -6rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  @keyframes bounce3 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(6rem, -6rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  .my-img img:nth-child(2) {
    -webkit-animation-name: bounce2;
    animation-name: bounce2;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
  }

  @-webkit-keyframes bounce2 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(3rem, -3rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  @keyframes bounce2 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(3rem, -3rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  .my-img img:nth-child(1) {
    -webkit-animation-name: bounce1;
    animation-name: bounce1;
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
  }

  @-webkit-keyframes bounce1 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(1rem, -1rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  @keyframes bounce1 {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    50% {
      transform: translate(1rem, -1rem);
      opacity: 1;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }
}

@media only screen and (max-width: 980px) {
  #hero {
    height: 100vh;
  }
  html {
    font-size: 62.5%;
  }

  .nav {
    padding: 0 1.6rem;
  }
  .main-nav {
    display: none;
  }
  .my-toggle {
    display: block;
  }
  .part-2 {
    display: none;
  }

  .team-section .team-svg {
    height: 400px;
  }

  /*###################End Header section##############*/
}

@media only screen and (max-width: 768px) {
  #hero {
    height: 100vh;
  }

  header .v-middle .text-2 {
    font-weight: 200;
    font-size: 2.5rem;
  }
  .team-section .team-svg {
    height: 350px;
  }
  header .v-middle .text-3 {
    font-weight: 600;
    font-size: 3rem;
  }
  header .v-middle .text-1 {
    font-weight: 700;
    font-size: 6rem;
  }
  .btn-header {
    margin-top: 2.5rem;
    text-align: center;
  }

  .header .social-icon {
    top: 86%;
  }
  .experience .ex-title {
    margin: 0px 10%;
  }

  footer .footer-text {
    font-size: 1.5rem;
    font-weight: 300;
  }
  footer {
    margin: 1rem 15%;
  }
}

@media only screen and (max-width: 480px) {
  #hero {
    height: 80vh;
  }

  header .v-middle h1,
  h5 {
    margin: 0;
    color: #fff;
    line-height: 1.3;
    text-transform: capitalize;
    text-align: left;
  }

  header .v-middle .text-2 {
    font-weight: 400;
    font-size: 2rem;
  }

  header .v-middle .text-1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
  }
  header .v-middle .text-3 {
    font-weight: 500;
    font-size: 2.5rem;
  }
  .btn-header {
    margin-top: 3rem;
    text-align: center;
    text-align: center;
  }

  .header .social-icon {
    top: 87%;
    left: -2rem;
  }
  /* .arrow-down {
    bottom: -30rem;
  } */

  /*###################End Header section##############*/

  .span_1_of_4 {
    width: 100%;
  }
  /*################### RWD Work section ##############*/

  .work .btn-small {
    padding: 1rem;
    margin: 1rem 0.4rem;
  }
  .work ul li .btn-small {
    padding: 0.2rem 0.8rem;
  }
  .work img {
    height: 100px;
  }
  #contact #contact-card-end {
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 380px) {
  /* header .v-middle {
    width: 100%;
    left: 5%;
  } */
  header .v-middle .text-1 {
    font-weight: 600;
    font-size: 4rem;
  }
  header .text-2 {
    font-weight: 500;
    font-size: 1.5rem;
  }
  header .text-3 {
    font-weight: 400;
    font-size: 2.5rem;
  }
  .btn-header {
    margin-top: 2.5rem;
    /* margin-left: 4.5rem; */
    text-align: center;
  }

  .work .btn-small {
    padding: 0.7rem;
    margin: 1rem 0.2rem;
  }
}

@media only screen and (max-width: 320px) {
  /* header .v-middle {
    width: 100%;
    left: 3%;
  } */
  #hero {
    height: 100vh;
  }
  .caption {
    text-align: center;
    margin-left: 1rem;
  }

  .btn-header {
    margin-top: 0;
  }
  .header .social-icon {
    top: 85%;
  }

  header .text-2 {
    font-weight: 500;
    font-size: 1.5rem;
  }
  header .text-3 {
    font-weight: 400;
    font-size: 2rem;
  }
  .btn-header {
    margin-top: 2.5rem;
    text-align: center;
  }
  /* .header .scroll-down {
    bottom: -34rem;
  } */
  /* .header .arrow-down {
    bottom: -26rem;
  } */
}
