@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;1,100;1,200&display=swap");
* {
  font-family: "Raleway", sans-serif;
}

header {
  background-color: black;
  color: white;
  line-height: 2.5;
  text-align: center;
  font-weight: 500;
  letter-spacing: 1.5px;
}

#loader-wrapper {
  position: absolute;
  top: 45%;
  left: calc(50% - 50px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

#loader {
  border: 5px solid rgba(211, 41, 75, 0.189);
  border-top: 5px solid rgb(211, 41, 75);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2.5s linear infinite;
}

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

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

#qr-form {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: 100px auto 40px auto;
}

input,
select {
  line-height: 2;
  margin-bottom: 15px;
  border-radius: 5px;
  outline: none;
  border: 0.5px solid lightgray;
  padding: 3px 10px;
}

input:focus {
  border: 0.5px solid rgb(115, 20, 188);
}

input::selection {
  background-color: rgba(208, 127, 255, 0.633);
}

label {
  margin-bottom: 5px;
  font-size: 14px;
  letter-spacing: 1px;
  color: rgb(108, 40, 172);
}

.generate-btn {
  position: relative;
  line-height: 2;
  border: none;
  background-color: transparent;
  color: rgb(108, 40, 172);
}

.generate-btn:hover {
  cursor: pointer;
  text-decoration: underline;
}

#generated-code {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100px;
}

#qrcode img {
  margin: 70px auto 40px auto;
}

#save-link {
  background-color: rgb(211, 41, 75);
  padding: 5px 25px;
  text-decoration: none;
  color: whitesmoke;
  width: 140px;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#save-link:hover {
  background-color: rgb(255, 255, 255);
  color: rgb(211, 41, 75);
}

.material-symbols-outlined {
  vertical-align: text-bottom;
}
