.converter-body {
  font-family: "Open Sans", sans-serif;
  background-color: rgb(34, 34, 34);
  color: rgb(250, 236, 232);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
}

.converter-title {
  text-align: center;
  font-size: 3rem;
  color: rgb(204, 69, 23);
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 20px 0;
  background: rgb(69, 69, 69);
  border: 2px solid rgb(204, 69, 23);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  width: 80%;
  margin: 20px 0;
}

.converter-button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 50px;
}

.converter-button {
  font-family: "Verdana", sans-serif;
  background-color: rgb(204, 69, 23);
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s ease;
}

.converter-button:hover {
  background-color: rgb(69, 69, 69);
  transform: scale(1.05);
}

.form-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 30px;
  &.url {
    width: 40em;
  }
  &.file {
    width: 30em;
  }
}

.form-container label {
  white-space: nowrap;
}

.form-container input[type="text"] {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid rgb(204, 69, 23);
  background-color: rgb(34, 34, 34);
  color: rgb(250, 236, 232);
  width: 100%;
}

.form-container input[type="file"] {
  padding: 10px;
  background-color: rgb(34, 34, 34);
  color: rgb(250, 236, 232);
  width: 100%;
}

.converter-input[type="submit"] {
  background-color: rgb(204, 69, 23);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
}

.converter-input[type="submit"]:hover {
  background-color: rgb(69, 69, 69);
}

.converter-input[type="file"]::-webkit-file-upload-button {
  background-color: rgb(204, 69, 23);
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.converter-input[type="file"]::-webkit-file-upload-button:hover {
  background-color: rgb(69, 69, 69);
  transform: scale(1.05);
}

.converter-a {
  color: rgb(204, 69, 23);
  text-decoration: none;
}

.converter-a:hover {
  text-decoration: underline;
}

.converter-footer {
  position: absolute;
  bottom: 0px;
  color: rgb(250, 236, 232);
  font-size: 0.9rem;
  padding: 25px;
  background-color: rgb(34, 34, 34);
  width: 80%;
  text-align: center;
}

#loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999999999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#loading-container.active {
  visibility: visible;
  opacity: 1;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
