body {
  background-color: #333333;
  padding: 0;
  margin: 0;
  color: #eeeeee;
}

.bg-my {background-color: #333333;}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.3rem;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

a {
  text-decoration: underline;
  color: #eeeeee;
}

a:hover {
  text-decoration: none;
  color: #eeeeee;
}

a.link-back {
  text-decoration: none;
}

content img {
  width: 100%;
  object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
  content .element {
    transition: transform .4s;
  }

  content .element:hover {
    transform: scale(1.02);
  }  
}

content .element a {
  color: inherit;
  text-decoration: none;
}

/*
@media (max-width: 1024px){
  h1 {
    font-size: 2rem;
  }
  .container {
    max-width: 720px;
  }
}

@media (max-width: 768px){
  h1 {
    font-size: 1.5rem;
  }
  .container {
    max-width: 540px;
  }
}
*/

footer .footerText a, footer .footerText a:hover {
  text-decoration: underline;
  color: #6c757d;
}

/** Lightbox **/
.sl-overlay {
  background: #333333;
  opacity: 1;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-counter { 
  color: #eee; opacity: 1; 
}


/* Masonry */

* {
  box-sizing: border-box;
}

.grid {
  columns: 12rem;
  gap: 1rem;
  counter-reset: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: masonry;  
}

.item + .item {
  margin-top: 1rem;
}

.item {
  break-inside: avoid;
  aspect-ratio: 4 / 3; /* 4 / 3; */
  /* background: pink; */
  padding: 1rem;
  border-radius: 0.75rem;
}

/*
.item::before {
  counter-increment: grid;
  content: counter(grid);
  font-size: 0.5rem;
}



.item:nth-child(2n) {
  aspect-ratio: 1;
  margin-top: 1.5rem;
}


.item:nth-child(3n) {
  aspect-ratio: 4 / 1;
  margin-top: 0;
}

*/

@media (min-width:0px){
    .container{max-width:85%}
    h1 {font-size: 1.8rem}
    h2 {font-size: 1.3rem}
}

@media (min-width:576px){
    .container,
    .container-sm{max-width:490px}
    h1 {font-size: 1.9rem}
    h2 {font-size: 1.5rem}

}

@media (min-width:768px){
  .container,.container-md,
  .container-sm{max-width:660px}
  h1 {font-size: 2.1rem}
  h2 {font-size: 1.7rem}


}

@media (min-width:992px){
  .container,
  .container-lg,
  .container-md,
  .container-sm{max-width:860px}
    h1 {font-size: 2.5rem}
    h2 {font-size: 2rem}


}

@media (min-width:1200px){
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl{max-width:1000px}
}

.sl-wrapper .sl-image .sl-caption {
  background: rgba(0,0,0,0.3);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  padding: 5px 10px 5px 10px;
}

@media (min-width: 50em) {
  .sl-wrapper .sl-image img{
    padding: 3px;
    background-color: white;
  }
}

.imgElement {
    padding: 1px;
    background-color: white;
  }