*{
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins';
}
body{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  min-height: 100vh;
  background: #01146094;
}


h1{
  color: rgb(2, 26, 71);
  text-align: center;
  padding-bottom: 10px;
  font-size: 22px;
}


.outercontainer{
  max-width: 690px;
  width: 100%;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
}

.innercontainer{
  border-radius: 5px;
  border: 1px solid rgba(18, 2, 245, 0.200);
}
.innercontainer .text-input{
  display: flex;
  border-bottom: 1px solid rgba(18, 2, 245, 0.200);
}

.text-input .to-text{
  border-radius: 0px;
  border-left: 1px solid rgba(18, 2, 245, 0.300);
}
.text-input textarea{
  height: 250px;
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  background: none;
  font-size: 18px;
  padding: 10px 15px;
  border-radius: 5px;
  color: #242424;
}
.text-input textarea::placeholder{
  color: #b7b6b6;
}
.controls, li, .icons, .icons i{
  display: flex;
  justify-content:space-around;
}
.controls{
   padding: 12px 5px;
}

.controls .row .icons i{
  width: 50px;
  color: #646464;
  font-size: 20px;
  cursor: pointer;
  justify-content: center;
}

.controls .row .icons i:hover{
  color: rgb(44, 44, 44);
  }

.controls .row select{
  color: #333;
  border: none;
  outline: none;
  font-size: 18px;
  background: none;
  padding-left: 5px;
}
.controls .row select:hover{
  background-color: rgba(233, 233, 233, 0.371);
  }


.controls .exchange{
  color: #646464;
  cursor: pointer;
  margin-left: 10px;
}

.controls .exchange:hover{
  color: rgb(44, 44, 44);
  }
.button{
  width: 100%;
  padding: 14px;
  outline: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-top: 20px;
  font-size: 16px;
  border-radius: 5px;
  background: #111834cd;
}

.outercontainer button:hover{
  background-color: #090e20cd;
  }


/* Search History Table Styling */


.userInterface{
  width: 100vh;
}

#searchHistoryTable {
  border-collapse: collapse;
  width: 100%;
}

#searchHistory{
  color: rgb(2, 26, 71);
  text-align: center;
  padding-bottom: 5px;
  font-size: 18px;
}

#historyFrame{
  width: 90vh;
  margin: 0px 20px;
  max-width: 1000px;
  max-height: 800px;
  padding: 30px;
  background: #fff;
  display:none;
  overflow:scroll;
}

#searchHistoryTable td, #searchHistoryTable th {
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 13px;
}

 #searchHistoryTable th {
  border: 1px solid #ddd;
  padding: 8px;
  
  color: white;
}


#searchHistoryTable tr:nth-child(even){background-color: #f2f2f2;}

#searchHistoryTable tr:hover {background-color: rgba(250, 217, 217, 0.863);}

#searchHistoryTable th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #111834cd;
  color: white;
  
}

#deleteButton{
  background-color: #f55104;
  color: white;
  padding: 5px 5px;
  border: none;
  cursor: pointer;
  width: 110px;
  font-size: 14px;
  margin-left: 20%;
  margin-right: 3px;
  
}
#translatePage{
  background-color: #19c509;
  color: white;
  padding: 5px 5px;
  border: none;
  cursor: pointer;
  width: 155px;
  font-size: 14px;
 
}

#deleteButton:hover{
  cursor: pointer;
}

#historyHeaders{
  display: flex; 
  justify-content:right; 
}

@media (max-width: 800px ){
  
  #historyFrame{
    flex-direction: column;
    margin: 0px 20px;
    }
}

@media (max-width: 660px ){

  .innercontainer .text-input{
    flex-direction: column;
  }
  .text-input .to-text{
    border-left: 0px;
    border-top: 1px solid #ccc;
  }
  .text-input textarea{
    height: 200px;
  }
  .controls .row .icons{
    display: none;
  }
  .outercontainer button{
    padding: 13px;
    font-size: 14px;
  }
  .controls .row select{
    font-size: 14px;
  }
  .controls .exchange{
    font-size: 30px;
  }
  
}
