@import url("./main.css");
@import url("./header.css");
@import url("./home.css");
@import url("./about.css");
@import url("./services.css");
@import url("./depoimentos.css");
@import url("./contato.css");
@import url("./footer.css");

@media (max-width: 1280px) {
  #home {
    width: 90%;
    margin: 0 auto;
  }

  .read-more {
    margin-left: 52rem;
  }

  .about {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  #contato {
    height: 65rem;
  }

  .contact-informations {
    max-width: 90%;
  }

  #contato a {
    margin-right: 5rem;
  }

  .contato h2 {
    font-size: 3rem;
  }

  .text-contato {
    max-width: 45%;
  }

  .social-medias a {
    max-width: 45%;
    font-size: 1.15rem;
  }
}

@media (max-width: 900px) {
  .read-more a,
  .read-more {
    visibility: hidden;
  }

  .content {
    height: 80rem;
    margin-bottom: -20rem;
  }

  .content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .read-more {
    margin-left: 32rem;
  }

  #services {
    height: 60rem;
  }

  #services p {
    width: 90%;
  }

  #services .container-card {
    height: 14rem;
  }

  #services .swiper {
    height: 30rem;
  }

  #services .swiper-slide {
    height: 25rem;
  }

  .container-sobre {
    flex-direction: column;
    align-items: center;
  }

  .container-sobre .img-doutor {
    margin-right: 8rem;
    margin-bottom: 2rem;
  }

  .informacoes-doutor {
    margin-left: 3rem;
  }

  .about {
    margin-top: 60rem;
    width: 100%;

    display: flex;
    flex-direction: column;
  }

  .container-about {
    width: 60vw;
    /* margin-right: 6.5rem; */
  }

  .about-content p {
    font-size: 2rem;
  }

  #depoimentos {
    margin-top: 110rem;
    margin-bottom: -10rem;
  }

  #contato {
    height: 118rem;
  }

  .contact-informations {
    display: flex;
    flex-direction: column;
  }

  form {
    width: 100%;
  }

  .mapa {
    max-width: 95%;
  }

  .contato h2 {
    font-size: 2.1rem;
  }

  .text-contato {
    max-width: 90%;
    margin: 0 auto;
  }

  .social-medias {
    display: flex;
    flex-direction: column;
    margin-top: 20rem;
  }

  .social-medias a {
    max-width: 45%;
    font-size: 1.2rem;
  }

  .contato a {
    margin-top: 2rem;
    font-size: 1.6rem;
  }

  .btn {
    padding: 0 7rem;
  }
}

@media (max-width: 819px) {
  .container-about {
    margin: 0 14rem;
  }
}

@media (max-width: 760px) {
  .read-more {
    margin-left: 0rem;
  }

  .about {
    margin-top: 120rem;
  }

  #depoimentos{
    margin-top: 10rem;
  }

  .informacoes-doutor {
    margin-left: 3rem;
  }

  .container-about {
    width: 90%;
    margin-right: 6.5rem;
  }
}

