@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;
}

.flex-h {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#OutW,
#OutH {
  width: initial;
}

.two-row {
  width: initial;
  flex-grow: 1;
}

.fit {
  width: 150px;
}

.flex-c {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

h1{
  padding-bottom: 20px;
  text-align: center;
}
h5 {
  font-weight: 400;
}
.logo img {
  width: 160px;
}

.glass {
  width: 800px;
  max-width: calc(100vw - 90px);
  margin: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  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 {
  margin: 40px 0px;
  width: 100%;
  max-width: 600px;
  background-image: url("assets/bg.png");
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

form {
  padding-bottom: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

input {
  font-size: 16px;
  color: #858585;
  padding: 8px 8px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 0;
  text-align: center;
  transition-duration: 0.2s;
  flex-grow: 1;
  width: calc(100% - 20px);
}
label {
  width: 150px;
}
input:hover {
  background-color: rgba(0, 0, 0, 0.5);
  color: #c6c6c6;
}

input:focus {
  background-color: rgba(0, 0, 0, 0.5);
  color: #3fbb9b;
  outline: none;
  box-shadow: 0px 0px 0px 2px #3fbb9b inset;
}

input::file-selector-button {
  -webkit-appearance: none;
  font-size: 12px;
  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;
  padding: 12px 24px;
  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);
}


footer {
  flex: 0 0 auto;
  -ms-grid-row-align: center;
  align-self: center;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 12px;
  column-gap: 12px;
  color: #cccccc;
  font-size: 12px;
  font-weight: 400;
  flex-wrap: wrap;
}
footer a,
footer p {
  font-size: 12px;
  color: #cccccc;
}

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