@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

html {
  scroll-behavior: smooth;
 }

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

header {
  background: transparent;
  position: relative;
}

.container {
  max-width: 100%;
  padding: 70px 120px;
  margin: 0 auto;
}

.logo img {
  display: block;
  object-fit: cover;
  width: 50%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar nav {
  display: flex;
  align-items: center;
  padding: 40px 0;
  
}

.navbar nav li {
  list-style: none;
  margin-left: 1rem;
}

.navbar nav li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: all 0.4s ease-in;
}

section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


.content {
  display: flex;
  flex-direction: column;
  width: 60%;
  justify-content: center;
  height: 50px;
}

.content h2 {
  font-size: 3.5rem;
  color: #2F2F2F;
  font-weight: bold;
}

.content p {
  color: #2F2F2F;
  line-height: 1.5;
  margin-top: 1rem;
  max-width: 713px;
  font-size: 1.5rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 28px;
}

.grid-item {
  position: relative;
  overflow: hidden;
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

h3 {
  color: #2F2F2F;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 70px;
  margin-top: 100px;
}

a{
  color: #2F2F2F;
}

ul{
  width:200px;
}

/*
.locais {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 200px;
} 
*/
.flex-container {
  /*display: flex;*/
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px; 
}

.locais-consulta-grid
{
  display: grid;
  grid-template-columns: 1fr 2fr 3fr;
  gap: 30px;
}

.locais-consulta-grid > div
{
  display: grid;
  height: fit-content;
  gap: 20px;
}

.table {
  flex: 0 0 5%; 
  justify-items: center;
  
}



.table img {
  max-width: 100%;
  height: auto;
}

.flex-container > div {
  flex: 0 0 50%; 
  box-sizing: border-box;
  padding: 0 10px; 
}


.about {
  background-color: #f4f4f4;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.3fr 1fr; /* Two columns with equal width */
  gap: 20px; /* Add some spacing between columns */
}

.text-column {
  box-sizing: border-box;
  padding-right: 20px; /* Add some spacing between text and image */
}

.image-column img {
  width: 75%; /* Make sure the image takes 100% of the container width */
  height: auto;
}

/* .about {
    background-color: #f4f4f4;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0%;
}

.text-column {
    flex: 1;
    max-width: 50%;
    box-sizing: border-box;
    padding-right: 20px; 
}

.image-column {
    flex: 1;
    max-width: 40%;
    box-sizing: border-box;
    margin-top: 10px; 
}

.image-column img {
    width: 100%; 
    height: auto;


} */


.about p {
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 100%;
  font-size: 1rem;
  text-align: justify;
}

.sociedades {
  margin: 0 auto;  
  text-align: center;
  background-color: #2f2f2f;
  padding: 10px;
}

.sociedades > div {
  margin-bottom: 100px;
}

.sociedades img {
  height: 50%;
  margin: 0 10px;
}

.sociedades h3 {
  color: #fff;
}

.contact-form {
    margin: 0 auto;  
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 5%;
    padding-top: 0px;
    padding-bottom: 0px;
}

.contact-info, .proposal-form, .social-media {
    width: 30%;
    padding: 20px;
    box-sizing: border-box;
}

.contact-info {
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #F4F4F4;
    height: 900px;
}

.contact-info p {
    display: inline;
}


.proposal-form {
    width: 50%;
    padding-right: 6%;
    padding-bottom: 150px;
}

form {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

label {
    margin-bottom: 8px;
    color: #333;
}

input, textarea {
    margin-bottom: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 9px;
}

button {
    padding: 12px;
    background-color: #2F2F2F;
    color: #fff;
    cursor: pointer;
    border: none;
    font-size: 18px;
}

h3 {
    margin-bottom: 10px;
    color: #2F2F2F;
}


.social-icons a {
    text-decoration: none;
    font-size: 24px;
    margin: 8px;
}

.footer {
    text-align: center;
    background-color: #2f2f2f;
    padding: 5px;
  }
  
  .footer > div {
    margin-bottom: 15px;
  }
  
  .footer img {
    max-width: 200px;
    height: auto;
    margin: 0 10px;
    padding: 20px;
  }
  
  .footer p {
    color: #fff;
    font-size: 12px;
  }

  .small-container {
    display: flex;
    align-items: center; 
    margin-top: 30px;
  }

  .small-image {
    height: auto;
    margin-right: 10px;
    
  }

  .paragraph {
    margin: 0; 
  }


.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    position: relative;
    display: inline-block;
}

.hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: white;
    color: #2F2F2F;
    padding: 210px 190px;
    border-radius: 5px;
    line-height: 1.8;
    font-size: 18px;
}

.grid-item:hover .hover-text {
    opacity: 1;
}

.slideshow-container {
  padding-bottom: 400px;
}




/* Caption text */
.text-box{
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 100%;
  align-items: center;
  padding-left: 111px;
  pointer-events: none;
}

.text {
  color: #2f2f2f;
  font-size: 3rem;
  bottom: 8px;
  width: fit-content;
  text-align: left;
  font-weight: bold;
}

.subtext {
  color: #2f2f2f;
  font-size: 3rem;
  bottom: 8px;
  width: fit-content;
  text-align: left;
  font-weight: bold;
}


.subp2 {
  color: #2f2f2f;
  font-size: 40px;
  bottom: 8px;
  width: fit-content;
  text-align: left;
}

