@font-face {
  font-family: "Didot";
  src: url("../fonts/didot.ttf");
}
@font-face {
  font-family: "Didot";
  src: url("../fonts/didot-bold-italic.ttf");
  font-style: italic;
  font-weight: bold;
}

@font-face {
  font-family: "Didot";
  src: url("../fonts/didot-light-italic.otf");
  font-style: italic;
}

body {
  align-items: center;
  background-color: #f8f6f4;
  color: #3c3836;
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  font-family: "Didot";
  font-size: 1.6rem;
  justify-content: flex-start;
  line-height: 1.5;
}

.content {
  background-color: #fff;
  box-shadow: rgb(0 0 0 / 20%) 3px 18px 11px 0px;
  margin: 10px;
  max-width: calc(100% - 20px - 4rem);
  padding: 2rem;
  text-align: center;
  width: 800px;
}

.header {
  align-items: center;
  display: flex;
  font-style: italic;
  justify-content: space-evenly;
}

h1 {
  margin: 0;
}

.logo {
  width: 150px;
}

hr {
  margin: 30px 0;
  height: 1px;
  border: none;
  background-image: linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(40, 40, 40, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(40, 40, 40, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(40, 40, 40, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -ms-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(40, 40, 40, 0.75),
    rgba(0, 0, 0, 0)
  );
  background-image: -o-linear-gradient(
    left,
    rgba(0, 0, 0, 0),
    rgba(40, 40, 40, 0.75),
    rgba(0, 0, 0, 0)
  );
}

.footer {
  color: #666;
  font-family: serif;
  font-size: 16px;
}

@media only screen and (max-width: 900px) {
  .content {
    font-size: 1.4rem;
    width: 600px;
  }
}

@media only screen and (max-width: 700px) {
  .content {
    font-size: 1.2rem;
    max-width: calc(100% - 20px - 2rem);
    padding: 1rem;
    width: 400px;
  }

  .item {
    display: block;
  }

  .item span {
    display: block;
  }
}
