/******************************************************************************
START Glitch hello-app default styles

The styles in this section do some minimal CSS resets, set default fonts and 
colors, and handle the layout for our footer and "Remix on Glitch" button. If
you're new to CSS they may seem a little complicated, but you can scroll down
to this section's matching END comment to see page-specific styles.
******************************************************************************/
/* Our default values set as CSS variables */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* @font-face {
  font-family: Job Clarendon;
  src: url(https://cdn.glitch.com/d5bea960-efe6-4b83-b468-d38ab12f707d%2FJobClarendonVariable-VF.woff2?v=1620410497008);
  font-weight: 100 900;
}
 */

/* @font-face {
    src: url('https://cdn.glitch.com/41d10c89-3109-440c-ba04-27a36b0043d3%2FFernVariable-Roman-VF.woff2?v=1625249708787') format("woff2"),
         url('https://cdn.glitch.com/41d10c89-3109-440c-ba04-27a36b0043d3%2FFernVariable-Roman-VF.woff?v=1625249708402') format("woff");
    font-family: 'Fern Web';
    font-style: normal;
    font-weight: 400 800;
    } */


/* @font-face {
    src: url('https://cdn.glitch.com/41d10c89-3109-440c-ba04-27a36b0043d3%2FFernVariable-Italic-VF.woff2?v=1625249708526') format("woff2"),
         url('https://cdn.glitch.com/41d10c89-3109-440c-ba04-27a36b0043d3%2FFernVariable-Italic-VF.woff?v=1625249708559') format("woff");
    font-family: 'Fern Web';
    font-style: italic;
    font-weight: 400 800;
    } */

:root {
--color-bg: #ede4e0;
    --color-text-main: #da0001;
    --color-primary: #da0001;
    --wrapper-height: 85vh;
    --image-max-width: 320px;
    --font-family: Georgia, serif;
    --font-family-header: 'PT Serif', serif;
    --accent: #da00013b;
  --softaccent: #da000117;
}

:-moz-selection { /* Code for Firefox */
/*   color: red; */
  background: var(--accent);
}

.articledate {
  color: var(--color-primary);
    background-color: var(--softaccent);
    display: inline-block;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
}

@keyframes fadein {
  0%   { opacity: 0; }
  50%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes spin {
  0%   { transform: rotate(0deg) }
  100%   { transform: rotate(-720deg) }
}

.spin {
/*   animation: spin 2s;
  animation-timing-function: cubic-bezier(.04,.92,.64,.99) */
}

#randomquote {
  animation: fadein 1s;
  margin-bottom: 8px;
}

/* .hero {
  display: flex;
} */

::selection {
/*   color: red; */
   background: var(--accent);
}

.navbutton {
background-color: var(--color-primary);
    padding: 5px;
/*     transform: translateY(-5px); */
    color: var(--color-bg)!important;
  border-radius: 5px;
  box-shadow: 0px 2px 0px 0px #8c0001;
}

/* Basic page style resets */
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

.pixelart {
  image-rendering: pixelated;
}


/* Navigation grid */
/* .nav {
  font-family: var(--font-family-header);
  display: flex;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
  flex-wrap: wrap;
} */

.nav {
  font-family: var(--font-family-header);
    display: flex;
    justify-content: space-between;
    padding: 20px;
    width: 100%;
    flex-wrap: wrap;
    /* position: fixed; */
    /* border-bottom: 1px solid var(--color-text-main); */
    align-items: center;
  border-top: 3px solid var(--color-primary);
  border-bottom: 1px solid var(--softaccent);
}


.links {
  font-size: 15px;
width: calc(100% - 100px);
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid var(--accent);
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.navlogo {
  width: 75px;
/*   position: fixed; */
/*   transition: 1s; */
  transition: .2s;
}

.navlogo:hover {
 transform: rotate(-15deg);
}

footer {
  margin-top: 50px;
 width: 100%;
  text-align: center;
  padding: 20px;
  font-style: italic;
}

.posts li p, .latest p {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.posts {
  list-style-type: none;
    margin: 0;
    padding: 0;
}

.posts a {
  text-decoration: none!important;
}

.posts h4 {
  margin: 0;
      max-width: 500px;
font-weight: normal;
/*   display: none; */
}

.posts li {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 15px;
/*   display: flex; */
  padding-top: 15px;
}

.posts li:hover {
border-bottom: 1px solid var(--color-text-main);
}

.sm-header {
  color: var(--color-primary);
}

.posts li p {
margin: 0;
    display: inline-block;
    float: none;
    /* background-color: var(--color-primary); */
    color: var(--color-primary);
    font-size: 13px;
/*     padding: 5px; */
    float: right;
/*     background-color: var(--softaccent); */
    border-radius: 6px;
}

.hero {
  display: flex;
  align-items: center;
}

.hero img {
  padding-left: 20px;
  width: 60%;
  margin-top: 0;
}

.hed {
  max-width: 40%;
}

.nav a:hover, footer a:hover {
  opacity: .8;
}

.fixed {
  position: fixed;
  background-color: var(--color-bg);
  top: 0;
  padding: 5px;
  box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 5%);
  border-top: 1px solid var(--color-primary);
}

.smalllogo {
  width: 50px;
}

.nav a:not(.btn--remix):link,
a:not(.btn--remix):visited {
  font-style: normal;
  font-weight: normal;
/*   font-size: 1.1rem; */
  text-decoration: none;
  border-style: none;
}
.nav a:hover {
}

.nav .links {
  padding: 0.5rem 1rem 1.5rem;
  white-space: nowrap;
}

.divider {
  padding: 0 1rem;
}
/******************************************************************************
END Glitch hello-app default styles
******************************************************************************/

/* Page structure */
body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-size: 20px;
  line-height: 1.6;
  margin: 0px;
  margin-bottom: 50px;
}

/* .latest {
  display: flex;
    flex-direction: column-reverse;
} */

.latest li {
/*   border-top: 1px solid var(--color-text-main); */
}

.latest li:active, .posts li:active  {
  transform: translateY(2px);
}

.latest h2 {
  font-family: var(--font-family);
  font-weight: normal;
  margin: 0;
  padding-bottom: 30px;
  padding-top: 30px;
  font-size: 30px;
}

.latest p {
margin: 0;
    display: inline-block;
    float: right;
    margin-top: 24px;
    color: var(--color-primary);
    border-radius: 6px;
    font-size: 14px;
    padding: 5px;
  margin-left: 20px;
}

.latest, .latest li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.btn1, .hero a {
  display: inline-block;
    border: 1px solid var(--accent);
    padding: 10px;
    text-decoration: none!important;
  font-weight: normal;
  color: var(--color-text-main);
    border-bottom: 2px solid var(--color-primary);
    border-radius: 5px;
  background-color: #ffffff73;
  font-family: var(--font-family-header);
}

.btn1:hover, .hero a:hover {
    opacity: .8;
}

.latest li {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
  margin-left: -10px;
    margin-right: -10px;
}

.latest li, .posts li, a {
/*   transition: .2s; */
}

.latest a {
  text-decoration: none!important;
}

.latest li:hover {
/*   background-color: rgba(255,255,255,.3); */
/*   border-bottom: 1px solid var(--color-text-main); */
}

strong {
  font-weight: bold;
}

.latest h2:hover {
  border-bottom: 1px solid var(--color-text-main);
}

.latest li a:hover {
  background: transparent;
  color: var(--color-text-main)!important;
}

.wrapper {
  min-height: var(--wrapper-height);
  place-items: center;
  margin: 3rem 2rem 0;
}
.content {
 display: flex;
    flex-direction: column;
    max-width: 730px;;
    margin: 0 auto;
/*     background-color: rgba(255,255,255,.4); */
    padding: 40px;
  border-radius: 5px;
}

/* Typography */

p {
  color: black;
  max-width: 650px;
}

h3, h4, h5, h6, h7, h8 {
  max-width: 650px;
}

h1,
h2,
h4,
h5 {
  margin: 2rem 0 .8rem;
  font-family: var(--font-family-header);
  font-weight: bold;
  line-height: 1.1;
  color: var(--color-text-main);
}
h1, h2 {
  font-family: var(--font-family-header);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.1;
  padding-bottom: 20px;
}

/*   h1 {
    font-family: Job Clarendon;
    font-style: normal;
    font-weight: 700;
  } */

h2 {
    border-bottom: 1px solid var(--accent);
}

h3 {
  font-size: 2rem;
  font-weight: normal;
    font-style: normal;
  line-height: 1.3;
}
h4 {
  font-size: 1.5rem;
  line-height: 1.4;
}
h5 {
  font-size: 1.25rem;
}
small,
.text_small {
  font-size: 0.8rem;
}
ul > li,
ol > li {
  margin-bottom: 0.75rem;
/*   line-height: 1.5;
  font-size: 1rem; */
}
ul {
  padding: 0 0 0 18px;
  margin: 0;
}
ul.no-bullet {
  list-style-type: none;
}

/* Link styles */
a:not(.btn--remix):link,
a:not(.btn--remix):visited {
  text-decoration: none;
  text-decoration: underline;
  text-decoration-color: var(--accent);
	-webkit-text-decoration-color: var(--accent);
  color: var(--color-text-main);
}
a:hover {
  text-decoration: none!important;
}

/* Title style adjustments */
.title-lg {
  color: var(--color-text-main);
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: bold;
  line-height: 1.5;
}
.title-md {
  font-size: 56px;
}

/* Layout: Home */
.home {
display: flex;
    flex-direction: column;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 5px;
}
.illo-container {
  display: flex;
/*   justify-content: flex-end; */
}
.fullwidth {
  max-width: 100%;
  margin-top: 1rem;
/*   border-radius: 20px; */
  align-self: flex-start;
/*   transform: rotate(16deg); */
}

.halfwidth {
  max-width: 400px;
  margin-top: 1rem;
/*   border-radius: 20px; */
  align-self: flex-start;
/*   transform: rotate(16deg); */
}

.smallwidth {
  max-height: 200px;
    max-width: 200px;
  margin-top: 1rem;
  align-self: flex-start;
  box-shadow: 10px 10px 0px 0px var(--color-primary);
  transition: .3s;
}

.smallwidth:hover {
    box-shadow: 15px 15px 0px 0px var(--color-primary);
}

/* Post */
.post {
  place-items: normal;
}
.postTitle {
  font-family: var(--font-family-header);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 0rem;
}
.controls {
  margin: 3rem 0 2rem;
  border-top: 1px solid rgba(0,0,0,.3);
    margin-top: 100px;
}

em {
/*   float: right; */
}

h1, h2 {
   margin-top: 10px;
}

.floatright {
  float: right;
  margin-left: 30px;
  margin-bottom: 30px;
}

hr {
  border: none;
  border-bottom: 1px solid var(--accent);
  width: 100%;
  margin: 0;
}

.oc h3, .oc h5 {
  margin: 0;
  margin-top: 15px;
}

.oc h5 {
  margin-top: 10px;
}

.oc h3 {
  font-weight: bold;
}

.oc h5 {
  font-weight: normal;
}

@media screen and (max-width: 600px) {
  .fullwidth, .halfwidth {
    max-width: 100%!important;
/*     height: auto!important; */
  }
  
  .nav {
    flex-direction: column;
  }
  
  .nav a {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--accent)!important;
  }
  
  .navbutton {
    border-radius: 0;
    box-shadow: none;
  }
  
  .hed {
    max-width: 100%;
  }
  
  body {
    font-size: 20px;
  }
  
  .hero {
    flex-direction: column-reverse;
  }
  
  .hero img {
    width: 100%;
      padding: 0;
    margin-top: 0;
    margin-bottom: 20px;
  }
  
  .posts li {
    flex-direction: column;
  }
  
  .latest p {
margin: 0;
    display: inline-block;
    float: none;
    margin-top: 10px;
    font-size: 13px;
    padding: 0px;
    margin-left: 0px;
}
  
  .floatright {
    float: none;
      margin-left: 0px;
  margin-bottom: inherit;
  }
  
  .links {
    flex-direction: column;
    width: calc(100% - 90px);
    border-bottom: none;
  }
  
  .links a {
    border-bottom: 1px solid var(--accent)!important;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  
  .navlogo {
    width: 90px;
    border-radius: 50%;
  }
  
  .navbutton {
    transform: translateY(0px);
  }
  
  .posts li p {
  float: none;
    margin-bottom: 10px;
}
  
  h1, h2 {
    font-size: 2.5rem!important;
  }
  
  .latest h2 {
    font-size: 1.5rem!important;
    line-height: 1.4;
    padding-bottom: 13px;
    padding-top: 10px;
  }
  
  .content, .home {
    padding: 20px;
  }
  
  .wrapper {
    margin: 10px;
  }
}