html {
  box-sizing: border-box;
  min-height: 100%;
  /* Move the gradient to html so it spans the entire page width/height */
  background: linear-gradient(135deg, #ffffff 0%, #c11a1ad9 100%);
  background-attachment: fixed;
}

* {
  box-sizing: inherit;
}

body {
  font-family: Rockwell, Georgia, serif; /* you can swap in another font */
  font-weight: 700;
  font-size: 1em;
  width: 80%;       /* page margin */
  margin: 0 auto;
  min-height: 100vh;
}

nav {
  margin-bottom: 2em;
  margin-left: .5em;
}

h1 {
  margin-left: 10px;
}

h4 {font-size: 1.5em;}

button { 
  background-color: #8d1616;
  color: white;
  padding: 10px 50px;
  margin: 5px;
  font-family: Rockwell, Georgia, serif;
  text-align: center;
  display: inline-block;
}

/* Footer styling */
footer {
  font-size: .8em;
  clear: left;
  padding-top: 2em;
  color: #aaa;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgb(145, 56, 56);
  color: rgb(255, 255, 255);
  padding: 1em;
}

/* Links */
a:link {
  color: red;
  text-decoration: none;
}
a:hover {
  color: #8d1616;
  text-decoration: underline;
}
a:visited {
  color: red;
  text-decoration: none;
}
a:active {
  color: #fff;
  text-decoration: none;
}

/* Cascade-style layout */
.cascade-quote {
  position: relative;
  min-height: 1400px; /* enough room for the words to cascade down */
  margin: 3em 0 2em 0;
}
main {
  padding-bottom: 12rem; /* room so footer doesn’t overlap */
}

/* Basic box styles */
.quote-box, .quote-circle {
  position: absolute;
  background: rgba(255, 255, 255, 0.659);
  color: #000;
  border-radius: 1em;
  padding: 1em 1.2em;
  font-weight: 700;
  text-align: center;
}

/* Circles */
.quote-circle {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Sizing helpers */
.box-sm { font-size: 1em; width: 140px; height: 50px;
background-color:#8d16161f }
.box-md { font-size: 1.5em; width: 220px; height: 70px;
background-color:#8d161687 }
.box-lg { font-size: 2.5em; width: 400px; height: 120px; 
background-color:#8d161652}
.box-xl { font-size: 4em; width: 500px; height: 200px;
background-color:#8d16165f }

.author {
  position: absolute;
  left: 40px;
  bottom: 80px;
  z-index: 10;        /* above boxes/footer */
  pointer-events: none; /* avoid accidental clicks blocking */
}