:root {
  --primaryColor: #7b68ee;
  --secondaryColor: #ff2770;
  --primaryTextColor: #dcf4ff;
  --secondaryTextColor: #c3b8ff;
  --bg: #292c30;
  --nav: #2e3440;
  --darkNavBg: #27292d;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  border-radius: 10px;
  background: linear-gradient(#212121, #323232);
  box-shadow: inset 0 0 0px 1px var(--primaryColor);
  width: 2px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--primaryColor);
  box-shadow: inset 0 0 1px 1px var(--secondaryTextColor);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    -45deg,
    var(--primaryColor),
    var(--secondaryColor)
  );
}
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(
    45deg,
    var(--secondaryColor),
    var(--primaryColor)
  );
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scrollbar-color: var(--primaryColor) var(--nav);
}

body {
  width: 100%;
  height: 100vh;
  background-color: var(--bg);
  color: var(--primaryTextColor);
  /* overflow: hidden; */
  font-family: "Poppins", sans-serif;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.nav-bar {
  width: 100%;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--nav);
  padding: 2px 25px;
  display: flex;
  align-items: center;
  box-shadow: inset 0 1px 0px #444b57, 0 2px 0 #7b68ee,
    0 3px 12px rgba(0, 0, 0, 0.4);
  z-index: 99;
}

.nav-bar .toggle-menu {
  width: 26px;
  height: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 3px;
}
.toggle-menu.active {
  background-color: var(--secondaryColor);
  box-shadow: inset 0 0 0 2px #ff528c;
}
.nav-bar .toggle-menu.active:hover {
  background-color: var(--secondaryColor);
  box-shadow: inset 0 0 0 2px #ff528c;
}
.nav-bar .toggle-menu:hover {
  background-color: var(--primaryColor);
  box-shadow: inset 0 0 0 2px #8d79ff;
}
.toggle-menu span {
  width: 18px;
  height: 2px;
  background-color: var(--primaryTextColor);
  margin: 2px;
}
.anim-bar {
  animation: animBar 0.5s ease;
}
@keyframes animBar {
  0% {
    width: 18px;
  }
  15% {
    width: 12px;
  }
  30% {
    width: 25px;
  }
  45% {
    width: 15px;
  }
  60% {
    width: 20px;
  }
  75% {
    width: 16px;
  }
  100% {
    width: 18px;
  }
}
.main {
  width: 100%;
  height: calc(100% - 50px);
  background-color: var(--darkNavBg);
  position: fixed;
  bottom: 0;
  overflow: auto;
}
.side-menu {
  width: 0;
  height: calc(100% - 33px);
  background-color: var(--primaryColor);
  border-right: 0px solid transparent;
  overflow: hidden;
  top: 50px;
  left: 0;
  padding-top: 25vh;
  position: fixed;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
  overflow-y: auto;
  padding-bottom: 20px;
  top: 35px;
  transition: left 0.4s ease, border-radius 0.3s ease,
    clip-path 0.5s cubic-bezier(0.81, 0.51, 0.09, 1.05);
  -webkit-clip-path: circle(0% at 0 0);
  clip-path: circle(0% at 0 0);
}
.side-menu.resize {
  width: 250px;
  border-right: 2px solid var(--primaryColor);
  background-color: var(--darkNavBg);
  -webkit-clip-path: circle(141.4% at 0 0);
  clip-path: circle(141.4% at 0 0);
  transition: background-color 0.5s ease, border-radius 0.3s ease,
    clip-path 0.5s cubic-bezier(0.81, 0.51, 0.09, 1.05);
}
.side-menu .menu-items {
  padding: 0px 15px;
}
.side-menu a {
  position: relative;
  text-decoration: none;
  color: var(--secondaryTextColor);
  width: 100%;
  height: 35px;
  margin-top: 2px;
  padding: 10px 20px;
  border-radius: 35px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
  transition: color 0.2s ease;
}
.side-menu a:hover {
  color: var(--primaryTextColor);
}
.side-menu a.active {
  color: var(--primaryTextColor);
}

.side-menu a::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 5px;
  width: 0%;
  height: 0px;
  background-color: var(--secondaryColor);
  border-radius: 35px;
  transition: width 0.2s ease, height 0.3s ease, border-radius 0.3s ease,
    transform 0.2s ease, background-color 0.3s ease-in;
  z-index: -1;
}
.side-menu a:hover::after {
  width: 70%;
  height: 0px;
  border-radius: 0;
  transform: skewX(-45deg);
  background-color: var(--primaryColor);
}
.side-menu a.active::after {
  background: linear-gradient(
    45deg,
    var(--secondaryColor),
    var(--primaryColor)
  );
  width: 100%;
  height: 100%;
  bottom: 0px;
  border-radius: 35px;
  left: 0;
  transform: skewX(0);
  animation: active 0s ease;
}
section hr {
  border-width: 80%;
  border-color: #0b63b638;
  border-width: 2px;
}
section a {
  color: #7b68ee;
  font-style: italic;
  margin-right: 10px;
}
section img {
  width: 60%;
  max-width: 350px;
  float: left;
  display: inline;
  margin: 15px;
  border-radius: 10px;
  object-fit: contain;
  background-color: #474747;
}
#services p li {
  line-height: 2;
}
@keyframes active {
  0% {
    height: 6px;
    width: 70%;
    border-radius: 0;
  }
  70% {
    height: 6px;
    width: 100%;
    border-radius: 35px;
  }
  75%,
  100% {
    height: 100%;
  }
}

