@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
.d-none {
  display: none;
}

::-webkit-input-placeholder {
  color: rgba(206, 151, 151, 0.6);
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: rgba(206, 151, 151, 0.4);
  font-size: 14px;
}

:-moz-placeholder {
  color: rgba(206, 151, 151, 0.6);
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: rgba(206, 151, 151, 0.4);
  font-size: 14px;
}

::-moz-placeholder {
  color: rgba(206, 151, 151, 0.6);
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: rgba(206, 151, 151, 0.4);
  font-size: 14px;
}

:-ms-input-placeholder {
  color: rgba(206, 151, 151, 0.6);
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: rgba(206, 151, 151, 0.4);
  font-size: 14px;
}

::input-placeholder {
  color: rgba(206, 151, 151, 0.6);
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: rgba(206, 151, 151, 0.4);
  font-size: 14px;
}

::placeholder {
  color: rgba(206, 151, 151, 0.6);
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: rgba(206, 151, 151, 0.4);
  font-size: 14px;
}

.submit-btn, label, .text-ctn, body {
  display: flex;
}

.submit-btn, label, body {
  align-items: center;
}

.submit-btn, body {
  justify-content: center;
}

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

body {
  font-family: "Josefin Sans", sans-serif;
  min-height: 100vh;
  font-size: 16px;
  background: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
}
@media only screen and (min-width: 720px) {
  body {
    align-items: baseline;
    overflow-x: clip;
  }
}

footer {
  display: none;
  z-index: 0;
  font-size: smaller;
}
@media only screen and (min-width: 1200px) {
  footer {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0.4;
  }
}
footer a {
  color: hsl(0, 36%, 70%);
}

main.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "logo" "image" "text-ctn";
  min-width: 320px;
  max-width: 375px;
  max-height: 800px;
  /* Desktop Layout */
}
@media only screen and (min-width: 720px) {
  main.grid-container {
    grid-template-columns: 1fr 1fr span;
    grid-template-rows: auto 1fr;
    grid-template-areas: "logo image" "text-ctn image";
    width: 100vw;
    max-width: 1440px;
    max-height: 830px; /* Full height layout */
  }
}

.logo-ctn {
  grid-area: logo;
  max-width: 100%;
  padding: 30px 37px;
}
@media only screen and (min-width: 720px) {
  .logo-ctn {
    padding: 65px 30px 15px;
    margin-left: clamp(80px, 7vw, 140px);
  }
}

.img-ctn {
  grid-area: image;
  height: fit-content;
}

picture img {
  max-width: 500px;
  display: block;
}
@media only screen and (min-width: 720px) {
  picture img {
    min-height: 800px;
  }
}
@media only screen and (min-width: 900px) {
  picture img {
    min-height: 700px;
    height: 100vh;
    max-height: 1024px;
  }
}

.text-ctn {
  grid-area: text-ctn;
  margin: 66px 29.5px 91px 29.5px;
  flex-direction: column;
  gap: 30px;
}
@media only screen and (min-width: 720px) {
  .text-ctn {
    max-width: 447px;
    margin-left: clamp(100px, 9vw, 160px);
  }
}

label {
  align-self: stretch;
  height: 50px;
  min-width: 316px;
  justify-content: space-between;
  border-radius: 30px;
  border: 1px solid rgba(206, 151, 151, 0.4);
  position: relative;
}
@media only screen and (min-width: 720px) {
  label {
    max-width: 95%;
  }
}
label::after {
  position: absolute;
  top: 125%;
  left: 15%;
}
label.error::after {
  content: "Please provide a valid email";
}
label.success::after {
  content: "Email address has been sent successfully";
  color: rgb(82, 219, 82);
}

input[type=email] {
  border: unset;
  height: 95%;
  border-radius: 30px;
  overflow: clip;
  width: 100%;
  padding-left: 24px;
  cursor: text;
}
input[type=email]:focus {
  outline: none;
  border: 1px solid hsl(0, 36%, 70%);
  -webkit-box-shadow: 0px 0px 5px hsl(0, 36%, 70%);
  box-shadow: 0px 0px 5px hsl(0, 36%, 70%);
}

.danger-btn {
  position: absolute;
  right: 24%;
}

.submit-btn {
  width: 64px;
  height: 50px;
  gap: 10px;
  flex-shrink: 0;
  border: unset;
  border-radius: 30px;
  background: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%));
  box-shadow: 0px 10px 30px 0px rgba(249, 98, 98, 0.4);
}
@media only screen and (min-width: 720px) {
  .submit-btn {
    width: 90px;
  }
}
.submit-btn:hover {
  border-radius: 30px;
  background: #F9D1D2;
  box-shadow: 0px 10px 30px 0px rgba(206, 151, 151, 0.8);
  cursor: pointer;
  transition: box-shadow 0.25s ease-in;
}

section {
  text-align: center;
}
@media only screen and (min-width: 720px) {
  section {
    text-align: left;
  }
}

h1 {
  text-transform: uppercase;
  color: hsl(0, 6%, 24%);
  font-size: 2.6875rem;
  font-weight: 400;
  letter-spacing: 8.6px;
}
@media only screen and (min-width: 720px) {
  h1 {
    font-size: 4rem;
  }
}
h1 span {
  color: hsl(0, 36%, 70%);
  font-size: 2.625rem;
  font-weight: 300;
  letter-spacing: 10.5px;
}
@media only screen and (min-width: 720px) {
  h1 span {
    font-size: 4rem;
  }
}

h1 + p {
  align-self: stretch;
  color: hsl(0, 36%, 70%);
  font-size: 1rem;
  font-weight: 400;
  line-height: 128%; /* 20.48px */
  letter-spacing: -0.8px;
}
@media only screen and (min-width: 720px) {
  h1 + p {
    font-size: 1.0625rem;
    max-width: 426px;
  }
}

label::after {
  color: #EE8C8C;
  font-size: 0.8125rem;
  opacity: 0.8;
}/*# sourceMappingURL=styles.css.map */