body {
    background-image: url("https://i0.wp.com/www.bl.uk/onlinegallery/ttp/leonardo/accessible/images/pages3and4.jpg");
  
  }
#main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
      'Helvetica Neue', Arial, sans-serif;
    max-width:1280px;
    max-height: 100%;
    margin: 30px auto;
    padding: 15px;
    background-color: #c3a374;
    border-radius: 5px;
  }
  #title {
    font-size:60px;
    text-align: center;
  }
  #subtitle {
    font-size:20px;
    text-align: center;
  }
  #main > p {
    text-align: center;
  }
  #img-div {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    background-color: white;
  }
  #image {
    display: block;
    max-width: 100%;
    padding-bottom: 10px;
  }
  
  #tribute-info {
    max-width: 500px;
    margin: 0 auto;
  }
  
  #headline {
    text-align: center;
  }
  
  ul li {
    margin-bottom: 10px;
    line-height: 30px;
    
  }
 .timeline {
    color: rgba(0,0,0,0.7);
    font-weight: bold;
    text-decoration: italic;
  }


  #footer {
    font-style: italic;
    max-width: 545px;
    margin: 0 auto 50px auto;
    text-align: left;
  }
  .quote {
    font-size: 20px;
  }
  .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 52px;
  }
  #paintings {
    background-image: url("https://cdn.britannica.com/24/189624-050-F3C5BAA9/Mona-Lisa-oil-wood-panel-Leonardo-da.jpg");
  }
  #works {
    background-image: url("human_diagram.png");
  }
  #bio {
    background-image: url("https://olivialongueville.com/wp-content/uploads/2020/05/leonardo-da-vinci.jpg");
  }
  .container h2 {
    font-size: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: center;
    width:100%;
    max-width: 300px;
    height: 300px;
    padding: 20px;
    margin: 20px;
    border: 0;
    border-radius: 25px;
    text-align: center;
    color: #fff;
  }

@media (max-width: 800px) {
    body {
      background-image: url("sistine-chapel.jpg");
  }
}

@media (max-width: 600px) {
  .container {
    width:100%;
    max-width: 50px;
    margin-left: 0px;
  }
  .container h2 {
    font-size: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    width:100%;
    max-width: 50px;
    height: 30px;
    padding: 10px;
    margin: 10px;
    border: 0;
    border-radius: 25px;
    color: #fff;
    
  }
}
.container h2:hover {
  transform: scale(0.8);
  transition-delay: 0.1s;
}

.img-link {
  text-decoration: none;
  color: #fff;
}
.contacts {
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: flex-end;
  background-color: #dcba82;
  width: 100%;
  padding-top: 20px;
}

.contacts ul li {
  display: inline;
  padding: 5px;
  margin:5px;
  color:gray;
}
.contacts ul li a{
  color:#775521;
  text-decoration: none;
}
.contacts span {
  padding-left: 5px;
  padding-right: 12px;
}

.contacts a:hover {
  color:#4f2c24;
}