/* Option 2: Import via CSS */
:root {
  --sidebar-background-color: #910F3F;
  --main-background-color: #FAF9E2;

  --backdrop-blur-radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0px;
  margin: 0px;
  font-family: system-ui;
  font-size: 14px;
}

code {
  font-size: 0.9em;
}

a:link {
  text-decoration: none;
  color: #910F3F;
}

a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrapper {
  width: 100%;
  min-height: 100vh;
}

#app {
  width: 100%;
  min-height: 100vh;
  display: flex;
}

#sidebar {
  width: 30%;
  background-color: var(--sidebar-background-color);
  display: flex;
  flex-direction: row-reverse;
}

.sidebar-inner {
  width: 100%;
  /* max-width: 400px; */
  background-color: transparent;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
  /* width: 100%;
  height: 50px; */
  /* background-color: #ddd; */
  text-align: center;
  line-height: 50px;
}

.logo {
  background-image: url("../assets/logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 30%;
  aspect-ratio: 1;
}

#main {
  width: 70%;
  min-height: 100vh;
  background-color: var(--main-background-color);
  display: flex;
  align-items: center;
  flex-direction: column;
}

#nav {
  width: 100%;
}

.nav-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  height: 40px;
  background-color: var(--main-background-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 40px 20px 40px;
}

.nav-item {
  font-size: 1.2em;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  color: #910F3F;
}

.nav-item:hover {
  text-decoration: none;
  border-bottom: 2px solid;
}

.nav-item.active {
  color: #222;
  border-bottom: 2px solid;
}

.main-inner {
  flex: 1;
  padding: 40px 150px 50px 150px;
  width: 100%;
}

.home-button {
  width: 130px;
  margin-top: 10px;
  background-color: #910F3F !important;
  border-color: #910F3F !important;
}

.service-column-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.service-column {
  width: 100%;
  padding: 40px;
  background-color: #FFFFFF;
}

.service-item-title{
  color: #910F3F;
}

.service-block{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  align-items: center;
  height: 150px;
}

.service-block-pic{
  width: 100%;
  margin-right: 20px;
}

.service-item-word{
  width: 100%;
  padding: 20px;
  margin-left: 30px;
}

.contact-column-group {
  background-color: #FFFFFF;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  /* height: 300px; */
}

.contact-column {
  width: 100%;
  padding: 40px;
}

.contact-input-line{
  font-weight: 500 !important;
  line-height: 2 !important;
}

.contact-title{
  margin-bottom: 0.5rem;
  font-size: 16px;
}

.contact-block{
  padding: 20px 0px 20px 0px;
}

.contact-button{
  width: 100%;
  margin-top: 10px;
  background-color: #910F3F !important;
}

.price-title{
  color: #910F3F;
  padding-bottom: 20px;
}

.price-text{
  padding-bottom: 30px;
}

.card-body{
  margin: 30px;
}

.card{
  width: 500px;
  height: 100% !important;
}

.price-button-center{
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.price-list{
  --icon-space: 1.3em;
  height:350px;
  list-style-type: none;
  padding:0;
}

.price-list li{
  padding-left: var(--icon-space);
}

.price-list li::before{
  content: "\f058";
  font-family: FontAwesome;
  display: inline-block;
  margin-left: calc( var(--icon-space) * -1 );
  width: var(--icon-space);
  color: #910F3F;
  font-size: 20px;
  vertical-align: sub;
}

.card-retainer{
  width: auto;
}

.price-button{
  width: 200px;
  border-color: #910F3F !important;
  background-color: #910F3F !important;
  color: #FFFFFF !important;
}

.retainer-col{
  width:33% !important;
  padding: 10px !important;
}

.retainer-list{
  padding: auto;
}

.markdown-content {
}

.markdown-content p {
  font-size: 1em;
  font-family: system-ui;
  line-height: 150%;
}

.markdown-content ul {
  line-height: 250%;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  font-weight: 500;
}

.markdown-content p:last-child,
.markdown-content h1:last-child,
.markdown-content h2:last-child,
.markdown-content h3:last-child,
.markdown-content ul:last-child {
  margin-bottom: 0;
}

.markdown-content p:first-child,
.markdown-content h1:first-child,
.markdown-content h2:first-child,
.markdown-content h3:first-child,
.markdown-content ul:first-child {
  margin-top: 0;
}

.markdown-content h1 {
  color: #910F3F;
  font-size: 2.5rem;
}

hr {
  border: 0;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom: 20px;
}

.toc {
  margin-top: 20px;
  margin-bottom: 1.5em;
  padding-inline-start: 1em;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  /* border-top: 2px solid rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1); */
  list-style: none;
  line-height: 150%;
  /* vertical-align: au; */
  /* make the list style image as a star */
}

.toc li::before {
  /* content: "\2022";  Add content: \2022 is the CSS Code/unicode for a bullet */
  content: "\272D";
  vertical-align: sub;
  font-size: 25px;
  color: rgba(0, 0, 0, 0.2); /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}

.main-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  bottom: 0;
  text-align: left;
	margin-bottom: 10px;
}

.main-footer-column {
	margin-left: 40px;
	margin-right: 40px;
}

.main-footer-column p {
  margin: 0;
  line-height: 1.5em;
  font-size: 12px;
}

.section {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.action-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

.download-button:link,
.download-button:visited,
.download-button:active {
  cursor: pointer;
  border-radius: 60px;
  padding: 20px 40px 20px 80px;
  text-decoration: none;
  line-height: 1;
  font-size: 1.2em;
  background-color: #ffc110;
  color: #222;
  background-image: url("./download.png");
  background-repeat: no-repeat;
  background-size: 40px 40px;
  background-position: 20px 10px;
}

.latest-version,
.release-date {
  display: inline-block;
  font-size: 0.8em;
  color: #888;
  text-align: center;
}

.screenshot {
  width: 100%;
}

code {
  line-break: anywhere;
}

figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #888;
  text-align: center;
}

figure {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.scroll-top {
  z-index: 99;
  width: 60px;
  height: 30px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  border-radius: 6px;
  background-color: rgba(240, 240, 220, 0.25);
  border: 2px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(var(--backdrop-blur-radius));
  -webkit-backdrop-filter: blur(var(--backdrop-blur-radius));
}

.scroll-top:hover {
  cursor: pointer;
}

.scroll-top span {
  transform: rotate(-90deg);
  display: inline-block;
  color: rgba(0, 0, 0, 0.2);
  font-size: 1.5em;
  margin-top: -2px;
}

.showcase-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;;
}

.showcase-item {
  padding: 5px 20px 5px 0px;
  border-radius: 6px;
  background-color: rgba(240, 240, 220, 0.25);
  backdrop-filter: blur(var(--backdrop-blur-radius));
  -webkit-backdrop-filter: blur(var(--backdrop-blur-radius));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-item img {
  max-width: 100%;
  border: 0px;
}

a.follow-in-planet:link,
a.follow-in-planet:visited {
  font-size: 12px;
  color: #99a;
  background-color: #fff;
  padding: 5px;
  line-height: 100%;
  border-radius: 4px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

a.follow-in-planet:hover {
  background-color: #f9f9f9;
  text-decoration: none;
}

pre {
  padding: 10px;
  border-radius: 3px;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .showcase-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 320px) {
  .showcase-items {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 600px) {
  #app {
    flex-direction: column;
  }

  #sidebar {
    width: 100%;
    flex-direction: row;
  }

  .sidebar-inner {
    width: 100%;
    max-width: 100%;
  }

  #main {
    width: 100%;
    min-height: 1vh;
    align-items: initial;
    position: relative;
  }
}
