:root {
	--background-color: whitesmoke;
	--background-banner: #630C2B;
	--background-footer:#cccccc;
	--background-copyright:#98DAF6;
	--text: #222222;
	--text-alt: #666666;
	--text-banner: white;
	--text-copyright:white;
	--text-footer: #222222;
	--accent: red;
	--accent-alt: #98DAF6;
	--code: white;
	--hr: red;
	--color-code-light-grey:  #cacbd1;
    --color-code-comment:     #a9aaad;
    --color-code-white:       #c5c9c6;
    --color-code-red:         #d16464;
    --color-code-orange:      #de935f;
    --color-code-yellow:      #f0c674;
    --color-code-green:       #a7bd68;
    --color-code-aqua:        #8abeb7;
    --color-code-blue:        #7e9abf;
    --color-code-purple:      #b294bb;
    --color-light: #efefef;
    --color-black: #000;
    --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    --font-family-body: 'Atkinson Hyperlegible', 'Arial'; sans-serif;
    --font-family-head: 'Atkinson Hyperlegible Bold', 'Arial Black', 'Impact';
    --gutter: 1rem;
}

@media (prefers-color-scheme: dark) {
	:root {
		--background-color: #222222;
		--background-copyright: #630C2B;
		--background-footer: navy;
		--text: #eeeeee;
		--text-alt: #98DAF6;
		--text-footer: white;
		--accent: #f8b319;
		--code: white;
		--hr: white;
	}
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src:
    url("../fonts/Atkinson-Hyperlegible-Regular-102a.woff2") format("woff2"),
    url("../fonts/Atkinson-Hyperlegible-Regular-102.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Atkinson Hyperlegible Bold";
  src:
    url("../fonts/Atkinson-Hyperlegible-Bold-102a.woff2") format("woff2"),
    url("../fonts/Atkinson-Hyperlegible-Bold-102.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

html {
	background-color: var(--background-color);
	color:var(--text);
	font-family: var(--font-family-body);
	margin: 0;
	padding: 0;
	font-size: 1.2 em;
	line-height: 1.3em;
}

main {
    min-height: 700px;
}

hr {
	border: 1px solid var(--hr);
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

body {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
}

h1 {
	font-weight: 800;
	font-size: 2em;
	padding-top: 40px;
    padding-bottom: 20px;
	line-height: 1.2;
	font-family: var(--font-family-head);
}

h2 {
	font-weight: 700;
	color: var(--text-alt);
    padding-top: 40px;
    padding-bottom: 20px;
    font-family: var(--font-family-head);
}

p {
  line-height: 1.5em;
  font-size: 1.2em;
  font-weight: 100;
}

article {
	padding-top: 10px;
}

a {
	text-underline-offset: 5px;	
	color: var(--accent);
}

a.dark {
	color: var(--accent-alt);
}

a:hover {
	text-decoration: none;
}

blockquote {
  background: #630C2B;
  color: white;
  border-left: 10px solid var(--accent);
  margin: 1.5em 10px;
  padding: 0.5em 10px;
}

/* Styling for new micro block */

.micro-block {
  background: #630C2B;
  color: white;
  border-left: 10px solid var(--accent);
  border-radius: 10px;
  padding: 0.5em 10px;
}

.micro-block button{
    background-color: #98DAF6#whitesmoke
    color: #fff;
    border: 2px solid #98DAF6; 
    padding:15px;
    text-transform: uppercase;
}

.micro-block .micro-feature{
    border: 2px solid black;
    max-width: 25%; 
    border-radius: 20px; 
    float: right; 
    margin-left: 20px; 
    margin-bottom:20px; 
}

/* Styling for new micro block ends*/

button {
    background-color: #98DAF6#whitesmoke
    color: #fff;
    border: 2px solid #98DAF6; 
    padding:15px;
    text-transform: uppercase;
}

.feed-item{
    border: 2px solid #630C2B;
    border-radius: 5px;
    
    padding: 0.5em 10px;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.feed-item img{
    max-width: 100%;  
    display:block;
    margin:auto;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

img {

	max-width: 100%;
	border-radius: 5px;
}

#anchor {
	text-decoration: none;
}

.category-list {
	font-size: 0.75em;
}

.dt-published {
	font-family: ui-monospace;
	font-size: 0.9em;
}

.hide-me {
	opacity: 0;
	height: 1px;
	margin: 0px;
	padding: 0px;
}

nav.menu {
	list-style: none;
    position: fixed;
    width: 100%;
	justify-content:left;
	background-color: var(--background-banner);
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left:auto;
	margin-right:auto;
	padding: 15px 0px 10px;
	top: 0px;
    border-bottom: 3px solid var(--accent-alt);
    z-index: 2;

}

.navbar {
    max-width: 880px;
    margin-left:auto;
	margin-right:auto;
	padding-left: 10px;
	padding-right: 10px;
}

.navbar > li  > a{
	padding: 5px;
	font-size: 1em;
	color: var(--accent-alt);
	text-decoration: none;
	font-weight: 200;
	font-family: var(--font-family-head);
}

.navbar > li > a:hover {
	text-decoration-line: underline;
    text-decoration-style: dotted;
}

.navbar > li > a .follow {
	flex: 1;
}

.navbar > li > a .site-logo {
	padding-top: 0px;
}

.site-logo {
	height: 40px;
	width: 40px;
	border: 2px solid var(--accent-alt);
	border-radius: 50%;
	padding-bottom: -5px;
}

.p-taxonomies > a {
	font-size: 0.75em;
	color: var(--text-alt);
}

.follow {
	margin-left: auto;
}

.body-container {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
    margin-top: 75px;
	padding-left: 10px;
	padding-right: 10px;
}
.body-content {
	margin-top: 10px; 
	margin-left: 10px;
	margin-right: 10px;
	}	
	
.footer-container {
	display: flex;
	flex-wrap: wrap;
	background-color: var(--background-footer);
	color: var(--text-footer);
	margin-top: 30px;
	padding-bottom: 30px;
}

.footer {
	margin-left: auto;
	margin-right: auto;
	padding: 10px 0px;
    width: 90%;
}

.webring {
	text-align: center;
}

.copyright {
	margin-top: 50px;
	text-align: center;
	padding:10px 0px;
	background-color: var(--background-copyright);
	border-top: 3px solid var(--background-banner);
	color: white;	
	font-size: 0.75em;
}

.copyright a {
	color: var(--text-alt)
}

.profile-photo {
	width: 160px; 
	height: 160px;
	border-radius: 25%;
	
}

/* grid */
.grid {
    --columns: 12;
    --gutter: 1rem;
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: 1fr;
  }
  .grid > .column {
    margin-bottom: var(--gutter);
  }
  
  .autogrid {
    --gutter: 3rem;
    --min: 10rem;
    display: grid;
    grid-gap: var(--gutter);
    grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
    grid-auto-flow: dense;
  }

  .grid ul {
    list-style-type: none;
  }

  ul .grid .ul {
    list-style-type: none;
  }

  ul {
    list-style-type: none;
  }

  li .column {
    list-style: none;
  }

  @media screen and (min-width: 60rem) {
    body {
      --padding: 3rem;
    }
  
    .grid {
      grid-template-columns: repeat(12, 1fr);
    }
    .grid > .column {
      grid-column: span var(--columns);
    }
  
  }

/* archive grid */
.archive-container {
	display: grid;
	grid-template-columns: auto auto;
	justify-content: start;
	column-gap: 5px;
}

.archive-date {
	grid-column: 1 / span 1;
}

.archive-content {
	grid-column: 2 / span 1;
}

/* code blocks */
.highlight {
	font-size: 0.9em;
}
pre {
	overflow: auto;
	padding: 1em;
}

/* Post List Styling */
ul.post-list {
	padding-left: 0;
}

ul.post-list {
	list-style-type: none;
}

ul.post-list a.u-url {
	text-decoration: none;
}

.note-title {
  font-size: 3em;
  font-weight: 900;
}

.note-subheading {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.5em;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.note-abstract {
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.note-excerpt {
    font-weight: 400;
  }

.note-excerpt header {
    margin-bottom: 1.5rem;
  }

.note-excerpt figure {
    margin-bottom: .5rem;
  }

.note-excerpt-title {
    font-weight: 600;
    line-height: 1.2em;
    padding-top: 0px;
    padding-bottom: 10px;
  }

.note-excerpt-date {
    color: var(--color-text-grey);
  }

nav ul,
ul.reply-buttons {
	list-style-type: none;
	padding: 0;
}

nav ul li,
ul.reply-buttons li {
	display: inline;
	margin-right: 0.2em;
	line-height: 2.15em;
	white-space: nowrap;
}

/* Komments Styling */

ul.list-likes, ul.list-mentions, ul.list-reposts {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

main > ul.list-likes, main > ul.list-mentions {
    list-style-type: none;
}

ul.list-likes > li, ul.list-mentions > li, ul.list-reposts > li {
    width: 80px;
    height: 80px;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 3px solid var(--background-banner);
    border-radius: 20px;
}

ul.list-likes > li > header > a > img, ul.list-mentions > li > header > a > img, ul.list-replies > li > header > a > img, ul.list-comments > li > header > a > img, ul.list-reposts > li > header > a > img {
    width: 80px;
    max-width:80px !important;
    height: 80px;
    max-height: 80px !important;
    border-radius: 17px;
}

ul.list-likes > li > header > img, ul.list-mentions > li > header > img, ul.list-replies > li > header > img, ul.list-comments > li > header > img, ul.list-reposts > li > header > img {
    width: 80px;
    max-width:80px !important;
    height: 80px;
    max-height: 80px !important;
    border-radius: 17px;
}

ul.list-comments, ul.list-replies {
    list-style-type: none;
    margin-top: 20px;
}

ul.list-comments > li, ul.list-replies > li {
    border: 1px solid var(--background-banner);
    margin-top: 20px;
    padding: 10px 20px;
   
}

ul.list-comments > li > header, ul.list-replies > li > header {
    margin-top: 20px;
}

.komment-reply {
    padding-bottom: 20px;
}

.tinylytics_webring_avatar {
	width: auto;
	height: 1.75em;
	border-radius: 100%;
}

.rate-page__thumbs {
    text-align: center !important;
}

.down {
    display: none !important;
}

/* Responsive image gallery rules begin*/

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

ul.image-gallery {
	margin-block-start: 0px; 
	margin-inline-start: 0px; 
	padding-inline-start: 0px;
	list-style: none;
}

.image-gallery > li {
  flex-basis: 250px; /*width: 350px;*/
  position: relative;
  cursor: pointer;
}

.image-gallery::after {
  content: "";
  flex-basis: 250px;
}

.image-gallery li img {
  object-fit: cover;
  width: 250px;
  max-height: 185px;
  
  vertical-align: middle;
  border-radius: 10px;
}

.image-gallery a {
	color: white;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(57, 57, 57, 0.502);
  top: 0;
  left: 0;
  transform: scale(0);
  transition: all 0.2s 0.1s ease-in-out;
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hover */
.image-gallery li:hover .overlay {
  transform: scale(1);
}

.photos-grid-container {
	grid-column-gap: 5px !important;
}

/* Text */

.text {
    line-height: 1.5em;
  }

.text a {
    text-decoration: underline;
  }

.text :first-child {
    margin-top: 0;
  }

.text :last-child {
    margin-bottom: 0;
  }

.text p,
.text ul,
.text ol {
    margin-bottom: 1.5rem;
  }

.text ul,
.text ol {
    margin-left: 1rem;
  }

.text ul p,
.text ol p {
    margin-bottom: 0;
  }

.text ul > li {
    list-style: disc;
  }

.text ol > li {
    list-style: decimal;
  }

.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
    margin-bottom: 0;
  }

.text .codeblock {
    display: grid;
  }

.text code {
    font-family: var(--font-family-mono);
    font-size: 1rem;
    background: var(--color-light);
    padding: 0 .5rem;
    display: inline-block;
    color: var(--code);
  }

.text pre {
    font-family: var(--font-family-mono);
    margin: 3rem 0;
    background: var(--color-black);
    color: var(--color-white);
    padding: 1.5rem;
    overflow-x: scroll;
    overflow-y: hidden;
    line-height: 1.5rem;
  }

.text pre code {
    padding: 0;
    background: none;
  }
  
.text dt {
    font-weight: 600;
  }
  
.text blockquote {
    font-size: 1.25rem;
    line-height: 1.325em;
    border-left: 2px solid var(--color-black);
    padding-left: 1rem;
    margin: 3rem 0;
    max-width: 100%;
  }

.text blockquote footer {
    font-size: .875rem;
    font-style: italic;
  }

.text figure {
    margin: 1rem 0;
  }

.text figcaption {
    padding-top: .75rem;
    color: var(--color-text-grey);
  }

.text figure ul {
    line-height: 0;
    display: grid;
    gap: 1.5rem;
    margin: 0;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  }

.text figure ul li {
    list-style: none;
  }

  /* Hide plugin elements */
.share-elsewhere {
    display: none;
  }

.hidden {
    display: none;
  }

  /* Komments ovverides */

#kommentform {
    grid-row-gap: 0px !important;
}


.align-center {
    text-align: center;
  }
  
.intro {
    max-width: 40rem;
    margin-bottom: 1.5rem;
  }

.intro *:not(:last-child) {
    margin-bottom: 1em;
  }
  
.cta {
    background: var(--color-black);
    color: var(--color-white);
    display: inline-flex;
    justify-content: center;
    padding: .75rem 1.5rem;
    border: 4px solid var(--color-white);
    outline: 2px solid var(--color-black);
  }
  
.box {
    background: var(--color-light);
    padding: 1.5rem;
    border: 4px solid var(--color-white);
    outline: 2px solid var(--color-light);
  }
  
.video,
.img {
    position: relative;
    display: block;
    --w: 1;
    --h: 1;
    padding-bottom: calc(100% / var(--w) * var(--h));
    background: var(--background-banner);
  }

.img img,
.video iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
  }
  
.img[data-contain] img {
    object-fit: contain;
  }
  
.img-caption,
.video-caption {
    padding-top: .75rem;
    line-height: 1.5em;
  }
  
header .h-card {
    max-width: 50px;
}