/*@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');*/

@font-face {
  font-family: Apple SD Gothic Neo, Nanum Barun Gothic, Nanum Gothic, "돋움", Dotum, Verdana, Arial, sans-serif;
}

.container {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  background-color: #f6f6ef;
  overflow: hidden;
}

@media (min-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

.title1 {
  font-size: 34px;
  color: rgb(135, 135, 135);
}

.title2 {
  font-family: sans-serif;
  font-size: 33px;
  /*color: rgb(159, 159, 159);*/
  color: rgb(135, 135, 135);
}

.description {
  font-size: 15px;
  margin-top: 21px;
  margin-left: 15px;
  /*color: #777777;*/
  color: #666;
}

.drop-file {
  margin-bottom: 18px;
  min-height: 160px;
  border: 3.5px dashed rgb(197, 197, 197);
  background-color: #fff;
}

.drop-file input {
  width: .1px;
  height: .1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.form-control {
  color: #3e3e3e;
}

.drop-file label {
  cursor: pointer;
}

.drop-file-text {
  text-align: center;
  width: 50%;
  margin: 31px auto;
}

.custom-font {
  font-family: customFont;
}

#font-display {
  background: rgba(255, 255, 250, 0.75);
  font-size: 21px;
  height: 200px;
  overflow: hidden;
  border: 1px solid rgb(183, 183, 183);
  border-radius: 8px;
  padding: 2px 5px;
  margin-top: 9px;
}

.font-size-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: #d3d3d3;
  outline: none;
}

.font-size-slider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 18px; /* Set a specific slider handle width */
  height: 18px; /* Slider handle height */
  border: none;
  border-radius: 50%;
  background: #4CAF50; /* Green background */
}

.font-size-slider::-moz-range-thumb {
  width: 18px; /* Set a specific slider handle width */
  height: 18px; /* Slider handle height */
  border: none;
  border-radius: 50%;
  background: #4CAF50; /* Green background */
}

#font-name {
  margin-top: 20px;
  margin-bottom: 13px;
}

#font-viewer {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(3.1rem, 1fr));
  grid-auto-rows: 1fr;
  border-top: 1px solid #a0a0a0;
  border-left: 1px solid #a0a0a0;
}

.grid::before {
  content: '';
  width: 0;
  padding-bottom: 100%;
  grid-row: 1 / 1;
  grid-column: 1 / 1;
}

.grid > *:first-child {
  grid-row: 1 / 1;
  grid-column: 1 / 1;
}

/* Just to make the grid visible */

.grid > * {
  background: rgba(255, 255, 250, 0.75);
  border-right: 1px #a0a0a0 solid;
  border-bottom: 1px #a0a0a0 solid;
  margin: 0;
  padding: 6px 0 0 0;
  text-align: center;
  font-size: 24px;
}
.grid > * > sub {
  display: block;
  font-size: 10px;
  color: #666;
}

.footer {
  display: flex;
  margin-top: 30px;
  margin-left: -15px;
  margin-right: -15px;
  border-top: 2px solid rgb(143, 202, 146);
  color: #666;
  font-size: 13px;
}

.footer a {
  color: #444;
}

.footer a:hover {
  color: black;
  text-decoration: underline;
}

#download:not([style*="display:none"]) {
  /*transition: 0.7s ease;*/
  /*transition: opacity 0.6s linear;*/
  animation: fade-in 0.9s;
  animation-fill-mode: forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
