/* fonts */
/* Clash Display */
* {
  box-sizing: border-box !important;
}

@font-face {
  font-family: "Clash Display";
  src: url("../fonts/ClashDisplay-Variable.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Variable.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

/* fonts end */
body {
  background-color: rgb(16, 7, 28);
  color: white;
  font-family: "General Sans";
  line-height: 1.5;
  margin: 0px;
  font-size: 18px;
  padding: 0px;
  max-width: 100%;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
  background-image: url("../images/main/grain.webp");
  background-repeat: repeat;
  background-position: 0px 0px;
  background-size: auto;
  opacity: 0.05;
  /* Adjust the opacity of the background image */
  z-index: -1;
  /* Ensure the background image stays behind content */
  pointer-events: none;
  mix-blend-mode: screen;
}

header::before {
  z-index: -1000;
  top: 0;
  left: 0;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  pointer-events: none;
}

header {
  background: rgba(173, 90, 204, 0.1);
  min-width: 100vw;
  position: fixed;
  top: 0;
  z-index: 200;
}

html {
  scroll-behavior: smooth;
}

header ul {
  padding: 0;
  margin: 0;
}

:target {
  scroll-margin-top: 150px;
}

footer {
  margin-top: 271px;
}

a {
  color: white;
  text-decoration: none;
}

/*  */
.husig_header {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 23px 6.25vw;
  min-width: 100%;
}

.husig_header .header_menu {
  width: max-content;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  box-sizing: border-box;
  left: calc(50vw - 306px);
}

.husig_header .header_menu .navbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  height: 100%;
  font-family: "General Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  color: #ffffff;
}

.husig_header .header_menu .navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  min-height: 100%;
  gap: 6.6666666667vw;
}

.husig_header .header_menu .nav-item {
  position: relative;
}

.husig_header .header_menu .nav-link {
  min-height: 100%;
  color: white;
  display: block;
  text-decoration: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.husig_header .header_menu .nav-link:hover {
  /* background-color: #495057; */
  color: rgb(219, 219, 219);
}

.husig_header .header_menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  text-align: left;
  list-style: none;
  background-color: rgba(173, 90, 204, 0.1);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);

  min-width: 17.8645833333vw;
  padding: 16px;
}

.husig_header .header_menu .dropdown-menu a {
  padding: 0;
  margin: 0;
  padding: 16px;
}

.husig_header .header_menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration: none;
  font-family: "General Sans";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;
  color: #ffffff;
}

.husig_header .header_menu .dropdown-item:hover {
  text-decoration: none;
}

@media (min-width: 992px) {
  .husig_header .header_menu .navbar-nav {
    flex-direction: row;
  }

  .husig_header .header_menu .dropdown-menu {
    position: absolute;
  }
}

.husig_header .logo {
  width: 135px;
  height: auto;
}

.husig_header #navbarDropdown::after {
  content: "";
  color: white;
  margin-left: 0.4166666667vw;
  background-image: url("../images/main/DropDownReal.svg");
  width: 20px;
  height: 20px;
}

body {
  position: relative;
}

footer {
  position: static;
  bottom: 0;
}

section#footer-section {
  margin-top: 198px;
  height: 642px;
  width: 100vw;
  padding: 117px 6.25vw;
  background: linear-gradient(
    180deg,
    rgba(173, 90, 204, 0.2) 0%,
    rgba(87, 45, 102, 0.2) 100%
  );
}

section#footer-section .footer-col-2 {
  display: flex;
  flex-direction: row;
  width: 52.8125vw;
  justify-content: space-between;
}

section#footer-section #footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* #col_1 {
    background: rgb(52, 37, 62);
    width: 112px;
    height: 272px;
  }

  #col_2 {
    background: rgb(52, 37, 62);
    width: 174px;
    height: 272px;
  }

  #col_3 {
    background: rgb(52, 37, 62);
    width: 292px;
    height: 272px;
  } */
}

section#footer-section #footer-top #footer-logo svg {
  width: 256px;
  height: auto;
}

section#footer-section #footer-top #footer-logo-row {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-content: flex-start;
  align-items: center;
  margin-top: 25px;
  margin-left: 0.2083333333vw;
  gap: 1.6666666667vw;
  margin-bottom: 67px;
}

