/** 
 * Theme for novaGallery - https://novagallery.org
 * Theme: "novaGallery"
 * Author: novafacile OÜ
 * License: AGPL-3.0 
 **/
:root {
  --bg-color: #333333;
  --text-color: #eeeeee;
  --link-color: #eeeeee;
  --link-color-hover: #eeeeee;
  --link-color-muted: rgba(222, 226, 230, 0.75);
  --link-color-muted-hover: rgba(222, 226, 230, 0.75);
  --lightbox-bg: #333333;
  --lightbox-color: #eeeeee;
}

/* encode-sans-200 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Encode Sans';
  font-style: normal;
  font-weight: 200;
  src: url('./fonts/encode-sans-v23-latin-200.woff2') format('woff2'); 
}
/* encode-sans-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Encode Sans';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/encode-sans-v23-latin-regular.woff2') format('woff2'); 
}
/* encode-sans-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Encode Sans';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/encode-sans-v23-latin-700.woff2') format('woff2'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Skia';
  font-style: normal;
  src: url('./fonts/skia.woff') format('woff'),
       url('./fonts/skia.woff') format('woff2');
}
body {
  background-color: var(--bg-color);
  font-family: 'Encode Sans';
  padding: 0;
  margin: 0;
  color: var(--text-color);
}

h2 {
  margin-top: 2rem;
}

.introimage {
width: 20vw;
    float: left;
    padding: 0 2rem 1rem 0;
}

.navbar-brand {
  font-family: 'Skia';
  font-size: 3rem;
  line-height: 2.2rem;
  letter-spacing: 0.05rem;
}

.navbar-brand2 {
  font-family: 'Arial';
  font-size: 1.7rem;
  letter-spacing: 0.5rem;
}

.insta {
    background-image: url(Instagram_logo_2022.svg);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: contain;
    padding: initial;
    padding-left: 1.5rem;
}

a, a:visited {
  color: var(--link-color);
  text-decoration: none;
}

a:hover, a:active {
  color: var(--link-color-hover);
}

.text-muted a, .text-muted a:visited {
  color: var(--link-color-muted);
  text-decoration: none;
}

.text-muted a:hover, .text-muted a:active{
  color: var(--link-color-muted-hover); 
}

main .cover-image img {
  width: 100%;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  main .cover-image {
    transition: transform .4s;
  }

  main .cover-image:hover {
    transform: scale(1.02);
  }  
}

/** Lightbox **/
.sl-overlay {
  background: var(--lightbox-bg);
}

.sl-wrapper .sl-image .sl-caption {
  font-size: 1rem;
  opacity: 0.9 !important;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-counter { 
  color: var(--lightbox-color);
  opacity: 1;
  }

.multicol {
        column-count: 2;
        column-gap: 2rem;
}

h2, .paragraph {
  break-inside: avoid;
  page-break-inside: avoid;
}

h2 + p {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-top: 0; 
  page-break-before: no;
}

@media (max-width: 60em) {
  .multicol {
        column-count: 1;
  }
  .introimage {
  width: 30vw;
  }
}

@media (max-width: 30em) {

  .introimage {
  width: 50vw;
  
    float: none;
  }
}