@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap");
:root {
  --error: hsl(0, 100%, 66%);
  --neutral0: hsl(0, 0%, 100%);
  --neutral300: hsl(252, 6%, 83%);
  --neutral500: hsl(245, 15%, 58%);
  --neutral700: hsl(245, 19%, 35%);
  --neutral900: hsl(248, 70%, 10%);
  --orange500: hsl(7, 88%, 67%);
  --orange700: hsl(7, 71%, 60%);
  --gradient-text: hsl(7, 86%, 67%) to hsl(0, 0%, 100%);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inconsolata", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  background: var(--neutral500);
  display: flex;
  flex-direction: column;
  align-items: center;
  /*  height: 100vh; */
  color: var(--neutral0);
  margin: 25px;
}
.heading {
  display: flex;
  gap: 15px;
}
.squiggly__line__img,
.pattern__lines,
.pattern__circle,
.squiggly__line__bottom {
  position: absolute;
}
.squiggly__line__img {
  top: 0;
  right: 0;
  height: 35%;
}
.pattern__lines {
  width: 100%;
  height: 100%;
  top: 0;
}
.pattern__circle {
  top: 65%;
  left: 80%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.squiggly__line__bottom {
  bottom: 0;
  left: 0;
  height: 500px;
  width: 600px;
  background: url(./assets/pattern-squiggly-line-bottom-desktop.svg) no-repeat
    center center / cover;
}
.pattern__lines,
.squiggly__line__bottom {
  z-index: -1;
}
#form {
  width: 35%; /* destopk */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.heading2 {
  font-size: 2rem;
}
.main__paragraph,
#drop__area p {
  color: var(--neutral300);
}
.heading,
.heading2,
.main__paragraph,
.heading__result {
  margin-bottom: 30px;
}
.upload {
  margin-bottom: 10px;
  width: 100%;
}
.upload__tittle {
  margin-bottom: 15px;
}
.upload__tittle,
.label {
  font-size: 18px;
}
.label {
  margin-bottom: 15px;
  width: fit-content;
}
#drop__area {
  border: 2px dashed var(--neutral300);
  width: 100%;
  height: 160px;
  border-radius: 15px;
  /* Flex */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: hsla(252, 6%, 83%, 0.11);
  transition: background-color 0.3s ease;
}
.drag__and__drop__options {
  display: none;
  gap: 20px;
}
.upload__button {
  display: flex;
}
.drag__and__drop__paragraph {
  display: none;
}
.remove,
.change {
  background-color: var(--neutral500);
  color: var(--neutral0);
  padding: 10px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}
.remove {
  text-decoration: underline;
}
#drop__area:hover,
.input:hover {
  cursor: pointer;
  background-color: var(--neutral700);
}
.input {
  margin-bottom: 10px;
  color: var(--neutral0);

  border-radius: 5px;
  border: 1px solid var(--neutral0);
  padding-left: 10px;

  background: hsla(252, 6%, 83%, 0.11);
  outline: none;
  transition: background-color 0.3s ease;
}
#img__container {
  padding: 10px;
  border: 1px solid var(--neutral300);
  border-radius: 15px;
  background: var(--neutral700);
  margin-bottom: 10px;
  background-position: center;
  background-size: cover;
}

#img__container img {
  height: 45px;
}
.info {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 30px;
}
.input__alert__icon {
  visibility: hidden;

  display: flex;
  align-items: center;
  gap: 10px;
}
.info p {
  font-size: 12px;
  color: var(--neutral300);
}
.info__icon {
  margin-right: 10px;
}
.input__container {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  width: 100%;
}
.button {
  color: var(--neutral900);
  background-color: var(--orange500);
  border-radius: 5px;
  border: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-bottom: 50px;
}

