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

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  /*CORES*/
  --primary_color: hsl(4, 100%, 67%);
  --Dark-Slate-Grey: hsl(234, 29%, 20%);
  --Charcoal-Grey: hsl(235, 18%, 26%);
  --Grey: hsl(231, 7%, 60%);
  --White: hsl(0, 0%, 100%);

  /*Font*/
  font-family: "Roboto", sans-serif;
}

html {
  font-size: 16px;
  background-color: var(--Dark-Slate-Grey);
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}
.container {
  background-color: var(--White);
  width: 60vw;
  height: 75vh;
  border-radius: 30px;
  display: flex;
}

.img-right {
  width: 100%;
  height: 100%;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  height: 100%;
  background-image: url(../images/illustration-sign-up-desktop.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

.content {
  width: 100%;
  padding: 5%;
  display: grid;
  justify-items: center;
  height: 100%;
}

.content h1 {
  color: var(--Dark-Slate-Grey);
}

ul img {
  width: 18px;
  margin-right: 10px;
}

li {
  margin-bottom: 10px;
  display: flex;
}

form {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}
button[type="submit"] {
  background-color: var(--Dark-Slate-Grey);
  color: var(--White);
  width: 100%;
  height: 47%;
  border-radius: 8px;
  margin-top: 15px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: var(--Charcoal-Grey);
}

label {
  font-weight: 700;
}

#text-email {
  font-size: 10px;
  align-self: flex-end;
  color: var(--primary_color);
  font-weight: 700;
}

input {
  border: none;
  box-shadow: 0px 0px 1px 1px var(--Grey);
  height: 40px;
  border-radius: 6px;
  padding: 10px;
  outline: none;
  margin-top: 5px;
  width: 100%;
}

.sucess {
  display: none;
  flex-direction: column;
  padding: 2%;
  width: 25vw;
  height: 65vh;
  max-height: 450px;
  max-width: 400px;
  background-color: var(--White);
  color: var(--Charcoal-Grey);
  border-radius: 20px;
  gap: 1.8rem;
}

.sucess h1 {
  font-weight: 700;
  font-size: 35px;
}

.sucess img {
  width: 18%;
}

.client-email {
  font-weight: 700;
}

.sucess button {
  height: 50px;
  background-color: var(--Dark-Slate-Grey);
  color: var(--White);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 1px 1px 10px 1px var(--Grey);
}

.sucess p {
  line-height: 1.4;
}
.sucess button:hover {
  background-image: linear-gradient(
    to right,
    hsl(345, 69%, 60%),
    hsl(4, 100%, 67%)
  );
}

/*Classes Dinamicas*/

.input-error {
  background-color: #f8cebd;
  box-shadow: 0px 0px 1px 1px var(--primary_color);
}

#display-none {
  display: none;
}

@media screen and (max-width: 475px) {
  .container {
    min-width: 360px;
    height: 100vh;
    width: 100vw;
    min-width: 300px;
    border-radius: 0;
    flex-direction: column-reverse;
  }

  .img-right {
    height: 50%;
    max-width: none;

    padding: 0;
  }
  .img-right-img {
    border-radius: 0px 0px 15px 15px;
    background-image: url(../images/illustration-sign-up-mobile.svg);
  }

  .sucess {
    padding: 40px 20px 0px 20px;
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .sucess button {
    margin-top: 40vh;
  }
}
