﻿/* ===================== Global / Reset Styles ===================== */
html {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  line-height: 1.45;
  letter-spacing: .01em;
  font-size: 16px;
  color: #2d3542;
}

/* ===================== Header / Typography ===================== */
h2 {
  font-size: 24px;
  color: #000;
}
h3 {
  font-weight: 600;
  margin-block-end: -7px;
  color: #000;
}
p h2 h3 {
  opacity: 0;
  animation: fadeInUp 2s linear .25s forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== Navigation Bar ===================== */
.navbar a {
  text-decoration: none;
  color: #000;
  overflow: hidden;
  padding: 2px 10px;
  transition: .3s;
}
.navbar a:hover {
  color: #f5f5f5;
  border-style: none;
  border-radius: 5px;
  background: #898989;
  font-weight: 0;
  transition: .3s;
}
#navlist {
  background-color: #e8e9eb;
  border-radius: 8px;
  padding: 7px 13px 5px 13px;
  font-size: 110%;
}
.navbar {
  padding: 35px 0 25px 0;
  text-align: center;
  height: 40px;
}
.navbar-ul {
  display: inline-block;
  margin: 0;
  text-align: center;
}
.nav-list {
  list-style: none;
  margin: 0;
  display: inline-block;
}
.nav-separator {
  display: inline-block;
}
.nav_line {
  color: #000;
  text-decoration: none !important;
  margin: 0 5px;
}
#author-name {
  font-size: 120%;
  color: #000;
  display: inline-block;
  font-weight: 550;
  font-family: Neue;
  float: left;
  padding-top: 8px;
  padding-bottom: 10px;
}
#icons-top {
  float: right;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ===================== Content / Main Body ===================== */
.container {
  max-width: 800px;
  margin: auto;
}
.wrapper {
  min-height: 100%;
}
.profile-picture {
  width: 240px;
  position: relative;
  margin: 50px 0 5px 40px;
  float: right;
  text-align: center;
}

/* ===== Icons below image ======== */
.icon-link {
  margin: 0 3px;
  display: inline-block;
  vertical-align: middle;
}
.icon-link svg {
  width: 21px;
  height: 21px;
  display: inline-block;
  vertical-align: middle;
}


.clickable-box {
  border: 1px solid #b9babc;
  border-radius: 8px;
  padding: 12px 16px;
  width: 90%;
  margin: 0 auto 0 auto;
  color: #6c717a;
}
.clickable-box h5 {
  color: #2d3542;
  font-size: 100%;
  font-weight: normal;
  margin: 0;
  float: left;
}
.clickable-box img {
  width: 16px !important;
  height: 16px;
  float: right;
  border: none !important;
  padding: 4px;
  background: rgba(0,0,0,0);
}
.clickable-box:hover {
  background-color: #ededed;
}
#no-style {
  color: #000;
}
hr {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0,0,0,.1);
  border-bottom: 1px solid hsla(0,0%,100%,.3);
}
iframe {
  margin: auto;
  display: block;
  width: 80%;
  height: 315px;
}
#back-to-top {
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 99;
  opacity: 0;
  border-radius: 50%;
  margin: 17px;
  background: #e8e9eb;
  transition: .2s ease-in-out;
}
#back-to-top:hover {
  background: #898989;
  transition: .3s;
}

.content a {
  text-decoration: none;
  color: #1636e9;
  position: relative;
  padding: 0 2px;
}
.content a:hover {
  color: #5c72f0;
}
.content ol {
  counter-reset: list;
  list-style: none;
  padding: 0 30px;
}
.content ol > li {
  list-style-position: none;
  list-style: none;
  position: relative;
  margin-top: 5px;
  margin-bottom: 5px;
}
.content ol > li:before {
  content: "[" counter(list, decimal) "] ";
  counter-increment: list;
  position: absolute;
  left: -30px;
}
.content ul {
  padding: 0 20px;
  list-style: none;
  position: relative;
  margin: 0 10px;
}
.content ul > li {
  margin: 0;
}
.content ul > li:before {
  content: "▶︎";
  font-size: 11px;
  font-weight: 900;
  color: #000;
  position: absolute;
  left: 3px;
  margin-top: 4px;
}
.content blockquote {
  margin: 20px 0;
  padding: 2px 8px;
  background-color: #ededed;
  border-radius: 8px;
}
.content img {
  text-align: right;
  width: 100%;
  border-radius: 8px;
}

/* ===================== Footer ===================== */
#footer {
  margin-top: 10px;
  font-size: 13px;
  color: #6c717a;
  text-align: center;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  padding: 8px 8px 20px 8px;
}

/* ===================== Media Queries ===================== */
@media (max-width: 800px) {
  .container {
    max-width: 80%;
    transition: .3s ease all;
  }
  iframe {
    margin: auto;
    display: block;
    width: 8%;
    height: 250px;
  }
}

@media (max-width: 650px) {
  .container {
    max-width: 80%;
  }
  .navbar {
    height: 70px;
    padding: 40px 0 30px 0;
  }
  .navbar-ul {
    margin-top: 10px;
  }
  .nav-separator {
    display: none;    
  }
  .profile-picture {
    width: 180px;
    margin: 20px auto 25px auto;
    float: none;
    display: block;
    text-align: center;
  }
  iframe {
    margin: auto;
    display: block;
    width: 80%;
    height: 200px;
  }
  #back-to-top {
    height: 35px;
    width: 35px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
    border-radius: 50%;
    margin: 5px;
    background: #e8e9eb;
    transition: .3s;
  }
}

@media (max-width: 500px) {
  .navbar {
    height: 60px;
    padding: 50px 0 3px 0;
  }
  .profile-picture {
    width: 200px;
    margin: 30px auto 35px auto;
    float: none;
    display: block;
    text-align: center;
  }
  #back-to-top {
    height: 30px;
    width: 30px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 99;
    border-radius: 50%;
    margin: 5px;
    background: #e8e9eb;
    transition: .3s;
  }
}

