body {
   
    height: 100vh;
    width: 100vw;
    background: #BCBEC0;
    overflow-x: hidden;
}



.library {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  width: 100%;
  padding-bottom: 30px;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.header {
  width: 100%;
  font-family: "Roboto Mono", sans-serif;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
}

.header div {
  background-color: lightgray; 
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  padding-left: 15px;
  padding-right: 15px;
}

.header div .year {
  background-color: transparent; 
  padding-top: 2px;
  padding-bottom: 2px;
  border-right: 0px solid black;
  border-bottom: 0px solid black;
  border-left: 0px solid black;
  padding-left: 0px;
  padding-right: 0px;
}
  
.header div a:link,
.header div a:visited {
  text-decoration: none;
  color: inherit;
}

.header div a:active {
  text-decoration: none;
  color: cyan;
}

.header div a:hover {
  color: cyan
}
  

.header p {
  margin-left: 0px;
}

.footer {
  background-color: lightgray; 
  width: 100%;
  height: 35px;
  font-family: "Roboto Mono", sans-serif;
  display: flex;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  border-right: 1px solid black;
  border-top: 1px solid black;
  border-left: 1px solid black;
  margin: 0px;
  padding: 0px;
  font-size: 10px;
}

.footer div {
  display: flex;
  justify-content: center;
  align-content: center;
  height: 100%;
  background-color: lightgray; 
  border-right: 1px solid black;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.footer a {
  text-decoration: none;   /* removes underline */
  color: inherit;          /* uses the parent’s text color */
  background: none;        /* remove any background */
  border: none;   
  font-size: 10px;
}

.footer div:hover {
  background-color:cyan;
}


@media (max-width: 600px) {
  
  body {
    overflow-x: hidden;
    height: 100%;
    max-width: 100%;
    background: #BCBEC0;
    margin: 0;
}
    .library {
      grid-template-columns: repeat(2, 1fr);
    }
    
  img, video {
    max-width: 100%;
    height: auto;
}

.header {
  width: 100vw;
  font-family: "Roboto Mono", sans-serif;
  font-size: 10px; 
  display: flex;
  flex: 1;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
}

.header div {
  background-color: lightgray; 
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  padding-left: 15px;
  padding-right: 15px;
}

}