body {
  background-color: #E8A84F;
  background-image: url(img/woodenpole.png), url(img/woodenpole.png), url(img/woodenpole.png), url(img/woodenpole.png), url(img/woodenpole.png), url(img/woodenpole.png), URL("img/background.png");
  background-size: 20px 50px, 20px 50px, 20px 50px, 20px 50px, 20px 50px, 20px 50px, cover;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: 10% 0, 24% 0, 42% 0, 56% 0, 74% 0, 88% 0, 0% 50%;
  color: #5C4033;
}

@font-face { 
	font-family: "wizzta"; 
	src: url(wizzta/wizzta-webfont.woff2) format("woff2"), 
		url(wizzta/wizzta-webfont.woff) format("woff");
	font-weight: normal;
	font-style: normal; 
	font-display: swap; 
}

@font-face {
  font-family: "Sunborn";
  src: url(sunborn/Sunborn-SansOne.woff) format("woff"),
    url(sunborn/Sunborn-SansOne.otf) format("otf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.container {
  display: grid;
  grid-template-areas: "header header" "parchment notice" "parchment preview";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 15vh 35vh 35vh;
  gap: 20px;
  padding: 10px;
}

.header {
  grid-area: header;
  padding: 25px;
}

.header a:hover {
  text-shadow: 0 0 10px #ffffff;
}

#signleft {
  font-family: "wizzta";
  float: left;
  width: calc(30% - 8px);
  height: 70px;
  margin-right: 5%;
  text-align: center;
  font-size: 65px;
  background-image: url(img/signpointleft.png), url(img/signmiddle.png), url(img/signedgeright.png);
  background-position: left top, 124.5px 0, right top;
  background-size: contain, calc(100% - 169px) 100%, contain;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-decoration: none;
  color: #5C4033;
}

#signmiddle {
  font-family: "wizzta";
  float: left;
  width: calc(30% - 8px);
  height: 70px;
  margin-right: 5%;
  text-align: center;
  font-size: 65px;
  background-image: url(img/signedgeleft.png), url(img/signmiddle.png), url(img/signedgeright.png);
  background-position: left top, 35px 0, right top;
  background-size: contain, calc(100% - 79px) 100%, contain;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-decoration: none;
  color: #5C4033;
}

#signright {
  font-family: "wizzta";
  float: left;
  width: calc(30% - 8px);
  height: 70px;
  text-align: center;
  font-size: 65px;
  background-image: url(img/signedgeleft.png), url(img/signmiddle.png), url(img/signpointright.png);
  background-position: left top, 35px 0, right top;
  background-size: contain, calc(100% - 169px) 100%, contain;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding-top: 5px;
  padding-bottom: 5px;
  text-decoration: none;
  color: #5C4033;
}

.parchment {
  background-image: url(img/scroll.png);
  background-size: 130% 100%;
  background-repeat: no-repeat;
  grid-area: parchment;
  padding-top: 15px;
}

.parchment h1 {
  text-align: center;
  font-family: "Sunborn";
  font-size: Calc(2vw + 25px);
  margin-bottom: 0px;
  padding-left: 20px;
  margin-top: 20px;
}

.parchment p {
  padding-left: 20%;
  padding-right: 25%;
  margin-top: 0px;
  font-size: Calc(Calc(8px + 0.9vw) * 0.85);
  font-family: 'Lustria';
  padding-top: Calc(30px - 2%);
}

.notice {
  grid-area: notice;
  display: grid;
  grid-template-areas: "card1 round1" "card1 card2" "round2 card2";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 25%;
  gap: 15px;
}

.notice div {
  text-align: center;
  color: darkred;
}

#card1 {
  background-color: #e3823c;
  border-radius: 5px;
  margin-left: 20%;
  padding: 0px;
  display: grid;
  grid-template-areas: "top" "title" "email" "bottom";
  grid-template-rows: 20% 30% 30% 20%;
  grid-template-columns: 100%;
  gap: 2px;
}

#card1 h2 {
  margin: 0px;
  padding: 0px;
  font-size: 40px;
  font-family: "wizzta";
}

#card1 p {
  margin: 0px;
  padding: 0px;
  font-family: "Lustria";
  font-size: Calc(4px + 1vw);
}

#card1 hr {
  width: 90%;
  border-top: 5px dotted orange;
  border-bottom: 0;
}

#card2 {
  background-color: #e0925e;
  border-radius: 5px;
  width: 65%;
  color: darkred;
  padding: 0px;
  display: grid;
  grid-template-areas: "top2" "title2" "email2" "bottom2";
  grid-template-rows: 20% 30% 30% 20%;
  grid-template-columns: 100%;
  gap: 2px;
}

#card2 h2 {
  margin: 0px;
  padding: 0px;
  font-size: 40px;
  font-family: "wizzta";
}

#card2 p {
  margin: 0px;
  padding: 0px;
  font-family: "Lustria";
  font-size: 20px;
}

#card2 hr {
  width: 90%;
  border-top: 5px dashed red;
  border-bottom: 0;
}

#round1 {
  background-color: #e66436;
  border-radius: 100px;
  width: 10vh;
}

#round2 {
  background-color: #e3763b;
  border-radius: 20px;
  margin-left: 50%;
  display: flex;
  align-items: center;
  font-size: Calc(3px + 1vw);
}

#round2 a {
  color: darkred;
  font-family: "Lustria";
}

#round2 a:hover {
  text-shadow: 0 0 5px white;
}



.preview {
  grid-area: preview;
  background-image: url(img/parchment.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-left: 10%;
  padding-bottom: 50px;
}

#previewtext {
  font-size: calc(calc(3px + 1.2vw) * 0.85);
  width: 95%;
  font-family: 'Lustria'
}

