* {
  background: #f3f5fc;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 150%;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}


main {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  margin: 0;
}

header {
  width: 50%;
}

.logo {
  padding-top: 25px;
  margin-left: 25px;
  width: 7%;
}


.informacion {
  font-style: normal;
  font-size: 16px;
  color: #495057;
  opacity: 0.8;
}

.informacion img {
  margin-right: 10px;
}


.botones {
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
}

.boton {
  border-radius: 24px;
  padding: 24px;
  width: 308px;
  height: 67px;
  font-style: normal;
  font-size: 20px;
  line-height: 19px;
  text-align: center;
  cursor: pointer;
  transition: 0.4s all;
  transform: scale(1);
  border-color: blue;
  border-style: solid;
}

.encriptar {
  background-color: #0a3871;
  color: white;
  margin-right: 20px;
  margin-top: 30px;
}

.encriptar:hover {
  background-color: #d8dfe8;
  color: black;
  transform: scale(1.02);
}

.desencriptar {
  background-color: #d8dfe8;
  color: black;
  border-style: hidden;
}

.desencriptar:hover {
  background-color: #0a3871;
  color: white;
  transform: scale(1.02);
}


.inputt {
  background: none;
  border: none;
  width: 577px;
  height: 430px;
  left: 240px;
  top: 128px;
  font-style: normal;
  font-size: 25px;
  line-height: 150%;
  color: #0a3871;
  text-transform: lowercase;
  resize: none;
  outline: none;
}

.inputt::placeholder {
  color: #0a3871;
  text-transform: initial;
}


.container {
  position: relative;
  background-color: white;
  width: 470px;
  height: 630px;
  border-radius: 24px;
}


.rectangulo {
  position: absolute;
  width: 420px;
  height: 500px;
  right: 4px;
  top: -20px;
  background: white;
  background-image: url("/images/Muñeco.png");
  background-repeat: no-repeat;
  background-position: 50% 50px;
  border-radius: 24px;
  color: #0a3871;
  margin-left: 98px;
  margin-top: 20px;
  padding-left: 20px;
  resize: none;
  line-height: 1.3;
  border: none;
  padding: 20px 20px;
  font-size: 25px;
  outline: none;
}


.text-p {
  position: absolute;
  font-weight: 700;
  text-align: center;
  font-size: 24px;
  color: #343a40;
  line-height: 28.8px;
  margin-bottom: 20px;
  background: white;
  width: 336px;
  top: 60%;
  right: 13%;
}

.text-s {
  position: absolute;
  font-weight: 400;
  text-align: center;
  font-size: 16px;
  color: #495057;
  line-height: 24px;
  background: white;
  width: 336px;
  top: 70%;
  right: 13%;
}


.copiar {
  position: absolute;
  background-color: #0a3871;
  border-radius: 20px;
  padding: 14px;
  color: white;
  width: 228px;
  height: 47px;
  font-size: 20px;
  line-height: 19px;
  border-style: solid;
  visibility: hidden;
  border-color: #0a3871;
  z-index: 2;
  top: 87%;
  right: 27%;
}

.copiar:hover {
  cursor: pointer;
  transition: 0.5s all;
  transform: scale(1.05);
  background-color: #d8dfe8;
  color: black;
  border-color: blue;
}

footer {
  margin-top: 40px;
  background-color: #d8dfe8;
  text-align: center;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d8dfe8;
  height: 25px;
}

.footer-container p {
  font-size: 18px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  color: black;
  background-color: #d8dfe8;
  margin: 0 100px;
}

.footer-container a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.2s;
  background-color: #d8dfe8;
}

.footer-container a:hover {
  transform: scale(1.1);
}

.footer-container img {
  background-color: #d8dfe8;
}

.icons {
  background-color: #d8dfe8;
}


@media screen and (max-width: 768px) {
  .inputt {
    width: 90vw;
    height: 200px;
    font-size: 18px;
  }

  .botones {
    flex-direction: column;
    gap: 15px;
  }

  .boton {
    width: 90vw;
    font-size: 18px;
    height: 55px;
  }

  .container {
    width: 90vw;
    height: auto;
    padding: 20px;
  }

  .rectangulo {
    position: static;
    width: 100%;
    height: 200px;
    margin: 0;
    padding: 10px;
    background-position: center top;
    background-size: contain;
  }

  .text-p, .text-s {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .copiar {
    position: static;
    width: 100%;
    margin-top: 15px;
    height: 45px;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .footer-container p {
    margin: 0;
  }
}
