* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  background: #E9ECF8;
}

.main {
  position: relative;
  width: 100%;
  height: 100%;
  
  
}

.titulo {
  padding: 15px;
  width: 30vw;
  margin: auto;

}

.btn-encriptar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 24px;

  position: static;
  width: 328px;
  height: 67px;
  left: 0px;
  top: 0px;

  

  background: red;
  border-radius: 24px;

  

  flex: none;
  order: 0;
  flex-grow: 0;
  margin: 0px 24px;
  flex-grow: 0;
  color: #FFFFFF;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 19px;
  justify-content: center; 

}

.btn-desencriptar{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 24px;

  position: static;
  width: 328px;
  height: 67px;
  left: 352px;
  top: 0px;

  

  background: #D8DFE8;
  

  border: 1px solid red;
  box-sizing: border-box;
  border-radius: 24px;

  
  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 0px 24px;

  color: red;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 19px;
  justify-content: center;
}

.text-input {
 
  text-transform:lowercase;
  position: absolute;
  width: 600px;
  height: 400px;
  left: 15%;
  top: 168px;

  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 150%;
  justify-content: baseline;
 
  resize: none;

 
  color: red;
  background: transparent;
  border: none;
  }
::placeholder { color: red; }

.text-input:focus { 
    border: none;
    outline: none;
   }

.message-box{
  position: absolute;
  width: 400px;
  height: 750px;
  left: 70%;
  top: 20px;
  padding-left: 20px;
  padding-top: 80px;
  
  background: #FFFFFF;
  

  box-shadow: 0px 24px 32px -8px rgba(0, 0, 0, 0.08);
  border-radius: 32px;
  }
.message-box h2{
  position: static;
  width: 336px;
  height: 58px;
  left: 0px;
  top: 0px;

  font-family: Inter;
  font-style: normal;
  font-weight: bold;
  font-size: 27px;
  line-height: 120%;
  

  text-align: center;

  

  color: #343A40;
  background: #FFFFFF;




flex: none;
order: 0;
align-self: stretch;
flex-grow: 0;
margin: 16px 0px;
}

.message-box h3{
  position: static;
  width: 336px;
  height: 48px;
  left: 0px;
  top: 74px;

  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  /* or 24px */

  text-align: center;

  /* Gray/gray-300 */

  color: #495057;
  background: #FFFFFF;


  /* Inside Auto Layout */

  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
  margin: 16px 0px;
}

.message-box-div, .message-box-div img {
  padding-top: 40px;
  background: #FFFFFF;
}

.img-alerta{
  position: absolute;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;

}
 label {
  position: static;
  width: auto;
  height: 18px;
  left: 24px;
  top: 0px;
  padding-left: 25px;
  font-weight: 600;
  
  font-family: Inter;
  font-style: normal;
  font-size:20px;
  line-height: 100%;

  
  
  

  color: #495057;
 }
.form-group{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  
  position: absolute;
  width: auto;
  height: 18px;
  left: 13%;
  top: 651px;
  
 }
 .botones-div{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  
  position: absolute;
  width: 680px;
  height: 67px;
  left: 12%;
  top: 685px;
 }
.logo{
  position: absolute;
  left: 30px;
  right: 37.43%;
  top: 25px;
  bottom: 0%;

}
.div-mensaje{
  position: absolute;
  width: 400px;
  height: 781px;
  left: 60px;
  top: 52px;
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  line-height: 150%;

  resize: none;

  

  color: red;
  border:none;
  background:transparent;
}
.div-mensaje:focus { 
  border: none;
  outline: none;
 }
.btn-copiar{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 24px;

  position: absolute;
  width: 336px;
  height: 67px;
  left: 25px;
  top: 660px;



  border: 1px solid red;
  box-sizing: border-box;
  border-radius: 24px;
 
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 19px;
  text-align: center;
  
 
  
  color: red;
  
  

  
  flex: none;
  order: 0;
  flex-grow: 1;
  margin: 0px 8px;
  justify-content: center;
}

