/* Basic app styles */
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  padding: 20px;
  background: linear-gradient(180deg, #fbede6 200px, #fff 400px) no-repeat;
  background-position: top right;
  border-bottom: 100px white;
  line-height: 1.4;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
}

section {
  margin-bottom: 20px;
  max-width: 900px;
}

/* Brand elements */

section.brand {
  position: inherit;
  left: 20px;
  top: 20px;
  width: 300px;
}

/* Form elements */

section.start {
  height: 450px;
  padding: 20px;
  background: url("../images/img.svg") no-repeat bottom center;
}

section.start .intro {
  position: relative;
  text-align: center;
  top: 30%;
  right: 10%;
}

section.start .intro:hover img {
  width: 200px;
}

section.content,
section.processing {
  position: relative;
  margin: 40px 0 40px 0px;
  padding: 20px;
  border: 2px solid black;
  border-radius: 20px;
  background: white;
}

section.processing {
  height: 450px;
  padding-bottom: 200px;
  background: url("../images/img_process.svg") no-repeat bottom right;
}

section.done {
  height: 450px;
  background: url("../images/img_done.svg") no-repeat bottom right;
}

input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: #000;
  font-size: large;
  border: none;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  float: right;
}

/* Spinner */

.status-loading {
  position: relative;
  top: 50px;
}

.spinner {
  position: absolute;
  left: 50%;
  margin-left: -40px;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.spinner div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 80px;
  height: 80px;
  margin: 8px;
  border: 8px solid #cef;
  border-radius: 50%;
  animation: spinner 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #000 transparent transparent transparent;
}

.spinner div:nth-child(1) {
  animation-delay: -1.2s;
}

.spinner div:nth-child(2) {
  animation-delay: -0.3s;
}

.spinner div:nth-child(3) {
  animation-delay: -0.15s;
}

.spinner div:nth-child(1) {
  border-color: silver;
}

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

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

.spinner-text {
  animation: blink-animation 1s steps(5, start) infinite;
  text-align: center;
}

/* Download */
.download {
  position: absolute;
  left: 50%;
  margin-left: -50px;
  margin-bottom: 0px;
  display: inline-block;
  position: relative;
  width: 100px;
  height: 100px;
  animation: spinner 1s cubic-bezier(0.5, 0, 0.5, 1) 3;
}

.hidden {
  display: none;
}

@keyframes blink-animation {
  to {
    opacity: 0;
  }
}