/*
 * You can just delete everything here or keep whatever you like, it's just a
 * quick baseline!
 */
:root {
  --color-foreground: hsl(0, 0%, 7%);
  --color-background: hsl(210, 60%, 96%);
  --color-accent: hsl(210, 60%, 48%);
  --color-links: hsl(213, 100%, 52%);
  --color-links-hover: hsl(213, 100%, 43%);
  --color-border: #DCDFDD;
  --font-body: -apple-system, "Segoe UI", Helvetica Neue, Helvetica, Roboto,
    Arial, sans-serif, system-ui, "Apple Color Emoji", "Segoe UI Emoji";
}

html {
  box-sizing: border-box;
}

header {
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  cursor: default;
  height: 100vh;
  min-height: 35em;
  overflow: hidden;
  position: relative;
  text-align: center;
  background: #000;
}

header video {
  object-fit: fill;
}

header .inner {
  margin: auto;
  position: absolute;
  width: 100%;
}

header h1 {
  position: absolute;
  text-align: center;
  font-size: 4em;
  z-index: 10;
  color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  display: inline-block;
  opacity: 1;
  padding: 0.35em 1em;
}

header p {
  position: relative;
  letter-spacing: 0.225em;
  text-transform: uppercase;
  width: 31em;
  text-align: center;
  margin: 0 auto 1.5em;
}

#headerVideo {
  position: inherit;
  min-width: 100%;
  overflow: hidden;
  z-index: 1;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

:-moz-focusring {
  outline: auto;
}

:focus {
  outline: var(--color-links) solid 2px;
  outline-offset: 2px;
}

html,
body {
  padding: 0;
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
}

body {
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: var(--color-links);
  text-decoration: none;
}

a:hover {
  color: var(--color-links-hover);
  text-decoration: underline;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  background-color: var(--color-border);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

input:where([type="text"]),
input:where([type="search"]) {
  display: block;
  border: 1px solid var(--color-border);
  width: 100%;
  font: inherit;
  line-height: 1;
  height: calc(1ch + 1.5em);
  padding-right: 0.5em;
  padding-left: 0.5em;
  background-color: hsl(0 0% 100% / 20%);
  color: var(--color-foreground);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  --gutter: 16px;
  /*width: 1024px;*/
  /*max-width: calc(100% - var(--gutter) * 2);*/
  margin-right: auto;
  margin-left: auto;
}

.content {
  --gutter: 16px;
  width: 1024px;
  max-width: calc(100% - var(--gutter) * 2);
  margin-right: auto;
  margin-left: auto;
}

/*
 * You probably want to just delete this file; it's just for the demo pages.
 */
.remix-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: calc(100vh - env(safe-area-inset-bottom));
}

.remix-app > * {
  width: 100%;
}

.remix-app__header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: fixed;
  z-index: 11;
  color: white;
  /*border-bottom: 1px solid var(--color-border);*/
}

.remix-app__header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remix-app__header-home-link {
  width: 106px;
  height: 30px;
  color: var(--color-foreground);
}

.remix-app__header-nav ul {
  list-style: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.remix-app__header-nav li {
  font-weight: bold;
}

.remix-app__main {
  flex: 1 1 100%;
}

.remix-app__footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
  /*border-top: 1px solid var(--color-border);*/
}

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

.remix__page {
  --gap: 1rem;
  --space: 2rem;
  display: grid;
  grid-auto-rows: min-content;
  gap: var(--gap);
  padding-top: var(--space);
  padding-bottom: var(--space);
}

@media print, screen and (min-width: 640px) {
  .remix__page {
    --gap: 2rem;
    grid-auto-rows: unset;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .remix__page {
    --gap: 4rem;
  }
}

.remix__page > main > :first-child {
  margin-top: 0;
}

.remix__page > main > :last-child {
  margin-bottom: 0;
}

.remix__page > aside {
  margin: 0;
  padding: 1.5ch 2ch;
  border: solid 1px var(--color-border);
  border-radius: 0.5rem;
}

.remix__page > aside > :first-child {
  margin-top: 0;
}

.remix__page > aside > :last-child {
  margin-bottom: 0;
}

.remix__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid white;
  border-radius: 24px;
  background-color: white;
}

.section {
  gap: 1rem;
  padding: 1rem;
  border: 1px solid white;
  border-radius: 24px;
  background-color: white;
}

.remix__form > * {
  margin-top: 0;
  margin-bottom: 0;
}

.idButton {
  background-color: var(--color-background);
  color: var(--color-accent);
  border-radius: 20px;
  height: 40px;
  border: none;
  font-size: 1rem;
}

.accent {
  color: var(--color-accent);
}

.accentOrange {
  color: hsl(20, 100%, 70%)
}

.sectionWithThumbnail {
  gap: 1rem;
  padding: 1rem;
  border: 1px solid white;
  border-radius: 24px;
  background-color: white;
  display: grid;
  grid-template-areas:
    "a b";
}

.sectionWithThumbnail div {
  grid-area: a;
}
.sectionWithThumbnail aside {
  grid-area: b;
  width: 10vh;
}

.clear { clear: both }