.preview h1 {
  font-size: calc(calc(2.2px + 2vw)*1.2);
  margin-top: 20px;
  font-family: "wizzta";
}

.preview a {
  background-color: #7aa16c;
  border-radius: 10px;
  text-decoration: none;
  float: right;
  color: brown;
  padding: 10px;
  font-size: 20px;
  color: #5C4033;
}

.preview a:hover {
  text-shadow: 0 0 5px white;
}

.read {
  background-image: url("img/tornpaper.png"), linear-gradient(#F5F5DC, #F5F5DC);
  background-size: contain, cover;
  background-position: 0 0, 0 5vw;
  background-repeat: no-repeat, no-repeat;
  border-radius: 25px;
  width: 60%;
  margin: 100px;
  padding: 20px;
  margin-top: 40px;
}

.read h1 {
  font-family: "wizzta";
  font-size: 80px;
  margin: 5px;
}

.read p {
  font-family: 'Lustria';
  font-size: 20px;
  text-indent: 40px;
  text-align: left;
  margin: 0px;
  padding: 0px;
  margin-left: 50px;
  margin-right: 50px;
}

.read #logo {
  width: 30%;
  margin-top: 50px;
}

.nav {
  display: flex;
  width: 70%;
  text-align: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 20px;
}

.nav a {
  background-color: #7aa16c;
  color: #5C4033;
  border-radius: 10px;
  border: 5px solid #F5F5DC;
  padding: 10px;
  font-size: 25px;
  margin: 10px;
  font-family: "Lustria";
  text-decoration: none;
  flex-grow: 1;
  /*width: 9%;
  Width: 85% / num chapters */
}

#previous {
  background-color: green;
  flex-grow: 2;
}

#next {
  background-color: green;
  flex-grow: 2;
}

.nav a:hover {
  text-shadow: 0 0 5px white;
}

.photocontainer figure {
  width: 40vw;
  margin: 2.5%;
}

.photocontainer figure img {
  width: Calc(100% - 20px);
  border: 10px orangered ridge;
  box-shadow: 0 0 20px beige;
}

.photocontainer figcaption {
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  font-size: 20px;
  background-color: #8B4B00;
background:
      conic-gradient(at 10px calc(100% - 10px),#0000 270deg,#834600 0) calc(10px + 7.5px) 0,
      linear-gradient(#8b4b00 10px,#0000 0) 0 7.5px,
      conic-gradient(at 10px calc(100% - 10px),#0000 90deg,#8b4b00 0 180deg, #834600 0),
      #834600;
background-size: calc(2*(10px + 7.5px)) calc(2*(10px + 7.5px));

  border-left: 5px dashed #753900;
  border-right: 5px dashed #753900;
  border-bottom: 10px solid #753900;
  color: #F5F5DC;
}

#left {
  float: left; 
  margin-left: 5vw;
}

#right {
  float: right;
  margin-right: 5vw;
}

#artspace {
  height: 70px;
}

.blog div {
  background-image: url(img/parchment.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 50%;
  padding: 50px 100px 50px 100px;
  font-family: "Lustria";
  text-align: left;
  font-size: 20px;
  height: auto;
  display: inline-block;
}

.blog h1 {
  font-size: 40px;
}

.blog img {
  width: 25%;
  float: left;
}

@media only screen and (max-width: 800px) {
  body {
    background-image: url(img/woodenpole.png), url(img/woodenpole.png), URL("img/background.png");
    background-size: 20px 300px, 20px 300px, cover;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 33% 0, 66% 0, 0% 50%;
  }
  .container {
    grid-template-areas: "header" "parchment" "notice" "preview";
    grid-template-columns: 1fr;
    grid-template-rows: 40vh 70vh 35vh 35vh;
  }
  .preview {
    width: 80vw;
  }
  .parchment p {
    font-size: Calc(Calc(8px + 1.6vw) * 0.9);
    padding-right: 20%;
    padding-top: 5px;
  }
  #welcome {
    font-size: 8vw;
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: Calc(34px - 3%);
  }
  #card1 {
    margin-left: 5%;
  }
  #card1 p {
    font-size: 15px;
  }
  #round2 {
    margin-left: 25%;
    font-size: 15px;
  }
  #card2 {
    width: 100%;
  }
  #previewtext {
    font-size: calc(calc(3px + 1.2vw) * 1.5);
  }
  #left {
    float: left;
    width: 90vw;
    margin-left: 2.5vw;
    margin-top: 80px;
  }
  #right {
    float: left;
    width: 90vw;
    margin-left: 2.5vw;
    margin-top: 80px;
  }
  .blog div {
    width: 60vw;
    padding: 50px 50px 50px 50px;
    margin-top: 50px;
  }
  .blog img {
    width: 90%;
  }
  .nav {
    width: 100%;
    flex-wrap: wrap;
  }
  .nav a {
    max-width: 35px;
  }
  #previous {
    max-width: none;
  }
  #next {
    max-width: none;
  }
  .read {
    width: 85%;
    margin: 5px;
    background-position: 0 0, 0 5vw;
  }
  .read p {
    font-size: 18px;
    text-indent: 25px;
    margin-left: 5px;
    margin-right: 5px;
  }
  .read #logo {
    width: 80%;
  }
  
  .header {
    padding: 5px;
  }
  
  #signleft {
    width: 100%;
  }
  
  #signmiddle {
    margin-top: 25px;
    width: 100%;
  }
  
  #signright {
    margin-top: 25px;
    width: 100%;
  }
  #artspace {
    height: 230px;
    display: inline-block;
  }
  .preview h1 {
    font-size: calc(calc(2.2px + 1.3vw)*3);
  }
}