section#footer-section #footer-top .husig_cta {
  width: 403px;
  height: 86px;
}

section#footer-section #footer-bottom {
  margin-top: 51px;
  border-top: 1px solid white;
  display: flex;
  padding-top: 32px;
  justify-content: space-between;
}

section#footer-section #footer-bottom p {
  margin: 0;
  padding: 0;
}

section#footer-section .footer_copyright {
  font-family: "General Sans";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
}

section#footer-section .footer_declarations {
  display: flex;
  flex-direction: row;
  gap: 1.0416666667vw;
}

section#footer-section .footer_items {
  font-family: "General Sans";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #ffffff;
  margin: 0;
  padding: 0;
  margin-top: 24px;
  margin-bottom: 24px;
}

section#footer-section .footer_title {
  /* Services */
  font-family: "General Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #ffffff;
  margin: 0;
  margin-bottom: 24px;
}

/* f o o t e r  e n d */
main * {
  position: relative;
  z-index: 0;
}

main {
  padding-top: 136px;
}

@media (max-width: 1256px) {
  .husig_header .cta {
    display: none;
  }

  .husig_header nav.header_menu {
    display: none;
  }

  main {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .husig_header {
    height: 80px;
  }

  .husig_header .logo svg {
    min-width: 98px;
    height: auto;
    width: auto;
  }

  .husig_header .logo {
    width: max-content;
  }

  .husig_header {
    overflow-y: hidden;
    align-items: first baseline;
    padding: 27px 24px;
  }
}

/* F O O T E R - M O B I L E - V I E W */
@media (max-width: 1256px) {
  /* f o o t e r  c o d e */
  body {
    position: relative;
  }

  footer {
    position: static;
    bottom: 0;
  }

  section#footer-section {
    border-left: 24px solid #10071c;
    border-bottom: 69px solid #10071c;
    border-right: 19px solid #10071c;

    margin-top: 61px;
    height: max-content;
    width: 100vw;
    padding: 55px 27px;
    background: linear-gradient(
      180deg,
      rgba(173, 90, 204, 0.2) 0%,
      rgba(87, 45, 102, 0.2) 100%
    );
    display: flex;
    flex-direction: column;
  }

  section#footer-section .footer-col-2 {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }

  section#footer-section #footer-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  section#footer-section #footer-top #footer-logo svg {
    width: 200px;
    height: auto;
  }

  section#footer-section #footer-top #footer-logo-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-content: flex-start;
    align-items: center;
    margin-top: 17.19px;
    margin-left: 0.2083333333vw;
    gap: calc((18.75 / 393) * 100vw);
    margin-bottom: 52.66px;
  }

  section#footer-section #footer-top .husig_cta {
    width: 203px;
    height: 54px;
  }

  section#footer-section #footer-bottom {
    margin-top: 45px;
    border-top: 1px solid white;
    display: flex;
    flex-direction: column;
    padding-top: 32px;
    gap: 17px;
  }

  section#footer-section #footer-bottom p {
    margin: 0;
    padding: 0;

    font-size: 12px;
    line-height: 16.2px;
  }

  section#footer-section .footer_copyright {
    font-family: "General Sans";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
  }

  section#footer-section .footer_declarations {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  section#footer-section .footer_declarations a {
    font-size: 12px;
    line-height: 16.2px;
  }

  section#footer-section .footer_items {
    font-family: "General Sans";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 21.6px;
    color: #ffffff;
    margin: 0;
    padding: 0;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  section#footer-section .footer_title {
    /* Services */
    font-family: "General Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #ffffff;
    margin: 0;
    margin-bottom: 24px;
  }

  img.footer_logo {
    width: 32px;
  }

  div#footer-col-1 {
    min-height: max-content;
  }

  .footer-col-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 20px !important;
    /* Adjust the gap between columns and rows as needed */
    margin-top: 83px !important;
  }

  #col_1 {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
  }

  #col_2 {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
  }

  #col_3 {
    grid-column: 1 / 3 !important;
    grid-row: 2 / 3 !important;
  }
}

/* Sidebar and Content Layout */
.content-with-sidebar {
  display: flex;
}

.sidebar {
  width: 25%;
  padding: 20px;
}

.main-content {
  width: 70%;
  padding: 20px;
  background: rgba(81, 43, 129, 0.1);
  /* Primary color with transparency */
  border-radius: 8px;
  /* Optional: for rounded corners */
}

