/* Base */
body {
  background-color: #c6baac;
  color: #1e1c32;
  max-width: 900px;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 40px;
}
/* Typography */
p {
  font-family: Garamond, serif;
  font-size: 16px;
  line-height: 1.25
}

h1 { font-family: Garamond, serif; font-size: 22px; }
h2 { font-family: Garamond, serif; font-size: 28px; }
h3 { font-family: Garamond, serif; font-size: 36px; }
th { font-family: Garamond, serif; font-size: 20px; }
td { font-family: Garamond, serif; font-size: 16px; }

title {
	text-align: center;
}

/* Links */
a {
  color: #4a5a8a;
  text-decoration: none;
}

/* Tables */
.movies {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.movies th {
  text-align: center;
  margin-bottom: 10px;
}

.movies tbody tr {
  border-bottom: 1px solid black;
}

.movies td:nth-child(2),
.movies td:nth-child(3),
.movies th:nth-child(2),
.movies th:nth-child(3) {
  text-align: center;
}

/* Grids and suchlike */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.grid-item {
  border: 0px solid #1e1c32;
  padding: 15px;
  text-align: center;
}

.grid-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.grid-item a {
  text-decoration: #4a5a8a;
}

.intro-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.intro-block p {
  flex: 1;
}

.latest-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  border: 1px solid black;
}

.latest-block img {
  margin-left: auto;
  max-width: 200px;
  width: 200px;
  flex-shrink: 0;
  object-fit: contain;
  margin-top: 20px;
  margin-bottom: 20px;
}

.latest-block p {
  flex: 1;
}

.footer {
  text-align: right;
  border-top: 1px solid black;
}

.footer-image {
  display: block;
  width: 100vw;
  height: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: -50px;
  margin-top: -200px;
  pointer-events: none;
  z-index: -1;
}

.banner img {
  height: 100px;	
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid black;
}

.narrow {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.corner-left,
.corner-right {
  position: absolute;
  top: 0;
  z-index: -1;
  pointer-events: none;
}

.corner-left {
  left: 0;
  width: 400px;
}
.corner-right {
  right: 0;
  width: 400px;
}

.captionedpic {
  text-align: center
}

.captionedpic img {
  max-width: 500px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.bigborder {
  border: 2px solid black;
  border-style: double;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 50px;
  padding-top: 20px;
}

.floatleft{
	float: left;
	margin-left: 30px;
	margin-right: 30px;
	border: 1px solid black;
}

@media (max-width: 1300px) {  /* adjust breakpoint to taste */
  .corner-left,
  .corner-right {
    display: none;
  }
}

/* Navigation Bar (nav.js) */
#site-nav {
  text-align: center;
  padding: 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid black;
}

#site-nav a {
  color: #4a5a8a;
  border: 1px;
  border-style: outset;
  border-color: #1e1c32;
  padding: 4px 30px;
  font-weight: bold;
  border-style: solid;
  text-decoration: none;
  margin: 0 15px;
  font-family: Garamond, serif;
}