@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
:root {
  --fuente-principal: "Poppins", sans-serif;
  --color-background: #292d3e;
  --color-principal: #262838;
  --color-secundario: #252738;
  --color-logo-1: #ffca6b;
  --color-logo-2: #7e57c2;
  --color-texto: #6d749a;
  --color-texto-btn: #252738;
  --color-titulo: #e74c3c;
  --color-hover: #7e57c2;
  --color-footer: #252738;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: auto;
  overflow-y: auto; /* Permite scroll en todo el documento */
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--fuente-principal);
  background: var(--color-background);
  color: var(--color-texto);
  align-items: center;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background: var(--color-principal);
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 0;
  width: 100%;
  height: 60px;
}
header .logo-1 {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-logo-1);
  letter-spacing: -0.02rem;
}
header .logo-2 {
  font-weight: 400;
  color: var(--color-logo-2);
}
header .menu {
  display: block;
  position: absolute;
  font-size: 0.8rem;
  font-weight: 500;
  right: 50px;
  top: 8px;
}

nav {
  position: absolute;
  left: -210px;
  top: 0;
  width: 210px;
  background: var(--color-principal);
  min-height: 100vh;
  padding-top: 30px;
  overflow-y: auto;
  transition: left 0.5s ease;
  max-height: 100vh;
}
nav span {
  padding-left: 15px;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-titulo);
}
nav ul {
  list-style-type: none;
  padding-bottom: 20px;
}
nav ul li a {
  text-decoration: none;
  color: var(--color-text);
  background-color: transparent;
  padding: 15px;
  display: block;
  transition: background-color 0.7s ease, color 0.7s ease;
}
nav ul li a:hover {
  background-color: var(--color-hover);
  color: #ffffff;
}

.header__toggle {
  display: block;
}

main {
  margin-top: 80px;
  width: 800px;
  padding-bottom: 30px;
  overflow-y: auto;
}
main h1 {
  padding-top: 40px;
  padding-bottom: 30px;
  text-align: center;
}
main textarea {
  width: 800px;
  height: 300px;
  border-radius: 10px;
  background: var(--color-background);
  color: var(--color-texto);
  font-family: var(--fuente-principal);
  border-color: var(--color-texto);
  border-style: solid;
  border-width: 1px;
  font-size: 0.9rem;
  padding: 10px;
}
main textarea::-moz-placeholder {
  color: var(--color-texto);
}
main textarea::placeholder {
  color: var(--color-texto);
}
main input {
  margin-top: 10px;
  margin-bottom: 20px;
  margin-right: 10px;
  width: 330px;
  height: 50px;
  border-radius: 10px;
  background: var(--color-background);
  color: var(--color-texto);
  font-family: var(--fuente-principal);
  border-color: var(--color-texto);
  border-style: solid;
  border-width: 1px;
  font-size: 0.9rem;
  padding: 10px;
}
main input::-moz-placeholder {
  color: var(--color-texto);
}
main input::placeholder {
  color: var(--color-texto);
}
main button {
  width: 300px;
  height: 40px;
  background: var(--color-hover);
  color: #fff;
  border: 1px solid #7e57c2;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 70px;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
}
main button:active {
  background-color: #502f87;
  transform: translateY(1px);
}
main .texto {
  width: 700px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: justify;
}
main #result {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-logo-1);
}

footer {
  background: var(--color-footer);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  bottom: 0;
  font-weight: 300;
}
footer span {
  font-weight: 600;
}

.header__toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
  border: none;
  padding: 5px 20px;
  margin: 10px;
  position: absolute;
  top: 1px;
  right: 10px;
  z-index: 5;
}/*# sourceMappingURL=styles.css.map */