@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Luxurious+Script&family=Pinyon+Script&display=swap');

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

/* Full viewport background */
body {
  height: 100vh;
  overflow: hidden;
  /*background-image: url("background.jpg");*/ /* replace with your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  font-family: Arial, sans-serif;
}

/* Centered div */
.center-box {
    max-width: 500px;
  text-align: center;
  border-radius: 8px;
  color: #111;
}

img {
    position: fixed;
inset: 0; /* top:0; right:0; bottom:0; left:0 */
width: 100%;
height: 100%;
object-fit: cover; /* behaves like background-size: cover */
object-position: center;
z-index: -1;
}

h1 {
    font-family: 'Times New Roman', Times, serif;
    text-transform: uppercase;
}

h2 {
    font-family: 'Luxurious Script', cursive;
    font-size: 5rem;
    line-height: 0.8;
}

h2 span {
    font-family: 'Instrument Serif', serif;
    color: #ff5757;
    text-transform: uppercase;
}

p {
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 20px;
}

#newsletterForm {
    position: absolute;
    top: 78vh;
    width: 500px;
    left: calc(25% - 250px);
    text-align: center;
}

#newsletterForm input[type="email"] {
    margin: 0 auto 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #fff;
    color: #111;
    cursor: pointer;
    border: #111 1px solid;
    width: calc(100% - 40px);
}

#newsletterForm button {
    display: inline-block;
    margin: 0 auto;
    padding: 10px 40px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #111;
    color: #fff;
    cursor: pointer;
    border: #333 1px solid;
    height: auto;
}

#signup-status {
    position: absolute;
    top: 90vh;
    width: 50%;
    text-align: center;
    font-size: 14px;
}

#signup-status.success {
    color: #084410;
}

#signup-status.error {
    color: #b00020;
}

.parallax {
    width: 50%;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
}

.parallax img {
    display: block;
    height: 100%;
    width: auto;
    margin-left: auto;
}
@media screen and (max-width: 1050px) {
    #newsletterForm {
        top: 53vh;
        width: 350px;
        left: calc(50% - 175px);
    }
    .parallax {
        display: none;
    }
    #signup-status {
        padding: 10px 15%;
        top: 70vh;
        width: auto;
    }
    #signup-status.success, #signup-status.error {
        background: #fff;
    }

}

@media screen and (max-width: 600px) {
    .center-box {
        padding: 0 20px;
    }
    
    h2 {
        font-size: 3.5rem;
    }
}