/* Preserved advanced visual lesson, now Phase 6 */

@font-face {
  font-family: "Pacifico";
  src: url("./fonts/Pacifico-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  padding: 24px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Outfit", Arial, Helvetica, sans-serif;
  background: #e8eef5;
  color: #15202b;
}

a {
  color: inherit;
}

.page {
  margin: 0 auto;
  padding: 0;
  width: 720px;
  display: block;
  font-family: inherit;
  color: inherit;
}

nav {
  margin: 0 0 24px 0;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
}

nav a {
  margin: 0;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  background: #d5e0ec;
  display: block;
  border: 1px solid #a9b8c9;
  border-radius: 8px;
  text-align: center;
}

header,
.box,
.box-alt,
.article-body {
  margin: 0 0 16px 0;
  padding: 20px 24px;
  background: #f8fafc;
  display: block;
  border: 1px solid #c9d4e0;
  border-radius: 12px;
  color: inherit;
}

header {
  background: #16324f;
  border: 2px solid #0d2136;
  color: #f4f7fb;
  text-align: center;
}

header h1,
header h2 {
  margin: 0 0 8px 0;
  padding: 0;
  color: inherit;
}

header h1 {
  font-size: 32px;
  font-weight: 700;
}

header h2 {
  font-size: 16px;
  font-weight: 400;
}

.box-alt {
  background: #dceaf7;
  border: 1px solid #b0c7de;
}

.credit {
  margin: 16px 0 0 0;
  padding: 10px 12px;
  background: #d5e0ec;
  border: 1px solid #a9b8c9;
  border-radius: 8px;
  color: #334155;
  font-size: 12px;
}

.accent {
  color: #0e7490;
  font-weight: 700;
}

.price {
  color: #b45309;
  font-weight: 700;
}

.mark {
  background: #fde68a;
  color: inherit;
}

.overlay {
  margin: 0;
  padding: 48px 28px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  text-align: center;
}

.overlay .accent {
  color: #67e8f9;
}

.overlay .price {
  color: #fde68a;
}

.hero,
.poster,
.studio-hero {
  margin: 0 0 16px 0;
  padding: 0;
  width: 720px;
  background: #16324f url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1400&q=80") center center no-repeat;
  background-size: cover;
  border: 2px solid #0d2136;
  border-radius: 12px;
  color: #f8fafc;
}

.poster {
  background: #1e1b4b url("https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?auto=format&fit=crop&w=1400&q=80") center center no-repeat;
}

.studio-hero {
  background: #0f172a url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1400&q=80") center center no-repeat;
}

.hero h1,
.poster h1,
.studio-hero h1 {
  margin: 0 0 8px 0;
  color: inherit;
  font-size: 40px;
}

.poster h1 {
  font-family: "Pacifico", "Brush Script MT", cursive;
  font-size: 48px;
  font-weight: 400;
}

.hero h2,
.poster h2,
.studio-hero h2 {
  margin: 0 0 16px 0;
  color: #e2e8f0;
  font-size: 18px;
}

.actions {
  margin: 12px 0 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

button {
  margin: 0;
  padding: 10px 14px;
  background: #0e7490;
  border: 1px solid #155e75;
  border-radius: 8px;
  color: #ecfeff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

button.secondary {
  background: #e2e8f0;
  border: 1px solid #94a3b8;
  color: #16324f;
}

.article-body {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

.article-body h3 {
  font-family: "Outfit", Arial, Helvetica, sans-serif;
}

.article-body p,
.box p {
  margin: 0 0 16px 0;
}

.pull-quote {
  margin: 16px 0;
  padding: 16px 20px;
  background: #ecfeff;
  border: 2px solid #67e8f9;
  border-radius: 8px;
  text-align: center;
}

.pull-quote p {
  margin: 0;
}

.gif-row,
.poster-meta,
.tile-row {
  margin: 0 0 16px 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.gif-card,
.tile {
  margin: 0;
  padding: 10px;
  width: 220px;
  background: #f8fafc;
  border: 1px solid #c9d4e0;
  border-radius: 12px;
  text-align: center;
}

.gif-card img {
  margin: 0 auto 8px auto;
  width: 200px;
  height: 140px;
  display: block;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.poster-meta .box,
.poster-meta .box-alt {
  margin: 0;
  width: 330px;
}

.tile-cover,
.tile-contain {
  margin: 0 auto 10px auto;
  width: 196px;
  height: 110px;
  background: #334155 url("https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=600&q=80") center center no-repeat;
  background-size: cover;
  border: 1px solid #94a3b8;
  border-radius: 8px;
}

.tile-contain {
  background: #0f172a url("https://images.unsplash.com/photo-1557672172-298e090bd0f1?auto=format&fit=crop&w=400&q=80") center center no-repeat;
  background-size: contain;
}

input[type="email"] {
  margin: 0 0 10px 0;
  padding: 8px 10px;
  width: 280px;
  background: #ffffff;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
}

ul,
ol {
  margin: 8px 0 0 0;
  padding: 0 0 0 22px;
  color: inherit;
}

li {
  margin: 0 0 6px 0;
}
