* {
    margin: 0;
    padding: 0;
    font-family: 'Inter';
  }

  body {
    background-color: #f3f5fc;
  }

  .logo {
    padding-top: 20px;
    padding-left: 40px;
  }

  .container {
    position: relative;
    width: 90vw;
    height: 80vh;
    background: #f3f5fc;
  }
  
  .texto {
    position: absolute;
    width: 42%;
    height: 50%;
    left: 12%;
    top: 15%;
    border: none;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 150%;
    background-color: #f3f5fc;
  }
  
  .texto::placeholder {
    color: #0a3871;
  }
  
  .texto:focus,
  .texto:active {
    border: none;
    outline: none;
  }
  
  .alerta {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
    position: absolute;
    width: 42%;
    left: 12%;
    top: 80%;
  }
  
  .alerta p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #495057;
    opacity: 0.8;
    flex: none;
    order: 1;
    flex-grow: 0;
  }
  
  .botones {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 1% 0;
    position: absolute;
    width: 70%;
    left: 12%;
    top: 82%;
  }
  
  .btn-encriptar {
    align-items: center;
    justify-content: center;
    padding: 2%;
    gap: 8px;
    width: 25%;
    background-color: #0a3871;
    border-radius: 24px;
    font-size: 18px;
    line-height: 19px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    margin: 1%;
  }
  
  .btn-desencriptar {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 2%;
    gap: 8px;
    width: 25%;
    background: #d8dfe8;
    border: 1px solid #0a3871;
    border-radius: 24px;
    font-weight: 400;
    font-size: 18px;
    line-height: 19px;
    text-align: center;
    color: #0a3871;
    cursor: pointer;
    margin: 1%;
    
  }
  
  .btn-desencriptar:hover,
  .btn-encriptar:hover, .btn-copiar:hover {
    background-color: rgba(0, 242, 255, 0.33);
    color: black;
  }
  
  .encriptado {
    display: flex;
    justify-content: center;
    position: absolute;
    width: 30%;
    height: 100%;
    left: 60%;
    top: 5%;
    background: #fff;
    box-shadow: 0px 24px 32px -8px rgba(0, 0, 0, 0.08);
    border-radius: 32px;
  }
  
  .mensaje-encriptado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1%;
    gap: 16px;
    position: absolute;
    width: 100%;
    top: 65%;
    text-align: center;
  }
  
  .mensaje-encriptado h2 {
    width: 60%;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    text-align: center;
    color: #343a40;
  }
  
  .mensaje-encriptado p {
    width: 80%;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #495057;
  }
  
  .encriptado img {
    position: absolute;
    width: 80%;
    height: 50%;
    top: 15%;
  }

  .copiar {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    top: 90%;
  }
  
  .btn-copiar {
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 8px;
    width: 150px;
    background: #d8dfe8;
    border-radius: 24px;
    border: 1px solid #0a3871;
    font-size: 18px;
    line-height: 19px;
    text-align: center;
    color: #0a3871;
    cursor: pointer;
  }

  .footer {
    width: 100%;
    position: absolute;
    background-color: midnightblue;
    bottom: 0px;
    color: white;
    padding: 0.5% 0;
    text-align: center;
    
  }
  
  /* Responsive design */
  @media (max-width: 57.5em) {
    .container {
      display: flex;
      flex-direction: row;
    }
    .encriptar {
      width: 100%;
    }
    .texto {
      width: 80%;
      height: 60%;
      left: 10%;
      top: 5%;
    }
    .alerta {
      width: 80%;
      left: 10%;
      top: 67%;
    }
    .alerta p {
      font-size: 16px;
    }
    .botones {
      width: 80%;
      left: 10%;
      top: 70%;
    }
    .btn-encriptar,
    .btn-desencriptar {
      width: 48%;
      border-radius: 16px;
    }
    .btn-encriptar:hover,
    .btn-desencriptar:hover {
      margin: 0.3%;
      width: 47.5%;
      padding: 1.8%;
    }
    .encriptado {
      width: 80%;
      height: 28%;
      left: 10%;
      top: 80%;
    }
    .mensaje-encriptado {
      width: 100%;
      top: 5%;
    }
    .encriptado img {
      top: 0;
      display: none;
      visibility: hidden;
    }
    .copiar {
        top: 70%;
      }
  }