* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #333;
  color: #ddd;
}
h1 {
  text-align: center;
  margin: 1em 1em 0 1em;
}
.title {
  text-align: center;
  text-shadow: 2px 2px 3px #111;
}

#links {
  margin: auto;
  padding: 1em;
}
.r_container {
  margin: 5em auto;
  text-align: center;
  min-height: 35em;
  max-width: 35rem;
  border: 1px solid #aaa;
  border-radius: 1em;
  padding: 1em 3em 2em 3em;
  background-color: #444;
  box-shadow: 5px 10px 3px 1px rgba(0, 0, 0, 0.2);
}
.r_container * {
  margin: 0.25em;
}

a:link {
  color: #ddd;
  text-decoration: none;
}
a:visited {
  color: #ddd;
}
a:hover {
  text-decoration: underline;
}
.r_tag {
  font-size: 10pt;
  text-align: left;
}
.r_type {
  margin: 0.25em;
  font-size: 10pt;
  text-align: left;
}
/* Image */
.r_preview {
  max-width: 100%;
  height: auto;
  max-height: 32em;
  margin: 0;
  border-radius: 0.5em;
  border: solid #444 0.1em;
}
.r_title {
  color: pink;
  margin: 0.25em;
}
.r_course {
  font-size: 1.2em;
}
.r_container .r_content {
  text-align: start;
}
.r_container .r_content a:link {
  text-decoration: underline;
}
.r_linkSource {
  text-align: left;
  text-decoration: underline 1px;
}

/* -- General Font Applications -- */
.r_container .r_tag,
.r_container .r_type,
.r_container .r_course,
.r_container details {
  font-family: "Raleway";
}
.r_container .r_sub_title {
  font-family: "Aleo";
}
.r_container b {
  font-family: "Raleway-bold";
  font-weight: normal;
  font-stretch: 100%;
  font-style: normal;
}
.r_container summary {
  font-family: "Raleway";
  font-style: italic;
}
.lgt {
  letter-spacing: 0; /* Fixs ligatues*/
  font-variant-ligatures: discretionary-ligatures;
  font-family: "Vollkorn-Italic";
}
.bold_vk {
  font-family: "Vollkorn-bold";
}

/* -- Font Imports -- */
@font-face {
  font-family: "Raleway";
  src: url("./Raleway-VariableFont_wght.ttf") format("truetype");
  font-weight: 200;
  font-stretch: 100%;
  font-style: normal;
}
@font-face {
  font-family: "Raleway-bold";
  src: url("./Raleway-Regular.ttf") format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("./Raleway-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 125;
  font-stretch: 100%;
  font-style: italic;
}
@font-face {
  font-family: "Aleo";
  src: url("./Aleo-Light.ttf") format("truetype");
  font-style: normal;
}
@font-face {
  font-family: "Vollkorn";
  src: url("./Vollkorn-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Vollkorn-Italic";
  src: url("./Vollkorn-Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Vollkorn-Bold";
  src: url("./Vollkorn-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: bold;
}

@media (max-width: 40rem) {
  .r_container {
    padding: 1.5em;
  }
}
/* ? How to fix ligatures in chrome based browsers */
/* .dsc-lgt {
  font-variant-ligatures: discretionary-ligatures;
  Fixs ligeratueres in chromium based browers
  letter-spacing: 0;
} */
