body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  color: #cccccc;
  font-family: "Noto Sans", Arial, sans-serif;
  font-weight: 450;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6, label {
  font-family: "Noto Serif", Garamond, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2rem;
}

h2, h3, h4, h5, h6 {
  font-size: 1.5rem;
}

p, li, input {
  font-family: "Noto Sans", Arial, sans-serif;
  font-weight: 450;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.45em;
  margin-left: 30px;
}

a, button {
  color: #cccccc;
  font-size: 1em;
}


label {
  font-family: "Noto Serif", Garamond, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.5rem;
}

input[type=text], rich_textarea, #email_address, #password, #subscriber_email{
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 4px solid #333333;
  border-radius: 4px;
  box-sizing: border-box;
  outline: none;
  background-color: #222222;
  color: #cccccc;
}

input[type=text]:focus {
  border: 4px solid #cc0000;
}

input[type=submit] {
  width: 100%;
  padding: 10px;
  text-decoration: none;
  color: #cccccc;
  background-color: #1a1a1a;
  border-radius: 16px;
  border: 2px solid #333333;
  color: #cccccc;
  margin: 0;
  margin-top: 10px;
}

input[type=checkbox] {
  padding: 10px;
}

input[type=submit]:hover {
  background-color: #333333;
}

input[type=submit]:active {
  border: 2px solid #990000;
}

/* Hide default checkbox */
.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* Create custom box */
.custom-checkbox .checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #990000;
  border: 2px solid #cccccc;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
}

.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 10px;
  height: 2px;
  border: solid #cccccc;
  border-width: 0 0 2px 0;
}

/* Show checkmark when checked */
.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #cccccc;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked + .checkmark {
  background-color: #009900;
}

.caveat {
  font-family: "caveat", Garamond, serif;
  font-weight: 450;
  font-style: normal;
  font-size: 1.55rem;
}

.no_wrap {
  white-space: nowrap;
}

.noto_serif {
  font-family: "Noto Serif", Garamond, serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.75rem;
  margin: 0;
}

.text_highlight {
  color: #cc0000;
}

#navbar {
  position: fixed;
  height: 100%;
  width:90px;
  padding: 16px 0px 0px;
  background-color: #222222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#mainview {
  position: absolute;
  height: auto;
  width: calc(100% - 90px);
  left: 90px;
}

#mainview > * {
  width: calc(100% - 48px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

#header {
  position: sticky;
  height: 90px;
  top: 0;
  z-index: 1;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#main {
  position: relative;
  min-height: calc(100vh - 180px) ;
  overflow-y: auto;
}

#footer {
  position: relative;
  height: 90px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.navlink {
  padding: 8px 16px;
  text-decoration: none;
  color: #cccccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.navlink > span {
  font-size: 0.85rem;
  text-align: center;
}