.button:hover {
  background-color: var(--orange700);
  cursor: pointer;
  transition: all 0.2s;
  transform: translateY(-3px);
  box-shadow: 0px 3px 6px rgba(250, 242, 242, 0.3);
}
.input,
.button {
  height: 50px;
  font-size: 16px;
}
#name__result {
  font-weight: bold;
  background: linear-gradient(to right, hsl(7, 86%, 67%), hsl(0, 0%, 100%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: capitalize;
}
#email__result {
  color: var(--orange500);
}
.ticket {
  width: 100%;
  position: relative;
}
.heading__logo {
  background: url(./assets/logo-full.svg);
  height: 30px;
  width: 30px;
}
.result__tittle {
  font-weight: bold;
  margin-bottom: 8px;
}
#date__time {
  color: var(--neutral500);
}
.perfil__info {
  position: absolute;
  bottom: 0;
  left: 0;

  display: flex;
  gap: 20px;
}
.one__side {
  flex: 1;
}
.two__side {
  flex: 3;
}
.ticket__title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: fit-content;
  position: absolute;
}
#perfil__info__p {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.github_icon_container {
  display: flex;
  align-items: center;
  gap: 5px;
}
.github__img {
  height: 30px;
}
#img__container__perfil {
  padding: 10px;
  border: 1px solid var(--neutral300);
  border-radius: 15px;
  background: var(--neutral700);
  margin-bottom: 10px;
  background-position: center;
  background-size: cover;
  height: 60px;
  width: 60px;
}
.ticket__number {
  position: absolute;
  top: 48%;
  transform: translate(-50%, -50%) rotate(90deg);
  color: var(--neutral500);
  white-space: nowrap;
  font-size: 1.5rem;
}
.result {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: fit-content;
}
.show__overlay {
  display: flex;
}
.hidden {
  visibility: hidden;
}
.logo {
  background: url(./assets/pattern-ticket.svg) no-repeat center center / cover;
  background-size: contain;
  padding: 15px;
  position: relative;
  height: 300px;
}
/* error */
.error-message {
  color: var(--error);
}
/* Responsive Design */
@media (min-width: 310px) and (max-width: 480px) {
  body {
    background: url(./assets/background-mobile.png) no-repeat center center /
      cover;
  }
  #form {
    width: 95%;
  }
  .squiggly__line__img {
    height: 10%;
  }
  .pattern__lines {
    height: 80%;
  }
  .pattern__circle {
    top: 80%;
    left: 65%;
    width: 40%;
  }
  .squiggly__line__bottom {
    height: 200px;
    width: 250px;

    background: url(./assets/pattern-squiggly-line-bottom-mobile-tablet.svg)
      no-repeat center center / cover;
  }
  .heading__result {
    font-size: 2rem;
  }
  .main__paragraph {
    font-size: 1.1rem;
  }
  .result {
    width: 90%;
    top: 45%;
  }
  .logo {
    height: 200px;
  }
  .perfil__info {
    bottom: 25px;
    left: 10px;
  }
  .ticket__title {
    top: 20px;
  }
  .ticket__number {
    font-size: 1.2rem;
    left: 85%;
  }
  .result__tittle {
    font-size: 1.6rem;
  }
  #date__time {
    font-size: 14px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  body {
    background: url(./assets/background-tablet.png) no-repeat center center /
      cover;
  }
  #form {
    width: 75%;
  }
  .squiggly__line__img {
    height: 12%;
  }
  .squiggly__line__bottom {
    height: 200px;
    width: 250px;

    background: url(./assets/pattern-squiggly-line-bottom-mobile-tablet.svg)
      no-repeat center center / cover;
  }
  .heading__result {
    font-size: 2.3rem;
  }
  .main__paragraph {
    font-size: 1.5rem;
  }
  .result {
    width: 70%;
    top: 50%;
  }
  .logo {
    height: 220px;
  }
  .perfil__info {
    bottom: 25px;
    left: 30px;
  }
  .ticket__title {
    top: 25px;
    left: 30px;
  }
  .ticket__number {
    font-size: 1.5rem;
    left: 83%;
  }
  .result__tittle {
    font-size: 1.8rem;
  }
  #date__time {
    font-size: 16px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  body {
    background: url(./assets/background-tablet.png) no-repeat center center /
      cover;
  }
  #form {
    width: 50%;
  }
  .squiggly__line__img {
    height: 15%;
  }
  .squiggly__line__bottom {
    height: 200px;
    width: 250px;

    background: url(./assets/pattern-squiggly-line-bottom-mobile-tablet.svg)
      no-repeat center center / cover;
  }
  .heading__result {
    font-size: 2.3rem;
  }
  .main__paragraph {
    font-size: 1.5rem;
  }
  .result {
    width: 60%;
    top: 55%;
  }
  .perfil__info {
    bottom: 40px;
    left: 45px;
  }
  .ticket__title {
    top: 40px;
    left: 45px;
  }
  .ticket__number {
    font-size: 2rem;
    left: 89%;
  }
  .result__tittle {
    font-size: 2.3rem;
  }
  #date__time {
    font-size: 18px;
  }
  .github__img {
    height: 40px;
  }
  #perfil__info__github {
    font-size: 18px;
  }
  #img__container__perfil {
    height: 80px;
    width: 80px;
  }
}

@media (min-width: 1201px) and (max-width: 1600px) {
  body {
    background: url(./assets/background-desktop.png) no-repeat center center /
      cover;
  }
  .squiggly__line__img {
    height: 30%;
  }
  .heading__result {
    font-size: 2.5rem;
  }
  .main__paragraph {
    font-size: 1.8rem;
  }
  .result {
    width: 45%;
    top: 55%;
  }
  .logo {
    height: 300px;
  }
  .perfil__info {
    bottom: 40px;
    left: 40px;
  }
  .ticket__title {
    top: 25px;
    left: 40px;
  }
  .ticket__number {
    font-size: 2rem;
    left: 86%;
  }
  .result__tittle {
    font-size: 2.5rem;
  }
  #date__time {
    font-size: 24px;
  }
  .github__img {
    height: 45px;
  }
  #perfil__info__github {
    font-size: 18px;
  }
  #img__container__perfil {
    height: 90px;
    width: 90px;
  }
}

@media (min-width: 1601px) {
  body {
    background: url(./assets/background-desktop.png) no-repeat center center /
      cover;
  }
  .heading__result {
    font-size: 2.8rem;
  }
  .main__paragraph {
    font-size: 2rem;
  }
  .result {
    width: 35%;
  }
  .logo {
    height: 400px;
  }
  .perfil__info {
    bottom: 80px;
    left: 40px;
  }
  .ticket__title {
    top: 75px;
    left: 40px;
  }
  .ticket__number {
    font-size: 2.5rem;
    left: 86%;
  }
  .result__tittle {
    font-size: 3.2rem;
  }
  #date__time,
  #perfil__info__p {
    font-size: 1.8rem;
  }
  .github__img {
    height: 60px;
  }
  #perfil__info__github {
    font-size: 24px;
  }
  #img__container__perfil {
    height: 120px;
    width: 120px;
  }
}
