@font-face {
  font-family: "Ubuntu";
  src: URL("/assets/fonts/Ubuntu-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Bowlby One SC";
  src: URL("/assets/fonts/BowlbyOneSC-Regular.ttf") format("truetype");
}

body {
  background-color: #bbbbbb;
  background-image: url(/assets/imgs/layout/blc-bk-page.jpg);
  color: #6d6d6d;
  font: 100% / 1.4 "Ubuntu", arial, helvetica, helve, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol", "Apple Color Emoji";
}

header {
  background-color: #59779b;
  margin-bottom: 20px;
}

a {
  color: #25baf1;
  text-decoration: none;
}
a:hover {
  color: #0380ad;
  text-decoration: underline;
}

h1 {
  font-size: 2.5rem;
  font-family: "Bowlby One SC", sans-serif;
  /* color: #fff; */
  font-weight: 500;
}

h2 {
  font-size: 2.2em;
  font-family: "Bowlby One SC", sans-serif;
  /* color: #fff; */
  font-weight: 500;
}

h3 {
  font-size: 1.5em;
  font-family: "Bowlby One SC", sans-serif;
  font-weight: 500;
}

.img-fluid {
  width: 100%;
}

.banner {
  padding-top: 2rem;
  display: flex;
  gap: 2em;
  justify-content: center;
}

.banner img {
  width: 100%;
}

.title {
  align-self: flex-end;
}

.icon, .badge {
  align-self: center;
}

footer a {
  text-decoration: underline;
  color: #fff;
}

.page-wrapper {
  padding: 0 20px 0 20px;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

p.hr {
  border: 3px solid #ffcc1a;
  border-radius: 5px;
  opacity: 1;
}

/* Layout: TOP NAV/MENU ============================================= */
#topnav a {
  color: #fff; 
  display: inline-block;
  font-family: 'Bowlby One SC', sans-serif; 
  font-size: 1.7em;

  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 8px;
  padding-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;

  text-align: center;
  text-decoration: none;  
}
#topnav a:hover {
  text-decoration: none;
  background-color: #fff;
  color: #25baf1;
  border-radius: 9px;
}



.lapsable-menu a {
  color: #fff;
}

.menu-content {
  padding: 0 0 0px;
}

.collapsable-menu { 
  display: none;
  border-radius: 10px;
  padding-left: 5px;
  padding-right: 5px;
}
#menu-button,
.collapsable-menu a {
  color: #fff;
  font-family: bowlby one sc, sans-serif;
  font-size: 1.7em;
  border-radius: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 8px;
  padding-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  display: inline-block;
  text-decoration: none;
}
#menu-button:hover {
  background-color: #fff;
  color: #25baf1;
  border-radius: 9px;
}
.collapsable-menu ul li ul li a {
  font-size: 1.4em;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 10px;
  padding-right: 10px;
}
.collapsable-menu ul li {
  padding-bottom: 10px;
}
.collapsable-menu {
  margin-right: 0;
  text-align: right;
}
.collapsable-menu ul {
  list-style-type: none;
  padding: 0;
}
.collapsable-menu a {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 19px;
  line-height: .75;
  text-decoration: none;
}
.collapsable-menu a span {
  font-size: .65em;
  font-family: "Ubuntu", arial, helvetica, helve, sans-serif;
}
.collapsable-menu a:hover {
  background-color: #fff;
  color: #25baf1;
  border-radius: 9px;
}
.collapsable-menu label {
  display: inline-block;
  cursor: pointer;
  padding: 10px 0 10px 0px;
}

.menu-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 0 0 0px;
  padding-right: 5px;
}
a.menu-bar-button {
  display: block;
  float: right;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 5px;
  border-radius: 10px;
}

input { /* check to see if this screws anything up */
  display: none;
}
input:checked {
  display: none;
}
input:checked ~ .menu-content {
  max-height: 100%;
}


/* Layout: Footer ============================================= */
footer {
  display: flex;
  justify-content: center;
  margin-top: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #666;
}
footer p {
  color: #ddd;
  font: 100%/1.4 "Ubuntu", arial, helvetica, helve, sans-serif;
  font-size: 1.2em;
  margin: 1rem 0 1rem 0;
}
footer a {
  text-decoration: underline;
  color: #fff;
}


