
/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #ffbfff;
  background-image: url("tiling2.png"); 
  color: black;
  font-family: Garamond_Regular;
  word-wrap: break-word;
}

h1 {
  text-align: center;
}

h2 {
  text-align: center;
}

.question {
  font-weight: bold;
  text-align: center;
}

@font-face {
  font-family: Garamond_Regular;
  src: 
    url("Garamond_Regular.ttf") format("truetype") tech(color-COLRv1),
    url("Garamond_Regular.ttf") format("truetype");
}

 /* unvisited link */
a:link {
  color: #e69020;
}

/* visited link */
a:visited {
  color: #ffbb29;
}

/* mouse over link */
a:hover {
  color: blue;
}

/* selected link */
a:active {
  color: red;
} 

.content {
  background-color: white;
  border: 2px solid black;
  text-align: justify;
  margin-top: 10px;
  margin-bottom: 10px; 
  padding: 2rem;
  font-size: 1.5rem;
}

@media (min-aspect-ratio: 1/1) {
  .content, .back-button {
    margin-left: 18%;
    margin-right: 18%; 
  }
  
  .story div {
    margin-left: 18%;
    margin-right: 18%; 
  }
     
  .toplinks {
    margin-left: 18%;
  }
}

.back-link {
  text-decoration: none;
}

 /* Add a black background color to the top navigation */
.topnav {
  background-color: #0000a1;
  text-align: center;
  color: white;
  overflow: hidden;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0; 
  top: 0; 
  left: 0;
  right: 0; 
}

.back-button {
  background-color: #0000a1;
  border: 2px solid black;
  text-align: justify;
  margin-top: 10px;
  margin-bottom: 10px; 
  padding: 2rem;
  font-size: 1.5rem;
  color: white;
}

a:hover .back-button {
  background-color: #00008a;
}

.story div {
  background-color: #b4adff;
  border: 2px solid black;
  margin-top: 10px;
  margin-bottom: 10px; 
  padding: 2rem;
  font-size: 1.5rem;
}

.story h1 {
  font-size: 2rem; 
  margin-bottom: 1rem;
  text-align: center;
  margin: 10px; 
}

.date {
  color: #696969; 
  font-size: 1rem;
  text-decoration: underline;
}

a.story {
  text-decoration: none;
  color: black;
}

a:hover.story div {
  background-color: #5f52ff;
}

a:hover.story {
  color: white;
}

a:hover.story .date {
  color: white;
}

a:active.story div {
  background-color: #4738ff;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  text-align: center;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 1.5rem;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav .active {
  background-color: #ffbfff;
  color: black;
}

.topnav h1 {
  font-size: 50px;
}

.footer {
  background-color: black;
  color: white;
  left: 0;
  right: 0;
  position: absolute;
  padding: 10px; 
}

