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

body {
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  background-color: white;
  color: black;
  line-height: 1.4;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* Background images */
.mobile-bg-image {
  display: block;
  width: 100%;
  height: 22rem;
  background-image: url(images/sc-bbq-project_book-cover.png);
  background-size: 180%;
  background-position: 85% 44%;
  background-repeat: no-repeat;
}

.desktop-bg-image {
  display: none;
}

/* Content wrapper */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1rem;
  background-color: #eeeeee;
  position: relative;
  z-index: 10;
}

.main-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 26.0625rem; /* 417px */
  gap: 2rem;
  /*background-color: #ffffff;*/
}

/* Header section */
.header-section {
  display: flex;
  flex-direction: column;
  gap: 1.0625rem; /* 17px */
  width: 100%;
}

.main-title {
  font-family: 'Rockwell', serif;
  font-weight: bold;
  color: #3f1c0c;
  font-size: 1.375rem; /* 22px */
  letter-spacing: 0.20625rem; /* 3.3px */
  line-height: normal;
  margin-top: -1px;
}

.subtitle {
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  font-weight: normal;
  color: black;
  font-size: 1rem; /* 16px */
  letter-spacing: 0;
  line-height: normal;
}

/* Body section */
.body-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.description-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.description {
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  font-weight: normal;
  color: black;
  font-size: 1rem; /* 16px */
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: -1px;
}

.coming-soon {
  font-family: 'Rockwell', serif;
  font-weight: bold;
  color: #55371e;
  font-size: 0.75rem; /* 12px */
  letter-spacing: 0.1125rem; /* 1.8px */
  line-height: normal;
}

/* Signup section */
.signup-section {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem; /* 3px */
  width: 100%;
}

.signup-label {
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  font-weight: normal;
  color: black;
  font-size: 1rem; /* 16px */
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: -1px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px */
  width: 100%;
}

.email-input {
  flex: 1;
  background-color: #f6f6f6;
  border-radius: 0.4375rem; /* 7px */
  border: 1px solid #999;
  padding: 0.6875rem 0 0.3125rem 0.8125rem; /* 11px 0 5px 13px */
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  font-weight: normal;
  font-size: 1rem; /* 16px */
  letter-spacing: 0;
  line-height: normal;
  width: 100%;
}

.email-input::placeholder {
  color: #999999;
}

.email-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3f1c0c;
}

.notify-button {
  width: 6.625rem; /* 106px */
  padding: 0.6875rem 0 0.3125rem 0; /* 11px 0 5px 0 */
  background-color: #3f1c0c;
  border-radius: 0.4375rem; /* 7px */
  border: none;
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem; /* 16px */
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.notify-button:hover {
  background-color: rgba(63, 28, 12, 0.9);
}

.notify-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(63, 28, 12, 0.5);
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 25rem; /* 400px */
  gap: 0.9375rem; /* 15px */
  flex: 1;
  /*background-color: #eeeeee;*/
  padding: 1rem 2rem 2rem 2rem;
  margin: 0 -1rem;
}

.publisher-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.published-by {
  width: 100%;
  max-width: 24.125rem; /* 386px */
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  font-weight: normal;
  color: black;
  font-size: 0.625rem; /* 10px */
  letter-spacing: 0;
  line-height: normal;
  margin-top: -1px;
}

.publisher-logo {
  width: 10.5625rem; /* 169px */
  /*height: 2.25rem;*/ /* 36px */
  object-fit: cover;
}

.funding-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 24.125rem; /* 386px */
  gap: 0.4375rem; /* 7px */
}

.funding-logo {
  width: 3.625rem; /* 58px */
  height: 1.25rem; /* 20px */
}

.funding-text {
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  font-weight: normal;
  color: black;
  font-size: 0.625rem; /* 10px */
  letter-spacing: 0;
  line-height: normal;
}

.copyright-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.copyright-text {
  font-family: 'ITC Franklin Gothic Std', Arial, sans-serif;
  font-weight: normal;
  color: #999;
  font-size: 0.625rem; /* 10px */
  letter-spacing: 0;
  line-height: normal;
}

/* Desktop styles */
@media (min-width: 768px) {
  .mobile-bg-image {
    display: none;
  }

  .desktop-bg-image {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/sc-bbq-project_book-cover.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .content-wrapper {
    height: 64rem; /* 1024px */
    align-items: flex-start;
    justify-content: center;
    gap: 5.8125rem; /* 93px */
    padding: 0 1.4rem 0 8.4375rem; /* 0 22.4px 0 135px */
    background-color: transparent;
  }

  .main-content {
    gap: 4rem; /* 64px */
  }

  .description-section {
    gap: 4.125rem; /* 66px */
    margin-bottom: -0.8125rem; /* -13px */
  }

  .body-section {
    gap: 3.4375rem; /* 55px */
  }

  .signup-form {
    flex-direction: row;
    align-items: center;
    gap: 0.6875rem; /* 11px */
  }

  .email-input {
    width: auto;
    border: none;
  }

  .footer {
    flex: 0 0 auto;
    background-color: transparent;
    padding: 0;
    margin: 0;
  }

  .copyright-text {
    color: #000;
  }
}