@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
  --color-encriptador: #281b24;
  --color-fondo: #d9c9a5;
  --color-gris: #d8dfe8;
  --color-grisoscuro: #495057;
  --color-texto: #d02941;
  --color-back: #8cab94;
}

* {
  padding: 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  box-sizing: border-box;
}

body {
  background-color: var(--color-fondo);
}

.header {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  height: 80px;
}

header {
  width: 100%;
  background-color: var(--color-back);
}

.logo {
  max-height: 45px;
  height: 100%;
  min-height: 40px;
}

.titulo {
  text-align: center;
  font-size: 24px;
  flex-direction: column;
  justify-content: center;
}

#principal {
  margin: auto 40px auto auto;
  width: 90%;
  align-items: end;
  min-height: calc(100vh - 80px - 56px);
  display: grid;
  padding: 1rem;
  grid-template-columns: 2.5fr 1fr;
  gap: 1rem;
}

.seccion_primaria {
  width: 100%;
  height: 92%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.caja_texto {
  width: 80%;
  height: 90%;
  max-height: 350px;
  min-height: 50px;
  font-size: 32px;
  background: none;
  resize: none;
  border: none;
  outline: none;
  text-shadow: 5px 5px 7px var(--color-texto);
}

h1 {
  font-size: 16px;
  color: var(--color-grisoscuro);
}
.contenedor__botones {
  min-height: 80px;
}
.boton_encriptador {
  max-width: 328px;
  width: 40%;
  height: 67px;
  border-radius: 24px;
  border: 1px solid var(--color-encriptador);
  background-color: var(--color-encriptador);
  cursor: pointer;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  margin: 5px;
  padding: 5px;
  box-shadow: 0px 5px 10px rgb(0, 0, 0, 0.35);
  transition: 0s ease;
}
.boton_encriptador:hover {
  background-color: var(--color-encriptador);
  color: white;
  box-shadow: 0 0 15px var(--color-encriptador),
    0 0 45px var(--color-encriptador), 0 0 75px var(--color-encriptador),
    0 0 115px var(--color-encriptador);
}

.boton_desencriptador {
  max-width: 328px;
  width: 40%;
  height: 67px;
  border-radius: 24px;
  border: 1px solid var(--color-encriptador);
  background-color: var(--color-gris);
  cursor: pointer;
  color: var(--color-encriptador);
  font-size: 16px;
  text-align: center;
  margin: 5px;
  padding: 5px;
  box-shadow: 0px 5px 10px rgb(0, 0, 0, 0.35);
  transition: 0s ease;
}
.boton_desencriptador:hover {
  background-color: var(--color-gris);
  color: white;
  box-shadow: 0 0 15px var(--color-gris), 0 0 45px var(--color-gris),
    0 0 75px var(--color-gris), 0 0 115px var(--color-gris);
}

.seccion_secundaria {
  align-items: center;
  width: 100%;
  height: calc(100% + 48px);
  background: white;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  box-sizing: border-box;
  gap: 32px;
  /*box-shadow: 0px 24px 32px -8px rgba(100, 11, 159, 0.08);*/
  box-shadow: 0px 24px 32px;
}

.seccion_secundaria.ajustar {
  justify-content: space-between;
}

.contenedor_muneco {
  width: 100%;
}

.mensaje_final {
  width: 100%;
  font-size: 24px;
  color: var(--color-greyDark);
  border: none;
  outline: none;
  text-align: center;
  overflow: hidden;
  resize: none;
  pointer-events: none;
}

.mensaje_final.ajustar {
  height: 80%;
}

.parrafo_infomacion {
  font-size: 16px;
  color: var(--color-grisoscuro);
  text-align: center;
}

.boton_copiar {
  width: 45%;
  max-width: 328px;
  min-width: 160px;
  height: 67px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 24px;
  border: none;
  outline: 1px solid var(--color-encriptador);
  background: var(--color-gris);
  color: var(--color-encriptador);
}

.escondido {
  display: none;
}
.creador {
  font-size: 14px;
}

footer {
  background-color: var(--color-back);
  width: 100%;
  padding: 24px;
  min-height: 50px;
  height: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.link {
  text-align: center;
  margin: 5px;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0px 5px 10px rgb(0, 0, 0, 0.35);
  transition: 0s ease;
}