:root {
  --theme-bg: #ffffff;
  --text-color: #373737;
  --text-A-color: #373737;
  --text-A-hover-color: #373737;
  --text-footer-color: rgb(246, 244, 244);
  --text-gray-color: #868686;
  --sidebar-toggle-bg: #373737;
  --sidebar-toggle-size: 30px;
  --sidebar-bg: #ffffff;
  --container-bg: rgba(0, 0, 0, 0.2);
  --container-border-color: rgba(0, 0, 0, 0.3);
  --bt-bg: rgb(3, 219, 252);
  --input-color: rgb(179, 244, 254);
  --input-bg: rgba(107, 108, 109, 1);
  --primary-color: #0f7dfb;
  --secondary-color: #6c757d;
  --slider-color: #ffffff;
  --slider-bg-color: #9a9a9a;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --icon-color: #6c757d;
  --icon-active-color: #ffffff;
  --nav-top: 58px;
}

[data-theme="dark"] {
  --theme-bg: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --text-color: #f0f0f0;
  --text-A-color: #f0f0f0;
  --text-A-hover-color: #f0f0f0;
  --text-footer-color: rgb(181, 174, 174);
  --text-gray-color: #868686;
  --sidebar-toggle-bg: #f0f0f0;
  --sidebar-toggle-size: 30px;
  --sidebar-bg: #000000;
  --container-bg: rgba(0, 0, 0, 0.1);
  --container-border-color: rgba(255, 255, 255, 0.2);
  --bt-bg: rgb(252, 219, 3);
  --input-color: rgb(252, 219, 3);
  --input-bg: rgba(107, 108, 109, 1);
  --slider-color: #000000;
  --slider-bg-color: #868686;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --icon-color: #a0a0a0;
  --icon-active-color: #ffffff;
  --nav-top: 58px;
}

* {
  padding: 0;
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  font-family: "Fira Code", "Consolas", "Courier New", Courier, monospace;
  height: 100%;
  background: var(--theme-bg);
  background-attachment: fixed;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--text-color);
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 18px;
  }
}

a {
  text-decoration: none;
}

a:link {
  color: var(--text-A-color);
}

a:visited {
  color: var(--text-A-color);
}

a:hover {
  text-decoration: none;
  color: var(--text-A-hover-color);
}

a:active {
  color: var(--text-A-color);
}

main {
  display: flex;
  flex: 1;
  width: 100%;
  position: relative;
}

#ChangeLang {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.LangIcon {
  display: block;
  width: 1.2vw;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .LangIcon {
    width: 15px;
  }
}

.containerOfLogo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.Logo {
  display: inline-block;
  content: url("./images/Logo_silvia.moonlit86_1.svg");
  height: 20px;
  width: auto;
  cursor: pointer;
  transition: content 0.3s ease;
  position: relative;
  z-index: 10;
}

.Logo:hover {
  content: url("./images/Logo_silvia.moonlit86_2.svg");
}

#logoLink.clicked #logo {
  content: url("./images/Logo_silvia.moonlit86_3.svg");
}

@media (max-width: 768px) {
  .Logo {
    height: 20px;
    width: auto;
  }
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--theme-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin: 0 4px;
  border: 1px solid var(--border-color);
}

.switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.icon-slider {
  opacity: 1;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--slider-bg-color);
  transition: .4s;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.icon-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 1px;
  bottom: 1px;
  background-color: var(--slider-color);
  transition: .4s;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-slider::after {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  left: 2px;
  bottom: 2px;
  z-index: 3;
  transition: .4s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='5' stroke='%23bababa' stroke-width='2'/%3E%3Cpath d='M12 2V5' stroke='%23bababa' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 19V22' stroke='%23bababa' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M4.22 4.22L6.34 6.34' stroke='%23bababa' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M17.66 17.66L19.78 19.78' stroke='%23bababa' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M2 12H5' stroke='%23bababa' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M19 12H22' stroke='%23bababa' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M4.22 19.78L6.34 17.66' stroke='%23bababa' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M17.66 6.34L19.78 4.22' stroke='%23bababa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

input:checked+.icon-slider::before {
  transform: translateX(13px);
  background-color: var(--slider-color);
}

input:checked+.icon-slider::after {
  transform: translateX(13px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20.9999 12.79C20.8426 14.4922 20.2038 16.1144 19.1581 17.4668C18.1125 18.8192 16.7034 19.8458 15.0956 20.4265C13.4878 21.0073 11.7479 21.1181 10.0794 20.7461C8.41092 20.3741 6.8829 19.5345 5.67413 18.3258C4.46536 17.117 3.62584 15.589 3.25381 13.9205C2.88178 12.252 2.99262 10.5121 3.57336 8.9043C4.15411 7.29651 5.18073 5.88737 6.53311 4.84175C7.8855 3.79614 9.5077 3.15731 11.2099 3C10.2133 4.34827 9.73375 6.00945 9.85843 7.68141C9.98312 9.35338 10.7038 10.9201 11.8893 12.1056C13.0748 13.2911 14.6415 14.0118 16.3134 14.1365C17.9854 14.2612 19.6466 13.7816 20.9949 12.785L20.9999 12.79Z' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.wave-bg-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.wave {
  fill: rgba(84, 140, 169, 0.3);
  animation: waveMove 5s ease-in-out infinite alternate;
  will-change: d;
}

@keyframes waveMove {
  0% {
    d: path("M1835.7,89.1c4-0.9,69.7-5.5,84.3-5.4c0,283.3,0,633,0,916.3H0V83.7C453.6,4.9,1100.8,140.1,1835.7,89.1z"
      );
  }

  50% {
    d: path("M1189.3,65.7c281.3-9.1,716.1,25.2,730.7,25.3c0,283.3,0,625.7,0,909H0V55.3C422.7,107.3,908,74.8,1189.3,65.7z"
      );
  }

  100% {
    d: path("M614.7,50.7c310.4,21.2,778.7,66.7,1305.3,6.7c0,283.3,0,659.3,0,942.6H0V88C149.3,74.7,304.6,29.5,614.7,50.7z"
      );
  }
}

@media (max-width: 1000px) {
  @keyframes waveMove {
    0% {
      d: path("M1835.7,155.4c4-0.9,69.7-5.5,84.3-5.4c0,283.3,0,566.7,0,850H0V150C453.6,71.2,1100.8,206.4,1835.7,155.4z"
        );
    }

    50% {
      d: path("M1189.3,124.7c281.3-9.1,716.1,25.2,730.7,25.3c0,283.3,0,566.7,0,850H0V114.3C422.7,166.3,908,133.8,1189.3,124.7z"
        );
    }

    100% {
      d: path("M614.7,103.7c308,44,778.7,66.7,1305.3,6.7c0,283.3,0,606.3,0,889.7H0V141C149.3,127.7,306.7,59.7,614.7,103.7z"
        );
    }
  }
}

.wave-2 {
  fill: rgba(70, 125, 138, 0.3);
  animation: waveMove-2 8s ease-in-out infinite alternate;
  will-change: d;
}

@keyframes waveMove-2 {
  0% {
    d: path("M1835.7,89.1c4-0.9,69.7-5.5,84.3-5.4c0,283.3,0,633,0,916.3H0V83.7C453.6,4.9,1100.8,140.1,1835.7,89.1z"
      );
  }

  30% {
    d: path("M1189.3,65.7c281.3-9.1,716.1,25.2,730.7,25.3c0,283.3,0,625.7,0,909H0V55.3C422.7,107.3,908,74.8,1189.3,65.7z"
      );
  }

  70% {
    d: path("M614.7,50.7c310.4,21.2,778.7,66.7,1305.3,6.7c0,283.3,0,659.3,0,942.6H0V88C149.3,74.7,304.6,29.5,614.7,50.7z"
      );
  }

  100% {
    d: path("M1189.3,65.7c281.3-9.1,716.1,25.2,730.7,25.3c0,283.3,0,625.7,0,909H0V55.3C422.7,107.3,908,74.8,1189.3,65.7z"
      );
  }
}

blockquote {
  quotes: "❝" "❞" "❛" "❜";
  border-left: 2px solid #ccc;
  padding-left: 1em;
  margin: 1em 0;
}

blockquote:before {
  content: open-quote;
}

blockquote:after {
  content: close-quote;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

q {
  quotes: "❝" "❞";
}

q:before {
  content: open-quote;
}

q:after {
  content: close-quote;
}

header {
  display: flex;
  height: 38px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  padding: 20px;
  transition: background-color 0.5s ease;
  pointer-events: auto;
}

.header-noScrolled {
  background-color: transparent;
}

.header-scrolled {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

pre {
  background-color: #ecf0f1;
  font-size: 1.2rem;
  line-height: 2rem;
  padding: 10px;
  border: 1px solid #ccc;
  overflow-x: auto;
  border-radius: 5px;
}

.left-sidebar {
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  position: sticky;
  top: var(--nav-top);
  transition: transform 0.3s ease;
  z-index: 100;
  max-height: calc(100vh - var(--nav-top) - 67px);
  width: auto;
  min-width: 200px;
}

.sidebar-menu {
  overflow-y: auto;
  flex: 1;
  padding-right: 5px;
  scrollbar-width: thin;
  scrollbar-color: #c2c2c2 #f1f1f1;
}

.sidebar-menu::-webkit-scrollbar {
  width: 7px;
}

.sidebar-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
  background: #c2c2c2;
  border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

.sidebar-toggle {
  --color-background: #07218c;
  --color-lines: #ffffff;
  display: none;
  position: fixed;
  z-index: 7;
  font-size: 2rem;
  border-radius: 50%;
  width: var(--sidebar-toggle-size);
  height: var(--sidebar-toggle-size);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.left-toggle {
  top: calc(var(--nav-top) + 3px);
  left: 30px;
}

.sidebar-toggle-background {
  fill: rgba(126, 215, 250, 0.5);
  transition: fill 0.3s ease;
}

.sidebar-toggle-lines {
  fill: #ffffff;
  transition: fill 0.3s ease;
}

.sidebar-toggle:hover .sidebar-toggle-background {
  fill: rgba(255, 255, 255, 0.5);
}

.sidebar-toggle:hover .sidebar-toggle-lines {
  fill: #000000;
}

@media (max-width: 1100px) {
  .sidebar-toggle {
    display: block;
  }

  .sidebar-toggle.nonActive {
    display: none;
  }

  .left-sidebar {
    position: fixed;
    top: var(--nav-top);
    z-index: 900;
    transform: translateX(-100%);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    background: var(--sidebar-bg);
  }

  .left-sidebar.active {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: flex;
  }

  .sidebar-toggle.nonActive {
    display: none;
  }

  .main-content {
    width: 100%;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 800;
  }

  .overlay.active {
    display: block;
  }
}

@media (min-width: 1101px) and (max-width: 1400px) {
  .container {
    max-width: 100%;
  }

  .left-sidebar {}

  .right-sidebar {}
}

.menu-item {
  border-radius: 3px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1px;
}

.menu-item a {
  text-decoration: none;
}

.menu-item a:link {
  color: var(--text-A-color);
}

.menu-item a:visited {
  color: var(--text-A-color);
}

.menu-item a:hover {
  text-decoration: none;
  color: var(--text-A-hover-color);
}

.menu-item a:active {
  color: var(--text-A-color);
}

.menu {
  height: 30px;
  display: flex;
  align-items: center;
  background-color: #e7e7e7;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu>li {
  height: 30px;
  line-height: 30px;
  position: relative;
  background-color: #cccccc;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
  padding: 5px 10px;
}

.menu>li:hover {
  background-color: #0ca4c6;
  color: #ffffff;
}

.menu li {
  width: auto;
  white-space: nowrap;
}

.menu li:hover .submenu,
.color-box {
  display: block;
}

.menu a {
  text-decoration: none;
  color: #5a5a5a;
}

.menu a:hover {
  text-decoration: none;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.menu a::after {
  content: "";
  width: 0%;
  height: 1px;
  transition: width 0.5s ease, background-color 0.5s ease;
  position: absolute;
  bottom: -10px;
  left: 0;
}

.menu a:hover::after {
  color: #fff;
  width: 100%;
}

.submenu {
  display: none;
  position: absolute;
  border-radius: 3px;
  left: 0;
  top: 100%;
  list-style-type: none;
  padding: 0;
  border: 1px solid #ccc;
  z-index: 1000;
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.15);
}

.color-box {
  display: inline;
  width: 3px;
  height: 27px;
  background-color: #3abbc9;
  position: absolute;
  left: 5px;
  top: 10px;
}

.submenu-Content-Container {
  position: relative;
  border-radius: 5px;
  padding: 10px 20px 14px 20px;
}

.submenu-Content-Container:hover {
  background: linear-gradient(to right,
      rgba(135, 206, 235, 0.3) 0%,
      rgba(135, 206, 235, 0) 100%);
}

.fb-comments {
  background-color: rgba(66, 92, 102, 0.464);
  width: 100vw;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.SocialMedia-icons {
  display: flex;
  align-items: center;
  margin-right: 2vh;
  position: relative;
  z-index: 10;
}

.SocialMedia-icon {
  display: block;
  width: 1.2vw;
  height: auto;
  margin-left: 1vw;
}

@media (max-width: 768px) {
  .SocialMedia-icon {
    display: inline-block;
    width: 15px;
    height: auto;
    margin-left: 1vw;
  }
}

.icon-fb:hover {
  content: url("./images/icon-fb-2.svg");
}

.icon-threads:hover {
  content: url("./images/icon-threads-2.svg");
}

.icon-ig:hover {
  content: url("./images/icon-ig-2.svg");
}

.icon-linkedin:hover {
  content: url("./images/icon-linkedin-2.svg");
}

.icon-upwork:hover {
  content: url("./images/icon-upwork-2.svg");
}

.icon-github:hover {
  content: url("./images/icon-github-2.svg");
}

.tooltip {
  display: none;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 8px;
  border-radius: 5px;
  z-index: 1000;
}

.tooltip-target {
  position: relative;
  cursor: pointer;
}

#viewport-dimensions {
  font-size: 0.9em;
  display: block;
  background-color: transparent;
  margin-left: 4px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 5px;
  margin: 2em auto;
  max-width: 300px;
  width: 100%;
}

.tabs input[type="radio"] {
  display: none;
}

.tabs input[type="radio"]:checked+label {
  color: black;
  background-color: white;
  transform: translatey(1px);
  z-index: 2;
}

.tabs input[type="radio"]:checked+label+.tab-content {
  display: block;
}

.tabs label {
  padding: 0.5em 0.75em;
  color: #ccc;
  border: 1px solid #ccc;
  border-bottom: unset;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  cursor: pointer;
  order: 0;
  transform: translatey(5px);
}

.tabs label:hover {
  color: black;
}

.tabs .tab-content {
  background-color: white;
  display: none;
  padding: 1em;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  order: 1;
  z-index: 1;
}

.White a {
  color: #fff;
  text-decoration: none;
  border: 1px solid #acacac;
  padding: 10px 20px;
  border-radius: 5px;
}

kbd {
  font-family: monospace;
  font-size: 1em;
  padding: 0.2em 0.4em;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: rgb(255, 255, 255, 0.7);
  color: #333;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

section.Gdoc {
  margin: auto;
  margin-top: calc(var(--nav-top) + var(--sidebar-toggle-size));
  padding: 0 3vw;
}

section.noMargin {
  margin: 0;
  padding: 5vh 3vw;
}

footer {
  position: relative;
  z-index: 5;
  overflow: hidden;
  color: var(--text-footer-color);
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin: 58px auto 28px auto;
  justify-content: center;
  align-items: center;
  font-size: 0.6em;
  line-height: 1.8em;
}

.opacity-0_5 {
  opacity: 0.5;
}

.FS-0_5 {
  font-size: 0.5rem;
}

.FS-0_6 {
  font-size: 0.6rem;
}

.FS-0_7 {
  font-size: 0.7rem;
}

.FS-0_8 {
  font-size: 0.8rem;
}

.FS-0_9 {
  font-size: 0.9rem;
}

.FS-1_5 {
  font-size: 1.5rem;
}

.TC01 {
  line-height: 1.5rem;
  color: #272727;
}

.category {
  margin-top: 3vh;
}

.category li {
  display: flex;
  padding: 5px 5px;
  border-bottom: 1px solid #eee;
  border-radius: 5px;
}

.category ul {
  list-style-type: none;
  padding: 0;
}

.category li {
  background-color: #fff;
  margin: 5px 0;
  padding: 8px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.category li:nth-child(even) {
  background-color: #f9f9f9;
}