/*==.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .8} 
  to {opacity: 1}
} */


.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  
}

.active, .dot:hover {
  background-color: #717171;
}

@media only screen and (max-width: 1440px) {
  .container {
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
  }
  


  .content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }



  .about {
    padding: 50px;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form {
    
    margin-left: auto;
    margin-right: auto;
  }

  .contact-info,
  .proposal-form,
  .social-media {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .text-column,
  .image-column {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-self: end;
  }

  .sociedades > div {
    margin-bottom: 10px;
  }
  
  .image-column img{
    width: 100%;
  }
  
  .logo img{
      width:30%;
  }

  .sociedades h3 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 50px;
  }

  .sociedades img {
    height: 150px;
    margin-bottom: 20px;
  }

  * {
    justify-content: center;
    text-align: center;
  }

  .text,
  .subtext,
  .subp2 {
    font-size: 34px;
    text-align: left;
    justify-content: left;
    padding-left: 0;
  }

  .hover-text {
    font-size: 12px;
    height: auto;
    width: auto;
  }

  .contact-info {
    height: 700px;
    background-color: #fff;
  }

  .flex-container > div {
    flex: 0 0 100%;
  }


  .locais-consulta-text-list {
    margin-bottom: 50px;
  }

  .text-box {
    margin-bottom: auto;
    margin-top: auto;
    padding: 40px;
    justify-content: left;
  }

  .grid-item {
    margin-left: auto;
    margin-right: auto;
  }

  .navbar {
    align-items: center;
  }

  .logo {
    width: 100%;
  }


  .navbar.open nav {
    display: flex; /* Show the navigation links when the button is clicked */
  }

  li {
    text-align: left;
    margin-left: 40px;
  }

  .small-container {
    flex-direction: column;
  }

  .small-image {
    padding: 15px;
  }

  .footer img {
    max-width: 150px;
    margin-top: 10px;
  }

  h3 {
    font-size: 24px;
  }

  .footer p {
    font-size: 10px;
  }

  .footer {
    padding: 5px;
    margin: 0px;
  }
}
  


  @media only screen and (max-width: 768px) {
    .container {
      padding: 30px;
      margin-left: auto;
      margin-right: auto;
    
    }
  
    .content {
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
  
    .grid-container {
      grid-template-columns: repeat(1, 1fr);
      margin-left: auto;
      margin-right: auto;
    }
  
    .about {
      padding: 50px;
      flex-direction: column;
      margin-left: auto;
      margin-right: auto;
    }
  
    .contact-form {
      flex-direction: column;
      margin-left: auto;
      margin-right: auto;
      
    }
  
    .contact-info, .proposal-form, .social-media {
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }


    .text-column,
    .image-column {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }


    .sociedades > div {
      margin-bottom: 10px;
    }

    .sociedades h3 {
      font-size: 24px;
      margin-top: 20px;
      margin-bottom: 50px;
    }

    .sociedades img {
      height: 150px;
      margin-bottom: 20px;
    }
        


   *{
      justify-content: center;
      text-align: center;
    } 

    .text {
      font-size: 24px;
      text-align: left;
      justify-content: left;
      padding-left: 0;
    }
    

    .subtext{
      font-size: 24px;
      text-align: left;
      justify-content: left;
      padding-left: 0;
    }


    .subp2 {
      font-size: 18px;
      text-align: left;
      justify-content: left;
      padding-left: 0;
    } 



    .hover-text{
      font-size: 12px;
      height: auto;
      width: auto;
    }

    .contact-info {
      height: 700px;
      background-color: #fff;
    }

    .flex-container > div {
      flex: 0 0 100%; 
  }

  .locais-consulta-grid
  {
    grid-template-columns: 1fr;
  }
  .locais-consulta-text-list
  {
    margin-bottom: 50px;
  }


  .text-box{
    margin-bottom: auto;
    margin-top: auto;
    padding: 40px;
    justify-content: left;
  }

  .grid-item{
    margin-left: auto;
    margin-right: auto;
  }


  .navbar {
    align-items: center;
   
}

.logo{
  width: 110%;
}

nav {
    display: none; /* Hide the navigation links by default */
    width: 100%;
    text-align: center;
    /* justify-content: space-between; */
    margin-left: 30px;

}



.navbar.open nav {
    display: block; /* Show the navigation links when the button is clicked */
}

li{
  text-align: left;
  margin-left: 40px;
}


.small-container{
  flex-direction: column;
}

 .small-image{
  padding: 15px;
 }

 .footer img{
  max-width: 150px;
  margin-top: 10px;
 }

 h3{
  font-size: 24px;
 }
 
   .footer p {
    font-size: 10px;
  }
 

  .footer{
    padding: 5px;
    margin: 0px;
  }



  .logo img {
    width: 110%;
  }

  .container.locais {
    background-color: #f4f4f4;
  }

  .container.about {
    background-color: white;
  }

  .container.sociedades {
    background-color: #5a5a5a;
  
  }

  .about {
    grid-template-columns: 1fr; /* Display only one column on mobile */
  }

  .text-column {
    padding-right: 0; /* Remove right padding on mobile */
  }

  .image-column {
    order: -1; /* Move the image column to the first position */
  }

  .fb {
    height: 19px;
  }
  
  .insta {
    height: 19px;
  }
  
  .linked {
    height: 20px;
  }

.dot{
  margin-bottom: 10px;
}

}

