* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-image: url(images/bg-pattern-desktop.svg);
  min-height: 75vh;
}

.section {
  width: 100%;
}

.section .logo {
  padding: 35pt;
}
.section .bg {
  width: 100%;
}
.section .bg img {
  width: 100%;
}
.desktop {
  display: none;
}

.container {
  padding: 50pt;
  padding-bottom: 0pt;
  text-align: center;
}
.container h1 {
  line-height: 1;
  letter-spacing: 11px;
  margin-bottom: 15px;
}
.container span {
  color: hsl(0, 36%, 70%);
}
.container p {
  color: hsl(0, 36%, 70%);
  margin-bottom: 30px;
}

.container input {
  border: 1px solid hsl(0, 36%, 70%);
  border-radius: 20px;
  padding: 10px 30px 10px 10px;
}

.Email input::placeholder {
  color: hsl(0, 36%, 70%);
}
.Email button {
  background: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%));
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  position: absolute;
}
.Email button img {
  width: 7px;
}
#email-err {
  color: hsl(0, 93%, 68%);
  padding: 10px;
}

.input-wrapper {
  position: relative;
  display: inline-block;
  width: 75%;
}

#email {
  width: 100%;
  padding-right: 30px;
}

.input-icon {
  display: none;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  pointer-events: none;
}

@media screen and (min-width: 600px) {
  body {
    min-height: 95vh;
    display: flex;
    justify-content: center;
  }

  /* Optional: Adjust styles for smaller screens */
  .input-icon {
    width: 16px; /* Resize icon for smaller screens */
    height: 16px;
    right: 20px;
  }

  #email {
    font-size: 14px; /* Optional: Adjust font size for smaller screens */
    padding-right: 30px;
  }
  .section .bg {
    display: none;
  }
  .desktop {
    width: 100%;
    height: 100%;
    display: block;
  }
  .desktop img {
    width: 100%;
  }
  .container {
    padding: 50pt 15pt 0pt 40pt;
    text-align: start;
  }
}

.attribution {
  font-size: 11px;
  text-align: center;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}
