@font-face {
  font-family: 'Sifonn';
  src: url('/codigo-fonte/midias/SiffonPro.otf') format('opentype');
}

/* Estilo do título */
h1 {
  display: flex;
  font-family: 'Sifonn';
  margin: 0;
  color: #5b4686;
  font-size: 40px;
  letter-spacing: -3px;
}

.logo{
  text-decoration: none; 
  color: #5b4686;
}

.logo:hover{
  color: #2e185a;
  transition: 0.5s;
}

/* Corpo da página */
body {
  font-family: Arial;
  margin: 0; 
  padding: 0; 
  background-color: #fff5ec; 
  color: #5b4686; 
}

/* Cabeçalho */
header {
  background-color: #fff5ec;
  padding: 10px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.caixa-pesquisa,
.btn-perfil {
  margin-left: auto; 
}

/* Estilo das imagens no cabeçalho */
header img {
  height: 40px; 
  margin-left: 10px;
  margin-right: 10px;

}

.lupabranca{
  width: 20px;
  height: 20px;
  position: absolute;
  right: 48px;
  transform: translateY(-50%); 
  z-index: 1; 
}

/* Estilos da caixa de pesquisa */
.caixa-pesquisa {
  background: #5b4686;
  height: 2px;
  width: 2px;
  padding: 20px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  justify-content: space-between;
  cursor: pointer;
  transition: width 0.4s; 

}

/* Estilos do campo de texto */
.texto-pesquisa {
  display: flex;
  background: #ffffff1f;
  border-radius: 40px;
  padding: 5px 5px 5px 5px;
  margin-right: 20px;
  border: none; 
  outline: 0; 
  font-size: 10px;
  color: #5b4686;
  font-weight: bold;
  opacity: 0;
  width: 380px;

}

/* Estilos do placeholder */
.texto-pesquisa::placeholder {
  color: #ccc;
  opacity: 1;
}

/* Expansão da caixa de pesquisa */
.caixa-pesquisa:hover,
.caixa-pesquisa:focus-within { 
  width: 420px; 
}

/* Estilos para mostrar o campo de texto */
.caixa-pesquisa:hover .texto-pesquisa, 
.caixa-pesquisa:focus-within .texto-pesquisa {
  opacity: 1;
}

/* Estilos do botão dentro da caixa de pesquisa */
.caixa-pesquisa-btn {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
}

/* Estilos do link dentro da caixa de pesquisa */
.caixa-pesquisa a {
  position: absolute;
  align-items: baseline;
  right: 48px;
  width: 20px;
}


.icon-perfil a {
  right: 48px;
  width: 20px;
  padding: auto;
  margin: 5px;
}

.faixa-amarela{
  background-color: #ffc95d;
  padding: 0px 28px 0px 28px;
  display: flex;
  text-align: center;
  color: #4C2F87;
  font-weight: bold;
  justify-content: space-between;
}

.animaisnomenu {
  padding-top: auto;
  display: flex;
  width: 250px; 
  height: 100%;
  flex-wrap: wrap;
  object-fit: cover;
}

/* Navegação */
nav {
  white-space: nowrap;
  display: flex;
  align-items: center;
  align-content: stretch;
  justify-content: flex-end;
  flex-direction: row;
  border-radius: 10px;
  transition: text-shadow 0.3s ease;
}

/* Estilo dos links de navegação */
nav a {
  margin: 0 20px; 
  text-decoration: none; 
  color: #4C2F87; 
  font-weight: bold; 
  font-size: 18px;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease; /* Transição da cor */
}

/* Efeito ao passar o mouse sobre os links */
nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #4C2F87;
  bottom: -3px;
  left: 0;
  transition: width 0.3s ease; 
}

nav a:hover::after {
  width: 100%; 
}

.menu {
  
  align-items: center;
  background-color: #FFCC66;
}

.menu-item {
  position: relative;
  cursor: pointer;
  color: #4A2778;
  font-weight: bold;
  font-size: 18px;
  align-items: flex-end;
  margin: 0 20px; 

}

/* Exibir o submenu ao passar o mouse sobre "Meu pet" */
.menu-item:hover .submenu {
  display: block;
}

/* Estilos para o submenu */
.submenu {
  display: none;
  position: absolute;
  top: 105%;
  left: -45px;
  background-color: #FFF3E6;
  padding: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  min-width: 150px;
  z-index: 1000;
}

.submenu a {
  display: block;
  padding: 8px 12px;
  color: #4A2778;
  text-decoration: none;
  font-size: 16px;
}


@media (max-width: 768px) {  /*layout responsivo mobile*/
  .faixa-amarela {
      flex-direction: column;
      align-items: center;
      padding: 10px;
  }
  
  nav {
      flex-direction: column;
      align-items:center;
  }
  
  nav a {
      margin: 10px 0; /* Espaçamento entre os titulos empilhados */
  }
}



/* Seção SOS Pet */
.sos-pet-section {
  background-color: #ffffff;
  padding: 0px;
  border-radius: 10px;
  margin: 5px auto;
  color: white;
}
.sos-pet-section .unidade {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  color: #5b4686;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sos-pet-section .unidade h3 {
  color: #4c2f87;
  font-size: 18px;
  margin-bottom: 10px;
}

.sos-pet-section .unidade p {
  margin-right: 20px;
  flex: 1;
  margin-bottom: 10px;
  font-size: 18px;
}

.info-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.sos-pet-section .unidade a {
  display: flex;
  background-color: #4c2f87;
  color: rgb(253, 252, 252);
  padding: 10px 50px;
  text-decoration: none;
  border-radius: 40px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}
.sos-pet-section .unidade a.clicked {
  background-color: #4b0082; /* Cor roxo escuro */
  color: white; /* Texto branco para contraste */
}
.sos-pet-section .unidade a:hover {
  background-color: #2e185a;
}

.conteudo {
  display: flex;
  justify-content: flex-start;
  max-width: 100%;
  gap: 20px; /* Espaçamento entre a imagem e as infos */
  align-items: flex-start; /* Alinha no topo */
}

.secao-informacoes {
  margin-top: -20px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

h2 {
  margin: 10px;
  padding: 10px;
  color: #4c2f87;
  font-size: 28px;
  letter-spacing: -1px;
}

.bloco-informacoes {
  display: flex;
  flex-direction: column;
  flex-basis: 50%; /* Usa 50% do espaço para telas grandes */
}

.item-informacoes {
  background-color: #ffc95d;
  color: #5b4686;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.item-informacoes h4 {
  margin: 0;
  font-size: 18px;
}

.item-informacoes p {
  margin: 5px 0;
  color: #333;
}
.form-container {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.form-container input {
  margin: 5px 0;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #5b4686;
  width: 100%;
  max-width: 400px;
  font-size: 16px;
}
.form-container button {
  background-color: #4c2f87;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.3s;
}
.form-container button:hover {
  background-color: #2e185a;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.info-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.info-buttons button {
  padding: 5px 10px;
  background-color: #4c2f87;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.info-buttons button:hover {
  background-color: #2e185a;
}
/* Rodapé */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background-color: #ffc95d;
  padding: 5px 5px;
  text-align: center;
  color: #4c2f87;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
