@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f3f5fc;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 20px;
  margin: 20px;
  font-family: "Inter", sans-serif;
}

.logo__container {
  margin-bottom: 4rem;
}

#texto {
  border: none;
  font-size: 1.5rem;
  font-family: "Inter", sans-serif;
  color: #0a3871;
  resize: none;
  width: 100%;
  height: 400px;
  margin-bottom: 1rem;
  background-color: #f3f5fc;
}

::placeholder {
  color: #0a3871;
}

textarea:focus {
  outline: none;
}

.warning__img {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1rem;
}

.warning__description {
  font-size: 13px;
  color: #495057;
}

.buttons__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.copy__button__container {
  width: 100%;
}

.button {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: none;
  padding: 24px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
}

.encriptar__button,
.desencriptar__button {
  color: #fff;
  background-color: #0a3871;
}

.encriptar__button:hover,
.desencriptar__button:hover {
  color: #0a3871;
  background-color: #f3f5fc;
  border: solid 1px #0a3871;
}

.copy__button {
  color: #0a3871;
  background-color: #f3f5fc;
  border: solid 1px #0a3871;
}

.copy__button:hover {
  color: #fff;
  background-color: #0a3871;
}

.message__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  text-align: center;
  border-radius: 32px;
  background-color: #fff;
}

#resultado {
  width: 100%;
  height: 300px;
  border: none;
  resize: none;
  font-size: 1.5rem;
  color: #0a3871;
  font-family: "Inter", sans-serif;
  margin-bottom: 1rem;
}

.description__1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #343a40;
  line-height: 28.8px;
  margin-bottom: 1rem;
}

.description__2 {
  font-size: 1rem;
  font-weight: 400;
  color: #495057;
  line-height: 24px;
}

.doll__container {
  width: 80%;
}

.doll {
  width: 100%;
}

.hidden {
  display: none;
}

.hide {
  display: none;
}

@media only screen and (min-width: 768px) {
  .buttons__container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
}

/* TODO Terminar el JavaScript hacer que la clase hide se le agregue a los elementos img y mensaje y quitarsela al textarea y al copy button*/

@media only screen and (min-width: 1000px) {
  body {
    display: flex;
    align-items: center;
    justify-content: none;
    background-color: #f3f5fc;
  }

  .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0px;
    width: 1440px;
    height: 800px;
    position: relative;
  }

  .logo__container {
    width: 200px;
  }

  .encriptar__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #texto {
    margin-top: 100px;
    font-size: 2rem;
    height: 520px;
  }

  .button {
    height: 4.2rem;
    display: block;
    border-radius: 24px;
    padding: 24px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    cursor: pointer;
  }

  .message__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 22rem;
  }

  .doll__container {
    margin-bottom: 3rem;
  }

  #resultado {
    height: 650px;
  }

  .hidden {
    display: block;
  }
}
