@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

.appRoot {
  background-color: hsla(50, 25%, 25%, 0.2);
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template:
    [row1-start] "header header header" 15% [row1-end]
    [row2-start] "navmenu main main" 70% [row2-end]
    / 15vw 85vw;
  overflow: hidden;
}

.header {
  grid-area: header;
}

.navbar {
  width: 100vw;
  background-color: transparent;
}
.navbar h1 {
  line-height: 15vh;
  -webkit-text-fill-color: transparent;
  background-image: url("https://argh.cc/media/bg.gif");
  -webkit-background-clip: text;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  font-size: 10vh;
  text-align: center;
}
#menubutton {
  color: hsla(50, 25%, 25%, 0);
}

.navmenu {
  display: block;
  background-color: transparent;
  position: absolute;
  z-index: 1;
  height: 75vh;
  top: 15vh;
  width: 15vw;
  border-radius: 15px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 15px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 900;
  background: hsla(170, 15%, 55%, 0.5);
  margin: 20px;
  margin-right: 20px;
}

.navable {
  height: auto;
  overflow: hidden;
  overflow-y: scroll;
  scrollbar-color: hsla(250, 30%, 45%, 0.2) hsla(170, 50%, 45%, 0.1);
}

.navmenu ul {
  height: 100%;
}

.noindent {
  list-style-type: none;
  padding-left: 5px;
}

ul {
  padding-left: 40px;
  padding-top:0px;
  margin-top:0px;
}

li {
  margin-bottom: 15px;
}

a:hover{
	-webkit-text-fill-color: transparent;
	background-image: url("https://argh.cc/media/bg.gif");
	-webkit-background-clip: text;
}

.underline {
  text-decoration: underline;
}

.main {
  grid-area: main;
  height: 80vh;
  width: auto;
  margin-right: 30px;
  margin-left:50px;
  margin-bottom:15px;
  background: white;
  background-size: 20px 100%;
  border-radius: 50px;
  border: 10px solid hsl(50, 25%, 25%, 0.2);
  box-shadow: 0 0 0 10px hsla(250, 30%, 45%, 0.2),
    0 0 0 20px hsla(170, 50%, 45%, 0.1);
  font-family: Garamond, serif;
  overflow-y: scroll;
}

/*
************
content related 
************
*/

a {
  color: black;
  text-decoration: none; /* no underline */
}

h1 {
  text-align: center;
  font-size: 10px;
  color: red;
}

h3 {
  font-size: 13px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

code {
  color: purple;
}

code span {
  background-color: WhiteSmoke;
}

.pcenter {
  text-align: center;
}

p sub {
  vertical-align: sub;
  font-size: smaller;
  font-style: italic;
  text-align: justify;
}

sub {
	margin:auto;
	vertical-align: sub;
	font-size: smaller;
	font-style: italic;
	text-align: justify;
  }

.thumbnail {
  width: 300px;
  height: 200px;
  border-radius: 10px;
  padding: 5px;
}
.thumbnail:hover {
  filter: sepia(100%);
}

.floatright {
  float: right;
  text-align: right;
}

.textBlock {
  width: 65vw;
  font-family: Garamond, serif;
  margin: auto;
}

.codeBlock {
  height: 300px;
  overflow: hidden;
  overflow-y: scroll;
  width: 50vw;
  margin: auto;
}

p {
  font-size: 100%;
  padding-left: 2.5vw;
  padding-right: 2.5vw;
  padding-top: 1.5vw;
  white-space: pre-line;
}

p ul li,
p li ul{
  font-family: Palatino;
  font-size: 1.1rem;
  color:red;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
  }

.imgcenter {
  text-align: center;
}

.vidBlock {
	height: auto;
	overflow: hidden;
	overflow-y: scroll;
	width: 40vw;
	margin: auto;
  }

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media all and (max-width: 1200px) {
  .appRoot {
    background-color: hsla(50, 25%, 25%, 0.2);
    height: 100vh;
    width: 100vw;
    display: grid;
    grid-template:
      [row1-start] "header header header" 5% [row1-end]
      [row2-start] "main main main" 95% [row2-end];
  }
  .header {
    grid-area: header;
  }
  .navbar {
    width: 100vw;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    height: 5vh;
    padding: 0px;
    margin: 0px;
  }
  .navbar h1 {
    padding-top: 10px;
    font-size: 50px;
  }
  #menubutton {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 5px;
    color: hsla(250, 30%, 45%, 1);
    font-size: 40px;
  }
  .menubutton:hover {
    -webkit-text-fill-color: transparent;
    background-image: url("https://argh.cc/media/bg.gif");
    -webkit-background-clip: text;
  }

  .navmenu {
    display: none;
    height: 80vh;
    top: 5vh;
    left: 50%;
    transform: translate(-55%, 0%);
    width: 65vw;
    border-radius: 15px;
    padding-left: 3vw;
    padding-right: 0;
    padding-bottom: 15px;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    background: hsla(170, 15%, 55%, 0.9);
    margin: 20px;
  }
  .navable {
    height: 35vh;
    overflow: hidden;
    overflow-y: scroll;
    scrollbar-color: hsla(250, 30%, 45%, 0.2) hsla(170, 50%, 45%, 0.1);
  }

  .navmenu ul {
    height: 100%;
  }

  .noindent {
    list-style-type: none;
    padding-left: 0;
  }

  ul {
    padding-left: 50px;
  }

  li {
    margin: 10px 0;
  }

  .underline {
    text-decoration: underline;
  }

  .main {
    height: auto;
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 30px;
	  margin-bottom: 20px;
    padding-left: 30px;
  }

  .textBlock {
    font-size: 0.8rem;
    margin: 0px;
    padding: 0px;
    width: 95%;
  }
  
  .textBlock h3{
    margin-left: -5vw;
  }

  .textBlock p{
    margin-left: -5vw;
  }

  .textBlock ul{
    margin-left: -10vw;
  }

  .codeBlock {
    height: 300px;
    width: 75vw;
    overflow: scroll;
    overflow-y: scroll;
    margin: -20px 0px;
    padding: 0px;
    font-size: 0.5rem;
  }

  p {
    font-size: 0.8rem;
    margin: 0px;
    padding: 5px;
    text-align:center;
  }

  .thumbnail {
    width: 65vw;
    height: 30vh;
  }

  .imgcenter img{
    width:75vw;
    margin-left:-20px;
  }

  .vidBlock {
	  height: auto;
  	overflow: hidden;
	  overflow-y: scroll;
	  width: auto;
	  margin: auto auto auto -20px;
  }

  .videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
  }
  .videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
