/* I got this font from https://fonts.google.com/specimen/Cardo ; it's licensed under SIL Open Font License, Version 1.1 */
@font-face {
  font-family: 'Cardo';
  src: url('../../shared/googlefonts/Cardo-Regular.ttf');
}
@font-face {
  font-family: 'Cardo';
  src: url('../../shared/googlefonts/Cardo-Bold.ttf');
  font-weight: bold;
}
@font-face {
  font-family: 'Cardo';
  src: url('../../shared/googlefonts/Cardo-Italic.ttf');
  font-style: italic;
}

/* I got this font from https://fonts.google.com/specimen/Cormorant+Upright ; it's licensed under SIL Open Font License, Version 1.1 */
@font-face {
  font-family: 'CormorantUpright';
  src: url('../../shared/googlefonts/CormorantUpright-Regular.ttf');
}

/* I got this font from https://fonts.google.com/specimen/Goudy+Bookletter+1911 ; it's licensed under SIL Open Font License, Version 1.1 */
@font-face {
  font-family: 'GoudyBookletter1911';
  src: url('../../shared/googlefonts/GoudyBookletter1911-Regular.ttf');
}

body {
  margin: 0;
  padding: 0;
  font-size: large;
  line-height: 1.5;
  font-family: 'Cardo', serif;
  background-color: rgb(242, 242, 242);
  color: rgb(20, 20, 20);
}
#main {
  margin: 0 50px 25px 50px;
  max-width: 900px;
}

h1 {
  font-size: 130%;
  font-weight: normal;
}
h2 {
  font-size: 110%;
}

a {
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  color: rgb(20, 20, 150);
  text-decoration-color: rgba(20, 20, 150, 0.5);
}
a:visited {
  color: rgb(20, 20, 110);
  text-decoration-color: rgba(20, 20, 110, 0.5);
}

.permalink {
  font-size: 50%;
  vertical-align: top;
}

blockquote, .nonquote {
  padding-left: 2ex;
  margin-left: 0;
}
blockquote {
  font-family: "GoudyBookletter1911", sans-serif;
  border-left: 1px solid black;
  line-height: 1.2;
}
.cite {
  font-family: "Cardo", serif;
  font-style: italic;
  font-size: 80%;
}

details, .aside, .soapbox, .thoughtexp {
  padding: 5px 20px;
  /* background-color: #fcfcda; */
  background-color: rgb(220,220,220);
  margin-bottom: 1em;
  font-size: 90%;
}
details p:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}
summary {
  font-style: italic;
}
summary:hover {
  cursor: pointer;
}
.soapbox {
  background-color: rgb(255, 253, 212);
}
.soapbox details {
  background-color: rgb(255, 254, 236);
}
.spoiler {
  filter: blur(5px);
}
.spoiler-clickable:hover {
  cursor: pointer;
}
.thoughtexp {
  background-color: rgb(220, 220, 255);
  font-size: 100%;
}

#about {
  background: linear-gradient(to left, rgb(190, 233, 190) 0%, rgb(242, 242, 242) 100%);
  text-align: right;
  padding: 12px 20px 16px 0;
  margin-top: 0;
  font-size: min(3vw, 20px);
}

.level1 {
  margin-bottom: 2em;
  border-top: 1px solid rgb(180, 180, 180);
}
.level1::after {
  content: "";
  display: table;
  clear: both;
}

ul {
  padding-inline-start: 25px;
}

li {
  margin-top: 0.7em;
  list-style-type: square;
}

.sec-img, .sec-img-left {
  float: right;
  max-width: min(250px, 30%);
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: 2ex;
  box-shadow: 0 0 5px rgba(20,20,20,0.6);
  opacity: 95%;
}
.sec-img-left {
  float: left;
  margin-left: 0;
  margin-right: 2ex;
}
figure {
  padding: 0;
  background-color: rgb(242, 242, 242);
}
figure img {
  width: 100%;
}
figcaption {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  text-align: center;
  color: gray;
  font-size: 80%;
}
.full-img {
  width: 100%;
  box-shadow: 0 0 5px rgba(20,20,20,0.6);
  opacity: 95%;
  width: 99%;
  margin-left: 0;
  margin-right: 0;
}
.mid-img {
  max-width: min(300px, 90%);
  box-shadow: 0 0 5px rgba(20,20,20,0.6);
  opacity: 95%;
  width: 99%;
  display: block;
  margin-left: 10%;
  margin-right: auto;
}

@media (max-width: 600px) {
  figure.sec-img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

#nyc strong {
  color: green;
}
