@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  --clr-primary-200: #f3eed9;
  --clr-primary-400: red;

  --clr-header-bg: #f5f5f5;
  --clr-body-bg: #f8f8f8;
  --clr-body-link: #ea7800;
  --clr-body-box: #fff;

  --ff-title: "Poppins", sans-serif;
  --ff-body: "Lora", serif;
}

/* page elements */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--ff-body);
  font-size: 1.2rem;
  background-color: var(--clr-body-bg);
  line-height: 1.5;
}

section {
  padding: 1em;
  width: min(100%, 45rem);
  margin-inline: auto;
}

img {
  max-width: 100%;
  display: block;
}

img.twitter-icon {
  opacity: 0.8;
  filter: alpha(opacity=50);
}

img:hover.twitter-icon {
  opacity: 1;
  filter: alpha(opacity=100);
}

ul.highlight {
  list-style-type: none;
  background-color: var(--clr-body-box);
  padding: 0.9em;
  font-family: var(--ff-title);
  font-size: 0.8em;
  line-height: 1.65;
  padding-left: 35px;
}

.gap-1 {
  width: 100%;
  height: 1em;
}

/* text */

a {
  text-decoration: none;
  color: var(--clr-body-link);
}

h1 {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: clamp(2.5rem, 10vw, 3.25rem);
  line-height: 1;
  margin-block: 0.75em;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

.note {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 1rem;
}

/* navigation */

#header {
  border-bottom: 0.75px solid #909090;
  background-color: var(--clr-header-bg);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, 55rem);
  padding-block: 1rem;
  margin-inline: auto; /* center */
}

.media-type {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 0.9rem;
}

#footer {
  border-top: 0.75px solid #909090;
  background-color: var(--clr-header-bg);
  font-family: var(--ff-title);
  text-align: center;
  /* margin-bottom: 1em; */
}

#footer img {
  margin: auto;
}

#footer ul {
  list-style-type: none; /* removes bullets */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  line-height: 0; /* removes gap between links when wrapped on small screens */
  font-weight: 700;
}

#footer li {
  display: inline;
  padding: 0.75em;
}

#footer p {
  font-size: 0.75rem;
  color: #666666;
}

.footer-links-small li {
  font-size: 0.95rem;
}

/* .footer-links-small a {
  color: #606060;
} */
