body {
  background: url(Imagenes/cofre.webp);
  font-family: "Kode Mono", monospace;
  background-size: 100%;
  background-position: center center;
}

h1 {
  margin: 25px 20px 20px;
  color: rgb(206, 206, 206);
  font-size: 35px;
  text-align: center;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(238, 255, 3, 0.5);
}

h2 {
  font-size: 25px;
  padding: 10px;
}

.instrucciones {
  padding: 20px;
  color: rgb(206, 206, 206);
  text-align: center;
  margin: 10px auto;
  width: 90%;
  border: 5px solid rgba(42, 42, 141, 0.5);
  border-radius: 10px;
  background-color: rgba(42, 42, 141, 0.5);
  text-shadow: 2px 2px 4px rgb(126, 126, 126);
}

.container {
  background-color: rgba(255, 255, 255, 0.5);
  text-align: center;
  display: flex;
  justify-content: space-between;
}

.container section {
  display: inline-flex;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.box1,
.box2 {
  margin: auto;
}

.box1 {
  padding: 20px 0;
  color: rgb(212, 212, 212);
  text-shadow: 2px 2px 4px rgb(0, 0, 0, 1);
}

.box2 {
  width: 30%;
  height: 515px;
  padding: 10px 30px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  text-align: center;
}

.box2 th{
color: rgb(17, 17, 17);
}

.box2 td{
  color: rgb(44, 44, 44);
}

textarea {
  width: 90%;
  height: 420px;
  margin: 15px 0 10px 0;
  resize: none;
  color: white;
  font-family: "Kode Mono", monospace;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 10px;
  padding: 10px;
}

#resultado {
  padding-top: 15px;
}

.encriptar,
.desencriptar,
.copy,
.clear {
  width: 40%;
  margin: 5px 0;
  padding: 7px 0;
  font-size: 15px;
  font-weight: bold;
  color: rgb(19, 19, 19);
  background-color: rgb(224, 220, 185);
  border: none;
  border-radius: 5px;
  transition: 0.5s all;
  cursor: pointer;
  font-family: "Kode Mono", monospace;
  box-shadow: 2px 2px 4px rgb(0, 0, 0, 0.5);
}

.logo {
  text-align: center;
  color: rgb(106, 115, 160);
  margin: 20px;
  text-shadow: 2px 2px 4px rgba(197, 197, 197, 0.3)
}

.encriptar:hover,
.desencriptar:hover,
.copy:hover,
.clear:hover {
  text-shadow: 2px 2px 4px rgb(37, 37, 37);
}

@media screen and (min-width: 700px) {
  .container {
    margin: auto;
    width: 90%;
  }
  .instrucciones {
    width: 60%;
  }
}

@media screen and (max-width: 480px) {
  body {
    width: 100%;
    background-size: auto;
  }

  .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .container .box2 {
    justify-content: start;
  }

  .box1 form,
  .box2 {
    align-items: center;
    flex-direction: column;
    margin: 0.5em;
    width: 80%;
  }

  .box1 textarea {
    width: 95%;
  }
}
