/* main */
html, body {
	font-size:18px;
  height: 100%;
}

.homepage {
  padding-bottom: 2%;
  padding-top: 2%;
  margin-bottom: 10%;
  border-style: ridge;
  border: 1px solid #ccc;
  background-color: var(--bs-light-bg-subtle);
  font-family: var(--bs-font-monospace);
}

.homepage p {
  margin-bottom: 0px;
}


.blog-post-index {
  margin-bottom: 20px;
  max-width: 100%;
  text-align: left;
  word-wrap: break-word;
	font-size: 16px !important;
  display: flex;
  position: relative;
}

.blog-post-index-content .read-more-btn {
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity:0;
  transition:.4s ease-in-out;
  transform: translate(-50%, -50%);
}

.blog-post-index:hover {
  cursor: pointer;
  color: var(--bs-gray-600);
}

.blog-post-index-content:hover .read-more-btn {
  opacity:1;
  visibility: visible;
  cursor: pointer;
}

.blog-post-index > a {
  text-decoration: none;
	color: var(--bs-body-color);
}

.blog-post-index > a:link {
  text-decoration: none;
	color: var(--bs-body-color);
}

.blog-post-index a:hover {
  color: var(--bs-gray-600);
  text-decoration: none;
}

.vulnerabilities {
  text-align:center;
}

.vulnerabilities a {
  text-decoration: none;
	color: var(--text-body);
}

.vulnerabilities a:link {
  text-decoration: none;
	color: var(--text-body);
}

.vulnerabilities a:hover {
  text-decoration: none;
	color: var(--bs-gray-600);
}

/* blog index */

.blog-post-body {
  position: relative;
}

/* blog things */
.blog-post {
  margin-bottom: 20px;
  max-width: 100%;
  text-align: left;
  word-wrap: break-word;
}

.blog-post img {
  max-width: 100%;
}

.blog-post-title-home {
  margin-bottom: .25rem;
  font-size: 1.5rem;
}

.blog-post-title-home a {
  text-decoration: none;
	color: var(--text-body);
}

.blog-post-title-home a:link {
  text-decoration: none;
	color: var(--text-body);
}

.blog-post-title-home a:hover {
  color: var(--bs-gray-600);
  text-decoration: none;
}

.blog-post-title {
  margin-bottom: .25rem;
  font-size: 2.5rem;
}

.blog-post-title a {
  color: var(--text-body);
}

.blog-post-title a:link {
  color: var(--text-body);
  text-decoration: none;
}

.blog-post-title a:hover {
  color: var(--bs-gray-600);
  text-decoration: none;
}

.blog-post-meta {
  color: var(--bs-gray-600);
  font-size: 0.9rem;
}

.blog-archive {
  margin-bottom: 20px;
}

.blog-share-social {
  padding-bottom: 10px;
}

.blog-share-social a {
  color: var(--bs-gray-600);
  text-decoration: none;
  font-size: 18px;
}

.blog-share-social a:hover {
  color: var(--text-body);
  text-decoration: none;
}

.blog-share-social a:link {
  text-decoration: none;
}

pre code {
	border-radius: 4px !important;
}

pre {
	box-shadow: 4px 4px 5px #282a36;
	background: #282a36;
}

.blog-comments {
  /*background-color: #eee;*/
  text-align: center;
  margin-top: 10px;
}

