html {
  background-color: #f4f4f4;
}

body {
  overflow-y: scroll;
  display: flex;
  justify-content: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: rgb(110, 110, 110);
  animation: fadein 1.2s;
  position: static;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

h1 {
  font-size: 30px;
  font-weight: 100;
  margin: 20px 0px 60px 0px;
}

h2 {
  margin: 0px 0px 20px 0px;
  font-size: 24px;
  font-weight: 100;
}

a:link {
  color: rgb(110, 110, 110);
  text-decoration: none;
}

a:visited {
  color: rgb(110, 110, 110);
}

a:hover {
  color: rgb(20, 20, 20);
  font-weight: 800;
}

.landing-picture {
  width: 100%;
}

.menu-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 32px;
}

.menu-link {
  font-size: 20px;
  font-style: normal;
  transition: 0.3s;
}
.works-menu-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 32px;
}

.selected-link {
  color: rgb(40, 40, 40);
  text-decoration: underline;
}

.works-menu-link {
  white-space: nowrap;
  font-size: 15px;
  font-style: normal;
  margin-right: 10px;
  transition: 0.3s;
  margin-bottom: 40px;
}

.content {
  width: 100%;
  max-width: 1224px;
}

.pictures-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto auto auto;
  grid-template-columns: auto auto auto;
  grid-gap: 60px;
}

.picture-label {
  font-size: small;
  margin-left: 7px;
  margin-bottom: 5px;
}

@media screen and (max-width: 1000px) {
  .pictures-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

.thumb-picture {
  cursor: pointer;
  max-height: 130px;
  transition: 0.3s;
}
.thumb-picture:hover {
  opacity: 0.7;
}

.year-label {
  grid-column-start: 1;
  grid-column-end: 4;
  font-size: 21px;
}

.modal {
  display: none;
  z-index: 1;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0, 0.4);
  justify-content: center;
}

.modal-content-wrapper {
  display: flex;
  flex-direction: column;
  height: min-content;
  background-color: white;
}

.modal-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  background-color: white;
}

/* Modal Content (image) */
.modal-content {
  width: 96%;
  height: 96%;
}

/* Caption of Modal Image */
.modal-image-text {
  white-space: nowrap;
  text-align: center;
  color: rgb(110, 110, 110);
  padding-top: 2px;
  height: 24px;
  font-size: 18px;
}
@media screen and (max-width: 800px), screen and (max-height: 600px) {
  .modal-image-text {
    display: block;
    color: rgb(110, 110, 110);
    font-size: 14px;
    height: 20px;
  }
}

/* Add Animation */
.modal-content,
.modal-image-text {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.image-controls {
  display: flex;
  justify-content: center;
  height: 40px;
}

.next-image-button {
  padding: 0px 10px;
  font-size: 26px;
  background-color: white;
  border-width: 0px;
  margin-right: 10px;
  border-radius: 4px;
  color: rgb(110, 110, 110);
}
.next-image-button:hover {
  background-color: lightblue;
  border-radius: 0px;
  cursor: pointer;
}
.next-image-button:disabled {
  color: rgb(220, 220, 220);
}
.next-image-button:disabled:hover {
  background-color: white;
  cursor: default;
}

.video-frame {
  margin-bottom: 60px;
}
