@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

* {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

:root {
  --shadow: 0px 0px 10px rgba(10, 10, 10, 0.13);
  --control-bg-color: rgb(246, 246, 246);
  --control-bg-color-ver: rgb(183, 183, 183);
  --divider-color: #acacac;
}
body {
  margin: 0;
  position: relative;
  min-height: 100vh;
}

#textContent {
  width: 100%;
  border: none;
  background-color: transparent;
  resize: initial;
  min-height: 200px;
  outline: none;
}
.transfer-type-btn {
  padding: 10px !important;
  margin-bottom: 10px;
  max-width: 100% !important;
}
input[type="text"] {
  border: none;
  padding: 10px 15px;
  max-width: 200px;
  border-radius: 5px;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 1em;
}

input:focus::placeholder {
  color: transparent;
}
input::placeholder {
  text-transform: none;
}
.col {
  flex-direction: column;
}

.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--divider-color);
  gap: 5px;
  font-size: 12px;
  width: 100%;
  max-width: 200px;
}

.divider div {
  background-color: var(--divider-color);
  height: 1px;
  width: 100%;
}
.gap {
  width: 20px;
  height: 20px;
}
.nav-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: white;
  background-color: black;
  padding: 5px 10px;
  border-radius: 10px;
  height: 50px;
  cursor: pointer;
}

.nav-progress:hover {
  background-color: rgb(29, 29, 29);
}

.nav-progress p {
  font-size: 16px;
}

.nav-controls {
  display: flex;
  align-items: center;
  overflow-x: scroll;
  gap: 15px;
}
.nav-progress-percent {
  color: black;
  background-color: white;
  padding: 5px;
  width: 53px;
  height: 35px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
}
.nav {
  height: 70px;
  width: 100%;
  gap: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 500px;
  background-color: white;
  box-shadow: var(--shadow);
  border-radius: 10px;
}

.nav a {
  text-wrap: nowrap;
  color: black;
  padding: 5px 10px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 5px;
}

.nav a img {
  height: 19px;
}

.nav a:hover {
  background-color: #dedede;
}

.nav img {
  height: 70%;
}

.loading {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  height: 100%;
  border-radius: 10px;
}

.loading-dot-box {
  width: 50px;
}
.dashboard {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 346px;
  max-width: 500px;
  gap: 30px;
  flex-wrap: wrap;

  border-radius: 10px;
  padding: 20px;
}

.glass {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#minimize {
  position: absolute;
  left: 25px;
  top: -5px;
  width: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25px;
}

.minimized {
  display: none;
}

#minimize:hover {
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.cta-container {
  background-color: var(--control-bg-color);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 1/1;
}

.warn-text {
  background-color: #fff5d5;
  padding: 10px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.cta-container img {
  mix-blend-mode: color-burn;
  width: 100%;
}

.control-status {
  box-shadow: var(--shadow);
  background-color: var(--control-bg-color);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  height: 40px;
  width: 100%;
}
.control-status:hover {
  cursor: pointer;
  background-color: var(--control-bg-color-ver);
}

.control-status p {
  text-wrap: nowrap;
  font-size: 16px;
  font-weight: 400;
}
.control-status img {
  height: 100%;
}

.dash-controls {
  flex: 1;
  display: flex;
  gap: 15px;
  flex-direction: column;
  width: 100%;
  max-width: 300px;
  min-width: 250px;
}

.dash-tips {
  flex: 1;
}

#upload {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  cursor: pointer;
}

#upload img {
  width: 35px;
}
.hidden {
  display: none !important;
}

h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

p {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.flex-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.file-box {
  background: white;
  padding: 2rem;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
}
.file-box input[type="file"] {
  display: block;
  margin: 1rem auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.feature {
  flex: 1 1 200px;
  background: #f3f4f6;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.feature img {
  height: 50px;
  margin-bottom: 1rem;
}
.feature h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.cta {
  background: #e0f2fe;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1rem;
  margin-top: 3rem;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  padding: 2rem;
}

.btn {
  padding: 15px 10px;
  border-radius: 5px;
  border: none;
  width: 100%;
  max-width: 200px;
  font-size: 1em;
  cursor: pointer;
}

.btn-primary {
  background-color: black;
  color: white;
  text-decoration: none;
}

.btn-secondary {
  color: black;
  background-color: white;
  border: 1px solid black;
}

.btn-secondary:hover {
  background-color: rgb(203, 203, 203);
}

.btn-primary:hover {
  background-color: rgb(34, 34, 34);
  outline: 2px solid #555;
}

.featured {
  background-image: url("imgs/jameswheeler.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -10;
}

.credits {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.credit-name {
  color: white;
  margin: 0;
  font-size: 14px;
}

.credit-name a {
  color: white;
  z-index: 10;
  position: relative;
}

.credit-description {
  color: white;
  margin: 0;
  font-size: 14px;
}

#dash-description {
  font-size: 14px;
  color: #5e5e5e;
}
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  .file-box {
    padding: 1rem;
  }
  #minimize {
    display: none;
  }
  .featured {
    display: none;
  }
  .credits {
    display: none;
  }
}
