p,
li,
code {
  line-height: 1.8em;
  font-size: 1.2rem !important;
}

code {
  font-size: 1.1rem !important;
}

pre>code {
  line-height: 1.2em;
  font-size: 1rem !important;
}

@media (max-width: 400px) {

  p,
  li {
    font-size: 1rem !important;
  }

  code {
    font-size: 0.9rem !important;
  }

  pre>code {
    font-size: 0.8rem !important;
  }
}

.ui.container.text {

  max-width: 850px !important;
}

.ui.container.text h2 {
  margin: 2rem 0 1rem 0;
}

header {
  box-shadow: 0 -10px 20px 0px rgba(51, 51, 51, 1);
}

header a,
header a:visited {
  color: #212529;
  text-decoration: none;
}

header .banner {
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

header .banner.links h1 {
  margin: 0;
  font-size: 1.1rem;
  color: #e97dfd;
  text-transform: uppercase;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

header .banner.freelance {
  background-color: #e97dfdc7;
}

header .banner.freelance h1 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
}

header .banner.freelance a {
  cursor: pointer;
  text-decoration: underline;
  color: #fff;
}

#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  user-select: none;
}

#hero-animation {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content h1 {
  user-select: none;
  text-align: center;
  padding: 6rem 0;
  color: rgb(70, 70, 70);
  font-size: 45px;
  font-weight: 700;
  max-width: 1200px;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

@media (max-width: 700px) {
  .hero-content h1 {
    font-size: 25px;
  }
}

main {
  padding-top: 4rem;
  padding-bottom: 20px;
}

@media (max-width: 600px) {
  main {
    padding-top: 2rem;
  }
}

/* Semantic CSS override */
.ui.header .sub.header {
  margin-top: 0.3rem;
}

footer {
  padding: 1em 0;
  height: 50px;
  margin-top: 4em;
}

li {
  margin: 0.3rem 0;
}

img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

time,
address {
  display: inline;
}

code {
  font-size: 1rem;
}

.article-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  padding: 0 4rem;
  max-width: calc(1200px + 4rem);
  margin: 0 auto;
}

.article {
  padding: 2rem;
  background: #f1d2ff26;
  width: calc(50% - 2rem);
  border: solid 4px #f1d2ff;
  max-width: 600px;
  border-bottom-left-radius: 15px;
  border-top-right-radius: 15px;
}

.article:nth-child(4n - 1),
.article:nth-child(4n - 2) {
  background: #d1eaff47;
  border: solid 4px #d1eaff;
}

@media (max-width: 600px) {
  .article-list {
    gap: 2rem;
    padding: 0 2rem;
    max-width: calc(1200px + 2rem);
  }

  .article {
    width: 100%;
  }
}

.article .header a {
  color: #333;
}

.article .preview {
  opacity: 0.7;
}

.article .ui.divider {
  margin: 2.5rem 0;
}

@media (max-width: 600px) {
  .article .header {
    font-size: 18px;
  }
}

.item {
  margin-bottom: 1rem;
  padding-top: 1rem !important;
}

.item>h3.header {
  font-weight: 600 !important;
}

blockquote {
  color: #666;
}

.highlight {
  margin-bottom: 1rem;
  border: 1px solid #999;
  padding: 2rem 0 2rem 2rem;
  box-shadow: 1px 1px 4px #999;
  overflow: auto;
}

pre {
  font-size: 0.9em;
  margin: 0;
  display: block;
}

@media (max-width: 600px) {
  .highlight {
    padding: 2rem 0 2em 1em;
    margin-left: -1em;
    margin-right: -1em;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    overflow: auto;
  }

  code {
    font-size: 1rem;
  }
}

.bio {
  padding: 20px 0 40px 0;
  border-top: 1px solid #999;
  margin-top: 20px;
  font-style: italic;
}

.bio a {
  font-weight: bold;
}

.yt-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1rem 0;
}

.yt-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loom-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1rem 0;
}

.loom-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

li>code,
p>code {
  color: #7f2598;
  font-weight: 500;
}

.paginator {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

/* EMAIL SIGNUP FORM  */

.subscribe {
  min-width: 70%;
}

.subscribe-cta {
  font-weight: bold;
  color: #666;
}

/* e97dfdd1 */
.subscribe button {
  color: #fff !important;
  background-color: #999 !important;
}

.subscribe input {
  background-color: #fff !important;
  border: solid 2px #999 !important;
  border-right: 0 !important;
}

.subscribe input::placeholder {
  color: #999 !important;
}

.subscribe:hover button {
  background-color: #e97dfdd1 !important;
}

.subscribe:hover input {
  border: solid 2px #e97dfdd1 !important;
  border-right: 0 !important;
}

/* END EMAIL SIGNUP FORM  */