@font-face {
  font-family: "visby";
  src: url("../fonts/Visby/VisbyRoundCF-Bold.otf") format("truetype");
}

body {
  font-family: "visby", sans-serif;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f1f1;
}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li img {
  width: 110px;
  transition: 0.5s ease-in-out;
  vertical-align: middle;
}

nav ul li img:hover {
  transform: scale(1.2);
}


nav ul li a {
  color: #000000;
  padding: 10px;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
  position: relative;
}

nav ul li a:hover {
  background-color: #ff6900;
  color: #ffffff;
  transform: scale(0.95);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

details {
  position: relative;
  font-family: Arial, sans-serif;
}

details[open] ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  z-index: 10;
  border-radius: 10px;
  min-width: 200px;
  max-height: 200px; /* altura máxima com scroll */
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

/* Estiliza a barra de rolagem no Chrome */
details[open] ul::-webkit-scrollbar {
  width: 6px;
}
details[open] ul::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

details ul {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

details ul a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 14px;
}

details ul a:hover {
  background-color: #eaeaea;
  color: #000;
}

summary{
	font-weight: bold;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 50px;
}

h2 {
  font-size: 45px;
  align-items: center;
}

.container {
  text-align: center;
}

.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-content: center;
  background-color: #f1f1f1;
  padding: 20px;
  
}

.card {
  border: 1px solid #ccc;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin: 20px;
  border-radius: 15px;
  width: 220px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card i {
  font-size: 80px;
  width: 100px;
  height: 100px;
  border: 2px solid #ff8800;
  border-radius: 50%;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f2f2f2;
}

.card h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  margin: 0;
}

.card button {
  padding: 12px 25px;
  background-color: #ff8800;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  /* Borda mais arredondada */
  font-weight: bold;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.card button:hover {
  background-color: #ffcd00;
  transform: translateY(-3px);
  /* Efeito de elevação no hover */
}

.card button a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.card button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.5);
  /* Adiciona uma borda de foco suave */
}

footer {
  background-color: #54585a;
  color: #ecf0f1;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

footer .copyright p {
  font-size: 1.2rem;
  color: #ecf0f1;
  margin: 0;
  font-weight: 300;
}

footer .copyright a {
  color: #f39c12;
  text-decoration: none;
}

footer .copyright a:hover {
  color: #e67e22;
  text-decoration: underline;
}


header {
  background-color: #f1f1f1;
  color: #000000;
  padding: 20px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: sticky;
  top: 0;
  height: 80px;
  width: 100%;
 z-index: 99997;

}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;

  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav ul li {
  display: flex;
  align-items: center;
}

nav ul li img {
  width: 110px;
  transition: 0.5s ease-in-out;
  vertical-align: middle;
}

nav ul li img:hover {
  transform: scale(1.2);
}

footer {
  color: #ffffff;
  background-color: #54585a;
}

nav ul li a {
  color: #000000;
  padding: 10px;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
  position: relative;
  text-decoration: none;
}

nav ul li a:hover {
  background-color: #ff6900;
  color: #ffffff;
  transform: scale(0.95);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.logout:hover {
  background-color: #e74c3c;
}

#logout:hover {
  background-color: #e74c3c;
}

span {
  background-color: red;
  border: none;
  border-radius: 15px;
  color: white;
  padding: 5px;
}

.change_password {
  position: fixed;
  z-index: 99999;
  background-color: #54585a;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
  width: 400px;
  color: white;
}
.change_password div {
  display: flex;
  flex-direction: column;
}

.change_password_header{
text-align: center;
}

.change_password_header h2{
text-align:center;
}

.change_password_header p{
font-size:10px;
text-align:center;
}

.change_password_header i{
font-size: 25px;
}

.change_password label {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
  color: white;
}

.change_password input[type="password"] {
  padding: 10px;
  border: none;
  border-radius: 6px;
  outline: none;
  font-size: 16px;
  background-color: white;
  color: black;
}

.change_password input[type="password"]:focus {
  border: 2px solid yellow;
}

.change_password button {
  margin-top: 20px;
  padding: 10px;
  border: none;
  background-color: #ffcd00;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.change_password button:hover {
  background-color: black;
  color: orange;
  transition: background-color 0.3s ease;

}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}