/* Small screen styles using media query */
@media only screen and (max-width: 768px) {
  /* Styles for elements on small screens */

  .background-image {
    position: absolute;
    top: 54%;
    left: 50%;
    width: auto;
    height: 380px;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    z-index: -1;
  }

  .content {
    position: relative;
    top: -24px;
  }

  .partners,
  img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 10px;
  }

  .logo img {
    width: 277px;
    height: auto;
    position: relative;
    top: -65px;
  }

  .scroll {
    width: 60px;
    height: 60px;
    border: 2px solid #333;
    border-radius: 50%;
    position: relative;
    animation: down 1.5s infinite;
    left: 42%;
    bottom: -129px;
    -webkit-animation: down 1.5s infinite;
    &::before {
      content: "";
      position: absolute;
      top: 15px;
      left: 18px;
      width: 18px;
      height: 18px;
      border-left: 2px solid #333;
      border-bottom: 2px solid #333;
      transform: rotate(-45deg);
    }
  }

  @keyframes down {
    0% {
      transform: translate(0);
    }
    20% {
      transform: translateY(15px);
    }
    40% {
      transform: translate(0);
    }
  }

  @-webkit-keyframes down {
    0% {
      transform: translate(0);
    }
    20% {
      transform: translateY(15px);
    }
    40% {
      transform: translate(0);
    }
  }

  #myMenu {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    transition: height 0.5s ease-out;
    padding: -7px;
    font-size: 14px;
  }

  .partners,
  img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 360px;
  }

  h1,
  h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  #about-us {
    padding-left: 1%;
    padding-right: 1%;
    text-align: center;
  }

  .abouttitle {
    font-size: 22px;
  }
  .aboutinfo {
    font-size: 16px;
  }

  .left-graphic img,
  .right-graphic img {
    height: 200px;
    width: 21px;
  }
  .whatdo {
    font-size: 20px;
    margin-top: 72px;
  }
  .review {
    padding: 15px;
    font-size: 12px;
    border-radius: 8px;
  }

  .contact-container {
    display: inline-block;
    justify-content: space-between;
    padding: 3%;
  }

  .contact-form {
    width: 85%;
    padding: 4%;
    /* background: #ece9e6; */
    background: -webkit-linear-gradient(to right, #ffffff, #ece9e6);
    /* background: linear-gradient( to right, #ffffff, #ece9e6 ); */
    /* border-radius: 8px; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
      rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
      rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  }

  button {
    border-radius: 4px;
    background-color: #000000;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 10px;
    width: 160px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 20px;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.7);
  }

  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
      rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
      rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    font-size: 13px;
  }

  .footerlogo img {
    width: 130px;
  }

  .dots {
    position: fixed;
    bottom: 0px;
    right: 0px;
    /* left: 29px; */
    z-index: -1;
    position: absolute;
    width: 100px;
  }

  .messageus p {
    font-size: 20px;
    margin: 10px;
  }

  .contact-info {
    margin: 0%;
    text-align: left;
    font-weight: bold;
  }

  .contactinfo {
    font-size: 14px;
  }

  .contact-details {
    width: 40%;
    font-size: 13px;
    padding: 0px;
    justify-content: center;
    align-content: center;
    display: contents;
  }

  .contact-form {
    width: 48%;
    padding: 5%;
    background: #ece9e6;
    background: -webkit-linear-gradient(to right, #ffffff, #ece9e6);
    background: linear-gradient(to right, #ffffff, #ece9e6);
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
      rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
      rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    justify-content: center;
    display: contents;
  }

  footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3.5rem;
    background-color: black;
    text-align: center;
    color: white;
    padding: 6%;
    font-size: 11px;
  }
}
