* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid #1a1a1a;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

body.night nav {
    width: unset;
    background-color: #0a0a0a;
}

body.night nav a {
    color: #888;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    font-weight: normal;
    font-style: normal;
}

body.night nav a:hover {
    color: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.intro {
    max-width: 700px;
    margin: 0 auto 20px auto;
    font-size: 16px;
    color: #999;
    line-height: 1.8;
    text-align: center;
}

/*---------*/

a {
    text-decoration: none;
}

.main-gallery {
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery of the front page */

.gallery-item {
    width: 100%;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item > a {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 555;
  width: 100%;
  height: 100%;
}


/* Gallery of albums */

.galleries-grid {
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    margin: 0 auto;
    padding: 0px;
}

.galleries-line {
    width: 100%;
    height: 100%;
    margin-bottom: -5px; /* YOLO */
}

.covers-1 .gallery-square {
    width: 100%;
    height: 100%;
    margin: auto;
    padding-bottom: 47%;
    position: relative;
}

.gallery-square > a {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 555;
    width: 100%;
    height: 100%;
}

@keyframes darken {
    from {background-color: rgba(0, 0, 0, 0);}
    to {background-color: rgba(0, 0, 0, 0.3);}
}

.gallery-square > a:hover {
    animation-name: darken;
    animation-duration: 0.15s;
    animation-iteration-count: 1;
    background-color: rgba(0, 0, 0, 0.3);
}

.gallery-cover {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    display: flex;
}

.gallery-title {
    color: white;
    width: 100%;
    position: absolute;
    top: initial;
    bottom: 0px;
    text-align: center;
    z-index: 3;
    background: transparent linear-gradient(rgba(255, 255, 255, 0) 0%, transparent 1%, rgba(0, 0, 0, 0.07) 26%, rgba(0, 0, 0, 0.5) 71%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0%;
    padding: 20% 0 10px 0;
}

.gallery-header {
    text-align: center;
    margin-top: 8em;
    margin-bottom: 6.5em;
}

.static-header {
    margin-bottom: 0px;
}

#logo {
    width: 10%;
}

.gallery-header > h1 {
    font-size: 2.6vw;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0;
}

.gallery-header > h4 {
    font-size: 1.4vw;
    color: #444;
    font-style: italic;
    font-weight: normal;
    font-family: 'crimson', serif;
    margin-top: .5em;
}

.gallery-header > hr {
    width: 14%;
    margin-top: 3.5em;
    color: #BBB;
}

.gallery-title > h2 {
    text-transform: uppercase;
    margin-bottom: .2em;
    letter-spacing: 2px;
    font-size: 1.7vw;
}

.gallery-title > h3 {
    font-style: italic;
    margin-top: 0;
    margin-bottom: .7em;
    font-family: 'crimson', serif;
    font-weight: normal;
}

.gallery-datetime {
    font-family: 'crimson', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
}


/* Paragraph for gallery pages */

.paragraph {
  text-align: left;
  font-size: 20px;
  margin-left: 21%;
  margin-right: 21%;

}

.paragraph h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 40px;
  line-height: 1.375;
  letter-spacing: 0em;
  font-weight: unset;
  margin: 0 0 1rem 0;
  text-transform: unset;
}

.paragraph h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 28px;
  line-height: 1.375;
  letter-spacing: 0em;
  font-weight: unset;
  margin: 1rem 0 1rem 0;
  text-transform: unset;
}

.paragraph p {
  line-height: 1.5em;
}

.paragraph li {
  margin-left: 40px;
  font-size: 18px;
}

body.night .paragraph a {
    color: #888;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
    font-weight: normal;
    font-style: normal;
}

body.night .paragraph a:hover {
    color: #ffffff;
}



/* Footer */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 10px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;

    border-top: 1px solid #1a1a1a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 11px;
    color: #555;
}

footer p {
    margin: 0;
}

.copyright {
    color: #666;
    font-size: 14px;
}

.social-links {
    position: absolute;
    right: 40px;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #666;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}


/* Sections */

.caption__overlay {
  height: 20px;
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 0 30px 0;
  color: white;
  transform: unset;
  transition: unset;
  background: unset;
}

.caption:hover .caption__overlay {
  transform: translateY(0);
}

.caption h5 {
  position: relative;
  width: auto;
  display: inline-block;
  margin: 0 auto 10px auto;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  padding: 2px 0px;
  width: 100%;
  text-align: left;
}


/* Gallery tags */

.gallery-tag {
   font-size: 13px;
   text-transform: uppercase;
   font-style: normal;
   display: inline;
   font-family: "adobe-garamond-pro", serif;
}

.gallery-tag span {
    font-size: 12px;
    border-bottom: solid 1px rgba(255,255,255,0.2);
    display: inline-block;
    margin: 0 0 0 3px;
    font-weight: bold;
    font-family: "europa", sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-style: normal;
}

.gallery-cover img.fillWidth,
.gallery-cover video.fillWidth {
  margin: auto;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
}

.back-to-home {
    text-align: center;
}

.back-to-home hr {
    width: 14%;
    color: #DDD;
}

.back-to-home a {
    position: relative;
    text-decoration: none;
    color: transparent;
}

.back-to-home #logo:hover {
    background-color: black;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    font-family: 'montserrat', sans-serif;
    font-weight: bold;
}


/* Body night */

body.night {
    background-color: #0a0a0a;
    color: #d3d4d4;
}

body.night footer {
  background-color: #0a0a0a;
  color: #fff;
}

body.night footer a {
  color: #fff;
}

body.night ul.icon a {
  -webkit-filter: invert(1);
  filter: invert(1);
}

body.night .back-to-home #logo {
  -webkit-filter: invert(1);
  filter: invert(1);
}

body.night a {
  color: #9CD7F7;
}

body.night .audio-player {
  background: #1f3341
}

body.night #logo {
  -webkit-filter: invert(1);
  filter: invert(1);
}

body.night .gallery-header h4 {
  color: #c1f1f0;
}

body.night footer .social-links img {
    filter: invert(1);
}

@media only screen and (max-device-width: 700px) {
  .gallery-square {
    width: 100% !important;
    margin-bottom: -7px !important;
    padding-bottom: 70% !important;
  }

  .gallery-title > h2 {
    font-size: 3.7vw;
  }

  header {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

    .container {
        padding: 0 20px;
    }

    .logo {
        font-size: 20px;
    }

    .hero-title {
        font-size: 32px;
        margin: 50px 0 15px 0;
    }

    .intro {
        font-size: 15px;
        margin: 0 auto 50px auto;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .social-links {
        position: static;
    }
}