.blog-comments h4 {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-comments a {
  text-align: left;
  display: inline-block;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
}

.blog-comments button {
  text-align: right;
  margin-top: 10px;
  background-color: #6D6D6D;
  float: right;
  margin-bottom: 10px;
}

.blog-comments button:hover {
  background-color: #000;
}

.blog-comment-form {
    margin-bottom: 10px;
    margin-top: 10px;
}

.blog-comment-author {
  font-size: 12px;
  text-align: left;
}

.blog-comment-date {
  text-align: right;
  font-size: 10px;
}

.blog-comment-content {
  text-align: left;
}

/* sidebar */
.row.sticky-top {
  top: 150px;
}

.sidebar-social {
   display: flex;
   margin: 10px 0;
   justify-content: center;
}

.sidebar-social img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.sidebar-social span {
  font-size: 15px;
  color: #969394;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

.sidebar-social ul {
  list-style-type: none;
  margin: 0;
}

.sidebar-social ul li {
  display: inline-block;
  margin: 0 5px;
}

.sidebar-social li a {
  font-size: 20px;
  color: #969394;
}

.sidebar-social li a:hover {
  color: #6D6D6D;
}

.gretian-nav ul {
  list-style-type: none;
}

.gretian-nav ul li {
  margin: 0 5px;
}

.gretian-nav li a {
  font-size: 20px;
  color: #969394;
}

.gretian-nav li a:hover, a:link {
  color: var(--bs-gray-600);
  text-decoration: none;
}

.gretian-nav-mobile {
  display: none;
}

.gretian-nav-mobile button {
  background:none;
  border:none;
  margin:0;
  padding:0;
  cursor: pointer;
}
.gretian-nav-mobile-items {
  display: none;
}

.underline{
  position: relative;
}

.underline::before{
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--bs-gray-600);
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
  .underline:hover::before{
    left: 0;
    right: auto;
    width: 100%;
  }
}

/* bottom */

.copyright-footer {
  text-align:left;
	font-size: 15px;
}

/* tags */

.tags-title {
  width: auto;
  letter-spacing: 1.5px;
}

.tags {
  list-style: none;
  margin: 0;
  /*overflow: hidden;*/
  padding: 0;
  font-size: 12px;
}

.tags li {
  float: left;
}

.tag {
  background: #eee;
  /*border-radius: 3px 0 0 3px;*/
  border-radius: 20px;
  color: #6D6D6D;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  padding: 0 23px 0 23px;
  position: relative;
  margin: 0 10px 10px 0;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  font-size: 12px;
}

.tag::before {
  /*content: '#';*/
  height: 2px;
  left: 10px;
  position: absolute;
}

.tag::after {
  background: #fff;
  /*border-bottom: 13px solid transparent;
  border-left: 10px solid #eee;
  border-top: 13px solid transparent;*/
  /*content: '';*/
  position: absolute;
  right: 0;
  top: 0;
}

.tag:hover {
  background-color: #6D6D6D;
  color: white !important;
}

.tag:hover::after {
   border-left-color: #6D6D6D;
}

/* Pagination */
.page-link-gretian {
  color: #555 !important;
}

.page-link-gretian:hover {
  color: #555 !important;
}

.page-gretian-active .page-link {
  color: #fff;
  background-color: #bdbdbd;
}

/* Google usability */
code[class*="language-"], pre[class*="language-"]{
	font-size: 14.75px;
}

/* Modal images */
/* Style the Image Used to Trigger the Modal */
.ImagesModal {
 max-width: 100%;
 border-radius: 5px;
 cursor: zoom-in;
 transition: 0.3s;
}

.ImagesModal:hover {opacity: 0.7;}

/* The Modal (background) */
.modal-gretian {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 1; /* Sit on top */
 padding-top: 100px; /* Location of the box */
 left: 0;
 top: 0;
 width: 100%; /* Full width */
 height: 100%; /* Full height */
 overflow: auto; /* Hide scroll */
 background-color: rgb(0,0,0); /* Fallback color */
 background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content-gretian {
 position: absolute;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
 display: block;
 max-width: 80%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
 margin: auto;
 display: block;
 width: 80%;
 max-width: 700px;
 text-align: center;
 color: #ccc;
 padding: 10px 0;
 height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content-gretian, #caption {
 animation-name: zoom;
 animation-duration: 0.6s;
}

@keyframes zoom {
 from {transform:scale(0)}
 to {transform:scale(1)}
}

/* The Close Button */
.close-gretian {
 position: absolute;
 top: 15px;
 right: 35px;
 color: var(--bs-white);
 font-size: 50px;
 font-weight: bold;
 transition: 0.3s;
}

.close-gretian:hover,
.close-gretian:focus {
 color: #bbb;
 text-decoration: none;
 cursor: pointer;
}

/* dracula.CSS */
.hljs{display:block;overflow-x:auto;padding:1em;background:#282a36}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-section,.hljs-link{color:#8be9fd}.hljs-function .hljs-keyword{color:#ff79c6}.hljs,.hljs-subst{color:#f8f8f2}.hljs-string,.hljs-title,.hljs-name,.hljs-type,.hljs-attribute,.hljs-symbol,.hljs-bullet,.hljs-addition,.hljs-variable,.hljs-template-tag,.hljs-template-variable{color:#f1fa8c}.hljs-comment,.hljs-quote,.hljs-deletion,.hljs-meta{color:#6272a4}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-title,.hljs-section,.hljs-doctag,.hljs-type,.hljs-name,.hljs-strong{font-weight:bold}.hljs-emphasis{font-style:italic}
/* end dracula.css */

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){

.list-group {
  display: block;
}
 .modal-content-gretian {
   width: 100%;
 }
 .sidebar {
   padding-top: 0px;
   padding-left: 0px;
 }
 .row.sticky-top {
   top: 0px;
 }

 .sidebar-social ul {
   list-style-type: none;
   text-align: center;
   padding: 0!important;
   margin: 0 auto;
 }

 .sidebar-social li a {
   font-size: 30px;
 }

 .sidebar-nav ul {
   list-style-type: none;
   text-align: center;
   padding: 0!important;
 }

 .header-mobile {
   padding-top: 0px;
   padding-left: 0px;
 }

  .sidebar-nav ul li {
    display: inline-block;
    margin: 0 5px;
  }

 .header-web {
   display: none !important;
 }

 .header-web {
   padding-top: 0px;
   padding-left: 0px;
 }

 .sidebar-nav {
   display: none !important;
 }

 .gretian-nav-mobile {
   display: flex;
   position: inherit;
   top:0;
   left:0;
   font-size: 50px;
   width: 100%;
 }

 .gretian-nav-mobile-items {
   display: none;
 }

.gretian-nav-mobile-items.show {
  display: block;
  z-index: 100;
  position: absolute;
  background-color: var(--bs-light-bg-subtle);
  padding: 5%;
  top: 60px;
  left:0;
  font-size: 20px;
  text-align: center;
  list-style: none;
  width: 100%
}

.gretian-nav-mobile-title {
  margin-left: 1rem;
	text-decoration: none;
}

 .gretian-nav-mobile-items.show ul {
   list-style-type: none;
   overflow: hidden;
   padding: 0;
   display: flex;
 }

 .gretian-nav-mobile-items.show li {
    margin-right: 0.7rem;
    padding: 0;
    border-radius: 0.3rem;
    color: var(--bs-white);
    margin: 10px 5px;
    animation-name: fadeIn;
    animation-timing-function: ease-in-out;
    animation-duration: 350ms;
    animation-delay: calc(var(--count) * 150ms);
    animation-fill-mode: both;
  }

 .gretian-nav-mobile-items.show a {
    float: none;
    text-align: left;
    color: var(--bs-gray-600);
    font-size: 25px;
  }

  .tag {
    font-size: 17px;
  }
 @keyframes fadeIn {
   0%{
     opacity: 0
   }

   100% {
     opacity: 1
   }
 }
 /* Google usability */
  code[class*="language-"], pre[class*="language-"] {
	  font-size: 17px !important;
  }

}

/* Tablets */
@media only screen
  and (min-width: 768px)
  and (max-width: 1024px) {
 .modal-content-gretian {
   width: 100%;
 }
 .sidebar {
   padding-top: 0px;
   padding-left: 0px;
 }
 .row.sticky-top {
   top: 0px;
 }

 .sidebar-social ul {
   list-style-type: none;
   text-align: center;
   padding: 0!important;
   margin: 0 auto;
   width: 50%;
 }

 .sidebar-nav ul {
   list-style-type: none;
   text-align: center;
   padding: 0!important;
 }

  .sidebar-nav ul li {
    display: inline-block;
    margin: 0 5px;
  }
}
