@import url("https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,200;0,400;0,500;1,200;1,300;1,400&family=Poppins:ital,wght@1,400;1,500;1,600;1,700&family=Roboto:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
:root {
  --mobile-size: 375px;
  --Desktop-size: 1440px;
  --primary-color: hsl(4, 100%, 67%);
  --Dark-grey: hsl(234, 29%, 20%);
  --charcoal-grey: hsl(235, 18%, 26%);
  --grey-color: hsl(231, 7%, 60%);
  --white-color: hsl(0, 0%, 100%);
  --font-size: 16px;
  --family: "Roboto";
  --light: 400;
  --bold: 700;
}
body {
  width: 100%;
  min-height: 100vh;
  font-size: var(--font-size);
  font-family: var(--family), sans-serif;
  background-color: var(--charcoal-grey);
  display: flex;
  font-weight: var(--light);
  align-items: center;
  justify-content: center;
  list-style-image: url("./assets/images/icon-list.svg");
}
.container {
  background: var(--white-color);
  display: flex;
  justify-content: center;
  flex-flow: column wrap;
  max-width: var(--mobile-size);
  height: 100%;
}
.container > .photo {
  background: url("./assets/images/illustration-sign-up-mobile.svg");
  width: 100%;
  background-size: cover;
  height: 210px;
  border-radius: 0 0px 15px 15px;
}
label > p {
  display: inline;
  font-size: small;
  font-weight: 700;
}
.container > .content {
  padding: 5%;
  height: 100%;
}
ul {
  padding: 0px 1% 0% 8.2%;
}
li {
  padding: 2.5%;
}
.form {
  padding: 6.5% 0%;
  font-size: 0.75em;
  font-weight: var(--bold);
}
.error {
  background: rgba(255, 75, 75, 0.795);
  outline: dotted black;
  color: #000;
}
span {
  float: right;
}
input {
  width: 100%;
  margin: 7% 0% 0 0;
  height: 40px;
  text-indent: 20px;
  border-radius: 10px;
  border: none;
  outline: 0.5px solid var(--grey-color);
}
input[type="submit"]:hover,
input[type="button"]:hover {
  background-position: 100%;
  color: aqua;
}
input[type="submit"],
input[type="button"] {
  transition: all 0.5s ease-in-out;
  background-position: -450px -0px;
  background-repeat: no-repeat;
  background-image: linear-gradient(
    to right,
    rgb(240, 90, 115),
    rgb(245, 131, 10)
  );
  background-color: var(--Dark-grey);

  color: var(--white-color);
  font-weight: 700;
}
.pop img {
  width: 60px;
  height: 60px;
  margin: 5% 0 2% 0;
}
.pop {
  width: var(--mobile-size);
  position: absolute;
  background: var(--white-color);
  padding: 7.5%;
  display: none;
  line-height: 2em;
  height: 100vh;
  top: 0;
}
.pop .button {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: end;
}
.container-pop {
  width: 100%;
  height: 100%;
  padding: 30% 2% 0px 0px;
  display: flex;
  flex-flow: column;
}
.pop h1 {
  font-weight: 700;
}
.pop input[type="button"] {
  width: 100%;
}
.pop p {
  font-size: 0.8em;
  word-wrap: 2px;
  padding: 15px 0px 0px 0px;
  line-height: 1.5em;
  font-weight: 500;
}
@media screen and (min-width: 500px) {
  body {
    width: 100%;
    min-height: 100vh;
  }
  .container {
    background: var(--white-color);
    display: flex;
    justify-content: center;
    flex-flow: row-reverse;
    max-width: 100%;
    height: 80%;
    padding: 2% 1% 0% 0px;
    gap: 0.5em;
    border-radius: 10px;
  }
  .container > .photo {
    background: url("./assets/images/illustration-sign-up-desktop.svg");
    min-width: 150px;
    background-size: cover;
    min-height: 436px;
    border-radius: 0 0px 15px 10px;
  }
  .pop {
    position: absolute;
    width: 350px;
    height: 350px;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    padding: 0%;
  }
  .pop .container-pop {
    padding: 25px;
  }
  .pop img {
    width: 60px;
    height: 60px;
    margin: 0% 0 5% 0;
  }
  .pop .button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media screen and (max-width: 340px) {
  body {
    font-size: 12px;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
  }
  input[type="submit"],
  input[type="button"],
  input[type="text"] {
    max-width: 270px;
  }
  input[type="submit"],
  input[type="text"] {
    font-size: 12px;
    max-width: 200px;
  }
  .pop {
    max-width: 250px;
    position: absolute;
    background: var(--white-color);
    padding: 7.5%;
    line-height: 2em;
    height: 100%;
    top: 0;
  }
  .container-pop {
    width: 100%;
    height: 100%;
    padding: 30% 2% 0px 0px;
    display: flex;
    flex-flow: column;
  }
}
