@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
:root {
  --main: #404040;
  --sec: #4db3a2;
  --tfahe: #abd8ae;
}
header{
  padding-top: 5%;

 text-align: center;
}
body {
  font-family: "Poppins", sans-serif;
  background-image: url(bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: auto;
}
input.form-control{

  margin-bottom:  20px;
}

canvas {
  width: 80%;
  height: auto;
  text-align: center !important;
  border: 2px solid #555;
}

#loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#loader.active {
  display: flex;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #78d8c0;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.main-div {
  width: 90%;
  background: #1B8354;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  color: rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  text-align: center;
  margin: auto;
}

.sec-div {
  width: 90%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  background-color: #ffffff;

  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  text-align: center;
  margin: auto;
}


.form-control {
  margin-top: 30px !important;
}

.btn {
  background-color: #1B8354 !important;
  font-size: 20px !important;
  padding: 10px 20px !important;
  border: none !important;
  margin-top: 10px;
  margin-bottom: 20px;
}

h2{
  line-height: 40px;
}

.r,
.l {
  border-left: 10px solid var(--main) !important;
  border-top-right-radius: 15px !important;
  border-top-left-radius: 15px !important;
}
div.aa {
  line-height: 0.5cm;
}

#imgControls {
  margin-top: 10px;
  padding: 10px;
  background: #f0faf8;
  border-radius: 10px;
  border: 1px solid #78d8c0;
}

#imgControls h3 {
  font-size: 14px;
  margin: 8px 0 4px;
}

#uploadImg {
  font-size: 13px;
}
