* { box-sizing: border-box; }
html { background: #101520; }
body {
  margin: 0;
  color: #f5f6ff;
  font: 22px/1.45 Arial, Helvetica, sans-serif;
}
header, main, nav, section, article, figure, footer { display: block; }
a { color: inherit; }
a:focus {
  outline: 4px solid #fada78;
  outline-offset: 4px;
}
.frame { width: 92%; max-width: 2400px; margin: 0 auto; }
.site-header {
  background: #151c2b;
  border-bottom: 1px solid #3d4860;
}
.bar {
  padding: 18px 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}
.bar a {
  display: inline-block;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}
.bar a:hover, .bar a[aria-current] { background: #2e3a54; }
.bar .brand { padding: 4px 9px 4px 0; white-space: nowrap; }
.brand img { margin-right: 10px; vertical-align: middle; border-radius: 6px; }
.brand span { vertical-align: middle; }
.languages { white-space: nowrap; }

.hero {
  display: table;
  width: 100%;
  table-layout: fixed;
  padding: 48px 0 44px;
}
.hero-copy, .hero-visual { display: table-cell; vertical-align: middle; }
.hero-copy { width: 49%; padding-right: 5%; }
.hero-visual { margin: 0; }
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #3d4860;
  border-radius: 14px;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 56px; line-height: 1.08; }
.hero p { margin: 20px 0 24px; color: #d5dcec; }
.actions { margin: 0 -6px -12px; }
.actions .button { margin: 0 6px 12px; }
.button {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid #586b8e;
  border-radius: 8px;
  background: #202b41;
  color: #f5f6ff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: bold;
  text-decoration: none;
}
.button:hover { background: #2e3c59; }
.primary { background: #6738b6; border-color: #956be1; }
.primary:hover { background: #7c43d7; }

.section { padding: 32px 0; border-top: 1px solid #3d4860; }
.section h2 { font-size: 38px; line-height: 1.12; margin: 0 0 22px; }
.section p { color: #d5dcec; }
.course-grid { margin: 0 -1% -16px; font-size: 0; }
.course {
  display: inline-block;
  width: 31.3%;
  margin: 0 1% 16px;
  padding: 22px;
  vertical-align: top;
  border: 1px solid #3d4860;
  border-radius: 12px;
  background: #181f30;
  font-size: 19px;
}
.course h3 { margin: 8px 0 12px; font-size: 25px; line-height: 1.18; }
.course .status { color: #cbd4e6; font-size: 16px; font-weight: bold; }
.course .available { color: #a7efda; }
.course .button { margin-top: 16px; }
.info p { max-width: 960px; margin-bottom: 20px; }
.footer { padding: 16px 0 36px; }

@media (min-width: 1500px) {
  body { font-size: 25px; }
  .bar a, .button { font-size: 22px; }
  .bar { padding: 22px 0; }
  .hero { padding: 58px 0 54px; }
  h1 { font-size: 72px; }
  .section h2 { font-size: 46px; }
  .course { font-size: 22px; padding: 26px; }
  .course h3 { font-size: 29px; }
  .course .status { font-size: 18px; }
}
@media (min-width: 2300px) {
  body { font-size: 32px; }
  .bar a, .button { font-size: 27px; }
  .hero { padding: 72px 0 62px; }
  h1 { font-size: 92px; }
  .section h2 { font-size: 56px; }
  .course { font-size: 26px; padding: 30px; }
  .course h3 { font-size: 36px; }
  .course .status { font-size: 21px; }
}
@media (max-width: 1050px) {
  .bar { display: block; }
  .bar nav { display: inline-block; vertical-align: middle; }
  .bar .navigation { display: block; margin-top: 4px; }
  .hero { padding: 36px 0; }
  h1 { font-size: 45px; }
  .course { width: 48%; }
}
@media (max-width: 720px) {
  body { font-size: 18px; }
  .frame { width: 90%; }
  .bar a, .button { font-size: 16px; }
  .bar a { min-height: 42px; padding: 7px 8px; }
  .hero, .hero-copy, .hero-visual { display: block; width: 100%; }
  .hero-copy { padding: 0; margin-bottom: 22px; }
  h1 { font-size: 40px; }
  .section h2 { font-size: 31px; }
  .course { width: 98%; }
}
