@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Josefin Sans", sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}
@media (min-width: 1300px) {
  body {
    margin-right: 50%;
    background-image: url("../images/bg-pattern-desktop.svg");
    background-repeat: no-repeat;
    background-size: 65%;
    background-position: left top;
  }
}

header {
  padding: 2rem 2rem 0 2rem;
  align-self: start;
}
@media (min-width: 1300px) {
  header {
    align-self: center;
    width: 100%;
    max-width: 30rem;
    margin: auto;
    text-align: left;
  }
}
header img {
  transform: scale(0.8);
}

main {
  flex: 1;
}
main img {
  width: 100%;
}

img {
  max-width: 100%;
}

@media (min-width: 480px) {
  .mobile-img {
    display: none;
  }
}

.tablet-img {
  display: none;
}
@media (min-width: 480px) {
  .tablet-img {
    display: block;
  }
}
@media (min-width: 1300px) {
  .tablet-img {
    display: none;
  }
}

.desktop-img {
  display: none;
}
@media (min-width: 1300px) {
  .desktop-img {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    height: auto;
    min-height: 100vh;
    width: auto;
    max-width: 50%;
    overflow: hidden;
  }
}

h1 {
  font-weight: 300;
  color: hsl(2.37, 30.16%, 49.41%);
  text-transform: uppercase;
  letter-spacing: 16px;
  font-size: 3rem;
  margin: 2rem;
}
@media (min-width: 1300px) {
  h1 {
    margin: 2rem 0;
  }
}
h1 strong {
  color: black;
  font-weight: 600;
}

p {
  color: hsl(2.37, 30.16%, 49.41%);
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 300;
  margin: 2rem 0;
}

input {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 2rem;
  border: 1px solid hsl(2.37, 30.16%, 49.41%);
  color: hsl(2.37, 30.16%, 49.41%);
  background: transparent;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  height: 56px;
  padding-right: 8rem;
}
input::-moz-placeholder {
  color: hsl(2.37, 30.16%, 49.41%);
}
input::placeholder {
  color: hsl(2.37, 30.16%, 49.41%);
}
input.error {
  border-color: hsl(0, 73.05%, 51.07%);
  background-image: url("../images/icon-error.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 6.5rem);
}

#error-msg {
  margin: 0.5rem 2rem;
  font-size: 0.9rem;
  color: hsl(0, 73.05%, 51.07%);
  text-align: left;
}

form {
  position: relative;
}

button {
  position: absolute;
  right: 0;
  padding: 1rem 2rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%));
  border: unset;
  height: 56px;
  box-shadow: 0 6px 16px 0 hsla(0, 93%, 68%, 0.3);
  cursor: pointer;
  background-size: 300% 100%; /* Make the gradient wider than the element */
  background-position: -100px 0%;
  transition: background-position 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 768px) {
  button {
    padding: 1rem 2.5rem;
  }
}
button:hover, button:focus, button:active {
  background-position: 0%;
  box-shadow: 0 3px 10px 0 hsla(0, 93%, 68%, 0.4);
}

.content {
  padding: 2rem;
  max-width: 30rem;
  margin: auto;
}
@media (min-width: 1300px) {
  .content {
    text-align: left;
    padding: 3rem;
  }
}

footer {
  margin-top: auto;
  padding: 1rem;
}/*# sourceMappingURL=styles.css.map */