@font-face {
  font-family: 'Inter';
  /* declare weights giving two values to specify a range */
  font-weight: 400 800;
  src: url('./Inter/Inter-VariableFont_opsz\,wght.ttf');
}

@font-face {
  font-family: 'Instrument';
  /* declare weights giving two values to specify a range */
  font-weight: 400 800;
  src: url('Instrument_Serif/InstrumentSerif-Regular.ttf');
}

* {
  box-sizing: border-box;
}

::selection {
  background-color: #FFF000;
  color:#141414;
}


a:link, a:visited {
  text-decoration: none;
  color: #141414;  
  position: relative;
}

u {
  text-decoration: none;
  position: relative;
  background-color: red;
}



a:link::after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  background-color: #FFF000;
  height: 2px;
  width: 100%;
  transition: height .3s ease;
}

a:hover::after {
 height: 86%;
}

img, video {
  max-width: 100%;
}

hr {
  border: 0;
    height: 0;
    border-top: 1px solid #141414;
}

body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  overflow-y: auto;    /* enable vertical scrolling */
  font-family: Inter;
  margin: 0;
  padding: 0;
  color: #141414;
  width: 80%;
  border-right: 1px solid #141414;
}

p {
  max-width: 60ch;  
}

header {
  grid-column: 1 / 2;
  position: sticky;
  top: 0;
  left: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header h1{
  padding: 1rem;
  border-bottom: 1px solid #141414;
  margin: 0;
  height: 117px;
}


h1, h2, h3, h4, h5, h6 {
  font-family: Instrument;
}

.pagination {
  grid-column: 2/3;
  display: flex;
  align-items: end;
}

.pagination.justify-between {
  justify-content: space-between;
}

.pagination.justify-end {
  justify-content: flex-end;
}

.pagination.justify-start {
  justify-content: flex-start;
}



main {
  font-size: 1.275rem;
  border-left: 1px solid #141414;
  margin: 0;
  padding-bottom: 2rem;
}

main h5 {
  border-bottom: 1px solid #141414;
  position: sticky;
  top: 0;
  background: #141414;
  color: white;
  margin: 0;
}

main h3 {
  margin-bottom: 0;
}

main h3 + p {
  margin-top: 0;
}

main .center h2 + h2 {
  border-top: none;
}


main .center > *:not(hr) {
  padding: 0 2rem;
}

figure {
  margin: 0;
  padding: 0;
  font-size: .8em;
}

main h2:not(:first-of-type) {
  border-bottom: 1px solid #141414;
  border-top: 1px solid #141414;
  margin: 0;
}

main .center h2 {
  border-bottom: 1px solid #141414;
  margin: 0;
  line-height: 1.1;
  padding: 2rem 2rem;
}

#klasse {
  outline: none;
  border: none;
  border-top: 1px solid #141414;
  margin-top: auto;
  padding: 1rem 1rem;
}

#klasse option:before {
  content: 'lul'
}

nav li.active a{
  background: #FFF000;
  display: inline-block;
}


.center ul li a::before {
  content: '↗\00a0';
  display: inline-block;
}

p a::before {
  content: '↗\00a0';
  display: inline-block;
}


.hero {
  border-bottom: 1px solid #141414;
}


blockquote {
  background: greenyellow;
  padding: 0;
}

table {
  font-size: 0.8em;
  margin: 2rem;
  width: calc(100% - 4rem);
  border-collapse: collapse;
}

table tr td {
  border-bottom: 1px solid black;
  padding: 0.5rem 0;
}

table tr:hover {
  background-color: #FFF000;
}

table th{
  text-align: left;
}

.phiki {
}