/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');


*, *:before, *::after {
  box-sizing: border-box;
}

body {
  color: #222;
  text-align: center;
  background-color: #dfe6ec;
  width: 100%;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased; /* for Chrome and Safari */
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: 'Inter', sans-serif;
  padding: 20px;
}

h1 {
  font-size: 3em;
  color: #222;
}
h1 span {
  color: #6c757d;
  font: italic 300 1.1rem/1.5 calibri;
  display: block;
}

p {
  font-size: 0.9em;
  line-height: 1.3;
  color: #6c757d;
  margin: 20px 0;
}

.header {
  max-width: 700px;
  margin: auto;
  padding: 0 20px 0;
}

.main {
  max-width: 800px;
  margin: auto;
  text-align: justify;
  padding: 25px;
}

button {
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
button:focus {
  outline: 0;
}

/*croppie*/

#croppie {
  background: transparent !important;
}

.croppie-container .cr-boundary {
  background: transparent !important;
}

#img-crop {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  position: relative;
}
#img-crop h3 {
  color: #2f3848;
  font-size: 1.2em;
}
#img-crop .block {
  border: 12px solid #fff;
  border-radius: 1em;
  box-shadow: 0 20px 60px -2px rgba(28, 43, 56, 0.2);
  background-color: #eff3f6;
  padding: 20px; /* Adjust padding as needed */
  box-sizing: border-box;
  display: inline-block;
  margin: auto; /* Center the block */
}

#img-crop .block .stage {
  position: relative;
  margin: auto; /* Centers the stage within the block */
}
#img-crop #upload label#filedrag {
  display: block;
  width: 100%;
  height: 100%;
  transition: background 0.3s ease;
  cursor: pointer;
  position: relative; 
}

#img-crop #upload label#filedrag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("upload.gif") 50% 50% no-repeat;
  background-size: 25% auto;
  border-radius: 8px; 
  z-index: 0; 
}
#img-crop #upload label#filedrag.hover {
  background-image: url("//img.icons8.com/ios/96/c8cccf/upload-2-filled.png");
}
#img-crop #upload input[type=file] {
  display: none;
}
#img-crop #crop {
  display: none;
  /******** Range Input ********/
}
#img-crop #crop .btn {
  color: #fff;
  width: 7em;
  height: 2.5em;
  border-radius: 10px;
  background-color: #425389;
  position: absolute;
  top: 50%;
  transition: background 0.3s ease-out;
  transform: translateY(-50%);
  z-index: 3;
}
#img-crop #crop .btn:hover {
  background-color: #5368ab;
}
#img-crop #crop .btn#prev {
  left: 0;
  transform: translateX(-130%);
}
#img-crop #crop .btn#next {
  right: 0;
  transform: translateX(130%);
}
#img-crop #crop .cr-boundary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
#img-crop #crop .cr-boundary .cr-image {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  z-index: -1;
  max-width: none;
}
#img-crop #crop .cr-boundary .cr-viewport {
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0 0 0 900px #d9d9d9;
  z-index: 0;
}
#img-crop #crop .cr-boundary .cr-overlay {
  position: absolute;
  z-index: 2;
  cursor: move;
}
#img-crop #crop .cr-slider-wrap {
  width: 100%;
  height: 2em;
  position: absolute;
  top: 100%;
  transform: translateY(100%);
  z-index: 99;
  display: block;
}
#img-crop #crop .cr-slider-wrap .cr-slider {
  width: 75%;
  background-color: transparent;
}
#img-crop #crop .cr-slider-wrap .cr-slider {
  -webkit-appearance: none;
}
#img-crop #crop .cr-slider-wrap .cr-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  background-color: #c8cccf;
  border: 0;
  border-radius: 1em;
}
#img-crop #crop .cr-slider-wrap .cr-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  background-color: #8193a2;
  border-radius: 50%;
  border: none;
  transform: scale(1);
  -webkit-transition: transform 0.3s;
  transition: transform 0.3s;
}
#img-crop #crop .cr-slider-wrap .cr-slider:hover::-webkit-slider-thumb {
  transform: scale(1.25);
}
#img-crop #crop .cr-slider-wrap .cr-slider:focus {
  outline: none;
}
#img-crop #crop .cr-slider-wrap .cr-slider:focus::-webkit-slider-thumb {
  background-color: #425389;
}
#img-crop #crop .cr-slider-wrap .cr-slider::-moz-range-track {
  width: 100%;
  height: 4px;
  background-color: #c8cccf;
  border: 0;
  border-radius: 1em;
}
#img-crop #crop .cr-slider-wrap .cr-slider::-moz-range-thumb {
  height: 16px;
  width: 16px;
  margin-top: -6px;
  background-color: #8193a2;
  border-radius: 50%;
  border: none;
  transform: scale(1);
  -moz-transition: transform 0.3s;
  transition: transform 0.3s;
}
#img-crop #crop .cr-slider-wrap .cr-slider:hover::-moz-range-thumb {
  transform: scale(1.25);
}
#img-crop #crop .cr-slider-wrap .cr-slider:-moz-focusring {
  outline: 1px solid white;
  outline-offset: -1px;
}
#img-crop #crop .cr-slider-wrap .cr-slider:-moz-focusring::-moz-range-thumb {
  background-color: #425389;
}
#img-crop #crop .cr-slider-wrap .cr-slider::-ms-track {
  width: 300px;
  height: 4px;
  background: transparent;
  border-color: transparent;
  border-width: 6px 0;
  color: transparent;
}
#img-crop #crop .cr-slider-wrap .cr-slider::-ms-fill-lower, #img-crop #crop .cr-slider-wrap .cr-slider::-ms-fill-upper {
  background: #c8cccf;
  border-radius: 10px;
}
#img-crop #crop .cr-slider-wrap .cr-slider::-ms-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background-color: #8193a2;
}
#img-crop #crop .cr-slider-wrap #cr-rotate {
  color: #8193a2;
  text-align: right;
  background-color: transparent;
  flex: 1;
}
#img-crop #result {
  display: none;
}
#img-crop #result #close {
  width: 50px;
  height: 50px;
  background: url("//img.icons8.com/material/48/c8cccf/multiply.png") 50% 50% no-repeat;
  background-size: 80%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
}
#img-crop #result #close:hover {
  background-image: url("//img.icons8.com/material/48/8193a2/multiply.png");
}
#img-crop #result img {
  width: 100%;
  height: 100%;
  display: block;
}

