body {
  background-color: #121212;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: small;
  color: #bbbbbb
}

.header {
  justify-content: center;
  display: flex;
}
.header h1 {
  flex: 1 0 auto
}

.information-icon {
  font-size: large;
}
.information-icon:hover {
  cursor: pointer;
}

label {
  font-weight: bold;
}

.inputs {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.inputs div {
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: center;
}

input {
  padding: 8px;
  width: auto;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.button-container {
  margin-top: 20px;
  text-align: center;
}

button {
  padding: 8px 20px;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  margin-right: 10px;
}

.submit-button {
  background-color: #4681f4;
}
.submit-button:hover {
  background-color: #3e73dd;
}

.loader {
  display: 'none';
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.clear-button {
  background-color: #121212;
}
.clear-button:hover {
  background-color: #222222;
}

.sort-button {
  background-color: #5e5e5e;
}
.sort-button:hover {
  background-color: #505050;
}

.error-message {
  display: none;
  color: #c20000
}

h2 {
  margin-top: 4px;
}

#data-box {
  text-align: left;
  min-height: 48px;
}

textarea {
  width: 99%;
  background-color: #222222;
  color: white;
  border: none;
  resize: none;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #222222;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.invisible-input {
  background-color: #121212;
  border: none;
  margin-top: 8px;
  width: 64px;
}

@media only screen and (min-width: 800px) {
  body {
    background-color: #121212;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: small;
    color: #bbbbbb
  }

  .container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background-color: #252525;
    border-radius: 5px;
  }

  label {
    font-weight: bold;
  }

  input {
    padding: 8px;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }

  .button-container {
    margin-top: 20px;
  }

  button {
    padding: 8px 20px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
  }

  .submit-button {
    background-color: #4681f4;
  }
  
  .clear-button {
    background-color: #252525;
  }

  button:hover {
    background-color: #3e73dd;
  }

  h2 {
    margin-top: 4px;
  }
  
  #data-box {
    text-align: left;
  }

  .invisible-input {
    background-color: #252525;
  }
}