* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

* :not(latex *, displaylatex *) {
  font-family: poppins2;
}

h1 {
  margin: 20px;
  text-align: center;
}

a {
  text-decoration: none;
}

select {
  outline: none;
}

label {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Selection Highlight Color */
::-moz-selection {
  background: #ddd;
  color: #000000;
}
::selection {
  background: #ddd;
  color: #000000;
}

.katex .katex-mathml {
  position: unset;
  display: none;
}

@font-face {
  font-family: poppins2;
  src: url("../fonts/poppins-min.ttf");
  font-display: swap;
}
/* fallback */
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v139/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format("woff2");
  font-display: swap;
}
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  margin-left: 3px;
  margin-right: 3px;
}

#backgroundImage {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: -1;
  opacity: 15%;
  background-image: url(../img/background.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

#topbar {
  color: #444;
  text-align: center;
  width: 100%;
  padding: 5px 0;
  background-color: #add8e6;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  overflow: hidden;
  height: 28px;
}
#topbar a {
  font-family: soleil, Verdana, Arial, sans-serif;
}
#topbar a:hover {
  background-color: #a4cedb;
}
#topbar .icon {
  display: none;
  padding: 0;
  font-size: 28px;
  margin: 0 5px;
  background-position-x: fixed;
  right: 0px;
}
#topbar .navBtn {
  font-size: 24px;
  color: black;
  text-decoration: none;
  padding: 10px;
  margin: 5 0 5 0;
}
@media screen and (max-width: 600px) {
  #topbar a {
    display: none;
  }
  #topbar .icon {
    float: left;
    display: block;
  }
  #topbar .menuOpen {
    height: auto;
  }
  #topbar .menuOpen a, #topbar .menuOpen .icon {
    float: none;
    display: block;
    text-align: left;
  }
}

#generalContainer {
  height: calc(100% - 38px);
  overflow: auto;
}
#generalContainer p {
  padding: 10px;
  max-width: 600px;
}
#generalContainer #generalContent {
  margin: 0 auto 0 auto;
  max-width: 1260px;
  height: calc(100% - 38px);
}
#generalContainer #generalContent h2, #generalContainer #generalContent h3, #generalContainer #generalContent h4, #generalContainer #generalContent h5, #generalContainer #generalContent h6 {
  text-align: center;
}
#generalContainer #generalContent ul, #generalContainer #generalContent ol {
  padding-left: 20px;
}
#generalContainer #generalContent ul li, #generalContainer #generalContent ol li {
  text-align: left;
  max-width: 600px;
}
#generalContainer .copyrightNotice {
  font-size: 10px;
  color: #444;
  text-align: center;
  margin: 20px;
}

.multiblock-set {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.multiblock-set > :nth-child(2), .multiblock-set > :nth-child(4) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.multiblock-set .block-set {
  display: flex;
  flex-direction: column;
  background-color: black;
  width: -moz-fit-content;
  width: fit-content;
  padding: 1px;
  gap: 1px;
}
.multiblock-set .block-set .memory-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  padding: 4px 8px;
}
.multiblock-set .block-set .double {
  height: 45px;
}
.multiblock-set .block-set .triple {
  height: 72px;
}
.multiblock-set .block-set .allocated {
  background-color: #ccc;
}
.multiblock-set .block-set .free {
  background-color: #fff;
}
.multiblock-set .block-set .deallocated {
  background-color: #96daf0;
}

/* Slideshows / Testimonials */
.slideshow {
  position: relative;
  background: #ddd;
  height: 300px;
}
.slideshow .slide {
  display: none;
  padding: 0 80px 0 80px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 75%);
}
.slideshow .slide q {
  font-style: italic;
}
.slideshow .slide .author {
  color: cornflowerblue;
  text-align: center;
  margin: auto;
}
.slideshow .prev, .slideshow .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  color: #666;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.slideshow .prev:hover, .slideshow .next:hover {
  color: black;
}
.slideshow .next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}
.slideshow .dot-container {
  text-align: center;
  position: absolute;
  bottom: 0px;
  padding-bottom: 15px;
  width: 100%;
}
.slideshow .dot-container .dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.slideshow .dot-container .active, .slideshow .dot-container .dot:hover {
  background-color: #717171;
}
@media screen and (max-width: 600px) {
  .slideshow {
    height: 500px;
  }
  .slideshow .slide {
    padding: 0 50px 0 50px;
  }
}

.question {
  background-color: white;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  max-width: min(650px, 90%);
  margin: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}
.question .collapsed {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.question .quest {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
}
.question .quest :first-child {
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
}
.question .quest h4 {
  text-align: left;
  position: relative;
  left: 10px;
}
.question .answer {
  display: flex;
  flex-direction: column;
  transition: 0.1s linear;
  overflow: hidden;
}
.question .answer p {
  padding-bottom: 20px;
}
@media screen and (min-width: 600px) {
  .question .answer {
    padding-left: 20px;
  }
}

.callToActionBtn {
  box-shadow: 0px 5px 4px 0px #424242;
  background: linear-gradient(to bottom, #33bdef 5%, #019ad2 100%);
  background-color: #33bdef;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial;
  font-size: 17px;
  font-weight: bold;
  padding: 9px 23px;
  text-decoration: none;
  text-align: center;
  margin-bottom: 10px;
}
.callToActionBtn:hover {
  background: linear-gradient(to bottom, #019ad2 5%, #33bdef 100%);
  background-color: #019ad2;
}
.callToActionBtn:active {
  position: relative;
  top: 1px;
}

.contextMenu {
  position: absolute;
  background-color: #eee;
  border: solid;
  border-width: 1px;
  border-color: #444;
  padding: 3px 0 3px 0;
  box-shadow: 0px 5px 14px #444;
  cursor: default;
}
.contextMenu .contextMenuItem {
  font-size: 12px;
  padding: 5px 15px 5px 15px;
}
.contextMenu .contextMenuItem:hover {
  background-color: #5da8fc;
}
.contextMenu.hidden {
  display: none;
}

.tooltip {
  position: absolute;
  background-color: #eee;
  border: solid;
  border-width: 1px;
  border-color: #444;
  box-shadow: 0px 5px 14px #444;
  padding: 5px;
  font-size: 12px;
  max-width: 200px;
}
.tooltip.hidden {
  display: none;
}

.vizTiles {
  display: flex;
  justify-content: center;
  margin: 20px;
  margin-bottom: 30px;
  gap: 30px;
  flex-wrap: wrap;
}

.vizTile {
  background-color: #ddd;
  border-radius: 5px;
  padding: 10px;
  max-width: 350px;
  color: inherit;
  box-shadow: 2px 2px 5px black;
}

.vizTile > h2 {
  margin-bottom: 10px;
}

.vizTile div {
  font-family: "Times New Roman", Times, serif;
}

.vizTile:hover {
  background-color: #ccc;
}