* {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

#darkModeImg {
  display: none;
}
#darkToggle {
  cursor: pointer;
}
.dark {
  background: var(--ifm-background-color);
}

.wickylogo {
  fill: #333333;
}
body.dark .wickylogo {
  fill: #ffffff;
}
body.dark h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong {
  color: #ffffff;
}
body.dark {
  --e-global-color-primary: #e3e3e3;
  --e-global-color-secondary: #e3e3e3;
  --e-global-color-text: #e3e3e3;
  --e-global-color-accent: #e3e3e3;
  --ifm-dev-container-bgcolor: #012424;
  --ifm-heder-backgroundx: #042c32;
  --ifm-author-info-blackground: #fff;
  --ifm-background-surface-color: #f5f5f57d !important;
  --ifm-background-color: #009f9f;
}

body.dark i {
  color: #ffffff;
}

body {
  --e-global-color-primary: #1c1e21;
  --e-global-color-secondary: #1c1e21;
  --e-global-color-text: #1c1e21;
  --e-global-color-accent: #1c1e21;
  --ifm-dev-container-bgcolor: #f2f2f2;
  --ifm-heder-backgroundx: #e6e5e5;
  --ifm-author-info-blackground: #fff;
  --ifm-background-surface-color: #f5f5f57d !important;
  --ifm-background-color: #cdcdcd;
}

body {
  background-color: var(--ifm-background-color);
  /* font-family: "prompt", sans-serif; */
  /* font-family: "kanit",sans-serif; */
  font-family: "Outfit", sans-serif;
}

body h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong {
  color: var(--e-global-color-primary);
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 22px;
}
h4,
h5,
h6 {
  font-size: 20px;
}

p {
  font-size: 18px;
  line-height: 1.5em;
}

a {
  text-decoration: none;
  line-height: 1.5em;
}

header {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background-color: unset;
}

.logo-site img {
  width: 32px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 2px 0 #0000001a;
}

div.hd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hd-logo a {
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul li {
  list-style: none;
  display: inline-block;
  font-size: 18px;
}

nav ul li a {
  text-decoration: none;
  padding: 0 8px;
  color: var(--e-global-color-primary);
}

main {
  margin: auto;
  background-color: var(--ifm-dev-container-bgcolor);
  max-width: 1340px;
  justify-content: center;
  border-radius: 15px;
  padding: 2px;
  gap: 0px;
  margin-bottom: 40px;
}

.title-header {
  display: grid;
  border-radius: 15px;
  padding: 30px 20px;
  background-color: var(--ifm-heder-backgroundx);
  gap: 20px;
}

.icon-bg {
  padding: 8px;
}

.icon-bg:hover {
  background-color: #f2f2f2;
  border-radius: 100%;
  padding: 8px;
}

aside {
  float: left;
  width: 20%;
  padding: 20px;
  position: sticky;
  top: 60;
  z-index: 2;
  overflow-y: auto;
}

.body-con {
  padding: 20px;
  display: grid;
  gap: 20px;
}

aside ul {
  padding-left: 0.7rem;
}

aside ul li {
  list-style: none;
}

aside ul li a {
  color: var(--e-global-color-primary);
  font-size: 14px;
  text-decoration: none;
  line-height: 1.5em;
  padding: 0.2rem 0 0.2rem 0.4rem;
  padding-left: 0.7rem;
}
aside ul li:hover {
  background: #eb54241a;
  border-left: 0.1rem solid #2e8555;
}

aside ul li a:hover {
  color: #2e8555;
  font-weight: 600;
}

footer {
  background-color: var(--ifm-dev-container-bgcolor);
  bottom: 0;
  padding: 20px;
}

section.box-confooter {
  max-width: 1340px;
  margin: auto;
  justify-content: center;
}

footer strong {
  font-size: 16px;
}

footer ul li {
  list-style: none;
}

footer ul li a {
  color: var(--e-global-color-primary);
  font-size: 18px;
  text-decoration: none;
  line-height: 1.5em;
  padding: 0.2rem 0 0.2rem 0;
}

section.copy-footer {
  max-width: 100%;
  margin-top: 40px;
  line-height: 1.5em;
  justify-content: center;
  display: flex;
  text-align: center;
}

@media only screen and (max-width: 1024px) {
  aside ul li a {
    font-size: 18px;
  }

  .table-con h2 {
    font-size: 18px;
  }
}

@media only screen and (max-width: 768px) {
  aside ul li a {
    font-size: 14px;
  }

  h1 {
    font-size: 40px;
  }
  .table-con h2 {
    font-size: 16px;
  }
  h3 {
    font-size: 20px;
  }
  h4,
  h5,
  h6 {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }
}

@media only screen and (max-width: 425px) {
  aside {
    top: 0;
    width: auto;
    position: unset;
  }
  aside ul li a {
    font-size: 14px;
  }

  h1 {
    font-size: 27.2px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 20px;
  }
  h4,
  h5,
  h6 {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }
}
