body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f0f0f0;
}

h1 {
  margin: 0;
}

img {
  border-radius: 1rem;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  filter: blur(2rem);
  -webkit-filter: blur(2rem);
}
#background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

input, button, select, .fileUpload {
  padding: 0.25rem 0.5rem;

  border: none;
  border-radius: 0.5rem;
}

select, button, .fileUpload {
  color: white;
  background-color: black;
  cursor: pointer;
}

input {
  background: none;
}

#captionOptions {
  justify-content: left;
}

/* Hide the default file input */
#imageUploader {
    display: none;
}

.hStack {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.vStack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.container {
  padding: 1rem;
  
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  text-align: center;
  border-radius: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.image-container {
  position: relative;
  margin-top: 1.25rem;
}

.caption {
  position: absolute;
  padding: 0.5rem 0;

  color: white;
  background-color: rgba(0, 0, 0, 0.5);
}

.style-1 {
  width: calc(100% - 1.5rem);
  left: 0.5rem;

  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  border: #212121af 0.2rem solid;
  border-radius: 0.5rem;
}

.style-2 {
  width: calc(100% - 1.5rem);
  left: 0.5rem;

  background-color: rgb(0, 0, 0);
  border: #000000 0.2rem solid;
  border-radius: 0.5rem;
}

.style-3 {
  width: 100%;

  background-color: rgba(0, 0, 0, 0.5);
}

.top {
  top: 0.5rem;
}

.bottom {
  bottom: 0.65rem;
}


@media (prefers-color-scheme: dark) {
  body {
    background-color: #212121;
    color: white;
  }

  .container {
    background: rgba(0, 0, 0, 0.6);
  }

  select, button, .fileUpload {
    color: black;
    background-color: white;
  }

  input {
    color: white;
  }
}

.importantButton {
  background-color: indigo;
  color: white;
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  font-weight: bold;
}