@font-face {
  font-family: "Rubik";
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/rubik-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/rubik-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/rubik-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/rubik-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik";
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/rubik-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik";
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/rubik-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --background: hsl(216 20% 95%);
  --foreground: hsl(218 33% 30%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(218 33% 30%);
  --popover: hsl(0 0% 100%);
  --popover-foreground: hsl(218 33% 30%);
  --primary: hsl(243 75% 59%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(220 13% 91%);
  --secondary-foreground: hsl(218 33% 30%);
  --muted: hsl(220 13% 91%);
  --muted-foreground: hsl(232 14% 44%);
  --accent: hsl(220 13% 91%);
  --accent-foreground: hsl(218 33% 30%);
  --destructive: hsl(0 66% 47%);
  --destructive-foreground: hsl(0 0% 100%);
  --success: hsl(123 46% 34%);
  --warning: hsl(26 90% 37%);
  --info: hsl(210 80% 42%);
  --danger: hsl(0 66% 47%);
  --border: hsl(210 14% 89%);
  --input: hsl(210 14% 84%);
  --ring: hsl(243 75% 59%);
  --radius: 0.5rem;
  --gradient-start: hsl(243 75% 59%);
  --gradient-end: hsl(262 83% 58%);
  --md2-grad-pink: linear-gradient(195deg, #ec407a, #d81b60);
  --md2-grad-info: linear-gradient(195deg, #49a3f1, #1a73e8);
  --md2-grad-success: linear-gradient(195deg, #66bb6a, #43a047);
  --md2-grad-warning: linear-gradient(195deg, #ffa726, #fb8c00);
  --md2-grad-dark: linear-gradient(195deg, #42424a, #191919);
  --md2-grad-error: linear-gradient(195deg, #ef5350, #e53935);
  --md2-grad-cyan: linear-gradient(195deg, #26c6da, #00acc1);
}

.dark {
  color-scheme: dark;
  --background: hsl(226 22% 8%);
  --foreground: hsl(0 0% 96%);
  --card: hsl(226 18% 14%);
  --card-foreground: hsl(0 0% 96%);
  --popover: hsl(226 18% 14%);
  --popover-foreground: hsl(0 0% 96%);
  --primary: hsl(243 90% 76%);
  --primary-foreground: hsl(226 22% 8%);
  --secondary: hsl(226 7% 21%);
  --secondary-foreground: hsl(0 0% 96%);
  --muted: hsl(226 12% 17%);
  --muted-foreground: hsl(232 16% 70%);
  --accent: hsl(226 7% 21%);
  --accent-foreground: hsl(0 0% 96%);
  --destructive: hsl(0 69% 67%);
  --destructive-foreground: hsl(226 22% 8%);
  --success: hsl(123 38% 63%);
  --warning: hsl(36 100% 65%);
  --info: hsl(207 90% 69%);
  --danger: hsl(0 69% 67%);
  --border: hsl(226 10% 22%);
  --input: hsl(226 10% 28%);
  --ring: hsl(243 90% 76%);
}

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Rubik", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  background: var(--background);
  color: var(--foreground);
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

h1:focus,
main:focus {
  outline: none;
}

a {
  color: var(--primary);
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}

h2 a {
  color: inherit;
  text-decoration: none;
}

h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin: 1rem 0 0.5rem;
}

.pular {
  position: absolute;
  left: -999rem;
}

.pular:focus {
  left: 1rem;
  top: 0.5rem;
  z-index: 1;
  background: var(--card);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.marca {
  font-weight: 600;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.cartao {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.estreito {
  max-width: 24rem;
  margin: 2rem auto;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

input {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  margin-bottom: 1rem;
}

#dica-senha {
  margin-top: -0.75rem;
}

.botao {
  font: inherit;
  font-weight: 500;
  color: var(--foreground);
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.45rem 0.9rem;
  min-height: 2.5rem;
  cursor: pointer;
}

.botao.primario {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-color: transparent;
  color: #fff;
}

.estreito .botao {
  width: 100%;
}

.botao:disabled {
  opacity: 0.6;
  cursor: wait;
}

.erro {
  color: var(--destructive);
  margin: 0 0 0.75rem;
}

.erro:empty {
  margin: 0;
}

.suave {
  color: var(--muted-foreground);
}

.aviso {
  color: var(--muted-foreground);
  text-align: center;
  padding: 1.5rem 0;
}

.busca {
  max-width: 24rem;
}

.aulas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aula {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  text-decoration: none;
}

.aula:hover {
  border-color: var(--primary);
}

.aula strong {
  font-weight: 500;
}

.resumo {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.player {
  aspect-ratio: 16 / 9;
  background: var(--muted);
  border-radius: var(--radius);
  overflow: hidden;
}

.player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.descricao {
  white-space: pre-line;
}
