/*
  Sign in Blood primary styles
  v0.1 - landing page
*/

/* --- Main Styles --- */

:root {
  --bg: #300303;
  --bg-dark: #020202;
  --text: #222;
  --subtle-text: rgba(208, 207, 214, 0.7);
  --prominent-text: rgb(231, 231, 235);

  --alt-text: #e9b3b3;

  --brand-color: #5e0808;
  --brand-tint: #850e0e;
  --brand-shade: #300303;

  --brand-alt: #870d0d;

  --shadow: rgba(0, 0, 0, 0.7);
  --brand-shadow: rgba(65, 6, 6, 0.7);
}



/* --- Font Styles --- */

.anton-regular {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Template for setting up Work Sans variable font types
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.work-sans-<uniquifier> {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
*/

.work-sans-regular {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}



/* --- Site Styles --- */

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: var(--prominent-text);
  line-height: 1.618;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Anton", serif;
}

h1 {
  font-size: 3rem;
  line-height: 1.4;
  text-transform: uppercase;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.45;
}

/* --- Section Styles --- */

.page-header {
  display: flex;
  justify-content: start;
  height: 10vh;
  min-height: 5.5rem;
  padding: 0 2rem;

  color: var(--prominent-text);
  background-color: var(--bg-dark);
  box-shadow: 0 2px 3px var(--shadow);
  border-bottom-right-radius: 50%;
}

.site-name-container {
  display: flex;
  justify-content: center;
}

.site-name-container h1,
.site-name-container .site-logo {
  margin: 1rem;
}

.site-name-container .site-logo {
  max-height: 4rem;
  margin-right: 0.75rem;
}

.site-name-container h1 {
  margin-left: 0.75rem;
}

.page-footer {
  display: flex;
  position: relative;
  justify-content: end;
  height: 5vh;
  min-height: 2rem;
  padding: 1vh 2rem;
  color: var(--subtle-text);
  background-color: var(--bg-dark);
  box-shadow: 0 -2px 3px var(--shadow);
  border-top-left-radius: 50%;
}

.content-bg {
  background: var(--prominent-text);
}

.container,
.inner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container {
  width: 100%;
  min-height: 25rem;
  height: 85vh;
}

.inner-container {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg) 10%, var(--bg-dark) 40%);
  box-shadow: 0 2px 5px var(--shadow);
}

.cta-container {
  width: 90vw;
  min-height: 15rem;
  height: 50vh;
  padding: 2rem;
  background-color: var(--shadow);
  border-top-left-radius: 35%;
}

.cta-container div {
  max-width: 550px;
  margin: 0 auto;
}

.cta-header {
  font-size: calc(2rem + 1vw)
}

/* --- Subscription Form --- */

.subscribe-container {
  width: 100%;
  min-height: 15vh;
}

.cta-click-box {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1rem;
  background-color: var(--bg);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.5);

  transition: all 0.2s ease-in-out;
}

.cta-click-box a {
  color: #ddd;
}

.cta-box-title {
  text-align: center;
  font-size: calc(1.2em + 0.59vw);
  margin: 0;
  color: #ddd;
}

.subscribe-box {
  margin: 2rem auto 4rem;
}

.subscribe-content {
  width: 90%;
  max-width: 550px;
  height: 2.5rem;
  margin: 1rem 1rem 0;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, .2);
  overflow: hidden;
}

#subscription-form {
  position: relative;
  width: 100%;
  height: 100%;
}

#subscription-form .add-email{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 1.25rem;

  background-color: var(--bg-dark);
}

#subscription-form .submit-email {
  position: absolute;
  top: 0;
  right: 0;
  height: calc(100% - 2px);
  width: 7.5rem;
  padding: 0.5rem 1.25rem;
  margin: 1px;

  border: none;
  outline: none;

  cursor: pointer;
  background: var(--brand-color);
  color: #ddd;
  transition: all .2s ease-in-out;
}

#subscription-form .submit-email:hover {
  background: var(--brand-alt, #870d0d);
  transition: all 0.2s ease-in-out;
}

#subscription-form.done .submit-email {
  width: calc(100% - 2px);
  background: var(--brand-shade);
}

.before-submit,
.after-submit {
  background: transparent;
}

#subscription-form .before-submit,
#subscription-form .after-submit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 2.25rem;
  transition: visibility .35s ease-in-out,
              opacity .35s ease-in-out;
}

#subscription-form.done .before-submit,
#subscription-form:not(.done) .after-submit {
  visibility: hidden;
  opacity: 0;
}

#subscription-form .submit-email .after-submit {
  transition-delay: .35s;
}

#subscription-form:not(.done) .before-submit,
#subscription-form.done .after-submit {
  visibility: visible;
  opacity: 1;
}

#subscribe-email {
  font-size: calc(0.8rem + 0.2vw);
}

.cursive {
  font-family: "Fuggles", serif;
  font-size: 2rem;
}

.default-button {
  padding: 0.5rem 1rem;
  margin: 1rem;
  background-color: var(--brand-color);
  border: 1px solid var(--brand-tint);
  color: var(--text);

  box-shadow: 0 2px 3px var(--shadow);

  cursor: pointer;
}



  /* --- Media Queries --- */

@media screen and (min-width: 800px) {
  .cta-header {
    font-size: 2.5rem;
  }

  .cta-container,
  .subscribe-container {
    max-width: 750px;
  }
}
