* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(../images/pawBg.png);
  background-repeat: repeat;
  font-family: 'Gill sSans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

p {
  margin: 0;
}

h1 {
  text-align: center;
  font-size: 26px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  text-shadow: 0px 0px 10px rgb(255, 0, 221);
}

h2 {
  text-align: center;
  font-size: 26px;
  margin: 0;
  padding: 0;
  color: #ffffff;
  text-shadow: 0px 0px 10px rgb(0, 220, 220);
}

h3 {
  margin: 0;
  color: #002646;
}

.h1-div {
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: rgb(255, 202, 196);
}

.h2-div {
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: rgb(255, 202, 196);
}

#starterImg {
  max-width: 90vw;
  max-height: 50vh;
  border: 2px solid white;
  border-radius: 10px;
}

#imgDiv {
  display: flex;
  flex-direction: column;
}

.cat-fact-div {
  position: relative;
  z-index: 0;
  max-width: 70vw;
  border-radius: 10px;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
  background-color: rgb(255, 202, 196);
}

.cat-fact-div:last-of-type {
  margin-top: 0px;
}

.cat-fact-div h3 {
  transform: rotate(-16deg) translateY(-70px) translateX(-55px);
  text-shadow: 0px 0px 10px rgb(255, 0, 221);
  font-size: 50px;
  z-index: -10;
  position: absolute;
  color: rgb(255, 194, 194);
}
.cat-fact-div span {
  font-size: 20px;
  z-index: 100;
}

#button-wrap {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

#button,
#prev-button {
  margin: 5px;
  padding: 8px;
  border: 0;
  color: #ffffff;
  font-size: 16px;
  background-color: rgb(121, 170, 170);
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgb(255, 255, 255);
  font-family: 'Gill sSans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#on-off {
  font-size: 20px;
  font-weight: 600;
  color: rgb(210, 0, 0);
  text-shadow: 0px 0px 2px rgb(255, 0, 0);
}

#prev-button {
  align-self: flex-start;
}
