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


::-webkit-scrollbar {
  width: 10px;
  background-color: #d8bc6e;
  box-shadow: inset 0 0 6px rgba(0,0,0,.5);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #c92e4d;
  box-shadow: inset 0 0 5px rgba(0,0,0,.5);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

body {
  background-image: url("background.jpg"); 
  background-color: rgb(191, 197, 157);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
}

.card {
  display: flex;
  justify-content: center;
  margin: 6em auto;
  padding: 1em;
  min-height: 600px;
  width: 80vw;
  background-image: url("paper.png");
  background-color: rgb(198, 206, 209);
  background-repeat: repeat;
  box-shadow: 17px 16px 10px -3px rgba(53, 50, 50, 0.79);
  position: relative;
  border-radius: 10px;
}

  .avatar {
    border-radius: 50%;
    width: 45%;
    margin: 30px;
    padding: 15px;
    box-shadow: 3px 3px white, -2px -2px #000;
  }

    .avatar:hover {
      transform: rotateY(180deg);
      transform-style: preserve-3d;
      transform: rotateY(180deg);
      transform-style: preserve-3d;
      filter: sepia(60%);
      filter: sepia(60%);
      cursor: pointer;
    }

.content {
  text-align: justify;
  padding: 30px;
}

  .name {
    color: black;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 75px;
    font-style: oblique;
    font-weight: 900;
    text-align: right;
    margin: 15px;
    text-shadow: 3px 3px white, -1px -1px #333;
    fill: #35322a;
  }
  
  .dates {
    color: black;
    font-family: 'Unna', serif;
    font-size: 35px;
    font-weight: 300;
    font-style: oblique;
    text-align: right;
    margin: 15px;
  }

  .desc {
    color: black;
    font-family: 'Unna', serif;;
    font-size: 20px;
    font-weight: 300;
    text-align: justify right;
    margin: 15px;
  }

    .desc a {
      text-decoration: none;
      font-style: oblique;
    }

      .desc a:hover {
        color: #e20d38;
        cursor: pointer;
      }

  h3 {
    color: black;
    font-family: 'Unna', serif;
    font-size: 18px;
    font-weight: 300;
    text-align: right;
    margin: 15px;
    text-transform: uppercase;
  }

  .occupations {
    color: black;
    font-family: 'Unna', serif;
    font-size: 20px;
    font-weight: 300;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    text-align: right;
    margin: 15px;
  }

    .occupations li {
      width: 100px;
      text-align: left;
    }

  .note {
    color: black;
    font-family: 'Unna', serif;;
    font-size: 20px;
    font-weight: 300;
    text-align: justify right;
    margin: 15px;
    
  }

  .note a {
    text-decoration: none;
    font-style: oblique;
  }

    .note a:hover {
      color: #e20d38;
      cursor: pointer;
    }

.next {
  border: 2px solid #000;
  position: absolute;
  width: 180px;
  background:	#c92e4d;
  text-align: center;
  right: -10.8%;
  bottom: 50%;
  padding: 10px;
  line-height: 30px;
  color: #000;
  font-weight: 800;
  font-size: 25px;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: oblique;
  transform: rotate(90deg);
  box-shadow: 10px -5px 13px 0px rgba(94,35,51,0.9);
  text-decoration: none;
  text-shadow: 1px 0px white, -1px -1px #333;
  fill: #35322a;

}
  .next:hover{
    cursor: pointer;
    color: #ffffff;
    text-shadow: 1px 0px black;

  }

footer {
  /* height: 2px; */
  width: 100vw;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: relative;
  padding: 30px;
}

  footer::before {
    position: absolute;
    content: '';
    width: 60%;
    height: 2px;
    left: 20%;
    top: -1.2px;
    background-color: black;
  }


  footer, h1 {
    margin-left: auto;
    margin-right: auto;
    color: black;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 35px;
    font-style: oblique;
    text-align: center;
  }

  footer, p {
    color: black;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-style: normal;
    text-align: center;
    padding: 20px;
    font-weight: 500;
  }

  .made {
    color: black;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-style: normal;
    text-align: center;
    padding: 10px;
  }

  .year {
    color: black;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-style: normal;
    text-align: center;
    padding: 15px;
  }



