@import url('https://fonts.googleapis.com/css?family=Fira+Sans:200,400,400i,700|Roboto+Slab:400,700');

:root {
  --sans-serif: "Fira Sans", sans-serif;
  --serif: "Roboto Slab", serif;
  --accent-color: #b34397;
}

body {
  padding: 5rem 25%;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent-color);
  font-size: 5rem;
}

h1 .pearl {
  font-family: var(--sans-serif);
  font-weight: 200;
  color: black;
}

h2 {
  font-family: var(--sans-serif);
  font-weight: 200;
  color: black;
  margin-bottom: 3rem;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between
}

p {
  font-family: var(--serif);
  font-weight: 400;
}

.book-reveal {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: -1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  text-decoration: none;
  border-top: 0.125rem solid #ccc;
  border-bottom: 0.125rem solid #ccc;
  padding: 2.5rem 0 2rem;
}

.reveal-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  flex-grow: 1;
  padding-top: 2rem;
  padding-right: 1rem;
}

.mobile-hide {
  text-align: right;
}

.reveal-content h1 {
  margin-bottom: 0;
  font-size: 3rem;
}

.book {
  height: 30rem;
}

.action {
  padding: 1rem 2rem;
  border: 0;
  background-color: var(--accent-color);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
}

.action:hover {
  cursor: pointer;
  background-color: #cc4dac;
}

a,
a:visited {
  color: var(--accent-color);
}

.badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
}

.badges .three {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-evenly;
  margin-top: 2rem;
}

@media only screen and (max-width: 1000px) {
  body {
    padding: 2rem;
  }
  
  h1 {
    font-size: 3rem;
    margin-top: 0;
  }
  
  .links {
    flex-direction: column;
  }

  .book-reveal {
    margin: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: none;
    padding: 0 0 1rem;
  }

  .reveal-content {
    padding: 0;
    align-items: center;
  }

  .mobile-hide {
    display: none;
  }

  .book {
    height: auto;
    width: 80vw;
    margin-top: 1rem;
  }
}