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

* {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #fff;
  /* margin: 0; */
}
html {
  width: 100%;
  height: 100%;
}
body {
  /* /* font-family: "Roboto", sans-serif; */
  /* background-color: #242424; */
  margin: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: top;
  background-image: url(source/bg-image-min.jpg);
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica;
  letter-spacing: 0.02em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

b {
  color: #3fbb9b;
}

#container {
  position: relative;
  max-width: 600px;
  margin: 0px auto;
  padding: 20px;
  /* background-color: #ffffff0e; */
  background: inherit;
  box-shadow: 2px 2px 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 0 20px rgba(0, 0, 0, 0.5), -1px -1px 2px 0 rgba(255, 255, 255, 0.1) inset;
  border-radius: 20px;
  /* background-color: rgba(255, 255, 255, 0.2); */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#container:after {
  content: "";
  width: 300px;
  height: 300px;
  background: inherit;
  /* position: absolute;
 left: -25px;
 left position
 right: 0;
 top: -25px;  
 top position 
 bottom: 0; */
  /* box-shadow: inset 0 0 0 200px rgba(255,255,255,0.05); */
  filter: blur(10px);
}

.flex-vertical {
  display: flex;
  width: 100vw;
  flex-direction: row;
  justify-content: center;
  /* padding: 20px 0px; */
}

.flex-vertical-2 {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  padding: 20px 0px;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.logo-image {
  width: 180px;
  padding-top: 40px;
}

h1 {
  text-align: center;
  font-weight: 700;
}
h4 {
  width: fit-content;
  margin: auto;
  text-align: left;
  line-height: 175%;
  padding-bottom: 20px;
}
.second {
  color: #3fbb9b;
}
label {
  display: block;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 16px;
}

#input-image {
  margin-bottom: 10px;
}

#output-image {
  max-width: 100%;
  max-height: 400px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

input::file-selector-button {
  border: 1px solid #3fbb9b;
  color: #3fbb9b;
  font-size: 14px;
  font-weight: 500;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  background-color: transparent;
}

button {
  background-color: #008cba;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #006f8e;
}

#download-button {
  background-color: #3fbb9b;
}

#download-button:hover {
  background-color: #268870;
}

footer {
  /* position: fixed; */
  left: 0;
  bottom: 0;
  width: 100%;
  /* background-color: #1f1f1f; */
  color: white;
  text-align: center;
  padding: 4px 0px;
  font-size: 12px;
  z-index: 1;
  flex: 0 0 auto;
  align-self: center;
  margin: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 12px;
  flex-wrap: wrap;
}

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

@media only screen and (max-width: 430px) {
  .logo-image {
    width: 140px;
  }

  button {
    width: 100%;
  }
  #download-link {
    width: 100%;
  }

  h1 {
    margin: 12px 0px;
  }

  .flex-vertical-2 {
    padding: 12px 0px;
  }
}
@media only screen and (max-width: 450px) {
  #container {
    margin: 0px 12px;
  }
}

@media only screen and (max-height: 736px) {
  .logo-image {
    padding-bottom: 40px;
  }
}
