
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Roboto Mono';
  padding: 0;
  margin: 0;
}

#container {
  margin: 0 auto;
  max-width: 50%;
  padding-top: 5%;
}

h2 {
  padding-bottom: 20px;
  border-bottom: 3px dotted #b400ff;
  margin-bottom: 20px;
  font-size: 2em;
  font-weight: 700;
}

h5 {
  padding-top: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #b400ff;
  margin-bottom: 3px;
  width: fit-content;
}

#source-label {
  display: inline;
}

p {
  font-size: 0.8em;
  font-weight: 500;
  padding: 5px 0;
}

input[type="file"] {
    display: none;
    cursor: pointer;
}

.btn-upload-label {
    border-bottom: 3px solid #b400ff;
    color: #b400ff;
    display: inline;
    padding-bottom: 3px;
    cursor: pointer;
    float: right;
    font-size: 0.8em;
    font-weight: 600;
    vertical-align: bottom;
}

.btn-upload-label:hover {
  cursor: pointer;
}

button {
  padding:10px 20px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 50px;
  letter-spacing: 1px;
  vertical-align: top;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

button:hover {
  cursor: pointer;
  background-color: #b400ff;
}

button:focus {
  outline: none;
}

textarea {
  font-family: inherit;
	border: 2px solid lightGray;
  border-radius: 5px;
  display: block;
  overflow-x: hidden;
}

textarea:focus {
  outline-style: solid;
  outline-width: 2px;
}

#source-text {
  width: 100%;
  font-size: 0.8em;
  margin-top: 20px;
  margin-bottom: 20px;
  opacity: 0.5;
}

#source-text:focus {
  opacity: 1;
  outline: none;
}

#erase-text {
  display: inline-block;
  width: 100%;
  height: 1em;
  font-family: inherit;
  font-size: 1em;
	padding: 5px 10px 10px 10px;
  margin-bottom: 10px;
}

textarea:focus {
  outline: none;
  border: 2px solid #b400ff;
}

#result-text {
  width: 100%;
  font-size: 0.8em;
}
