@media screen and (max-width: 740px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    text-align: left;
    overflow: hidden;
    gap: 1px;
    background-color: rgb(252, 252, 252);
  }
  nav ul a {
    color: #000;
    font-size: 18px;
    font-weight: 300;
  }
  nav ul li:hover {
    background-color: rgb(184, 214, 240);
    color: #000;
  }
  nav ul li {
    padding: 23px 25px;
    border-bottom: 1px solid rgb(128, 128, 128);
  }
  .nav ul li :hover {
    background-color: #1f1f1f;
    color: #fff;
  }
  .menu-button {
    display: block;
  }
  #menuList {
    transition: all 0.5s;
  }
  .menu-button svg {
    font-size: 60px;
    width: 60px;
    height: 37px;
  }
  .cardA_container {
    margin: 1%;
  }
  .cards {
    width: 100%;
  }

  .service_container h1 {
    font-size: 62px;
  }

  .contact-form {
    width: 50%;
    height: 90%;
    padding: 10px;
    margin-right: 0px;
  }
  .form input {
    padding: 7px 14px;
    border-radius: 9px;
    color: #000000;
    font-size: 14px;
    font-weight:600;
    border: 2px solid #000000;
  }
  textarea {
      padding: 10px 4px;
  }
  .manager, .founder, .co-founder {
    width: 100%;
  }

  .founder-container {
    margin: 0 160px;

  }

}
@media screen and (max-width: 851px) {
  nav ul a {
    padding: 10px;
  }
  .about-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-self: center;
    font-size: 18px;
    padding: 10px 20px;
  }
  .pic-about {
    width: 100%;
  }
  .about-content h3 {
    color: rgb(255, 0, 0);
    font-size: 14px;
  }
}
@media screen and (max-width: 775px) {
  .top-content {
    padding: 20px 25px;
  }
  .top-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .top-content h1 {
    font-size: 3.6rem;
    flex-direction: column;
    line-height: 53px;
    margin-bottom: 40px;
  }
  .top-btn button {
    padding: 14px 18px;
    font-size: 14px;
  }
  .about {
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    flex-direction: column-reverse;
  }

  .about-btn button {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 100;
  }
  .talk {
    flex-direction: column-reverse;
    /* align-items: center; */
  }
  .pic-talk {
    width: 45.6%;
  }
  .talk img {
    width: 220%;
  }
  .talk-content h1 {
    font-size: 12px;
  }

}

@media screen and (max-width: 981px) {
  .top-content {
    padding: 10px 15px;
  }
  .top-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .top-content h1 {
    font-size: 3.6rem;
    flex-direction: column;
    line-height: 53px;
    margin-bottom: 40px;
  }
  .talk-content h1 {
    font-size: 50px;
    color: red;
    margin-bottom: 30px;
    line-height: 60px;
  }
}
@media screen and (max-width: 610px) {
  .top-content {
    margin-top: 110px;
  }
  header {
    height: 140vh;
  }
  .service_container h1 {
    font-size: 42px;
  }
  .service_container {
    padding: 32px;
  }
  .cardA_container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: auto;
    padding: 20px;
    gap: 33px;
    margin: 1px;
  }
  .pic-talk {
    width: 45.6%;
  }
  .talk img {
    width: 220%;
  }
  .talk-content h1 {
    font-size: 27px;
    line-height: 30px;
  }
  .talk-content h3 {
    font-size: 16px;
  }
  .contact {
    width: 100%;
    flex-direction: column-reverse;
    gap: 0px;
    align-items: center;
  }
  .contact-links {
    margin-right: -15px;
    text-align: center;
    margin-left: -16px;
  }
  .contact-links img {
    width: 12%;
  }
  .contact-1 h3 {
    font-size: 22px;
  }
  .contact-1 ul li {
    font-size: 18px  ;
  }
  .link {
    width: 10%;
    margin-left: 0px;
    padding: 1px 10px;
  }

   .contact-form {
    width: 100%;
    height: 90%;
    padding: 10px;
    margin-right: 0px;
  }
  .form input {
    padding: 7px 14px;
    border-radius: 9px;
    color: #000000;
    font-size: 14px;
    font-weight:600;
    border: 2px solid #000000;
  }
  textarea {
      padding: 10px 4px;
  }
  .founder-container {
    margin: 0 20px;

  }

}