@media only screen and (min-width: 1224px) and (max-width: 1590px){ 
main{
  height:100%;
}
.text-input{
  top:8rem;
  left:7.1rem;
  word-wrap: break-word;
  } 
.logo{
  left:1rem;
  width:8%;
}
.botones-div{
  top:34.5rem;
  left:5rem;
}
.form-group{
  left:7.3rem;
  top:32rem;
}
.btn-encriptar,.btn-desencriptar{
  font-size:24px;
  height:65px;
}
.message-box{
  top: 1.5rem;
  height:38rem;
  left:56rem;
}
.message-box-div{
  padding-top:0rem;
  height:20rem;
  padding-left:1rem;
}
.message-box-div img{
  width:18rem;
  padding-left: 1.5rem;
}
.btn-copiar{
  top:33rem;
  height:64px;
  font-size:24px;
}
.div-mensaje{
  width: 20rem;
  left:2.5rem;
  word-wrap: break-word;
}

} 
@media only screen and (min-width: 481px) and (max-width: 1023px){ 
  main{
    height:100%;
  }
  .text-input{
    width:34rem;
    top:10rem;
    left:5.1rem;
    } 
  .logo{
    top: 3rem;
    left:2.8rem;
    width:18%;
  }
  .botones-div{
    top:32.5rem;
    left:4rem;
  }
  .form-group{
    left:5.3rem;
    top:30rem;
  }
  .btn-encriptar,.btn-desencriptar{
    width: 280px;
    font-size:24px;
    height:65px;
    margin: 0.5rem;
  }
  .message-box{
    
    width:36rem;
    left:4.3rem;
    top:40rem;
    padding:0;
    height:100%

  }
  .message-box-div{
    padding-top:1rem;
    height:auto;
    border-radius: 32px;
    padding-left: 5.5rem;
  }
  .message-box-div h2,h3{
    font-size:24px;
    width:80%;
    margin: 0.5rem;
    height:auto;
    
  }
  .message-box-div img{
    display: none;
  }
  .btn-copiar{
    top:24rem;
    width:32rem;
    height:65px;
    font-size:24px;
  }
  .div-mensaje{
    height:auto;
    left:2.5rem;
    flex: 1 1 auto;
  }
  } 
@media only screen and (min-device-width : 300px) and (max-device-width : 480px){ 
    main{
      height:100%;
    }
    .text-input{
      width:20rem;
      top:8rem;
      left:1.5rem;
      font-size: 22px;
      word-wrap: break-word;
      } 
    .logo{
      top: 1rem;
      left: -1.5rem;
      width:25%;
    }
    .botones-div{     
      flex-direction: column;
      top:25.5rem;
      left:1.5rem;
    }
    .form-group{
      left:2.3rem;
      top:24rem;
    }
    label{
      font-size:12px;
    }
    .btn-encriptar,.btn-desencriptar{
      width: 320px;
      font-size:20px;
      height:65px;
      margin: 0.5rem;
    }
    .message-box{
      
      width:20rem;
      left:2rem;
      top:37rem;
      padding:0;
      height:6rem;
  
    }
    .message-box-div{
      padding-top:0.5rem;
      height:auto;
      border-radius: 32px;
      padding-left: 1.5rem;
    }
    .message-box-div h2{
      font-size:14px;
      width:80%;
      margin: 0.5rem;
      height:100%;
      
    }
    .message-box-div h3{
      font-size:12px;
      width:80%;
      margin: 0.5rem;
      height:100%;
      
    }
    .message-box-div img{
      display: none;
    }
    .btn-copiar{
      top:8rem;
      width: 320px;
      height:62px;
      font-size:20px;
      left:-0.5rem;
    }
    .div-mensaje{
      width: 17rem;
      top: 0.5rem;
      height:8rem;
      left:1.5rem;
      font-size: 14px;
      word-wrap: break-word;
    }
  } 