@media (max-width: 440px) {
  .toggle {
    display: block;
    z-index: 1;
  }

  #depoimentos .swiper-slide {
    max-width: 90%;
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    clip-path: circle(100px at 90% -15%);
    transition: 1s ease-out;
    background-color: #3e7479;

    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 0;
    pointer-events: none;
  }

  .nav-list {
    z-index: 1;
    font-size: 1.5rem;
    opacity: 0;
  }

  .nav-list li:nth-child(1) a {
    transition: 0.5s 0.2s;
  }

  .nav-list li:nth-child(2) a {
    transition: 0.5s 0.4s;
  }

  .nav-list li:nth-child(3) a {
    transition: 0.5s 0.6s;
  }

  .nav-list li:nth-child(4) a {
    transition: 0.5s 0.8s;
  }

  .nav-list li:nth-child(5) a {
    transform: 0.5s 1s;
  }

  .show .nav-list {
    clip-path: circle(1500px at 90% -15%);
    pointer-events: all;
    opacity: 1;
  }

  .show .nav-list a {
    opacity: 1;
  }

  .show .toggle {
    position: fixed;
    top: 1.5rem;
    right: 1rem;
    border-top-color: transparent;
  }

  .show .toggle::before {
    transform: rotate(135deg);
  }

  .show .toggle::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  .content .logo-principal img {
    margin-top: 20rem;
    max-width: 90vw;
    height: auto;
  }

  .informations p {
    width: 80%;
    color: #3e7479;
    margin: 0 auto;
  }

  .informations .legend {
    color: white;
  }

  .read-more {
    margin-left: 12rem;
  }

  #services {
    height: 70rem;
    padding-bottom: 1rem;
  }

  #services .container-card {
    height: 26.5rem;
  }

  #services .swiper {
    height: 37rem;
  }

  #services .swiper-slide {
    height: rem;
  }

  .container-sobre {
    margin-bottom: 110rem;
  }

  .container-sobre .img-doutor {
    margin-left: 5rem;
  }

  .container-about {
    width: 90vw;
    margin-left: 0.3rem;
  }

  #depoimentos {
    margin-top: 160rem;
  }

  #contato {
    height: 135rem;
  }

  footer {
    height: 53rem;
    width: 100%;
    background-color: #3e7479;
    margin: 0 auto;
  }

  .contato {
    flex-direction: column;
  }

  .text-contato {
    width: 100%;
    margin-bottom: -5rem;
  }

  .text-contato h2 {
    font-size: 2rem;
  }

  .text-contato p {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .contato a {
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin-top: 3rem;
  }

  .contato h2 {
    font-size: 2.1rem;
  }

  /* .text-contato{
    width: 90%;
    margin-top: 0;
  } */

  .social-medias {
    display: flex;
    flex-direction: column;
    margin-top: 0rem;
    margin-left: 2.2rem;
  }

  .social-medias a {
    max-width: 45%;
    font-size: 1.2rem;
  }

  .contato a {
    margin-top: 2rem;
  }

  .btn {
    padding: 0 7rem;
  }
}

@media (max-width: 420px) {
  #services {
    height: 75rem;
    padding-bottom: 1rem;
  }

  #services .container-card {
    height: 32rem;
  }

  #services .swiper {
    height: 37rem;
  }
}

@media (max-width: 391px) {
  #services {
    height: 82rem;
    padding-bottom: 1rem;
  }

  #services .container-card {
    height: 35rem;
  }

  #services .swiper {
    height: 39rem;
  }

  footer {
    height: 46rem;
  }

  .img-doutor img {
    width: 36rem;
    margin-left: 2.5rem;
  }

  .divisor {
    visibility: hidden;
  }

  .contato {
    max-width: 1280px;
    flex-direction: column;
    align-items: center;
  }

  .text-contato {
    max-width: 90%;
  }

  .text-contato h2 {
    font-size: 2rem;
  }

  .text-contato p {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .contato a {
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin-top: 3rem;
  }

  .contato h2 {
    font-size: 2.1rem;
  }

  /* .text-contato{
    width: 90%;
    margin-top: 0;
  } */

  .social-medias {
    display: flex;
    flex-direction: column;
    margin-top: 0rem;
    margin-left: 2.2rem;
  }

  .social-medias a {
    max-width: 45%;
    font-size: 1.2rem;
  }

  .contato a {
    margin-top: 2rem;
  }

  .btn {
    padding: 0 7rem;
  }

  #depoimentos {
    margin-top: 180rem;
  }
}

@media (max-width: 360px) {
  #services {
    height: 90rem;
  }

  #services .container-card {
    height: 39rem;
    margin-bottom: 0px;
  }

  #services .swiper {
    height: 43rem;
  }

  footer {
    height: 48rem;
  }
}

@media (max-width: 320px) {
  #services {
    height: 100rem;
  }

  #services .container-card {
    height: 45rem;
    margin-bottom: 0px;
  }

  #services .swiper {
    height: 50rem;
  }

  .img-doutor img {
    width: 90vw;
    margin-left: 2.5rem;
  }

  .about {
    margin-top: 140rem;
  }

  #depoimentos {
    margin-top: 210rem;
  }
}
