* {
  margin: 0px;
  padding: 0px;
}

html,
body {
  width: 100%;
  height: 100%;
}

body.index {
  display: flex;
  justify-content: center;
  background-image: linear-gradient(
    83deg,
    #264653 0%,
    #264653 20%,
    #2a9d8f 20%,
    #2a9d8f 40%,
    #e9c46a 40%,
    #e9c46a 60%,
    #f4a261 60%,
    #f4a261 80%,
    #e76f51 80%,
    #e76f51 100%
  );
}

body.page {
  text-align: center;
  background-color: #fcfcfc;
  background-image: linear-gradient(
    90deg,
    #264653 0%,
    #264653 1em,
    transparent 1em,
    transparent 100%
  );
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
}

body.page-1 {
  background-image: linear-gradient(
    90deg,
    #264653 0%,
    #264653 1em,
    transparent 1em,
    transparent 100%
  );
}

body.page-2 {
  background-image: linear-gradient(
    90deg,
    #2a9d8f 0%,
    #2a9d8f 1em,
    transparent 1em,
    transparent 100%
  );
}

body.page-3 {
  background-image: linear-gradient(
    90deg,
    #e9c46a 0%,
    #e9c46a 1em,
    transparent 1em,
    transparent 100%
  );
}

body.page-4 {
  background-image: linear-gradient(
    90deg,
    #f4a261 0%,
    #f4a261 1em,
    transparent 1em,
    transparent 100%
  );
}

body.page-5 {
  background-image: linear-gradient(
    90deg,
    #e76f51 0%,
    #e76f51 1em,
    transparent 1em,
    transparent 100%
  );
}

body.index #logo {
  width: 83%;
  opacity: 0.83;
}

body.page #logo {
  margin: 1em;
  width: 150px;
  opacity: 0.83;
  filter: invert();
}

.links {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.5em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: normal;
  align-items: normal;
  align-content: normal;
}

.links a {
  margin: 0.4em;
  font-size: 2.5em;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.83;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: center;
}

.links a:hover {
  opacity: 0.5;
}

.content {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  padding: 1em 2em;
}

body.page p {
  margin: 1em 0;
  line-height: 1.5em;
  color: #333;
}

body.page p code {
  background: #f1f1f1;
  border-radius: 5px;
  padding: 0.5em;
}

body.page h1,
body.page h2,
body.page h3,
body.page h4,
body.page h5,
body.page h6 {
  font-weight: bolder;
  letter-spacing: 0.02em;
  color: #264653;
  margin: 0.5em 0;
}

body.page h1,
body.page h2 {
  border-bottom: 3px solid #264653;
}

body.page a {
  color: #264653;
  text-decoration: underline;
  transition: color 0.3s ease;
}

body.page a:hover {
  color: #2a9d8f;
}

body.page a[target="_blank"]::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin: 0 3px 0 5px;
}

body.page ul {
  list-style-type: disc;
  list-style-position: inside;
  list-style-image: none;
}

body.page ol {
  list-style-type: decimal;
  list-style-position: inside;
  list-style-image: none;
}

body.page .content img {
  border-radius: 5px;
  border: 8px solid #ddd;
}

body.page .content a img {
  border: 8px solid #264653;
  transition: border-color 0.3s ease;
}

body.page .content a:hover img {
  border-color: #2a9d8f;
}

body.page blockquote {
  background: #f1f1f1;
  border-radius: 5px;
  margin: 1.5em 1em;
  padding: 0.5em 1em;
  font-style: italic;
}

body.page blockquote::before {
  color: #264653;
  opacity: 0.3;
  content: open-quote;
  font-size: 3em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

body.page blockquote p {
  display: inline;
}

body.page table {
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
}

body.page table thead tr {
  background-color: #264653;
  color: #fcfcfc;
  text-align: left;
}

body.page table th,
body.page table td {
  padding: 0.83em;
}

body.page table tbody tr:nth-of-type(even) {
  background-color: #f1f1f1;
}

body.page table tbody tr:last-of-type {
  border-bottom: 3px solid #264653;
}

[tooltip] {
  margin: 20px 60px;
  position: relative;
  display: inline-block;
}
[tooltip]::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 6px 0 6px;
  border-style: solid;
  border-color: rgba(0,0,0,0.7) transparent transparent transparent;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}
[tooltip-position='left']::before {
  left: 0%;
  top: 50%;
  margin-left: -12px;
  transform: translatey(-50%) rotate(-90deg)
}
[tooltip-position='top']::before {
  left: 50%;
}
[tooltip-position='buttom']::before {
  top: 100%;
  margin-top: 8px;
  transform: translateX(-50%) translatey(-100%) rotate(-180deg)
}
[tooltip-position='right']::before {
  left: 100%;
  top: 50%;
  margin-left: 1px;
  transform: translatey(-50%) rotate(90deg)
}
[tooltip]::after {
  content: attr(tooltip);
  position: absolute;
  left: 50%;
  top: -11px;
  transform: translateX(-50%) translateY(-100%);
  background: rgba(0,0,0,0.8);
  text-align: center;
  color: #fff;
  padding: 4px 2px;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 14px;
  min-width: 80px;
  border-radius: 5px;
  pointer-events: none;
  padding: 4px 4px;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}
[tooltip-position='left']::after {
  left: 0%;
  top: 50%;
  margin-left: -8px;
  transform: translateX(-100%) translateY(-50%);
}
[tooltip-position='top']::after {
  left: 50%;
}
[tooltip-position='buttom']::after {
  top: 100%;
  margin-top: 8px;
  transform: translateX(-50%) translateY(0%);
}
[tooltip-position='right']::after {
  left: 100%;
  top: 50%;
  margin-left: 8px;
  transform: translateX(0%) translateY(-50%);
}
[tooltip]:hover::after,
[tooltip]:hover::before {
  opacity: 1;
}

.support-badge {
  position: absolute;
  top: 1em;
  left: 1em;
}

.flag {
  width: 40px;
  height: 30px;
}

.blue-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #0057B7;
}

.yellow-stripe {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #FFDD00;
}
