/*reset ค่า default ของ browser*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    /*ไม่ต้องการ scroll bar body height 100%*/
    position:absolute; top:0; bottom:0; right:0; left:0;
    background-color:lavender;
    /* background-image: url("./images/bg.png"); */
}

@media screen and (min-width: 800px) {
    div.page-header {
      font-size: 24pt;
    }
}
  
@media screen and (max-width: 800px) {
    div.page-header {
      font-size: 22pt;
    }
}

.container {
    position: relative;
    width: 90%;
    /* height: 85%; */
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    /*ความสูงกำหนดโดย top bottom*/
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 30px;
    margin-bottom:50px;
    padding-top: 20px;
    padding-bottom: 5px;    
    /* border: 1px solid green; */
    justify-content: center;
}

.inline {
    display: inline;
}

.page-header {
    height: 35px;
    color: black;
    text-align: center;
    margin-bottom: 10px;

    font-size: 20pt;
    font-weight: bold;
    border: 1px solid green;
}

.original-box {
    width: 90%;
    /* height: 100px;     */
    margin: auto;
    margin-top: 0px;
    /* border: 1px solid black; */
    
    padding: 10px;
    background-color: white;
}

.encrypt-box {
    width: 90%;
    /* height: 400px;     */
    margin: auto;
    margin-top: 0px;
    /* border: 1px solid black; */
    
    padding: 10px;
    background-color: white;
}

.decrypt-box {
    width: 90%;
    /* height: 400px;     */
    margin: auto;
    margin-top: 0px;
    margin-bottom: 20px;
    /* border: 1px solid black; */
    
    padding: 10px;
    background-color: white;
}

.form-control {
    min-height: 40px;
    width: 100%;
    margin: 0px 0px;
    border-radius: 5px;
    padding: 10px 10px;
    align-items: center;
    border: 1px solid gray;
    font-size: 16pt;
}

textarea:focus {    
    outline: none !important;
    border: 1px solid #40E0D0;
    box-shadow: 0 0 10px #719ECE;
}

.form-label {
    height: 20px;
    width: 100%;
    margin: 0px 0px;
    padding-bottom: 0;
    /* border: 1px solid black; */

    /* จัดข้อความให้ชิดล่างซ้าย ต้องใช้คู่กับ span */
    display: flex;
    justify-content: left;
    align-items: flex-end;
}

.form-button {
    min-height: 45px;
    width: 100%;
    margin-top: 5px; 
    border: 1px solid gray;
    border-radius: 5px;
    color: white;
    background-color: #09aeae;
    cursor: pointer;
    font-size: 16pt;
}

button:hover {
    opacity: 0.8;
    cursor: pointer;
}

.login-footer {
    position: absolute;
    display: inline;
    /* width: 100%; */
    bottom: 15px;
    text-align: left;
    color: gray;
    /* border: 1px solid gray; */
    cursor: pointer;
}

/* unvisited link */
a:link {
    color: gray;
  }
  
  /* visited link */
  a:visited {
    color: gray;
  }

.dev-by {    
    position:fixed; 
    bottom:10px; 
    right:10px;
    color:lavender;
    /* border: 1px solid rebeccapurple; */
}

.dev-by1 {    
    position:absolute; 
    bottom:10px; 
    right:10px;
    color:lavender;
    /* border: 1px solid rebeccapurple; */
}


