@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

*,
body,
html {
  margin: 0;
}
body,
html {
  height: 100dvh;
  width: 100vw;
  overflow-x: hidden !important;
}
body {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: top;
  background-image: url(assets/bg-image-min.jpg);
  letter-spacing: 0.02em;
  font-family: "Roboto";
  color: #cccccc;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.logo img {
  width: 160px;
}

.glass {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 800px;
  margin: 20px 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  box-shadow: 1px 1px 3px 0 rgba(255, 255, 255, 0.21) inset,
    0 0 20px rgba(0, 0, 0, 0.5), -1px -1px 2px 0 rgba(255, 255, 255, 0.1) inset;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
}

canvas {
  width: 100%;
  background-image: url("assets/bg.png");
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

input::file-selector-button {
  -webkit-appearance: none;
  font-size: 14px;
  padding: 5px 24px;
  background-color: #3fbb9b;
  color: white;
  box-shadow: 0 6px rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 3px;
  transition-duration: 0.2s;
}

button {
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  display: block;
  background-color: #3fbb9b;
  font-size: 16px;
  font-weight: 400;
  color: white;
  width: 100%;
  max-width: 320px;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 6px rgba(0, 0, 0, 0.1);
  transition-duration: 0.2s;
  top: 0px;
}

button:hover,
input::file-selector-button:hover {
  background-color: #267864;
  box-shadow: 0 6px rgba(0, 0, 0, 0.3);
  /* top: 3px; */
}

button:active {
  box-shadow: none;
  /* top: 8px; */
}

/* loading msg */
#loadingMsg {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hide {
  display: none !important;
}

.msg {
  margin: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  padding-bottom: 24px;
}

svg path,
svg rect {
  fill: rgba(255, 255, 255, 0.8);
}
