:root {
  --highlight-color: #141413;
  --bg-color: #141413;
  --fg-color: #fff8e6;
  --debug: red;
}

@font-face {
  font-family: 'Aktura';
  src: url('../fonts/Aktura-Regular.woff2') format('woff2'),
       url('../fonts/Aktura-Regular.woff') format('woff'),
       url('../fonts/Aktura-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

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

html {
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  background-color: var(--fg-color);
  overflow: auto;
}

.headline {
  font-family: 'Aktura', cursive;
  font-size: 3.5rem;
  padding: 0rem 0.5rem;
  background-color: var(--bg-color);
  color: var(--fg-color) !important;
  margin-bottom: 15px;
}

#summary {
  max-width: 700px;
}

p, li, span {
  margin: 5px 0px;
  font-family: "Bona Nova SC", 'IBM Plex Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  color: var(--bg-color);
}

.italic {
  font-style: italic;
}

.highlight {
  background: linear-gradient(
    to bottom, 
    transparent 70%, 
    #74c845 10%
  );
}

span {
  margin: 0;
}

.bold {
  font-weight: 900;
}

a:visited {
  color: var(--fg-color);
}

a:link {
  color: var(--fg-color);
}

a:active {
  color: var(--fg-color);
}

a:hover {
  color: var(--fg-color);
}

.right-panel {
  display: flex;
  flex-direction: column;
}

.right-panel > a {
  text-decoration: none;
}

.wrapper {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  display: flex;
  gap: 50px;
  padding: 15px;
  flex-direction: column;
  border: 5px dashed var(--bg-color);
}

.wrapper::-webkit-scrollbar {
  width: 1rem;
}

.wrapper::-webkit-scrollbar-thumb {
  background-color: #141414;
  border: 1px solid white;
}

.wrapper > *:not(hr) {
  flex: 1;
}

.wrapper hr {
  width: 90%;
  color: white;
}

.space-paragraph > *:not(:last-child)  {
  margin-bottom: 15px;
}

.sm-margin-bottom {
  margin-bottom: 15px;
}

@media (min-width:768px) {
  .wrapper {
    flex-direction: column;
  }

  .mobile-hr {
    display: none;
  }

  .right-panel {
    padding-left: 25px;
    align-items: end;
  }

  .wrapper {
    width: 50%;
    height: 50%;
    min-width: 700px;
  }
}