:root {
	--yellow: #f9b43a;
	--red: #ff6846;
	--orange: #f7872b;
	--green: #215b2c;
	--blue: #2a358f;
	--cream: #f9ebd2;
    --charcoal: #0b0b0b;
    --white: #ffffff;

      --placa: "placa", sans-serif;
}

body {
    background: var(--cream);
    background-color: var(--cream);
    margin: 0;
    font-family: "aptos", sans-serif;
color: var(--charcoal);
max-width: 60rem;
margin: 0 auto;
font-size: 1.1rem;
}

h2 {

    font-size: 1.5rem;
}

h1 {
    font-family: var(--placa);
    text-transform: uppercase;
    font-size: 4rem;
    line-height: 1;
    margin: 2rem 0 2rem 0;
}

b {
    font-weight: 900;
}

.site-header {
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 1rem 0;
}

.lang-toggle {
    display: inline-flex;
    border: 1px solid var(--charcoal);
}

.lang-toggle button {
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    background: transparent;
    color: var(--charcoal);
    border: 0;
    cursor: pointer;
}

.lang-toggle button[aria-pressed="true"] {
    background: var(--charcoal);
    color: var(--cream);
}


img {
    max-width: 100%;
}

/* sections */

section {
    padding: 1rem 1rem;
    max-width: 100%;
    margin: 0 auto;
}

#head {
    background-color: var(--cream);
}

#head h1 {
    font-size: clamp(3rem, min(16vw, 15vh), 8rem);
    width: 100%;
    margin: 0;
}

#head p {
    font-size: 1.4rem;
    /* line-height: 1.2; */
}

/* photo and headline share one grid cell so the headline overlaps the
   bottom of the photo; photo height is capped to keep the hero above the fold */
#bass-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    line-height: 0.9;
}

#bass-head > * {
    grid-area: 1 / 1;
}

#bass {
    position: relative;
    justify-self: center;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(52vh, 34rem);
    mix-blend-mode: hard-light;
}

.hero-title {
    align-self: end;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

#budgets{
    background-color: var(--red);
}

#cover-ups {
    background-color: var(--charcoal);
    color: var(--cream);    
}

#absences {
    background-color: var(--yellow);
}

#hand-outs {
    background-color: var(--orange);
}

#disclaimer {
  position: relative;
  z-index: 1;
  font-family: sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  text-align: center;
  padding: 1rem;
  max-width: 70rem;
  border: 1px solid var(--charcoal);
}

/* sources */

/* raise the number without letting it stretch the line box */
sup {
    font-size: 0.7em;
    line-height: 0;
    vertical-align: baseline;
    position: relative;
    top: -0.5em;
}

sup a {
    text-decoration: none;
    font-weight: 700;
    padding: 0 0.1em;
    color: var(--white);
}

sup a:hover {
    text-decoration: underline;
}

#sources {
    margin: 2rem 0;
    border-top: 1px dotted var(--charcoal);
    font-size: 0.85rem;
    
}

#sources h2 {
    font-size: 1rem;
    text-transform: uppercase;
}

#sources li {
    margin-bottom: 0.35rem;
    overflow-wrap: anywhere;
}

#sources a {
    color: inherit;
}

/* email signup */

#emails {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

#mc_embed_signup {
    max-width: 20rem;
}

#mc_embed_signup h2 {
    color: var(--charcoal);
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

#mc_embed_signup_scroll {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#form-names {
    display: flex;
    gap: 0.5rem;
}

#form-names .mc-field-group {
    flex: 1;
    min-width: 0;
}

#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
    border: 1px solid var(--charcoal);
    border-radius: 0.25rem;
    background: var(--cream);
    color: var(--charcoal);
}

#mc_embed_signup input[type="email"]::placeholder,
#mc_embed_signup input[type="text"]::placeholder {
    color: var(--charcoal);
    opacity: 0.6;
}

#mc_embed_signup input[type="email"]:focus,
#mc_embed_signup input[type="text"]:focus {
    outline: 2px solid var(--yellow);
    outline-offset: 1px;
}

.button {
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.7rem 1.5rem;
    background: var(--orange);
    color: var(--charcoal);
    border: 0;
    border-radius: 0.25rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.button:hover {
    background: var(--red);
}

#mce-responses .response {
    font-size: 0.9rem;
    color: var(--cream);
}

#mce-responses #mce-error-response {
    color: var(--yellow);
}

@media (max-width: 30rem) {
    #form-names {
        flex-direction: column;
    }
}
