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

body {
  color: #cccccc;
  text-align: center;
  background-color: #333333;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer {
  flex: 0 0 auto;
  align-self: center;
  margin: 0px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 12px;
  column-gap: 12px;
  color: #cccccc;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}

footer a {
  color: #cccccc;
}

.footer-image {
  margin: 0;
  width: 20px;
  height: auto;
}

h1 {
  font-size: 3em;
  color: #cccccc;
}

.outterLink {
  color: #ffd602 !important;
  cursor: pointer !important;
  font: 300 1rem/1.5 Arial, Helvetica, sans-serif !important;
  display: block !important;
  padding: 8px 0px !important;
  margin: 0 !important;
}

h1 span,
.remark,
.selectedResult {
  color: #6c757d;
  font: italic 300 1rem/1.5 calibri;
  display: block;
  padding: 8px 0px;
  margin: 0;
}

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

/*croppie*/
#img-crop {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  position: relative;
  flex: 1;
}
#img-crop h3 {
  margin-top: 0px;
  color: #3fbb9b;
  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;
  width: 344px;
}
#img-crop .block .stage {
  width: 320px;
  height: 320px;
  position: relative;
}

.crosshair {
  background: rgba(255, 0, 0, 0.3);
  position: absolute;
  z-index: 99;
}

.crosshairCircle {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  z-index: 99;
  border: solid rgba(255, 0, 0, 0.3) 1px;
  pointer-events: none;
}
#crosshairX {
  height: 100%;
  width: 1px;
  left: 50%;
}

#crosshairY {
  width: 100%;
  height: 1px;
  top: 50%;
}

#img-crop #upload label#filedrag {
  display: block;
  width: 100%;
  height: 100%;

  background: url("//img.icons8.com/ios/96/c8cccf/upload-2.png") 50% 50%
    no-repeat;
  background-size: 25% auto;
  transition: background 0.3s ease;
  cursor: pointer;
}
#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: 3px;
  background-color: #3fbb9b;
  position: absolute;
  top: 50%;
  transition: background 0.3s ease-out;
  transform: translateY(-50%);
}
#img-crop #crop .btn:hover {
  background-color: #247a64;
} */
/* #img-crop #crop .btn#prev {
  top: 0px;
  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: flex;
}
#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: #3fbb9b;
}
#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: #ffae00;
  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: #3fbb9b;
}
#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; */
  padding-left: 8px;
}
#img-crop #result {
  display: none;
}
#img-crop #result #close {
  width: 50px;
  height: 50px;
  background: url("//img.icons8.com/material/48/ffffff/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/ffffff/multiply.png");
}
#img-crop #result img {
  width: 100%;
  height: 100%;
  display: block;
}
::-webkit-input-placeholder {
  /* Edge */
  font-size: 16px;
  color: #4e4e4e;
}

:-ms-input-placeholder {
  /* Internet Explorer */
  font-size: 16px;
  color: #4e4e4e;
}

::-moz-placeholder {
  font-size: 16px;
  color: #4e4e4e;
}

::-ms-input-placeholder {
  font-size: 16px;
  color: #4e4e4e;
}

::placeholder {
  font-size: 16px;
  color: #4e4e4e;
}

input:hover::-webkit-input-placeholder {
  color: #c6c6c6;
}

input:hover::-moz-placeholder {
  color: #c6c6c6;
}

input:hover:-ms-input-placeholder {
  color: #c6c6c6;
}

input:hover::-ms-input-placeholder {
  color: #c6c6c6;
}

input:hover::placeholder {
  color: #c6c6c6;
}

#outPutSize,
#fileName {
  flex-grow: 1;
  font-size: 16px;
  color: #858585;
  padding: 8px 8px;
  border-radius: 8px;
  background-color: black;
  border: 0;
  text-align: center;
  transition-duration: 0.2s;
  width: auto;
}

#outPutSize:hover,
#fileName:hover {
  background-color: #4a4a4a;
  color: #c6c6c6;
}

#outPutSize:focus,
#fileName:focus {
  background-color: rgb(53, 53, 53);
  color: #3fbb9b;
  box-shadow: 0px 0px 0px 3px #3fbb9b inset;
}

#prev {
  margin: 24px 0px 40px 0px;
}
.btn {
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  display: block;
  background-color: #3fbb9b;
  font-size: 16px;
  color: white;
  padding: 8px 20px;
  border-radius: 4px;
  box-shadow: 0 6px rgba(0, 0, 0, 0.1);
  transition-duration: 0.2s;
  top: 0px;
  width: 100%;
}

.btn:hover {
  box-shadow: 0 6px rgba(0, 0, 0, 0.3);
  top: 3px;
}

.btn:active {
  box-shadow: none;
  top: 8px;
}

.remark {
  padding-bottom: 20px;
}

.select {
  background-color: #cccccc !important;
  color: #333333 !important;
}
.ghost {
  color: #3fbb9b !important;
  border: solid #3fbb9b 1px !important;
  background-color: #247a6400 !important;
}

.ghost-light {
  color: #cccccc !important;
  border: solid #cccccc 1px !important;
  background-color: #247a6400 !important;
}

.ghost-red {
  color: #fe3366 !important;
  border: solid #fe3366 1px !important;
  background-color: #247a6400 !important;
}

#save,
.btn-backToCrop {
  width: 100%;
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  display: block;
  background-color: #3fbb9b;
  font-size: 16px;
  color: white;
  padding: 14px 0px;
  border-radius: 4px;
  box-shadow: 0 6px rgba(0, 0, 0, 0.1);
  transition-duration: 0.2s;
  top: 20px;
  margin-bottom: 80px;
}

#save:hover,
.btn-backToCrop:hover {
  box-shadow: 0 6px rgba(0, 0, 0, 0.3);
  top: 23px;
}

#save:active,
.btn-backToCrop:active {
  box-shadow: none;
  top: 28px;
}

.btnGroup {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 8px;
  padding-top: 12px;
  gap: 12px;
}

.logo-image {
  padding-top: 10px;
  width: 150px;
}

.logo-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

#selectedFormat,
#selectedOutPutSize {
  color: #ffd602;
}

.outPutSelector {
  padding-top: 80px;
  padding-bottom: 24px;
}

form {
  display: flex;
  align-items: center;
}

#fitToCanvas {
  /* display: none; */
  background-image: url("https://i.imgur.com/KIunvm5.jpg");
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
  width: 100%;
}

.hidden {
  display: none;
}

label {
  /* flex: 1; */
  width: 156px;
}

input {
  flex: 1;
}
input[type="color"] {
  /* -webkit-appearance: none; */
  /* min-width: 236px !important; */
  /* width: auto; */
  height: 34px;
  border: 0;
  flex: 1;
  /* flex-grow: 2; */
  transition-duration: 0.2s;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  border-radius: 8px;
}

.hide {
  display: none;
}
@media only screen and (max-width: 800px) {
  h1 {
    font-size: 2em;
  }

  .remark {
    padding-bottom: 120px;
  }
  .btn {
    height: 40px;
    width: 100%;
  }
}

/* @media only screen and (max-width: 850px) {
  input[type="color"] {
    width: 100%;
  }
}

@media only screen and (max-width: 320px) {
  input[type="color"] {
    min-width: 0px;
  }
} */
