@media screen and (min-device-width: 240px) and (max-device-width: 992px) {

  .pages-banner h2 {
    color: #fff;
    text-align: center;
    font-size: 24px;
  }

  section.pages-banner {
    min-height: 240px;
    position: relative;
    top: 80px;
    margin-bottom: 100px;
  }

  .nav-links .drop-menu {
    width: 180px;
    line-height: 45px;
    top: 85px;
  }

  .carousel {
    position: relative;
    top: 80px;
  }

  section.services {
    padding: 50px 0px;
    margin-top: 80px;
  }

  h2.main-heading {
    width: 80%;
    margin: auto;
    text-align: center;
    font-weight: 600;
    margin-bottom: 50px;
    color: #000;
    font-size: 24px;
  }

  h2.heading {
    font-weight: 600;

    font-size: 24px;
  }

  h2.beeterdigital {
    color: #fff;
    width: 55%;
    margin-left: 20%;
    font-size: 24px;
    font-weight: bold;
    line-height: 24px;
  }

  .reach-form {
    width: 100%;
    min-height: 400px;
    background-color: white;
    padding: 15px;
    margin-bottom: 50px;
  }

  .testimonial {
    width: 100%;
    float: left;
    margin-right: 5%;
    padding: 20px 2px;
  }

  section.exploreservices {
    margin-top: 78px;
  }

  h2 {
    font-size: 24px;
    line-height: 24px;
  }

  .contact h2.heading {
    font-size: 24px;
  }

  .newsarticle h2 {

    font-size: 24px;
    margin-bottom: 50px;
  }

  .calendar {
    position: absolute;
    width: 100%;
    bottom: 0%;
    background-color: #fff;
    height: auto;
    left: 0%;
    top: unset;
  }

  section.what-we-do h2 {
    font-weight: 600;
    color: #000;
    font-size: 24px;
  }

  .why-choose h2.heading {
    font-weight: 600;
    color: #fff;
    font-size: 24px;
  }


  .what-discover {
    width: 100%;
    height: auto;

    text-align: center;
  }

  .service-offer {
    width: 100%;
    background-color: #fbfbfb;
    min-height: 100px;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 30px;
  }

  #main {
    width: 100%;
    height: 100vh;
    position: relative;
    top: 80px;
  }

  .top-class {
    position: absolute;
    top: 0px;
    background-color: #000000b5;
    color: #fff;
    width: 100%;
    left: 0%;
    border-radius: 10%;
  }

  .testi-box {
    background-color: #000;
    padding: 20px;
    width: 100%;
    position: relative;
    color: white;
    border-radius: 20px;
    margin-top: 50px;
  }

  .profile-pic {
    padding: 0px 20px;
    margin-top: 20px;
  }

  .single-img {
    position: relative;
    width: 100%;
    float: left;
    margin: 0 1%;
    margin-top: 20px;
  }

  section.contact {
    background-image: none;
    background-color: black;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 600px;
    margin-bottom: 50px;
    padding-bottom: 50px;
  }

  h2.year {
    font-size: 34px;
    margin-top: 20px;
  }

  ul.project-ul li {
    margin-top: 20px;
  }

  .servive-we-offer {
    margin-top: 20px;
  }

  .video-description {
    background-color: #000;
    padding: 20px;
    margin-top: 20px;
  }

  section.newsarticle h2 {
    font-weight: 600;
    color: #000;
    font-size: 24px;
  }

  .date {
    background-color: #fe505a;
    position: absolute;
    padding: 3px 20px;
    bottom: 57%;
    left: 12px;
  }

  .card {
    position: relative;
    margin-top: 20px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: 0;
    font-family: "Epilogue", sans-serif;
    font-weight: 600;
    color: #171717;
    line-height: 1.2;
    margin-top: 10px;
  }

  ul.date li {
    float: left;
    padding: 10px 12px;
    background-color: #fff;
  }

  .text-on-image {
    position: relative;
    top: -300px;
    background-color: #fe505a;
    padding: 10px 10px;
    width: 32%;
    left: 0px;
    border: 3px solid #fff;
  }

  i.fa.fa-angle-down {
    float: right;
  }

}

/*loader*/
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 2s;
  animation-name: animatebottom;
  animation-duration: 2s
}

@-webkit-keyframes animatebottom {
  from {
    right: -100%right;
    opacity: 0
  }

  to {
    right: 0px;
    opacity: 1
  }
}

@keyframes animatebottom {
  from {
    right: -100%;
    opacity: 0
  }

  to {
    right: 0;
    opacity: 1
  }
}

#myDiv {
  display: none;

}


@media screen and (min-device-width: 991px) and (max-device-width: 1400px) {
  .box-why h5 {
    font-size: 16px;
  }

  ul.portfolio li {
    float: left;
    height: 60px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0 !important;
  }

}

@media screen and (min-device-width: 768px) and (max-device-width: 992px) {
  .main-text h2 {
    font-weight: 500;
    font-size: 27px;
    color: #e0ffff;
  }

  .main-text h1 {
    font-size: 45px;
    font-weight: 700;
    color: #fff;
    margin-top: 15px;
    line-height: 50px;
  }

  .why-img img {
    width: 100%;
  }

  .box-why h5 {
    font-size: 18px;
  }
}

@media screen and (min-device-width: 320px) and (max-device-width: 767px) {

  .box-why h5 {
    font-size: 17px;
  }

  nav .wrapper {
    position: relative;
    padding: 0px 15px;
    height: 85px;
    line-height: 80px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .home_section .home_content h1 {
    font-size: 30px;
    line-height: 50px;
    font-weight: 700;
  }

  .word {
    font-size: 30px;
    position: absolute;
    opacity: 0;
  }

  .home_section .home_content h5 {
    color: #fe5760;
    font-size: 18px;
    font-weight: 500;
  }

  .main-text h1 {
    font-size: 35px;
  }

  .main-text h2 {
    font-size: 20px;
  }

  .main-text p {
    font-size: 15px;
    line-height: 25px;
  }

  .expert {
    background-size: contain;
    padding-bottom: 20px;
  }

  .profile-pic img {
    width: 100%;
  }

  .social-icon {
    margin-top: 10px;
  }

  ul.portfolio {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
}


@media screen and (min-device-width: 992px) and (max-device-width: 1399px) {
  ul.portfolio {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main_icon_2 {
    display: flex;
    align-items: center;
    margin-left: 0px !important;

  }
}