@font-face {
  font-family: "Source Code Pro semibold";
  src: url("fonts/SourceCodePro-Semibold.woff2") format("woff2"),
    url("fonts/SourceCodePro-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Code Pro regular";
  src: url("fonts/ourceCodePro-Regular.woff2") format("woff2"),
    url("fonts/SourceCodePro-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-height: 75vh;
  font-family: "monaco";
  background-image: url("../Images/dsr sun bkg.jpg");
  background-size: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  font-family: Source Code Pro regular, Arial, Helvetica;
}

header {
  grid-area: banner;
  padding-left: 20px;
  height: 12em;
  display: flex;
}

nav {
  grid-area: nav;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  grid-area: main;
  background-color: #b0c4de;
  padding: 10px;
}

footer {
  grid-area: footer;
  padding: 0px 10px 0px 10px;
  background-color: #9c9c9c;
}

th,
td {
  padding: 0.3em;
  border: 2px solid;
  text-wrap: wrap;
}

tr :nth-child(1) {
  text-align: left;
  width: 40%;
}

tr :nth-child(2) {
  text-align: center;
  width: auto;
}

tr :nth-child(3),
tr :nth-child(4) {
  text-align: center;
  width: auto;
}

figure {
  text-align: center;
}

a {
  text-wrap: wrap;
  word-wrap: break-word;
}

.grid-border {
  border: 1px solid;
  color: black;
}

.banner {
  font-weight: bolder;
}

.header-image {
  margin: auto;
  height: 12em;
}

.title {
  align-self: flex-end;
  background-color: white;
  padding-left: 5px;
  padding-right: 5px;
}

.updates {
  grid-area: updates;
  text-align: center;
  background-color: #9c9c9c;
}

.guestbook {
  grid-area: guestbook;
  text-align: center;
  background-color: #9c9c9c;
}

.right-sidebar-header {
  text-decoration: underline;
}

.right-sidebar-text {
  display: flex;
  height: 100%;
}

.full-height {
  height: 85%;
}

.active {
  border: inset;
  background-color: #b0c4de;
  text-align: center;
  flex: 1 auto;
  width: 12em;
  margin: 1px;
}

.inactive {
  border: outset;
  text-align: center;
  flex: 1 auto;
  width: 12em;
  margin: 1px;
  background-color: #9c9c9c;
}

.article-list {
  table-layout: fixed;
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
  border: 2px solid;
}

.website-list {
  table-layout: fixed;
  width: 95%;
  margin: 0 auto;
  border-collapse: collapse;
  border: 2px solid;
}

.book-cover {
  width: 150px;
  float: left;
  padding: 5px 5px 15px 5px;
}

.Welcome-box {
  border-style: outset;
  border-radius: 5px;
  padding: 5px;
  font-family: Source Code Pro regular, Arial, Helvetica;
}

.plan-box {
  border-style: outset;
  border-radius: 5px;
  padding: 5px;
  font-family: Source Code Pro regular, Arial, Helvetica;
}

.sticker-box {
  border-style: outset;
  border-radius: 5px;
  padding: 5px;
  font-family: Source Code Pro regular, Arial, Helvetica;
}

.box-header {
  font-family: Source Code Pro semibold, Arial, Helvetica;
}

.add-border {
  border-style: outset;
  border-radius: 5px;
  padding: 5px;
  margin: 5px;
}

@media (max-width: 40em) {
  body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas:
      "banner"
      "nav"
      "main"
      "updates"
      "guestbook"
      "footer";
  }
}
/* Only for page layout for full screen --!> */
@media (min-width: 40em) {
  body {
    grid-template-columns: 1fr 12em 45vw 12em 1fr;
    grid-template-rows: 12em 12em 1fr 1fr auto;
    grid-template-areas:
      ". .  banner . ."
      ". nav  main updates ."
      ". .  main guestbook ."
      ". .  main . ."
      ". .  footer . .";
  }
}