/* Layout:pageContent ============================================= */
.pageContent {
  display: block;
  background-color: #fff;
  border-radius: 7px;
  padding: 2rem;
  margin-bottom: 1rem;
}
.pageContent h1,
.pageContent h2 {
  color: #6d6d6d;
  margin-top: 0;
  margin-bottom: 0;
}
.pageContent h1 a,
.pageContent h2 a {
  text-decoration: none;
}
.pageContent h1 a:hover,
.pageContent h2 a:hover {
  text-decoration: underline;
}
.pageContent a {
  text-decoration: underline;
}
.pageContent-header {
  margin-bottom: 1rem;
}
.pageContent-header h2 {
  margin: 0;
  line-height: 1.5rem;
}


/* Layout: Grid Rules ============================================= */
.grid2 {
  display: grid;
  gap: 1em;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1em;
}

.grid3 {
  display: grid;
  gap: 1em;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 1em;
}

.grid4 {
  display: grid;
  gap: 1em;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 1em;
}


/* Element: Title Card ============================================= */

.title-card {
  display: block;
  background-color: #fff;
  border-radius: 7px;
  padding: 2rem;
  margin-bottom: 1rem;
}
.title-card h1 {
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
}

/* Element: Post ============================================= */

.post {
    display: block;
    background-color: #fff;
    border-radius: 7px;
    padding: 2rem;
    margin-bottom: 1rem;
}

.post h2, .post h1 {
  margin-top: 0px;
}

/* Element: PAGINATION ============================================= */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1rem;
}
.page-button {
  padding: 10px;
  color: #fff;
  border-radius: 3px;
}
a.page-button {
  background-color: #25baf1;
}
a.page-button:hover {
  background-color: #59779b;
  color: #fff;
  text-decoration: none;
}
span.page-button {
  background-color: #6d6d6d;
}


/* Element: Page Cards (white squars) ============================================= */
.pageCard {
  background-color: #fff;
  /* margin-bottom: 30px; */
  border-radius: 7px;
  /* padding: 1em; */
  font-size: 1.25em; /* added to fix non blog text */
  text-align: center;
  text-decoration: none;
}
.pageCard h1 {
  color: #6d6d6d;
}
a .pageCard h2 {
  color: #59779b;
}
.pageCard h3 {
  font-size: 1.45rem;
  line-height: 1.45rem;
  padding: 0.5rem;
  margin: 0;
}
.pageCard img {
  /* margin-bottom: 1em; */
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}



/* Element: Comic Navigation ============================================= */
.comic-nav a {
  background-color: #25baf1;
  color: #fff;
  text-align: center;
  /* margin-bottom: 30px; */
  padding-top: 10px;
  padding-bottom: 5px;
  border-radius: 7px;
  font-size: 2em;
  font-family: bowlby one sc, sans-serif;
}
.comic-nav a.center {
  background-color: #0380ad;
}
.comic-nav a:hover {
  text-decoration: none;
  background-color: #fff;
  color: #25baf1;
}
.comic-nav a.center:hover {
  color: #0380ad;
}

.comic-nav a span {
  vertical-align: text-top;
}

.grid3.comic-nav {
  margin-top: 0.5em;
}


/* Layout: Comic Index ============================================= */

.comic-index {
  display: flex;
  gap: 2em;
  padding: 1em;
  margin: auto;
  border-radius: 7px;
}

.comic-index h3 {
  /* font-size: 2.8rem; */
  font-weight: 500;
  margin: 0;
}

.comic-index p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.comic-index img {
  max-width: 200px;
  object-fit: contain;
  margin-bottom: auto;
  /*max-height: 150px; */
}

.comic-index div {
  display: block;
}

a.comic-index {
  text-decoration: none;
}
















/* Mobile/Desktop Show/Hide ============================================= */
@media (min-width: 501px) {
  .mobile {
    display: none;
  }
}

@media (max-width: 500px) {
  .desktop {
    display: none;
  }
}


/* RESPONSIVE STYLES ======================================= */
/* Desktop */
@media (min-width: 768px) {
  header {
      background-image: url(/assets/imgs/layout/banner/bk1.jpg);
      background-position-y: 245px;
      /* background-position-x: -160px; */
  }
}


/* Tablet */
@media (max-width: 768px) {
  header {
    background-image: url("/assets/imgs/layout/banner/bk1m.jpg");
    background-position-y: -65px;
    /* background-position-x: -160px; */
  }
  .banner {
    gap: 1em;
    flex-direction: row-reverse;
  }
  .badge {
    display: none;
  }

  #topnav { display: none; }

  .collapsable-menu { display: block;}
}

/* Phone Landscape */
@media (max-width: 576px) {
  .icon {
    display: none;
  }
}