.navicon {
  width: auto;
  border-radius: 16px;
  padding: 4px 8px;
  margin: 0px 0px 4px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.navicon > img {
  padding: 0px 8px;
}

.navicon:hover {
  background-color: #333333;
}

.active > .navicon {
  background-color: #990000;
}

.active > span {
  color: #cc0000;
}

.logo {
  position: relative;
  line-height: 0;
}

.toplogo > img {
  height: 52px;
}

.botlogo > img {
  height: 22px;
}

.link_object, .button_object {
  width: 100px;
  height: 50px;
  box-sizing: border-box;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  text-decoration: none;
  background-color: #1a1a1a;
  color: #cccccc;
  border: 2px solid #333333;
  margin: 10px 10px 0px 0px;
}

.small_button {
  width: 80px;
  height: 50px;
  box-sizing: border-box;
  border-radius: 10px;
  padding: 3px;
  background-color: #1a1a1a;
  color: #cccccc;
  border: 2px solid #333333;
  font-size: 0.85rem;
  &:hover {
    background-color: #333333;
  }
  &:active {
    border: 2px solid #990000;
  }
}

.link_object:hover, .button_object:hover {
  background-color: #333333;
}

.link_object:active, .button_object:active {
  border: 2px solid #990000;
}

.link_object > img {
  padding: 0px;
}

.postlink {
  text-decoration: none;
  color: #cccccc;
}

.link_fit {
  width: 150px;
  height: 26px;
  box-sizing: content-box;
}

.post {
  width: auto;
  border-radius: 10px;
  padding: 20px 30px;
  background-color: #222222;
  border: 2px solid #222222;
  margin: 30px 0px;
}

.post > * {
  margin: 10px;
}

.post > .noto_serif {
  font-size: 2rem;
}

.post:hover {
  border: 2px solid #990000;
}

.container {
  width: auto;
  border-radius: 10px;
  padding: 10px 10px;
  background-color: #222222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  margin-bottom: 20px;
  text-align: center;
}

.red {
  background-color: rgba(200, 20, 24, 0.05);
  border: 2px solid rgba(200, 20, 24, 0.5);
}

.yellow {
  background-color: rgba(255, 214, 0, 0.05);
  border: 2px solid rgba(255, 214, 0, 0.5);
}

.blue {
  background-color: rgba(0, 240, 255, 0.05);
  border: 2px solid rgba(0, 240, 255, 0.5);
}

.container > * {
  margin: 10px;
}

.highlight_on_hover:hover {
  color: #cc0000;
}

.location {
  position: relative;
  float: right;
  width: 300px;
  height: 230px;
}

.location img {
  position: relative;
  top: -50px;
}

.clipboard-button {
  display: none;
  font-size: 0.75rem;
  margin-right: 10px;
  padding: 6px 12px;
  text-decoration: none;
  color: #cccccc;
  background-color: #333333;
  border: none;
  border-radius: 10px;
}

.clipboard-button:hover {
  background-color: #990000;
}

.clipboard-button:active {
  background-color: #222222;
}

.clipboard--supported .clipboard-button {
  display: inline;
}

.clipboard_message {
  display: none;
  font-size: 0.75em;
  animation-name: fade;
  animation-duration: 1.2s;
}

@keyframes fade {
  from {color: #cccccc;}
  to {color: #1a1a1a;}
}

.columns {
  column-count: 3;
}

.small {
  width: 100%;
  font-size: 1.32em;
}

.action_panel {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.fit-to-width {
  width: 100%;
}

.left, .post > p {
  margin-left: 0;
}

@media screen and (max-width: 800px) {
  .columns {
    column-count: 2;
  }
}

@media screen and (max-width: 720px) {

  h1, h2, h3, h4, h5, h6, label {
    font-size: 1.75rem;
  }

  h2, h3, h4, h5, h6 {
    font-size: 1.5rem;
  }

  #navbar {
    width: 100%;
    height: 70px;
    bottom: 0;
    padding: 0;
    z-index: 1;
    flex-direction: row;
    justify-content: space-evenly;
  }

  #mainview {
    width: 100%;
    left: 0;
  }

  #main {
    /* viewheight - header, foooter, & navbar*/
    min-height: calc(100vh - 250px) ;
  }

  #footer {
    margin-bottom: 70px;
  }

  .botlogo > img {
    height: 14px;
  }

  .small {
    width: 100%;
    font-size: 0.84em;
  }

  .location {
    width: 200px;
    height: 150px;
  }

  .location img {
    top: -30px;
  }

  .post > .noto_serif {
    font-size: 1.75rem;
  }


}

@media screen and (max-width: 500px) {
  .columns {
    column-count: 1;
  }

  .navlink {
    padding: 8px 8px;
  }

  .navlink > span {
    font-size: 0.65em;
  }

}

@media screen and (max-width: 450px) {
.small_button {
  width: 60px;
  height: 40px;
  font-size: 0.70rem;
}

@media screen and (max-width: 430px) {

  p, li, input {
    font-size: 1.1rem;
  }

  h1, h2, h3, h4, h5, h6, label {
    font-size: 1.35rem;
  }


  h2, h3, h4, h5, h6 {
    font-size: 1.25rem;
  }

  .hideonsmall {
    display: none;
  }

  .toplogo > img {
    height: 42px;
  }
  
  .location {
    float: none;
  }

  .post > .noto_serif {
    font-size: 1.35rem;
  }

  .navlink {
    padding: 8px 0px;
  }

  .small {
    width: 100%;
    font-size: 0.84rem;
  }
}


@media screen and (max-width: 370px) {
  .toplogo > img {
    height: 32px;
  }

  .post {
    padding: 10px 15px;
  }
}

@media screen and (max-width: 300px) {
  p, li, input{
    font-size: 0.9rem;
  }

  h1, h2, h3, h4, h5, h6, label {
    font-size: 1.15rem;
  }

  h2, h3, h4, h5, h6 {
    font-size 1.00rem;
  }

  .navicon {
    padding: 4px 0px;
    border-radius: 12px;
  }

  .toplogo > img {
    height: 24px;
  }

  .botlogo > img {
    height: 12px;
  }

  .small {
    width: 100%;
    font-size: 0.72rem;
  }
}

