@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600&display=swap');

html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, ol, ul, li, form, fieldset, legend, label, table, header, footer, nav, section, figure {
  margin: 0;
  padding: 0;
}

:root {
  --primary:       #006400;
  --primary-light: #000000;
  --primary-dark:  #ffffff;
  --accent:        #008000;
  --link:          #005000;
  --text:          rgba(0, 0, 0, 0.87);
  --text-muted:    rgba(0, 0, 0, 0.54);
  --bg:            #ffffff;
  --bg-light:      #fafafa;
}

body {
  background: var(--bg-light);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

figure {
  display: block;
  max-width: 100%;
}

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

img {
  width: auto;
  max-width: 100%;
  height: auto;
  border: 0;
}

p {
  margin: 0 0 12px;
}
ul {
  list-style: disc;
}
ul, ol {
  padding: 0;
  margin: 0 0 12px 25px;
}
li {
  margin: 0 0 12px 0;
}
h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: normal;
}

h1 {
  font-size: 2em;
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
  background: var(--primary);
  color: var(--bg);
}

h1 a {
  display: block;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0.7em 1em;
  text-decoration: none;
  color: var(--bg);
}

strong {
  font-weight: 600;
}

figcaption {
  display:none;
}

.container {
  width: 100%;
  background: var(--bg-light);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content {
  max-width: 1024px;
  margin: 24px auto;
  padding: 2em 1em;
  background: var(--bg);
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  border-radius: 2px;
}

#menu {
  width: 100%;
  background: var(--primary);
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

#menu ul {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1em;
  text-align: right;
}

#menu li {
  display: inline;
  list-style: none;
}

#menu a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 0.8em 0.6em;
  display: inline-block;
  font-size: 0.85em;
  letter-spacing: 0.05em;
}

#menu a:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.album-list {
  width: 100%;
  padding: 2em 0;
  margin: auto;
  background: var(--bg-light);
  float: left;
}

.thumbnail {
  text-align: center;
  float:left;
}
.thumbnail img {
  max-width: 85%;
  height: auto;
  margin: 0 2px 5px 2px;
  border: 6px solid #fff;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  padding: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.thumbnail img:hover {
  box-shadow: 0 4px 12px rgba(0,100,0,.35);
  transform: translateY(-1px);
}

.album_title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video {
  width: 100%;
  margin: 0 0 24px 0;
}
.video__container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  padding-top: 35px;
  height: 0;
  overflow: hidden;
}
.video__container iframe,
.video__container video {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2% 0 15% 0;
}
.video-desc {
  width: 100%;
  max-width: 740px;
  margin: 12px auto;
}

.additionnal-infos {
  width: 100%;
  height: auto;
  float: left;
}

.gallery {
  width: 100%;
  height: auto;
  float: left;
  padding-top:1em;
}
.gallery a {
  line-height: 0;
}

.menu-img,
.gallery__img--main,
.gallery__img--secondary {
  width: 25%;
  float:left;
  margin-bottom: 1em;
}

.gallery__title {
  line-height: 1.4;
  font-size: 0.8em;
  color: var(--text-muted);
  margin-top: 4px;
  width: 100%;
  float: left;
}

.site-footer {
  width: 100%;
  margin-top: auto;
  background: rgba(0, 0, 0, .87);
}

.site-footer__meta {
  background: rgba(0, 0, 0, .2);
}

.site-footer__meta-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0.7em 1.2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
}

.site-footer__copyright {
  font-size: 0.75em;
  color: rgba(255, 255, 255, .7);
}

.site-footer__copyright p {
  margin: 0.15em 0;
}

.site-footer__copyright a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.site-footer__copyright a:hover {
  color: #fff;
  text-decoration: underline;
}

.cc-icons img {
  height: 1em;
  width: auto;
  margin-left: 0.25em;
  vertical-align: middle;
  filter: invert(1) brightness(0.7);
}

.site-footer__social {
  display: flex;
  gap: 0.4em;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: background 0.2s ease;
  color: rgba(255, 255, 255, .7);
}

.site-footer__social a:hover {
  background: rgba(255, 255, 255, .25);
}

.site-footer__social svg {
  width: 1em;
  height: 1em;
  fill: rgba(255, 255, 255, .7);
  transition: fill 0.2s ease;
}

.site-footer__social a:hover svg {
  fill: #fff;
}

@media screen and (max-width: 700px) {
  h1 {
    font-size: 1.5em;
  }
  .menu-img,
  .gallery__img--main,
  .gallery__img--secondary {
    width: 33%;
  }
}


@media screen and (max-width: 500px) {
  .menu-img,
  .gallery__img--main,
  .gallery__img--secondary {
    width: 50%;
  }
}


@media screen and (max-width: 300px) {
  .menu-img,
  .gallery__img--main,
  .gallery__img--secondary {
    width: 100%;
  }
}

.pswp__dynamic-caption {
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  transition: opacity 120ms linear !important; /* override default */
}

.pswp-caption-content {
  display: none;
}

.pswp__dynamic-caption a {
  color: #fff;
}

.pswp__dynamic-caption--faded {
  opacity: 0 !important;
}

.pswp__dynamic-caption--aside {
  width: auto;
  max-width: 300px;
  padding: 20px 15px 20px 20px;
  margin-top: 70px;
}

.pswp__dynamic-caption--below {
  width: auto;
  max-width: 700px;
  padding: 15px 0 0;
}

.pswp__dynamic-caption--on-hor-edge {
  padding-left: 15px;
  padding-right: 15px;
}

.pswp__dynamic-caption--mobile {
  width: 100%;
  background: rgba(0,0,0,0.5);
  padding: 10px 15px;

  right: 0;
  bottom: 0;

  /* override styles that were set via JS.
    as they interfere with size measurement */
  top: auto !important;
  left: 0 !important;
}

/* EXIF / photo metadata */

.exif-table {
  margin-top: 0.5em;
  border-collapse: collapse;
  font-size: 0.85em;
  line-height: 1.5;
}

.exif-table th {
  text-align: right;
  font-weight: normal;
  opacity: 0.6;
/*  text-transform: uppercase; */
  letter-spacing: 0.05em;
  font-size: 0.8em;
  padding-right: 1em;
  white-space: nowrap;
  vertical-align: top;
}

.exif-table td {
  vertical-align: top;
}

.pswp__dynamic-caption a.map {
  opacity: 0.85;
}