.content {
  width: 100%;
  background-color: var(--bg);
  overscroll-behavior: contain;
  position: relative;
  word-wrap: break-word;
}
.content.resize {
  width: calc(100% - 252px);
  float: right;
}

.content h1 {
  color: var(--primaryColor);
  padding: 10px;
  padding-bottom: 25px;
  line-height: 1.3;
}

.content h2 {
  color: var(--primaryColor);
  padding: 0px;
  padding-bottom: 10px;
  line-height: 1.3;
}

.content p {
  color: var(--primaryTextColor);
  padding: 15px;
  padding-top: 0;
  text-indent: 40px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
h1,
h2 {
  transition: color 0.2s ease-in-out;
}
h1:hover,
h2:hover {
  color: var(--secondaryColor);
}

.mobile-search {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 25px;
  margin-bottom: 15px;
  border-bottom: 1px solid #444b57;
}
.mobile-search .search-form {
  width: auto;
  height: 34px;
  background-color: transparent;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  border: 0;
  border-radius: 6px;
  padding: 2px;
  display: flex;
  justify-content: center;
}
.search-form:hover .search-action {
  background-color: var(--secondaryColor);
}
.search-form:hover .search-input {
  border: 1px solid var(--secondaryColor);
}
.mobile-search .search-input {
  width: 75%;
  background-color: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--secondaryTextColor);
  font-weight: 400;
  padding: 0 10px;
  outline: 0;
  border-radius: 5px 0px 0px 5px;
  border: 2px solid var(--primaryColor);
  transition: width 0.2s ease-in-out;
}
.search-input:focus {
  border: 1px solid var(--primaryColor);
  box-shadow: inset 0 0 5px #8773fc3b;
  width: 95%;
}
.search-input:focus:hover {
  border: 1px solid var(--primaryColor);
  box-shadow: inset 0 0 5px #8773fc3b;
}
.search-input:focus ~ .search-action {
  background-color: var(--primaryColor);
}
.mobile-search .search-action {
  background-color: var(--primaryColor);
  cursor: pointer;
  padding: 0 10px;
  border: 0;
  border-radius: 0px 5px 5px 0px;
}
.search-action:hover {
  background: var(--secondaryColor) !important;
}
.mobile-search .search-action::before {
  display: block;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2C15.968 2 20 6.032 20 11C20 15.968 15.968 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2ZM11 18C14.8675 18 18 14.8675 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18ZM19.4853 18.0711L22.3137 20.8995L20.8995 22.3137L18.0711 19.4853L19.4853 18.0711Z' fill='rgba(255,255,255,1)'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  width: 18px;
  height: 18px;
}
button,
input,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border-radius: 0;
}

@media (max-width: 768px) {
  .side-menu.resize {
    width: 250px;
    left: 0;
    border-right: 2px solid var(--primaryColor);
    background-color: var(--darkNavBg);
    -webkit-clip-path: circle(141.4% at 0 0);
    clip-path: circle(141.4% at 0 0);
  }
  .side-menu {
    position: fixed;
    left: -250px;
    width: 0;
    z-index: 99;
  }

  .content.resize {
    width: 100%;
    float: none;
  }
  section img {
    width: 90%;
    max-width: 100%;
    float: none;
    display: block;
  }
}

/* ************************* */
.fllow {
  position: absolute;
  right: 20px;
  bottom: 30px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.youtube-button,
.external-link-button {
  padding: 8px 8px;
  border-radius: 5px;
  background-color: #f2f2f2;
  color: #333;
  font-size: 20px;
  margin: 2px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.youtube-button:hover {
  background-color: #ca3333;
  color: #f2f2f2;
}
.external-link-button:hover {
  background-color: #0b63b6;
  color: #f2f2f2;
}

/* Pre */

.footleft {
  top: 7px;
  right: 10px;
  position: fixed;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  background-color: #ffffff00;
  z-index: 200;
}
.footleft:hover {
  background-color: #16161696;
}
.footleft svg {
  width: 25px;
  height: 25px;
  color: white;
}
#ftstcon {
  top: 70px;
  right: 20px;
  position: fixed;
  display: block;
  width: 190px;
  padding: 15px;
  padding-bottom: 20px;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: inset 5px -5px #7b68ee;
  display: none;
  transition: all 0.2s ease;
}
#ftstcon a {
  color: black;
  font-size: 14px;
  display: inline-block;
  padding: 4px 10px;
  margin: 3px;
  border: 1px solid grey;
  border-radius: 5px;
  box-shadow: inset -3px -3px #7b68ee;
  text-decoration: none;
}
#ftstcon a:hover {
  transform: scale(0.9);
}
html {
  scroll-behavior: smooth;
}

section {
  min-height: 100vh;
  border-bottom: 1px solid #ccc;
  padding: 30px 20px;
}

.responsive-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.responsive-columns img {
  width: 100%;
}
.first,
.second {
  flex: 1 1 100%;
  box-sizing: border-box;
  height: 75vh;
  overflow-y: auto;
  padding: 10px;
}
@media (min-width: 768px) {
  .first,
  .second {
    flex: 1 1 48%;
  }
  section img {
    width: 100%;
    display: block;
  }
}
