html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffede5;
  color: #4f4f4f;
  font-family: "Minion Pro", "Meera Inimai", "Arial", "sans-serif";
  font-weight: 500;
  margin-bottom: 2em;
  line-height: 1.3em;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on February 13, 2020 */

@font-face {
    font-family: 'Casual Tuesday';
    src: url('/elements/handwrittenfonts/casualtuesday-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Grade Four';
    src: url('/elements/handwrittenfonts/gradefour-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on February 23, 2020 */

@font-face {
    font-family: 'Meera Inimai';
    src: url('/elements/googlefonts/meerainimai-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poiret One';
    src: url('/elements/googlefonts/poiretone-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Righteous';
    src: url('/elements/googlefonts/righteous-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Zeyada';
    src: url('/elements/googlefonts/zeyada-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Homemade Apple';
    src: url('/elements/googlefonts/HomemadeApple-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 15, 2021 */

@font-face {
    font-family: 'niramitregular';
    src: url('/elements/googlefonts/niramit-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 15, 2021 */

@font-face {
    font-family: 'niramitmedium';
    src: url('/elements/googlefonts/niramit-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('/elements/googlefonts/MinionPro-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('/elements/googlefonts/MinionPro-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: '#1 Ichiro';
    src: url('/elements/googlefonts/1Ichiro.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Deneane';
    src: url('/elements/googlefonts/Deneane.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PenultimateLight';
    src: url('/elements/googlefonts/PenultimateLight.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ukulele Setlist';
    src: url('/elements/handwrittenfonts/ukulelesetlist-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: normal;
}



img {
  display: block;
  margin: 0.5em 0 0.5em 0;
}

p {
  margin: 0.5em auto 0.5em auto;
  line-height: 1.2em;
}

mark {
  color: #696969;
  background: #f3a9c43b;
}

:target {
  background-color: #ffdc5d5c;
}

h1 {
  font-size: 2.3em; 
  font-family: "Deneane", "Righteous", serif;
  color: #9d8189;
  margin: 0 auto 0.25em auto;
  line-height: 1.2em;
}

h2 {
  font-size: 1.8em; 
  font-family: "Deneane", "Righteous", serif;
  font-weight: normal;
  color: #696969;
  margin: 0.25em auto 0.25em auto;
  line-height: 1em;
}

h3 {
  font-size: 1.6em; 
  font-family: "PenultimateLight", "Poiret One", serif;
  font-weight: bold;
  color: #696969;
  margin: 0.25em auto 0.25em auto;
  line-height: 1em;
  
}

h4 {
  font-size: 1.4rem;
  font-family: "PenultimateLight", "Poiret One", serif;
  font-weight: bold;
  margin: 0.25em auto 0.25em auto;
}

h5 {
  font-size: 1.4em;
  font-weight: normal;
  letter-spacing: 0.05em;
  margin: 0.25em auto 0.25em auto;
}

h6 {
  font-size: 1.25em;
  font-weight: normal;
  letter-spacing: 0.05em;
  margin: 0.25em auto 0.25em auto;
}

ul {
  margin: 0.5em 0 0.5em 0;
  line-height: 1.1em;
}

ul ul ul ul {
    list-style: circle;
}

a {
  color: #915768;
  text-decoration: none; /*underline dotted #9d8189 -I love how this looks in Firefox but Chrome doesn't render dots properly! so alas. */
  text-shadow: 2px 1px 3px #f3a9c4;
}

a:hover {
  color: #f4aeb9;
}

::selection {
  background-color: #ffdc5dba;
}

u {
  text-underline-offset: 0.06rem;
}

blockquote {
  border-left: 1px solid grey;
  padding-left: 1em;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 0.5px;
  color: #915768;
  
}

hr {
  border-style: solid;
  border-color: #9d8189;
}

nav {
  padding: 0 0 1em 0;
  text-align: center;
}

nav a {
  color: #8a6a72;
  text-decoration: none;
  text-shadow: 2px 1px 3px #ffccd5;
  background: white;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid;
  display: inline-block;
  margin: 1em 0.5em 0.5em 0;
}

nav a:hover {
  color: #8a6a72;
  background: #f4aeb9;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 0.9em;
  width: fit-content;
  background-color: #f3a9c43b;
}

date {
  font-family: 'Righteous';
  color: #915768;
}

.hover {
  opacity: 0.5;
  transition: 0.3s;
}

.hover:hover {
  opacity: 1;
  transition: 0.3s;
}

.scrolltotop {
  position: fixed;
  bottom: 3%;
  right: 3%;
  background-color: #ffffff85;
  padding: 5px;
  line-height: 0.5em;
  border-radius: 5px;
}

.siteheader {
  text-align: center;
}

.siteheader p {
  font-size: 2em;
  font-family: "Righteous", serif;
  font-weight: bold;
  color: #d19e9e;
  margin: 0.5em auto 0 auto;
  line-height: 1.2em;
}

.siteheader a {
  font-size: 2.8em;
  font-family: "#1 Ichiro", serif;
  font-weight: bold;
  color: #d19e9e;
  text-decoration: none;
  text-shadow: 2px 1px 1px #9d8189;
  line-height: 0.7em;
  letter-spacing: 5px;
}

.content {
  width: 60%;
  margin: 1em auto 1em auto;
}

.contentcenter {
  width: 60%;
  margin: 1em auto 1em auto;
}

main {
  width: 60%;
  margin: 1em auto 1em auto;
}

.letter {
  width: 60%;
  margin: 1em auto 1em auto;
}

.letter p {
  text-indent: 2em;
  line-height: 1.25em;
}

.letter date {
  font-family: "Courier New";
  background-color: #f3a9c43b;
  float: right;
}

.box {
  border: double #999999;
  padding: 10px;
  background-color: #ffe1d9;
}

.cursive {
  font-family: "Zeyada", sans-serif;
  font-size: x-large;
  line-height: 1em;
}

/* STRESS BAR STYLING <div class="meter stress"> */
/* Make sure that padding behaves as expected */
* {box-sizing:border-box}

/* Container for skill bars */
.container {
  width: 100%; /* Full width */
  max-width: 500px;
  background-color: #ddd; /* Grey background */
}

.meter {
  text-align: right; /* Right-align text */
  padding-top: 5px; /* Add top padding */
  padding-bottom: 5px; /* Add bottom padding */
  color: white; /* White text color */
}

.stress {width: 70%; background-color: #fff040;}
                  /* background-color: #5ce62f (green, 0-25)
                     background-color: #fff040 (yellow, 25-50) 
                     background-color: #ffa41d (orange, 50-75 )
                     background-color: #f35454 (red, 75-100) */
                     
.banner {
  padding: 0.5em;
  background: #ffdc5d25;
  border: 2px dotted #ffc800;
  margin: 1em 0 1em 0;
}

 .new::before {
  content: "NEW!";
  color: white;
  font-size: 0.8em;
  background: #f35454;
  margin: auto 0.5em auto 0;
  padding: 2px 4px 2px 4px;
  border-radius: 3px;
 }

.fave::before {
  content: "★";
  color: white;
  font-size: 0.6em;
  background: #ffc800;
  margin: auto 0.5em auto 0;
  padding: 2px 4px 2px 4px;
  border-radius: 3px;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width:100%;
  margin: 1em 0 1em 
}
  
.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@media only screen and (max-width: 780px) {
  .content {
    width: 75%;
  }	
  blockquote {
  margin-left: 0;
  }
}

@media only screen and (max-width: 480px) {
  .content {
    width: 90%;
  }	
  blockquote {
  margin-left: 0;
  }
}

@media only screen and (max-width: 780px) {
  main {
    width: 75%;
  }	
  blockquote {
  margin-left: 0;
  }
}

@media only screen and (max-width: 480px) {
  main {
    width: 90%;
  }	
  blockquote {
  margin-left: 0;
  }
}

@media only screen and (max-width: 780px) {
  .contentcenter {
    width: 75%;
  }	
}

@media only screen and (max-width: 480px) {
  .contentcenter {
    width: 90%;
  }	
}