/* || General styles */

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: darkgray url("images/bg-davinci.jpg") center/cover no-repeat fixed;
}

main {
  max-width: 35em;
  margin: 0 auto;
  text-align: center;
  color: white;
}

h1, figcaption, blockquote {
  font-family: 'Times New Roman', Times, serif;
}

a {
  display: inline-block;
  min-height: 48px;
  min-width: 48px;
}


/* || Intro */

.intro {
  margin: 1em 1em;
  padding: 1em 1em 2em;
  background-color: rgba(80, 40, 0, 0.65);
}

h1 {
  font-size: 2rem;
  font-style: italic;
  font-weight: lighter;
  margin-bottom: 0.2em;
}

@media screen and (min-width: 31em) {
  h1 {
    font-size: 3.5rem;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 2em;
}

figure {
  max-width: 400px;
  margin: 0 auto;
}

figcaption {
  font-style: italic;
  padding: 0.5em 0;
  background-color: rgb(56, 0, 0);
  width: auto;
}


/* || Description */

.description {
  background-color: rgba(30, 0, 0, 0.65);
  line-height: 2;
  text-align: left;
  margin: 1em 1em;
  padding: 1em;
}

@media screen and (min-width: 31em) {
  .description {
    padding: 2em;
    text-align: justify;
  }
}

.description p {
  margin-bottom: 1.5em;
}

blockquote {
  font-style: italic;
  padding-left: 10px;
  border-left: 3px solid rgb(120, 80, 0);
  margin: 4em .5em 0;
}

@media screen and (min-width: 25em) {
  blockquote {
    font-size: 1.2rem;
    margin: 4em 3em 0;
    line-height: 1.5;
  }
}


/* || Tribute (links) */

.tribute ul {
  display: flex;
  justify-content: center;
  margin: 3em 0 1em;
}

@media screen and (max-width: 22em) {
  .tribute ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 3em auto 1em;
  }
  
  .tribute li {
    margin-bottom: .5em;
  }
}

a.tribute-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 6em; 
  margin: 0 .5em 0;
  background-color: rgb(50, 0, 0);
  color: white;
  text-decoration: none;
}

a.tribute-link:hover {
  background-color: rgb(120, 80, 0);
}
