/* menu.css */

/*
verde principal: #b2d235
verde botao selecionado: #98b32d
verde menu dropdown: #919e5c
verde menu dropdown selecionado: #8a9657
*/
 

:root {
  --fontSize: 14px;   
}

/*body {margin:0;font-family:Arial}*/

.topnav {
  overflow: hidden;
  background-color: #b2d235;
  
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
  font-size: var(--fontSize);
  font-weight: bold;
}

.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
  
}

.dropdown .dropbtn {
  font-size: var(--fontSize);    
  border: none;
  outline: none;
  color: black;
  padding: 8px 12px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  font-weight: bold;

}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #919e5c;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  font-size: var(--fontSize); 
  float: none;
  color: black;
  padding: 6px 12px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #98b32d;
  color: white;
}

.dropdown-content a:hover {
  background-color: #8a9657;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* ====================================================== */
/* ===== BLOCO ÚNICO PARA ESTILOS RESPONSIVOS =========== */
/* ====================================================== */

@media screen and (max-width: 1133px) {

  .topnav { 
	margin-top: 10px;
  }

	
}




@media screen and (max-width: 760px) {

  /* 1. Oculta o banner imediatamente em telas pequenas */
  .banner {
    display: none;
  }

  .topnav { 
  
    margin-top: 100px;
	
  }


@media screen and (max-width: 320px) {

  /* 1. Oculta o banner imediatamente em telas pequenas */
  .banner {
    display: none;
  }

  .topnav { 
	margin-top: 15px;
  }

  /* 2. Estilos para o menu "fechado" (estado inicial) */
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: left;
    display: block;
  }

  /* 3. Estilos para o menu "aberto" (após o clique, com a classe .responsive) */
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 90%;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {
    float: none;
  }
  .topnav.responsive .dropdown-content {
    position: relative;
  }
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  
   
}



 