:root {
  --content-width: 65rem;
}

*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Lato', sans-serif;  
  font-size: 18px;
  
}

body {
  line-height: 1.35;
  background-color: rgb(238, 238, 238);
}

.header {
  font-family: 'Dela Gothic One', cursive;

}

.details h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}
li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  opacity: 0.7;
  color: green;
}

strong,
b {
  font-weight: 500;
}

img {
  width: 100%;
}

.page {
  padding: 5vh 5vw 10vh;
}

.page>* {
  max-width: var(--content-width);
  margin: 0 auto;
}


.header a {
  position: relative;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .05em;
  padding: .5rem 0;
  font-weight: 500;
}

.header .logo {
  display: block;
  margin-bottom: 1.5rem;
  padding: .5rem 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2rem;
}

.menu a {
  margin: 0 .75rem;
}

.menu a[aria-current] {
  border-bottom: 2px solid #000;
}

@media screen and (min-width: 50rem) {
  .header .logo {
    margin-bottom: 0;
  }

  .header {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu {
    margin-right: -.75rem;
  }
}


main {
  min-height: calc(100vh - 10rem);
}

.intro {
  padding: 10vh 0 5vh;
  text-align: center;
}

.intro h1 {
  position: relative;
  margin-bottom: 1rem;
  font-weight: 900;
  font-size: calc(1vw + 2rem);
  z-index: 1;
}




header h1 span {
  display: block;
}


.d-none {
  display: none;
}



@media screen and (min-width: 40rem) {
  .person-grid {

    grid-template-columns: 1fr 1fr;
  }

  header h1 span {
    display: inline;
  }
}


@media screen and (min-width: 60rem) {
  .person-grid {

    grid-template-columns: 1fr 2fr;
  }
}


.albums {
  display: grid;
  list-style: none;
  grid-gap: 1rem;
  line-height: 0;
}

@media screen and (min-width: 30em) {
  .albums {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 60em) {
  .albums {
    grid-template-columns: repeat(3, 1fr);
  }
}


.albums li {
  overflow: hidden;
  background: #fff;
  padding: 1.5rem;
}

.albums li p {
  line-height: 1;
  margin-top: 0.5rem;
  color: #777;
}

.albums figure {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
}

.albums figcaption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: #fff;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5em;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .125em;
  transition: all 0.3s;
  overflow: hidden;
  font-size: 2rem;
}

.albums figure:hover figcaption {
  background: rgba(0, 0, 0, .5);
  opacity: 0.7;

}

.albums figure img {
  transform: scale(1.15);
}

.albums figure span {
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.albums figure:hover img {
  transform: scale(1.3);

}

.albums img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s;
}

.albums img:hover {
  opacity: .2;
}

.albums.personer figcaption {
  font-size: 3rem;
  line-height: 0;
}

.albums.personer figure:hover figcaption {
  background-color: transparent;
}


.albums.personer p {
  font-size: 1.15rem;
  font-weight: 600;
}





.masonry-sizer,
.masonry-item {
  width: calc(50% - 20px);
  background-color: white;
  margin-bottom: 40px;
}



.masonry-item {
  float: left;
}

.masonry-item img {
  display: block;
  max-width: 100%;

}

.masonry-item figure {
  padding: 2rem;
}

.masonry-item figcaption {
  padding: 1rem 0 0;
  font-weight: 600;
}


#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.8;
  text-align: center;
  display: none;
}

#lb-content {
  color: #222;
  height: 150px;
  width: 260px;
  border: 16px solid #222;
  background-color: #fff;
  position: relative;
  text-align: center;
  padding-top: 10px;
  border-radius: 4px;
  display: none;
}

#lb-close {
  display: block;
  height: 22px;
  width: 25px;
  background-color: red;
  color: #fff;
  position: absolute;
  top: -25px;
  right: -25px;
  cursor: pointer;
  text-align: center;
  border-radius: 10px;
}

.noimg {
  height: 80vh;
  padding: 3rem;
  display: flex;
  align-items: center;
    justify-content: center;
    background-color: #666;
    color: white;
    font-size: 1.5rem;
}


.person figure {
  margin-top: 2rem;
}

.person h1 {
  margin-bottom: 1rem;
  font-weight: 300;
  font-size: 2.5rem;
}

.person .description {
  margin-bottom: 1rem;
}

.person .prop {
  margin-bottom: 1rem;
  display: grid; 
  grid-template-columns: 5rem auto;
  grid-column-gap: 1rem;
  font-weight: 300;
}

.person h4 {
  font-weight: 400;
}
#extraheader {
  display: none;
}