/** 
 * 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;
}


body {
  background-color: var(--bg-color);
  padding: 0;
  margin: 0;
  color: var(--text-color);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.modern-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3vw;
  letter-spacing: 1vw;
  text-transform: uppercase;
  color: #252527;
  -webkit-text-stroke: 2px white;
  text-align: center;
  position: relative;
  text-shadow:
      /*text stroke around letters*/
      0 1px 0 #3a3a3a,
      -1px -1px 0 #3a3a3a, 
      
      /*main 3d shadow*/
      -1px 0px 0 #2b2b2b, 
      -2px 1px 0 #2c2c2c, 
      -3px 2px 0 #2d2d2d, 
      -4px 3px 0 #2e2e2e, 
      -5px 4px 0 #2f2f2f, 
      -6px 5px 0 #303030, 
      -7px 6px 0 #313131, 
      -8px 7px 0 #252527, 
      
      /*top right*/
      0 -1px 1px white,
      0 -2px 0px white,        
      
      /*bottom left corner*/
      -8px 7px 0px white,
      -9px 8px 0px white,
      
      -2px -1px 0 white,
      -3px -0px 0 white,
      
      /*top left corner*/
      -10px 7px 0 white,
      -9px 6px 0 white,
      -8px 5px 0 white,
      -7px 4px 0 white,
      -6px 3px 0 white,
      -5px 2px 0 white,
      -4px 1px 0 white,
      
      /*lower right / (upper right side for capital T like H etc letters. */ 
      0px 2px 0px white,
      -1px 3px 0px white,
      -2px 4px 0px white,
      -3px 5px 0px white,
      -4px 6px 0px white,
      -5px 7px 0px white;
}

.modern-brand:hover {
  opacity: 1;
  transform: translateY(-4px) translateZ(0);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 300;
  letter-spacing: 0.02rem;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2vw;
  letter-spacing: 1vw;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: #252527;
  -webkit-text-stroke: 2px white;
  text-align: center;
  position: relative;
  text-align: left;
  text-shadow:
      /*text stroke around letters*/
      0 1px 0 #3a3a3a,
      -1px -1px 0 #3a3a3a, 
      
      /*main 3d shadow*/
      -1px 0px 0 #2b2b2b, 
      -2px 1px 0 #2c2c2c, 
      -3px 2px 0 #2d2d2d, 
      -4px 3px 0 #2e2e2e, 
      -5px 4px 0 #2f2f2f, 
      -6px 5px 0 #303030, 
      -7px 6px 0 #313131, 
      -8px 7px 0 #252527, 
      
      /*top right*/
      0 -1px 1px white,
      0 -2px 0px white,        
      
      /*bottom left corner*/
      -8px 7px 0px white,
      -9px 8px 0px white,
      
      -2px -1px 0 white,
      -3px -0px 0 white,
      
      /*top left corner*/
      -10px 7px 0 white,
      -9px 6px 0 white,
      -8px 5px 0 white,
      -7px 4px 0 white,
      -6px 3px 0 white,
      -5px 2px 0 white,
      -4px 1px 0 white,
      
      /*lower right / (upper right side for capital T like H etc letters. */ 
      0px 2px 0px white,
      -1px 3px 0px white,
      -2px 4px 0px white,
      -3px 5px 0px white,
      -4px 6px 0px white,
      -5px 7px 0px white;
}

@media (max-width: 768px) {
  .modern-brand {
    font-size: 14px;
    letter-spacing: 0.05rem;
  }
  
  h1 {
    font-size: 2rem;
  }
}

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;
  }