:root {
  --primary: #f9f9f2;
  --white: #FDFDFB;
  --softblack: #0e1111;
  --lightblack: #1c1e1e;
  --lightgray: #9f9f9f;

  --cherry: #ff4d7c;
  --lettuce: #699900;
  --bluejay: #598eff;
}

html, body, .container {
    height: 100%;
    font-display: swap;
}

body {
    font-family: "Roboto Mono", monospace;
    font-weight: 400;
    color: var(--softblack);
    background-color: var(--white);
    margin: 0;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.item {
    max-width: 90%;
    padding: 0% 0% 12% 0%;
}

.flower {
    height: 2vh;
    width: 2vh;
    margin: 0px 0px -1px -1.5px;

}

.social-media {
    padding: 1vh;
    text-align: center;
}

.sm-icon {
    color: var(--lightblack);
}

.sm-icon:hover {
    color: var(--bluejay);
}

/* Email form */

.signup {
    padding: 1.25vh;
}

input, .submitted {
    font-family: "Roboto Mono", monospace;
    display: inline-block;
    border-radius: 0;
    -webkit-appearance: none;
}

.email {
    color: grey;
    background-color: var(--white);
    border: 2px dashed var(--lightgray);

    box-shadow: none;
    outline: none;
}

.email:focus {  /* redundant for required inputs */
    border: 2px dashed blue;
}

.email:valid {
    border: 2px dashed var(--lettuce);
}

.email:focus:invalid {
    border: 2px dashed var(--cherry);
}

.submit {
    border: 2px dashed transparent;  /* match height of .email */
    background-color: var(--lightblack);
    color: var(--primary);
}

.blink {
  animation: blinker 1s step-start infinite;
}

@keyframes blinker {
  50% {
    opacity: 50%;
  }
}

.submit:hover {
    background-color: var(--bluejay);
}

.submitted {
    border: 1.5px dashed transparent;  /* match height of .email */
    color: var(--lightgray);
    background-color: var(--primary) !important;
}

.hidden {
    display: none;
}

/* Reponsiveness */

p, h1 {
    font-size: 1.75vh;
    margin: 0.75vh;
}

h1 {
    font-weight: bold;
}

.fa-lg {
    font-size: 2.75vh;
    margin: 0vh 1.25vh;
}

@media only screen and (orientation: portrait) { /* phones */
    p, h1 { font-size: 2vh; margin: 1vh; }
    .fa-lg { font-size: 3.5vh; margin: 0vh 1.5vh; }
}