html, body{
  margin:0;
  font-family: 'Arial';
  letter-spacing: 2px;
  overflow-x: hidden;
  scroll-behavior: smooth;
transition:.5s;

}

h1,h2{
  font-weight: 400;
  font-style: normal;
  cursor: default;
  margin: 0;
}

#contact-form{transition: 2s;}


a{color: #333;text-decoration: none;}
a:visited{color: inherit;}
a:active{color:white;}

header{
  margin:0% 5%;
  width: 90%;
  position: fixed;
  z-index: 1;
  display: inline-grid;
  grid-template-rows: auto;
  grid-template-columns: auto auto;
  transition: transform 0.5s ease;
}

#nav-bar.animation 
{
  transform: translateY(0);
}

header img{
  padding:5px;
  width: 220px;
  height: 70px;
}

#nav-bar nav{

  -webkit-border-bottom-right-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-bottom-right: 20px;
  -moz-border-radius-bottom-left: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  -webkit-box-shadow: 10px 10px 50px -17px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 50px -17px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 50px -17px rgba(0,0,0,0.75);
}



.about-section, .services-section, .doctors-section {
  padding: 50px 0;
}

.about-section{padding-top:10%;}


.row{align-items:center;
justify-content:center;}

.section-title {
  text-align: center;
  margin-bottom: 50px;
font-size:2rem;
}

#sintomas{padding:20px 0px;}

#sintomas .card-body{
background-color:rgba(153, 192, 237,0.2);
}

#sintomas h5{color:rgb(0, 85, 143);}


.service-icon {
  font-size: 50px;
  margin-bottom: 20px;
}
.doctor-card {
  margin-bottom: 30px;
}
.doctor-card img {
  border-radius: 50%;
  max-width: 80%;
}

.img-fluid{
  border-radius: 1px;
  justify-content: center;
  border:5px solid #FFF;
  -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.42);
  -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.42);
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.42);

}

.card-group{
  cursor: default;
}

@media (max-width: 1024px)
{
  .container h2{
    margin-bottom: 10px;
    font-size: 2rem;
  }

  .container p{
    font-size: 1rem;
padding:10px;
  }

#col-img{margin-bottom:50px;}

.cli-section > .cli-sec-contain{
width:auto;
padding-bottom:50px;
float:none;
}


.cli-section-two > div{
margin-bottom:50px;
}

}


.footer{
  font-size: 10px;
  background-color: rgb(0, 85, 143);
  color:#ccc;
  padding:20px;
  cursor: default;
  width: 100%;
}

.footer-content{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section{
  flex:1;
  margin-right: 20px;
}

.footer-section h3{
  color: #ccc;
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-section ul{
  list-style-type: none;
  padding:0;
}

.footer-section ul li{
  margin-bottom: 5px;
}

.footer-section a, .footer-section p{
color:#ddd;
}

.footer-section ul li a:hover, .footer-section p a:hover{
  text-decoration: underline;
  color: #fff;
}

.contact-form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  max-width: 70%;
  margin: 5% 15%;
}

.contact-form h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
background-color:rgba(153, 192, 237,0.2);
  border: 1px solid #ccc;
  border-radius: 3px;
}

.contact-form textarea {
  overflow: hidden;
  resize: none;
  height: 120px;
}

.contact-form button[type="submit"] {
  background-color: rgb(0, 85, 143);
  color: #fff;
  border: none;
  width: 100%;
  border-radius: 5px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
}
.contact-form button[type="submit"]:hover {
  background-color: #99c0ed;
}


/* Estilos para a divisão principal */
.clinica {
  display: flex;
  justify-content: space-around;
  margin: 20px;
}

.cli-section {
  flex: 1;
  margin-right: 20px;
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: 10px;
border-bottom:5px solid rgba(0,120,215,0.49);
}

.cli-section h2 {
  color: #333;
  text-align: center;
}


.cli-section > div {
  margin-top: 20px;
  margin-bottom: 20px;
}


.cli-section-two {
  flex: 1;
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: 10px;
border-bottom: 5px solid rgba(0,120,215,0.49);
}

.cli-section-two h2 {
  color: #333;
  text-align: center;
}


.cli-section-two > div {
  margin-top: 20px;
  margin-bottom: 20px;
}

.cli-sec-contain{
  width: 40%;
  margin:1% 5%;
  float:left;
}

h3 {
  color: #0078d7;
  font-weight: bold;
}


p {
  color: #666;
}

.consultas-pediatria{
margin-top:50px;
}

.consultas-pediatria h2{text-align:center;}
.consultas-pediatria hr{margin:20px;}

.exames
{
  width: 100%;
  background-color: #f8f8f8;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.col-md-4{
  margin-top:10px;
}



/* Media Query para ecrãs pequenos */
@media (max-width: 768px) 
{
  
header{
margin:0%;
width:100%;
}

.about-section{padding-top:25%;}

.clinica {
    flex-direction: column;
  }

  .cli-section, .cli-section-two 
{
margin-right: 0;
margin-top:20px;
}

.cli-section{order:-1;}


.contact-form{
max-width:100%;
margin:auto;
}

}

