:root {
  --maincolor: #4d4d4d;
  --maincolor-light: #b2b2b2;
}

#fileInput {
  width: 300px;
  height: 125px;
  border: 2px dashed royalblue;
  display: block;
  padding: 10px;
  text-align: center;
  line-height: 80px;
  font-size: 16px;
  color: royalblue;
}

#fileInput:active,
#fileInput:hover,
#fileInput:focus {
  background-color: #e1f5fe;
  box-shadow: 0 0 5px rgba(2, 100, 214, 0.5);
  outline: none;
}

::-webkit-file-upload-button {
  display: none;
}

::file-selector-button {
  display: none;
}

#loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid var(--maincolor);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  display: none;
}

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

  100% {
    transform: rotate(360deg);
  }
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

h1,
h2 {
  text-align: center;
}

h1 {
  font-size: 2.75em;
}

h1 a {
  text-decoration: none;
  color: white;
}

header {
  width: 100vw;
  background: linear-gradient(135deg, var(--maincolor), var(--maincolor-light));
  color: white;
  margin: 0;
  padding: 0.5em 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#uploadForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0;
}

input[type="submit"], a:not(h1 a) {
  background: var(--maincolor);
  color: white;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  margin: 8px;
  text-decoration: none;
  font-size: 16px;
}

input[type="submit"]:hover, a:hover:not(h1 a) {
  background: var(--maincolor-light);
}

#container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  margin: 0;
}

#container p {
  margin: 0;
}

#container h3 {
  margin-top: 12qpx;
  margin-bottom: 8px;
}
