header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  background-color: var(--bs-primary);
  img:first-child {
    border-right: 1px solid #fff;
    padding-right: 56px;
    height: 46px;
  }
  img:not(:first-child) {
    height: 26px;
  }
}

main {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 78px) !important;
}
.title-container {
  text-align: center;
}
.title-secondary {
  font-size: calc(4.5rem + 1.95vw);
}
.title-background-black {
  background-color: #000000;
  color: #ffffff;
  padding: 8px;
  margin-left: 8px;
}
.dropzone-container {
  margin-top: 16px;
  margin-bottom: 16px;
}

.dropzone {
  min-height: 400px !important;
  border: 0 !important;
  padding: 0 !important;
  padding-right: 20px !important;
}

.upload-img {
  width: 96px;
  margin-top: 60px;
}

.success-img {
  width: 78px;
  margin-top: 60px;
  margin-bottom: 16px;
}

.button-container {
  display: flex;
  justify-content: space-between;
  margin-left: 32px;
  margin-right: 32px;
  margin-bottom: 16px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.btn-success-wrapper {
  width: 250px;
  margin: 0 auto;
  margin-top: 104px;
  margin-bottom: 32px;
}
.buttons-success-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  gap: 16px;
  flex-direction: column;
}
.button-container.show {
  opacity: 1;
}
/**Override the default theme */
.dropzone .dz-preview {
  width: 100% !important;
}
.dz-details {
  text-align: left !important;
  display: flex !important;
  justify-content: space-between !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  border-bottom: 1px solid #d2d2d2 !important;
}
.dropzone .dz-preview.dz-file-preview .dz-image {
  border-radius: 0 !important;
  background: transparent !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  -ms-border-radius: 0 !important;
  -o-border-radius: 0 !important;
}

.dropzone .dz-preview .dz-image {
  border-radius: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  -ms-border-radius: 0 !important;
  -o-border-radius: 0 !important;
}

/* styles.css */

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  position: absolute;
  top: 48px;
}

.loader {
  border: 1px solid #f3f3f3;
  border-top: 1px solid #000000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
}

.dropzone .dz-preview .dz-progress {
  display: none !important;
}

.alert {
  padding: 20px;
  background-color: #d1413f; /* Red */
  color: white;
  margin-bottom: 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/**Override the default theme */

@media (min-width: 1200px) {
  .title-secondary {
    color: var(--bs-secondary);
    font-size: 4.5rem;
  }
}

@media (max-width: 500px) {
  header {
    gap: 36px;
    img:first-child {
      padding-right: 36px;
      height: 36px;
    }
    img:not(:first-child) {
      height: 16px;
    }
  }
  .button-container {
    margin-left: 8px;
    margin-right: 8px;
  }
}

@media (max-width: 380px) {
  header {
    img:first-child {
      padding-right: 36px;
    }
  }
  .button-container {
    gap: 18px;
    flex-direction: column;
  }
}
@media screen and (max-height: 800px) {
  main {
    margin-top: 40px;
  }
}
