:root {
  --Red: hsl(0, 100%, 74%);
  --Green: hsl(154, 59%, 51%);
  --Blue: hsl(248, 32%, 49%);
  --DarkBlue: hsl(249, 10%, 26%);
  --GrayishBlue: hsl(246, 25%, 77%);
}

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque&family=Dosis:wght@200;300;400;500;600;700;800&family=Lato:ital,wght@0,100;0,300;0,400;1,100;1,300;1,400&family=Montserrat:wght@300;400;500;600;700;800&family=Outfit:wght@100;200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,100;1,300;1,400&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins";
}

body {
  font-size: 16px;
  background: url(./images/bg-intro-desktop.png);
}

section {
  max-width: 100%;
  width: 50%;
  margin: auto;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url(./images/bg-intro-desktop.png);
  background-color: var(--Red);
}

#head {
  display: flex;
  flex-direction: column;
  width: 700px;
  padding-left: 100px;
  justify-content: center;

  align-items: center;
  padding: 125px;
  gap: 25px;

  margin-right: 100px;
}

h1 {
  font-size: 45px;
  line-height: 56px;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

#head p {
  font-size: 15px;
  font-size: 800;
  color: var(--DarkBlue);
  text-align: center;
}

#section__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.try {
  background-color: var(--Blue);
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  width: 500px;
  text-align: center;
  color: #fff;
}

.try strong {
  font-weight: 600;
}
.form__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  width: 500px;
  height: 460px;
  border-radius: 10px;
  gap: 20px;
}

.form__field input {
  height: 50px;
  width: 450px;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #efefee;
  font-weight: 600;
  cursor: pointer;
}


/*error*/

.error {
  background-repeat: no-repeat;
  border: 2px solid var(--Red);
  background-image: url(./images/icon-error.svg);
  background-position: 95% 50%;
  border-radius: 5px;
}

.error-text {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  font-style: italic;
  align-items: flex-end;
  color: var(--Red);
  font-weight: 600;
}

/*success*/

.success {
  border: 2px solid var(--Green);
  border-radius: 5px;
}

input:focus,
.btn:focus {
  border-color: hsl(228, 45%, 44%);
  outline: none;
  color: hsl(228, 45%, 44%);
}

.form__field span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  font-size: 12px;
}

.btn {
  padding: 10px;
  height: 50px;
  width: 450px;
  text-align: center;
  background-color: var(--Green);
  border: none;
  cursor: pointer;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

a {
  color: var(--Red);
  font-weight: 800;
  text-decoration: none;
}

footer {
  background: url(./images/bg-intro-desktop.png);
  background-color: var(--Red);
}
