html,
body {
  overflow: auto;
}

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

body {
  min-height: 100%;
  min-width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: normal;
  font-style: normal;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: #333333;
}

.header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: #f1f1f1;
}

.border-l,
border-r,
border-b {
  position: fixed;
  z-index: 100;
}

.progress-container {
  width: 100%;
  height: 5px;
  background: #ccc;
}

.progress-bar {
  height: 5px;
  background: #4caf50;
  width: 0%;
}

.bottom,
.left,
.right {
  position: fixed;
  z-index: 100;
}

.left,
.right {
  top: 0;
  bottom: 0;
  width: 15px;
}
.left {
  left: 0;
}
.right {
  right: 0;
}

.bottom {
  left: 0;
  right: 0;
  height: 15px;
}
.bottom {
  bottom: 0;
}

.content {
  padding: 100px 0;
  margin: 50px auto 0 auto;
  width: 80%;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 25% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 8px;
}

.modal-content p {
  text-align: center;
}

/* The Plain */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.25;
  color: #313131;
}

h1 {
  font-size: 2rem;
}

h2 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

h4,
h5,
h6 {
  margin-top: 1.1rem;
  font-size: 1.1rem;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #555;
}

a.image {
  display: block;
  text-align: center;
  border: 0;
  border-radius: 5px;
  margin: 30px 0;
}

mark {
  background: #fffc76;
  padding: 0 5px;
}

blockquote {
  border-left: 5px solid #ccc;
  margin: 40px 0;
  padding: 5px 30px;
  background: #eee;
}

.logo {
  position: relative;
  text-align: center;
  animation-duration: 0.7s;
  animation-fill-mode: both;
  animation-name: bounce;
  -webkit-animation-duration: 0.7s;
  -webkit-animation-fill-mode: both;
  -webkit-animation-name: bounce;
}

.logo img {
  height: 50px;
  border-radius: 50%;
}

code,
pre,
.code,
.footnotes {
  font-family: Consolas, monaco, monospace;
}

code {
  color: #f14e32;
  background: #eee;
  padding: 2px 6px;
  font-size: 13px;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: pre;
  overflow-x: auto;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1rem;
}

pre code {
  font-size: 100%;
  color: inherit;
  background-color: transparent;
  padding: 0;
}

article {
  max-width: 500px;
  margin: 0 auto;
}

article h1.title {
  line-height: 1.4em;
  text-align: center;
  font-size: 1.4em;
}

article .divider {
  background: #ddd;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0)),
    color-stop(#ccc),
    to(rgba(255, 255, 255, 0))
  );
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0),
    #ccc,
    rgba(255, 255, 255, 0)
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    #ccc,
    rgba(255, 255, 255, 0)
  );
  height: 1px;
  margin: 2em 0;
}

article .center {
  text-align: center;
  margin: 0 auto;
}

article hr {
  border: 0;
  border-bottom: 1px solid #000;
  margin: 30px 0;
}

article p {
  font-size: 15px;
  line-height: 1.9em;
  word-wrap: break-word;
  text-align: center;
}

article .footnote {
  border: 0;
  background-color: #0087be;
  color: #fff;
  padding-left: 2px;
  padding-right: 2px;
}

article .footnotes {
  margin: 50px auto;
  display: block;
  font-size: 0.8em;
  color: #666;
}

article .footnotes p {
  line-height: 1rem;
  font-weight: normal;
}

article .footnotes ol {
  margin: 0;
  padding-left: 15px;
}

article .footnotes ol li {
  font-weight: bold;
}

article .footnotes .reversefootnote {
  border: 0;
  color: #0087be;
}

article a:hover {
  color: #369;
  border-color: #369;
}

.block {
  display: block;
}

.footer {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.8rem;
}

.footer {
  margin-top: 50px;
  color: #777;
}

.footer a {
  border: none;
  font-weight: bold;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  color: #777;
  text-align: center;
  font-size: 10px;
  padding-bottom: 10px;
}

footer a {
  border: none;
  text-decoration: none;
}

.icons {
  margin-right: 6px;
}

.icons svg {
  height: 14px;
}

.gitlab :hover {
  fill: #fc6d27;
}

.github :hover {
  fill: #0366d6;
}

.muchskill :hover {
  fill: rgb(242,211,97)
}

.linkedin :hover {
  fill: #0a66c2;
}

.sessionize :hover {
  fill: #1ab394;
}

/* Popup */

:root {
  --popupbg: rgb(143, 143, 143);
}

/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: var(--popupbg);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--popupbg) transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
  min-width: 215px;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.note {
  color: #777;
  font-size: 0.8rem;
}

.note a {
  font-weight: bold;
}

.bottom-right {
  position: fixed;
  bottom: 4%;
  right: 2%;
  margin-left: 2%;
}

.bottom-left {
  position: fixed;
  bottom: 3%;
  left: 2%;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 4px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@media (max-width: 455px) {
  .bottom-left {
    bottom: 8%;
  }
}

.language-switch {
  position: absolute;
  z-index: 10000;
  top: 2%;
  right: 2%;
}

.pp-content {
  padding: 40px 0;
  margin: 10px auto 0 auto;
  width: 80%;
}