/* Estilos gerais */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20;

}

 @media (max-width: 576px) {
    .jumbotron h1.display-4 {
      font-size: 30px;

    }

    .jumbotron p.lead {
      font-size: 16px;
    }
  }

   .jumbotron {
      background-color: #f8f9fa;
    }

    .title {
      font-size: 3rem;
      line-height: 1.2;
    }

    .title-responsive {
      font-size: 2rem;
    }

    p {
      color: #777;
      font-size: 1.5rem;
    }

    @media (max-width: 768px) {
      /* Estilos para telas menores */
      .title {
        font-size: 2rem;
      }

      .title-responsive {
        font-size: 1.5rem;
      }

      p {
        font-size: 1rem;
      }
    }

    ul li {
      color: #777;
      font-size: 1.5rem;
    }

    @media (max-width: 768px) {
      /* Estilos para telas menores */
      .title {
        font-size: 2rem;
      }

      .title-responsive {
        font-size: 1.5rem;
      }

      ul li {
        font-size: 1rem;
      }
    }


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Estilos do cabeçalho */

header {
  background-color: #333;
  color: #fff;
  padding: 20px;
}

.logo {
  text-align: center;
}

.logo img {
  max-width: 150px;
}

nav {
  text-align: center;
  margin-top: 20px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-right: 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #324258;
  border-radius: 50px 50px 50px 50px;
}



nav ul li a.instagram:hover:before {
  content: "\f16d";
}

nav ul li a:before {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 5px;
}

.contact-info ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.contact-info ul li {
  display: inline-block;
  margin-right: 10px;
}

/* Estilos do slider de imagens */

.carousel-item img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
.carousel-image {
  width: 600px; /* Defina a largura desejada */
  height: 600px; /* Defina a altura desejada */
  border: 3px solid #f8f9fa; /* Adicione borda às imagens */
  object-fit: cover; /* Melhora a qualidade da imagem */
  transition: transform 2s ease; /* Defina a duração e o tipo de transição */
  transform: scale(1); /* Defina o nível de zoom inicial */
  transform-origin: center center; /* Defina o ponto de origem da transformação */
}

.carousel-image.zoomed {
  transform: scale(1.2); /* Defina o nível de zoom desejado */
}


.carousel-image:hover {
    transform: scale(1.1); /* Aplica um efeito de zoom ao passar o cursor sobre a imagem */
}



/* Estilos do conteúdo principal */

main {
  padding: 20px;
}

section {
  margin-bottom: 40px;
}

h1, h2 {
  color: #333;
}





/* Estilos responsivos */
@media (max-width: 768px) {
  .logo img {
    max-width: 100px;

  }

  nav {
    text-align: center;
  }

  nav ul li {
    display: block;
    margin-bottom: 10px;
  }

  nav ul ul {
    position: static;
    background-color: transparent;
  }

  nav ul ul li {
    width: auto;
  }

  nav ul ul li a {
    padding: 5px;
  }

  /* Cor do hover no texto dos itens do menu */
  nav ul li a:hover {
    color: #ff0000;

  }

  /* Setas do hover no menu */
  nav ul li a:hover::after {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
  }
}



  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .address, .contact-info {
    margin-bottom: 10px;
  }
}
/* Estilos para o texto */
    .clinic-info {
      font-size: 18px;
      line-height: 1.5;
      color: #333;
      margin-bottom: 20px;
    }

    .specialties {
      font-size: 16px;
      line-height: 1.5;
      color: #555;
      margin-bottom: 20px;
    }

    /* Estilos para os cabeçalhos */
    h1 {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      margin-bottom: 10px;
    }

    h2 {
      font-size: 20px;
      font-weight: bold;
      color: #333;
      margin-bottom: 10px;
    }

    /* Estilos do rodapé */
     footer {
    background-color: #80d5af;
    padding: 0px 0;
    text-align: center;
    margin-bottom: 0px 0;
  }

  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .address,
  .contact-info {
    margin: 10px;
  }

  .address p,
  .contact-info p {
    margin: 0;
    font-size: 16px;
    color: #fff;
  }

  .contact-info p {
    font-weight: bold;
  }

  .footer-content a {
    text-decoration: none;
    color: #333;
  }

  .footer-content a:hover {
    color: #777;
  }

#postagens {
  background-color: #f2f2f2;
  padding: 40px 0;
}

#postagens h1 {
  text-align: center;
  margin-bottom: 30px;
}
  
  .postagem h2, .postagem p {
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.postagem {
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.postagem img {
  width: 600px;
  height: 600px;
  border-radius: 5px;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border-color 0.3s;
  display: block;
  margin: 0 auto;
}

.postagem img:hover {
  border-color: #ccc;
}

.postagem h2 {
  margin-top: 0;
}

.postagem-data {
  font-size: 14px;
  margin-bottom: 10px;
}

.postagem-descricao {
  margin-bottom: 15px;
}

.postagem-conteudo {
  display: none;
}



@media (max-width: 768px) {
  .postagem {
    height: auto;
    padding: 20px 10px;
  }

  .postagem img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    margin: 0 auto;
    margin-bottom: 10px;
  }
}

@media (max-width: 433px) {
  .postagem img {
    max-width: 100%;
    height: auto;
    max-height: 670px;
    margin: 0 auto;
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .postagem img {
    max-width: 100%;
    height: auto;
    max-height: 495px;
    margin: 0 auto;
    margin-bottom: 10px;
  }
}

@media (min-width: 992px) {
  .postagem img {
    max-width: 100%;
    height: auto;
    max-height: 495px;
    margin: 0 auto;
    margin-bottom: 10px;
  }
}
  #back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #555;
      color: #fff;
      text-align: center;
      line-height: 40px;
      cursor: pointer;
      transition: background-color 0.3s;
      animation: rotateButton 1s infinite;
    }

    #back-to-top:hover {
      background-color: #333;
    }

    @keyframes rotateButton {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }