#layout {
  font-family: "Source Sans 3", sans-serif;
  background-color: rgb(241, 241, 241);
}

#navbar {
  background: linear-gradient(to right, #212121, rgb(101, 101, 101));
}

#topo_fundo {
  position: relative;
  background-image: url(../img/generica-06.jpg);
  background-position-x: 50%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Ajuste a opacidade conforme necessário */
  pointer-events: none; /* Permite interações através do overlay */
}

.content {
  position: relative;
  z-index: 1;
}

.link_nav {
  text-decoration: none;
  color: gray;
  justify-content: space-between;
  padding: 1rem;
  font-size: 21px;
  font-weight: 600;
}

.link_nav_active {
  color: black;
  border-bottom: 5px solid black;
}

.navbar,
.links_nav {
  position: fixed;
  width: 100%;
  background-color: #f2f2f2;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  z-index: 1000; /* Garante que as divs fixadas no topo estejam acima do conteúdo */
}

.links_nav {
  top: 60px; /* Altura da topo1 */
  transition: top 0.3s ease; /* Transição suave para a mudança de posição */
}

.section_btn {
  font-size: 20px;
}

/* Estilize o botão dropdown */
.dropbtn {
  background-color: white;
  color: black;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-top: 2px solid black;
  border-left: 1px solid rgb(210, 210, 210);
  border-right: 1px solid rgb(210, 210, 210);
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  cursor: pointer;
  width: 100%;
}

/* Estilize o conteúdo do dropdown (escondido por padrão) */
.dropdown-content {
  display: block;
  background-color: #f9f9f9;
  width: 100%;
  border-left: 1px solid rgb(210, 210, 210);
  border-right: 1px solid rgb(210, 210, 210);
  border-bottom: 1px solid rgb(210, 210, 210);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* Oculta qualquer conteúdo que exceda a altura definida */
  transition: height 0.5s; /* Adiciona uma transição suave */
  height: 0; /* Começa com a altura 0 */
}

/* Estilize os links do dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s; /* Adiciona uma transição suave */
}

/* Mude a cor do link ao passar o mouse */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Mostrar o dropdown quando o botão é clicado */
.dropdown.open .dropdown-content {
  height: 100px; /* Defina a altura desejada para o dropdown */
}

.img_arrow {
  transition: transform 0.5s; /* Adiciona uma transição suave */
}

/* Classe para rotacionar a imagem */
.virado {
  transform: rotate(180deg); /* Rotaciona a imagem em 180 graus */
}

.item_title {
  font-weight: normal;
}

.item_text {
  font-size: 14px;
  color: rgb(100, 100, 100);
}

.item_price {
  font-size: 20px;
  font-weight: bold;
}

.item_img {
  border-radius: 0.5rem;
  max-width: 100px;
}
