@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&family=Luxurious+Script&display=swap');

:root {
	/* Color variables */
  --primary-bg-color: #FFFDFC;
  --secondary-bg-color: #FEDBD4;
  --dark-secondary-bg-color: #FDC9BE;
  --invert-bg-color: #F84C26;
  --primary-text-color: #F84C26;
  --secondary-text-color: #F9C5B9;
  --invert-text-color: #FFFFFF;

  /* Font variables */
  --sans-font:"Archivo Narrow", Arial, sans;
  --serif-font:"PP Right Serif Narrow", Georgia, serif;
	--script-font:"Luxurious Script", Georgia, serif;
}

body {
  margin: 0;
  width: 100vw;
  height: 100vh;
}

.container {
  width: 100%;
  height: 100%;
  background: var(--invert-bg-color);
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ceiling-flowers {
  max-width: 900px;
}

.double-happy {
  position: absolute;
  margin-right: 0;
  margin-left: 0;
  top: 1rem;
}

.login-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 66vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#login {
  max-width: 420px;
  width: 100%;
  padding: 2rem;

  & > * + * {
    margin-top: 1rem;
  }

  & > label, p {
    display: block;
    font-family: var(--sans-font);
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    color: white;
  }
  & > p {
    font-size: 16px;
    font-weight: 200;
  }

  & > .input-container {
    display: flex;
    position: relative;
    width: 100%;
    border-radius: 999px;
    background: #FEEDE9;
    align-items: center;

    & > input {
      width: 100%;
      height: 100%;
      padding: 1rem 1.25rem;
      background: none;
      border-radius: 999px;
      color: var(--primary-text-color);
      border: none;
      outline-color: var(--secondary-text-color);

      font-family: var(--sans-font);
      font-size: 20px;
      font-weight: 200;

      &::placeholder {
        color: var(--secondary-text-color);
        opacity: 0.8;
      }
      &:is(:-webkit-autofill, :autofill) {
        color: var(--primary-text-color);
        border: 1px solid var(--secondary-text-color);
      }
    }

    & > button {
      position: absolute;
      right: 1rem;
      padding: 0.5rem 0.75rem;
      border-radius: 999px;
      background: white;
      border: none;
      color: var(--primary-text-color);
      font-family: var(--sans-font);
      font-size: 18px;
      font-weight: bold;
      cursor: pointer;
      &:hover {
        opacity: 0.8;
      }
    }
  }
}

#email-sent {
  & > div, p {
    width: 420px;
    display: block;
    font-family: var(--sans-font);
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    color: white;
  }
  & > p {
    display: block;
    font-size: 16px;
    font-weight: 200;
  }
}