#TableOfContents {
  margin-bottom: 20px;
  padding: 15px;
  background-color: rgba(173, 90, 204, 0.1);
  border-radius: 8px;
  /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

#TableOfContents h2 {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #d2cbdb;
  /* Third color */
  border-bottom: 2px solid #512b81;
  /* Primary color border */
  padding-bottom: 5px;
}

#TableOfContents ul {
  list-style-type: none;
  padding: 0;
  margin-left: 25px;
  /* Indentation for nested lists */
}

#TableOfContents li {
  margin-bottom: 10px;
}

#TableOfContents a {
  text-decoration: none;
  color: #d2cbdb;
  /* Primary color */
  font-weight: 500;
}

#TableOfContents a:hover {
  text-decoration: underline;
  color: #c29af7;
  /* Third color */
}

.tags {
  margin-top: 20px;
}

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

.tags li {
  display: inline;
  /* Inline display for tags */
  margin-right: 6px;
}

.tags a {
  display: inline-block;
  padding: 0.25em 0.5em;
  font-size: 0.75em;
  font-weight: 700;
  color: #fff;
  background-color: #512b81;
  /* Primary color */
  border-radius: 3px;
  text-decoration: none;
}

.tags a:hover {
  background-color: #0b0118;
  /* Third color on hover */
  text-decoration: none;
}

/* Table Styles similar to Bulma */
table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

table thead {
  background-color: rgba(81, 43, 129, 0.1);
  /* Primary color with transparency */
}

table th,
table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid rgba(173, 90, 204, 0.5);
  /* Secondary color with transparency */
}

table th {
  color: #ffffff;
  /* Third color */
  font-weight: bold;
}

table tbody tr:nth-child(even) {
  background-color: rgba(173, 90, 204, 0.5);
  /* Secondary color with transparency */
}

table tbody tr:hover {
  background-color: #512b81;
  /* Primary color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-with-sidebar {
    flex-direction: column;
  }

  .sidebar {
    display: none;
    /* Hide sidebar on mobile */
  }

  .main-content {
    width: 100%;
  }
}

/* Code block styles */
pre,
code {
  padding: 10px;
  background: rgba(81, 43, 129, 0.1);
  /* Primary color with transparency */
  border-radius: 5px;
  overflow: auto;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-bottom: 1.5em;
}

code {
  font-family: monospace;
}

/* Image centering */
.main-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

/* Blog List */
/* Content list styling */
/* Content list styling */
/* Container for the content list */
.blog-list {
  padding: 20px;
  margin: 0 auto;
  max-width: 1024px;
  /* Adjust the max-width as needed */
}

/* Individual post item styling */
.blog-item {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #512b81;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-left: 170px; /* Default for larger screens */
  margin-right: 170px; /* Default for larger screens */
}

/* Post image styling */
.blog-image {
  flex: 1 1 35%;
  margin-right: 20px;
}

.blog-image img {
  max-width: 100%;
  border-radius: 8px;
}

/* Post content styling */
.blog-content {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

/* Remove margins on mobile screens */
@media (max-width: 768px) {
  .blog-item {
    margin: 10px;
  }
  .blog-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.blog-content h2 {
  margin-top: 0;
}

.blog-content p {
  margin: 10px 0;
}

.blog-content time {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #666;
}

/* Tags styling */
.tags {
  margin-top: 10px;
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  background-color: #512b81;
  color: white;
  border-radius: 4px;
  font-size: 0.9em;
  text-decoration: none;
}

.tag:hover {
  background-color: #ad5acc;
}

.pagination {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.pagination a {
  color: white;
  background-color: rgba(173, 90, 204, 0.1);
  padding: 10px 15px;
  text-decoration: none;
  margin: 0 5px;
  border-radius: 5px;
}

.pagination a:hover {
  background-color: rgba(173, 90, 204, 0.2);
}

.pagination a.active {
  background-color: #512b81;
  color: white;
}


.content-centered {
  display: flex;
  justify-content: center;
  width: 100%;
}

.main-content-full {
  max-width: 1024px;
  width: 100%;
  padding: 2rem;
}

.main-content img,
.main-content-full img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto; /* Centers images and adds vertical spacing */
  border-radius: 4px; /* Optional: rounded corners */
}