@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
body {
  font-family: "Poppins", sans-serif;
  font-size: 12pt;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
header h1 {
  color: LightSlateGray;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
nav a {
  text-decoration: none;
  color: LightSlateGray;
  padding: 1em;
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid transparent;
}
nav a:hover {
  color: #1e1e1e;
  animation: borde-enlace 0.3s;
}

@keyframes borde-enlace {
  0% {
    border-left: 1px solid #1e1e1e;
  }
  25% {
    border-top: 1px solid #1e1e1e;
  }
  50% {
    border-right: 1px solid #1e1e1e;
  }
  100% {
    border-bottom: 1px solid #1e1e1e;
  }
}
.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.card {
  background-color: #fff;
  border: 1px solid LightSlateGray;
  border-radius: 1em;
  padding: 2em;
  text-align: center;
}
.card img {
  width: 10em;
  height: 10em;
  -o-object-fit: cover;
     object-fit: cover;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

button {
  padding: 1em;
  border-radius: 15px;
  cursor: pointer;
  border: none;
  background-color: LightSlateGray;
  color: azure;
}

.login {
  display: none;
  padding: 2em;
  background-color: white;
  border: 1px solid;
  border-radius: 1em;
  width: 12em;
  position: absolute;
  left: 60%;
  top: 17%;
}
.login form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.login form input {
  width: 80%;
}
.login form #botones {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.login form #botones a {
  text-decoration: none;
  background-color: LightSlateGray;
  color: azure;
  padding: 1em;
  font-size: 10pt;
  border-radius: 15px;
  text-align: center;
}

@keyframes mostrar {
  from {
    display: none;
  }
  to {
    display: flex;
  }
}
input,
select {
  padding: 1em;
  border: 1px solid LightSlateGray;
  border-radius: 1em;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  width: auto;
}

.error {
  text-align: center;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.error h2 {
  background-color: #ff0033;
  padding: 1rem;
  border-radius: 0.5rem;
}

table {
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  width: 50%;
}
table tr {
  border-bottom: 1px solid #ddd;
}
table tr th {
  background-color: lightgray;
  color: #1e1e1e;
  padding: 10px;
}
table tr td {
  padding: 10px;
}

a {
  text-transform: none;
  text-decoration-line: none;
  color: #1e1e1e;
  padding: 1em;
  border-radius: 15px;
}

.insertarCategoria a {
  padding: 1em;
  border-radius: 15px;
  background-color: #1e1e1e;
  color: #fff;
}

.editar {
  background-color: royalBlue;
  padding: 0.5em;
}

.eliminar {
  background-color: #ff0033;
  padding: 0.5em;
}

.formularioRegistro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.formularioRegistro div {
  display: flex;
  flex-direction: column;
}

.categorias {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
}

.editarCategoria {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.insertarProducto form {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.insertarProducto form input {
  margin-bottom: 1em;
}
.insertarProducto form select {
  margin-bottom: 1em;
  width: 17%;
}
.insertarProducto form button {
  margin-top: 1em;
  width: 17%;
}

.productos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  height: 100vh;
}

.editarProducto {
  height: 100vh;
}
.editarProducto form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: azure;
  margin: 0;
  padding: 0;
}/*# sourceMappingURL=styles.css.map */