@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@100..1000&family=Playfair+Display:wght@400..900&family=Poppins:wght@100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    width: 100%;
    font-family: "Poppins", sans-serif;
    background-color: white;
    overflow-x: hidden;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #01002f;
    color: white;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 100%; 
  text-align: center;
  position: relative;
}

.logo img {
  max-width: 400px;
  height: auto;
  position: relative;
  left: 50px;
}

  .main-menu {
   display: flex;
   justify-content: center;
   align-items: center;
    top: 150px;
    right: 350px;
    background-color: #01002f; 
    padding: 10px 20px; 
   
    
  }
  
  .main-menu ul {
    display: flex; 
    list-style: none; 
    padding: 0;
    margin: 0;
    justify-content: center; 
  }
  
  .main-menu li {
    margin: 0 15px; 
  }
  
  .main-menu a {
    text-decoration: none;
    color: #fff; 
    font-size: 16px; 
  }
  
  .main-menu a:hover {
    color: #FFA500;
  }

  .btn-avatar {
    padding: 10px 10px;
    background-color: #01002f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }

  .btn-avatar:hover {
    background-color: #FFA500;
  }

  .menu-toggle {
    position: absolute;
    top: 10px;
    left: 10px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: none;
  }

  .menu-card {
    position: absolute;
    top: 10px;
    left: 30px;
    width: 300px;
    background-color: #1d1d59;
    color: #fff;
    border-radius: 1px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: none;
    z-index: 9;
  }
  
  .menu-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .menu-card li {
    margin-bottom: 50px;
  }
  
  .menu-card a {
    text-decoration: none;
    color: #fff;
    display: block;
  }
  
  .menu-card a:hover {
    color: #FFA500;
  }

  .btn-avatar {
    position: absolute;
    top: 10px;
    right: 10px; 
    padding: 10px 20px;
    background-color: #01002f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .btn-avatar:hover {
    background-color: #FF8C00; 
  }

  /* Estilo para o contêiner da tabela */
.tabela-container {
  margin-top: 5px;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 6px #01002f(0, 0, 0, 0.1);
}

/* Estilo para a tabela */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

thead {
  background-color: #01002f;
  color: #FF8C00;
}

tbody tr:hover {
  background-color: #f1f1f1;
}


  .hero {
    position:relative;
    display: flex;
    flex-direction:column;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.box-img {
  width: 100%;
  max-width: 100%;
  position: absolute;
  height: 850px;
}

.box-txt {
  flex:1;
  width: 90%;
  max-width: 600px;
  color: rgb(104, 104, 104);
  text-align: left;
  position: relative;
  padding: 20px;
  border-radius: 10px;
}

.box-txt h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
  color: #3b6a91;
  font-weight: 800;
  margin: 20px 0;
  line-height: 50px;
}

.btn-hero {
  background: #01002f;
  color: #e9681c;
  padding: 15px 25px;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  border-radius: 5px;
  transition: 0.5s all;
  font-weight: bold;
  display: inline-block;
  align-items: center;
  text-align: center;
}

.btn-hero:hover {
  background: #0b095c;
  color: #db814c;
  font-size: 20px;
}


.especialidades {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  width: 80%;
  margin: 50px auto;
}

.box-item {
  width: 30%;
  min-width: 280px;
  height: auto;
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}


footer {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  background: #01002f;
  height: 100px;
  color: white;
  font-size: 18px;
}

/* BOTÃO FLUTUANTE */
.ola {
  position: fixed;
  right: 10px;
  bottom: 10px;
}



  @media (max-width: 1024px) {
    .main-menu {
      display: flex; /* Mostra o menu apenas em telas maiores */
      justify-content: center; /* Centraliza os itens no contêiner */
      list-style: none;
      gap: 30px; /* Espaçamento entre os itens */
    }


    .main-menu ul {
      display: flex; 
      list-style: none; 
      padding: 0;
      margin: 0;
      justify-content: center; 
    }
    
    .main-menu li {
      margin: 0 15px; 
    }
    
    .main-menu a {
      text-decoration: none; 
      color: #fff; 
      font-size: 16px;
    }
    
    .main-menu a:hover {
      color: #FFA500;
    }

    
  
    .box-txt {
      text-align: left; 
    }



  }

  @media (max-width: 768px) {

    .logo img {
      max-width: 300px;
    }
      


    .main-menu {
      display: none; /* Mostra o menu apenas em telas maiores */
      justify-content: center; /* Centraliza os itens no contêiner */
      list-style: none;
      gap: 30px; /* Espaçamento entre os itens */
    }

    .menu-card {
      width: 250px;
    }

    .menu-toggle {
      display: block;
    }
    .hero{
      flex-direction: column; 
      text-align: center;
      align-items: center; 
    }
  
    .box-img {
      position: relative;
      height: 650px;
      bottom: 200px;
      text-align: center;
      max-width: 80%;
    }
  
    .box-txt {
      text-align: left;
  }
}