.boxed {
  max-width: 1200px;
  margin: auto;
  padding: 0.5rem;
  min-height: calc(100vh - var(--header-h));
}

.main-aside {
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--c-1);
  border-radius: 10px;
  /* margin-top: 1rem; */
  margin-bottom: 1rem;
  padding: 1.5rem 1rem;
  gap: 1rem;
}

main {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .boxed {
    width: 80%;
  }

  .main-aside {
    flex-direction: row;
    padding: 1.5rem 2rem;
  }

  main {
    margin-bottom: unset;
  }
}

.sidebar {
  background-color: var(--c-1-light);
  box-shadow: var(--shadow-br-1);
  padding: 1rem;
  border-radius: 10px;
  min-width: 220px;
}

.sidebar h3 {
  cursor: default;
  margin-bottom: 1.5rem;
}

.sidebar li {
  padding: 0.25rem;
  margin-bottom: 0.5rem;
  color: var(--c-2-dark);
  font-weight: 600;
}

.sidebar li:hover {
  color: var(--c-3-light);
  text-decoration: underline;
}

.sidebar li.current {
  color: var(--c-3);
}

.sidebar a {
  color: inherit;
}

h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 1rem;
  font-family: lato, roboto, arial, sans-serif;
}

.yt-embed-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 12px;
}

.yt-embed-container::after {
  padding-top: 56.25%;
  display: block;
  content: '';
}

.yt-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