.download-link{
  display: block;
  margin: auto;
  width: 220px !important;
  text-decoration: none;
  padding: 10px;
}

.glow-on-input {
  width: 320px;
  height: 40px; 
  padding: 0 10px; 
  border: 2px solid #111; 
  outline: none; 
  color: #fff; 
  background: #111; 
  cursor: text; 
  position: relative;
  z-index: 0;
  border-radius: 10px; 
  font-size: 16px; 
}

.glow-on-input:focus {
  border-color: #555;
  box-shadow: 0 0 8px #fff; 
}

.glow-on-hover {
  width: 130px;
  height: 40px;
  border: none;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

.glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left:-2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.glow-on-hover:active {
  color: #000
}

.glow-on-hover:active:after {
  background: transparent;
}

.glow-on-hover:hover:before {
  opacity: 1;
}

.glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

.custom-select {
  width: 250px;
  position: relative;
  display: block;
  margin: auto;
}

select {
  appearance: none;
  /*  safari  */
  -webkit-appearance: none;
  /*  other styles for aesthetics */
  width: 100%;
  font-size: 14px;
  padding: 0.675em 1em 0.675em 1em;
  background-color: #fff;
  border: 1px solid #caced1;
  border-radius: 10px;
  color: #000;
  cursor: pointer;
}

.custom-select::before,
.custom-select::after {
  --size: 0.3rem;
  content: "";
  position: absolute;
  right: 1rem;
  pointer-events: none;
}

.custom-select::before {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-bottom: var(--size) solid black;
  top: 40%;
}

.custom-select::after {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-top: var(--size) solid black;
  top: 55%;
}


.footer {
  padding: 30px 0px;
  font-family: "Play", sans-serif;
  text-align: center;
}

.footer .row {
  width: 100%;
  margin: 1% 0%;
  padding: 0.6% 0%;
  color: gray;
  font-size: 0.8em;
}

.footer .row a {
  text-decoration: none;
  color: gray;
  transition: 0.5s;
}

.footer .row a:hover {
  color: #06577c;
}

.footer .row ul {
  width: 100%;
}

.footer .row ul li {
  display: inline-block;
  margin: 0px 30px;
}

.footer .row a i {
  font-size: 2em;
  margin: 0% 1%;
}

@media (max-width: 720px) {
  .footer {
    text-align: left;
    padding: 5%;
  }
  .footer .row ul li {
    display: block;
    margin: 10px 0px;
    text-align: left;
  }
  .footer .row a i {
    margin: 0% 3%;
  }
}
