@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
}

h2 {
  display: flex;
  justify-content: center;
  padding: 30px 0px;
}

.container45 {
  height: 60vh;
  width: 100%;
  display: inline-block;
}

#imageForm {
  align-items: center;
  margin: 80px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 3px dashed black;
  padding: 60px 0px;
  border-radius: 12px;
  box-shadow: 2px 4px 15px 3px #00bcd4;
}

#convertBtn {
  margin: 23px 0px;
}

#clearBtn {
  display: none;
  padding: 9px;
}

/* CSS */
#convertBtn {
  --b: 3px; /* border thickness */
  --s: 0.45em; /* size of the corner */
  --color: #000000;

  padding: calc(0.5em + var(--s)) calc(0.9em + var(--s));
  /* color: var(--color); */
  color: rgb(0, 0, 0);
  --_p: var(--s);
  background: conic-gradient(
      from 90deg at var(--b) var(--b),
      #0000 90deg,
      var(--color) 0
    )
    var(--_p) var(--_p) / calc(100% - var(--b) - 2 * var(--_p))
    calc(100% - var(--b) - 2 * var(--_p));
  transition: 0.3s linear, color 0s, background-color 0s;
  outline: var(--b) solid #0000;
  outline-offset: 0.6em;
  font-size: 16px;

  border: 0;

  font-weight: bold;

  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#convertBtn:disabled {
  opacity: 0.5;
}

#convertBtn:hover,
#convertBtn:focus-visible {
  --_p: 0px;
  outline-color: var(--color);
  outline-offset: 0.05em;
}

#convertBtn:active {
  background: var(--color);
  color: #fff;
}

/* CSS */
#clearBtn {
  --b: 3px; /* border thickness */
  --s: 0.45em; /* size of the corner */
  --color: #000000;

  padding: calc(0.5em + var(--s)) calc(0.9em + var(--s));
  /* color: var(--color); */
  color: rgb(0, 0, 0);

  --_p: var(--s);
  background: conic-gradient(
      from 90deg at var(--b) var(--b),
      #0000 90deg,
      var(--color) 0
    )
    var(--_p) var(--_p) / calc(100% - var(--b) - 2 * var(--_p))
    calc(100% - var(--b) - 2 * var(--_p));
  transition: 0.3s linear, color 0s, background-color 0s;
  outline: var(--b) solid #0000;
  outline-offset: 0.6em;
  font-size: 16px;

  border: 0;

  font-weight: bold;

  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#clearBtn:hover,
#clearBtn:focus-visible {
  --_p: 0px;
  outline-color: var(--color);
  outline-offset: 0.05em;
}

#clearBtn:active {
  background: var(--color);
  color: #fff;
}

*::-webkit-scrollbar {
  width: 10px;
}
*::-webkit-scrollbar-track {
  background: #d1e5ff;
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(#03a9f4, #05ff76);
  border-radius: 10px;
}

@media (max-width: 442px) {
  #imageForm {
    margin: 70px 10px 10px 10px;
    overflow: hidden;
  }
  nav ul img {
    height: 70px;

    position: relative;
  }
  #sortable li {
    overflow: hidden;
    width: 100%;
  }

  .container3 {
    margin-top: 50px;
    width: 100%;
  }

  #chooseFileBtn {
    font-size: 1.3em;
  }

  .section2 ul {
    gap: 8px;
  }
}

.container3 {
  display: inline-block;
  margin-top: 110px;
  margin-bottom: 0;
}

.text {
  font-size: 3em;
  letter-spacing: 5px;
  font-family: monospace;
  border-right: 5px solid;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 5s steps(14) infinite,
    cursor 0.4s step-end infinite alternate;
}

@keyframes cursor {
  50% {
    border-color: transparent;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
}

.section2 ul {
  display: flex;
  justify-content: center;

  flex-direction: column;
  list-style: decimal;
  font-family: "Poppins";

  border-radius: 8px;
  background-color: #f3f0f0;

  padding: 10px 17px;
  margin: 50px 31px 90px 31px;
}

.section2 p {
  color: black;
  font-size: 15px;
  padding: 11px 30px;
  font-family: "Poppins", sans-serif;
  margin-top: 70px;
}

.section2 ul li {
  padding: 7px;
}

.section2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.type {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.section3 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.section3 ul {
  display: flex;
  justify-content: center;
  flex-direction: column;
  list-style: decimal;
  font-family: "Poppins";

  border-radius: 8px;
  background-color: #f3f0f0;

  padding: 10px 17px;
  margin: 50px 31px 90px 31px;
}

.section3 ul li {
  padding: 10px;
}
