@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
  --cinza-escuro: #212121;
  --cinza-claro: #303030;
}

::-webkit-scrollbar {
  background: var(--cinza-escuro);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;

  &:focus {
    outline: none;
  }
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;
  padding: 2rem;
  background-color: var(--cinza-escuro);
  background-image: url(../neuralbg.png);
  background-size: cover;
  background-repeat: repeat-x;
  display: flex;
  flex-flow: column;
}

input {
  border-radius: 3.5rem;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  padding: 1rem 1.5rem;
  border-right: none;
  font-size: 1.7rem;
  background: var(--cinza-claro);
  color: #fff;
  width: 50rem;
}

.enviar {
  border-bottom-right-radius: 3.5rem;
  border-top-right-radius: 3.5rem;
  padding: 1rem 1.5rem;
  border-left: none;
  background: var(--cinza-claro);
  cursor: pointer;


  & .button-enviar {
    border-radius: 3.5rem;
    background: white;
    display: flex;
    aspect-ratio: 1/1;
    width: 4.5rem;
    height: 4.5rem;
    justify-content: center;
    align-items: center;

    & svg {
      width: 3.5rem;
      height: 3.5rem;
    }
  }
}

form {
  display: flex;
  gap: 0;
  position: fixed;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  justify-self: center;

  &>* {
    border: none;
  }

}

.status {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resultado {
  display: flex;
  justify-content: center;
  align-items: center;

  & img {
    max-width: 30rem;
    width: 100%;
    border-radius: 1.5rem;
  }
}

.download {
  display: flex;
  justify-content: center;
  align-items: center;

  & a {
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;

    &:is(:hover, :active) {
      text-decoration: underline;
      color: #fff;
    }
  }
}

.principaldivs {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.to-images {
  display: flex;
  gap: .5rem;
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: #505050;
  padding: .2rem;
  border-radius: .2rem;
}

a {
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;

  &:is(:hover, :active) {
    text-decoration: underline;
    color: #fff;
  }
}

@media all and (max-width:615px) {
  html {
    font-size: 56.25%;
  }

  input {
    width: 30rem;
  }
}