@font-face {
  font-family: Gilroy;
  src: url("/fonts/GilroyRegular/font.woff2") format("woff2"), url("webFonts/GilroyRegular/font.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("/fonts/GilroyLight/font.woff2") format("woff2"), url("webFonts/GilroyLight/font.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("/fonts/GilroyMedium/font.woff2") format("woff2"), url("webFonts/GilroyMedium/font.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("/fonts/GilroyBold/font.woff2") format("woff2"), url("webFonts/GilroyBold/font.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: Gilroy;
  src: url("/fonts/GilroyRegularItalic/font.woff2") format("woff2"), url("webFonts/GilroyRegularItalic/font.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}

html {
  scroll-behavior: smooth;
  font-family: Gilroy, Helvetica, sans-serif;;
  letter-spacing: 0.003em;
}

img{
  user-select: none;
  -webkit-user-select: none; /* For Safari and older Chrome versions */
  -moz-user-select: none; /* For Firefox */
  -ms-user-select: none; /* For Internet Explorer and Edge */
}

a{
  word-wrap: break-word;
}

/* #comparison::before {
  display: block;
  content: " ";
  margin-top: -80px;
  height: 120px;
  visibility: hidden;
  pointer-events: none;
} */

/* .nav-button-active{
    background-color: #00C8FB;
    color: #fff;
} */

/* NEW SITE */
.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  width: 100%;
  /* padding: 0 20px; */
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {

  .container-sm,
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {

  .container-md,
  .container-sm,
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {

  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {

  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {

  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1320px;
  }
}

.gradient-text {
  background: -webkit-linear-gradient(to bottom, #53C1FF -50%, #0053D0 160%);
  background: linear-gradient(to bottom, #53C1FF -50%, #0053D0 160%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.dark .border-gradient {
  background:
    linear-gradient(#11182F, #11182F) padding-box,
    linear-gradient(to bottom, transparent, #01F1FF 58%) border-box;
  border: 1px solid transparent;
}

.dark .only-light {
  display: none;
}

.only-dark {
  display: none;
}

.dark .only-dark {
  display: inherit;
}

.dark .unique-swiper .border-gradient{
  background:
    linear-gradient(#0C0B13, #0C0B13) padding-box,
    linear-gradient(to bottom, transparent, #01F1FF 58%) border-box;
  border: 1px solid transparent;
}

/* Nav and Menu */
#why-simplex::before,
#features::before,
#privacy::before,
#network::before {
  display: block;
  content: " ";
  position: absolute;
  top: -26px;
  height: 66px;
  visibility: hidden;
  pointer-events: none;
}

.menu-link{
  font-size: 16px;
  line-height: 33.42px;
  color: #0D0E12;
}
.dark .menu-link{
  color: #fff;
}

.nav-link ul li a.active{
  color: #0053D0;

}
.dark .nav-link ul li a.active{
  color: #66D9E2;
}

@media (min-width:1024px) {
  .nav-link-text,
  .menu-link {
    display: inline-block;
    position: relative;
    color: #0D0E12;
  }
  
  .nav-link-text::before,
  .active .nav-link-text::before,
  .menu-link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    right: 0;
    /* background-color: initial; */
    transition: width 0.25s ease-out;
  }
  
  .menu-link::before {
    background-color: #0D0E12;
  }
  .dark .menu-link::before {
    background-color: #fff;
  }

  .active .nav-link-text::before {
    width: 100%;
  }

  .nav-link:hover .nav-link-text::before,
  .menu-link:hover::before {
    width: 100%;
    left: 0;
    right: auto;
  }
}


.sub-menu {
  visibility: hidden;
  opacity: 0;
  color: #505158;
}

.sub-menu .no-hover{
  color: #505158 !important;
}

.dark .sub-menu,
.dark .sub-menu .no-hover {
  color: #fff !important;
}

.dark .sub-menu li:hover {
  color: #66D9E2;
}

.sub-menu li:hover {
  color: #0053D0;
}

.sub-menu {
  transition: all .3s ease !important;
}

.nav-link span svg,
header nav {
  transition: all 0.5s ease;
}

.nav-link:hover span svg {
  transform: rotate(180deg);
}

/* @media (max-width: 1400px) {
    .landing-page-header-article-paragraph {
        width: 21rem;
    }

    .socials {
        flex-wrap: nowrap;
    }
} */

@media (min-width:1024px) {

  .nav-link:hover .sub-menu,
  .nav-link:focus-within .sub-menu {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
  }
}

@media (max-width: 1024px) {
  .sub-menu {
    max-height: 0;
    transform: translateY(-10px);
    transition: all .7s ease !important;
    overflow: hidden;
  }

  .active .sub-menu {
    max-height: 1000px;
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
    margin-top: 0;
  }

  header nav {
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    overflow-y: auto;
  }

  header nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .flag-container .sub-menu{
    max-height: fit-content;
  }
}

.lock-scroll {
  overflow: hidden;
}

/* Swipe Sections */
.hash-number {
  background: linear-gradient(251.16deg, #53C1FF 1.1%, #0053D0 100.82%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.swiper-button-disabled{
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

@media (max-width: 767px) {
  .swiper-button-next, .swiper-button-prev {
    opacity: 0;
    pointer-events: none;
    display: none !important;
  }
}

.swiper-pagination-bullet {
  height: 14.31px;
  width: 14.31px;
  margin: 0 5px !important;
}
.dark .swiper-pagination-bullet{
  background: #D4D4D433;
  opacity: .8;
}

.swiper-pagination-bullet-active{
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background-color: #0197FF !important;
}
.dark .swiper-pagination-bullet-active{
  background-color: #70F0F9 !important;
}

.swiper-button-next,
.swiper-button-prev {
  height: 40px;
  width: 40px;
}

.swiper-button-disabled {
  display: none;
}

.unique-swiper .swiper-slide,
.unique-swiper .swiper-wrapper{
  height: inherit;
}

.swiper-scrollbar-horizontal {
  margin-top: 40px !important;
  width: 302.06px !important;
  height: 7.73px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  transform: translateX(-50%) !important;
}

.swiper-scrollbar-drag {
  /* width: 112px !important; */
  height: 8px !important;
  background-color: #0197FF;
}
.dark .swiper-scrollbar-drag{
  background-color: #70F0F9;
}

.swiper-rtl .swiper-button-prev{
  right: 0 !important;
}

.swiper-rtl .swiper-button-next{
  left: 0 !important;
}

/* What makes simplex private */
.card{
  cursor: pointer;
}

.card,
.card > div:nth-child(2),
.card > div:nth-child(1) {
  transition: all .5s ease;
}

.card > div:nth-child(2) > *:nth-child(2),
.card > div:nth-child(2) > *:nth-child(3) {
  opacity: 0;
  max-height: 0;
  transform: translateY(20px);
  transition: all .5s ease-out;
}
.card > div:nth-child(2) > *:nth-child(3) {
  transform: translateY(40px);
}

.card:not(.no-hover):hover > div:nth-child(1),
.card.hovered > div:nth-child(1) {
  height: 200px;
}
.card:not(.no-hover):hover > div:nth-child(2),
.card.hovered > div:nth-child(2) {
  height: 270px;
}
.card.card-active > div:nth-child(2) {
  height: 480px;
}

.card:not(.no-hover):hover > div:nth-child(2) > *:nth-child(2),
.card:not(.no-hover):hover > div:nth-child(2) > *:nth-child(3),
.card.card-active > div:nth-child(2) > *:nth-child(2),
.card.card-active > div:nth-child(2) > *:nth-child(3),
.card:not(.no-hover).hovered > div:nth-child(2) > *:nth-child(2),
.card:not(.no-hover).hovered > div:nth-child(2) > *:nth-child(3) {
  opacity: 1;
  max-height: 480px;
  transform: translateY(0px);
}

.card:not(.no-hover):hover > div:nth-child(2) > *:nth-child(3),
.card:not(.no-hover).hovered > div:nth-child(2) > *:nth-child(3) {
  opacity: 0;
}


/* SimpleX Unique */
.simplex-unique-card .card-content{
  transition: all .5s ease-out;
}
@media (max-width: 767px) {
  .simplex-unique-card .card-content .content-body{
    height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(80px);
    transition: all .7s ease;
  }
  .simplex-unique-card.active-card .card-content .content-body{
    max-height: 540px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
  }
  .simplex-unique-card.active-card .card-content{
    height: 540px;
  }
  .open-card-btn svg,
  .close-card-btn svg{
    transition: all .5s ease;
  }
  .open-card-btn:hover svg,
  .close-card-btn:hover svg{
    transform: rotate(180deg);
  }
}


/* comparison */
#comparison table thead th{
  font-size: 16px;
  line-height: 36px;
  font-weight: 500;
  text-align: center;
}
#comparison table tbody td{
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
#comparison table tbody tr > td:first-child{
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-align: left;
}

[dir="rtl"] #comparison table tbody tr > td:first-child{
  text-align: right;
}

@media (min-width: 1024px) {
  #comparison table tbody tr > td:first-child{
    font-size: 18px;
    line-height: 36px;
  }  
}

/* hero */
header{
  transition: all .7s ease;
}
.primary-header {
  background: linear-gradient(270deg, #0053D0 35.85%, #0197FF 94.78%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0px 4px 74px #e9e7e2;
}
.dark .primary-header{
  background: linear-gradient(270deg,#70F0F9 100%, #70F0F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.secondary-header {
  color: #606c71;
  text-shadow: 0px 4px 74px #e9e7e2;
}
.dark .secondary-header{
  color: #fff;
  text-shadow: none;
}
.hero-phone-background {
  background-image: url("/img/new/bg_gfx.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* width: 644px;
  height: 644px;
  margin-bottom: 5rem; */


  /* position: fixed; */

  /* justify-content: center;
  align-items: center;
  align-content: center;
  justify-items: center;
  */
}
#hero-phone-light, #hero-phone-dark {
  position: relative;
  animation-name: none;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

#hero-phone-video {
    /* position: absolute;
    border-radius: 10px;
    background-color: black;
    animation-name: none; */
    /* border-top-right-radius: 25px; */
    /* border-top-left-radius: 32px; */
    animation-duration: 2s;
    animation-fill-mode: forwards;
    /* height: 580px;
    width: 256px; */
    /* margin-left: 0.3rem;
    margin-bottom: 0.1rem; */
}

.description {
    width: 31rem;
}

@media (max-width: 1400px) {
    /* #hero-phone-video {
        border-radius: 15px;
        height: 500px;
        width: 227px;
        margin-bottom: 4.7rem;
      } */
}

@keyframes small {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.66);
  }
}
@keyframes big {
  0% {
    transform: scale(0.66);
  }

  100% {
    transform: scale(1);
  }
}
@keyframes bigvideo {
  0% {
    transform: scale(0.66);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Overlays */
.overlay a,
p a{
  color: #0053D0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dark .overlay a,
.dark p a{
  color: #70F0F9;
}

/* For Contact & Invitation Page */
.primary-header-contact {
  background: linear-gradient(251.16deg, #53c1ff 1.1%, #0053d0 100.82%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0px 4px 74px #e9e7e2;
}
.dark .primary-header-contact{
  background: linear-gradient(270deg,#70F0F9 100%, #70F0F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.secondary-header-contact {
  text-shadow: 0px 4px 74px #e9e7e2;
}
.dark .secondary-header-contact {
  text-shadow: none;
}
.content_copy_with_tooltip {
  background-color: #f8f8f6;
  border-radius: 50px;
  padding-bottom: 4px;
  padding-top: 8px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.content_copy_with_tooltip .tooltip {
  vertical-align: -6px;
}
.content_copy_with_tooltip .content {
  font-size: 15px;
}
.contact-tab > .contact-tab-content,
.job-tab > .job-tab-content{
  opacity: 0;
  max-height: 0;
  transition: all 0.5s ease;
  visibility: hidden;
  transform: translateY(10px);
  overflow: hidden;
}
.contact-tab svg,
.job-tab svg{
  transform: rotate(-180deg);
  transition: all .5s ease;
}
.contact-tab.active > .contact-tab-content,
.job-tab.active > .job-tab-content{
  opacity: 1;
  max-height: 300px;
  visibility: visible;
  transform: translateY(0px);
}
.for-tablet .contact-tab.active > .contact-tab-content,
.for-tablet .job-tab.active > .job-tab-content{
  min-height: 450px;
}
.contact-tab.active svg,
.contact-tab:hover svg,
.job-tab.active svg,
.job-tab:hover svg{
  transform: rotate(0deg);
}

/* Glossary */
.glossary-term{
  display: inline-block;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  position: relative;
  z-index: 10000;
}

.glossary-term::before{
  content: '';
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: 0;
  right: 0;
  opacity: 0;
  z-index: 9;
}

.glossary-tooltip {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  width: 320px;
  max-width: 100%;
  z-index: 10001; 
  transition: opacity .5s;
  padding-left: 5px;
  padding-right: 5px;
}

.glossary-tooltip .tooltip-content{
  background-color: #fff;
  color: #000;
  text-align: left;
  padding: .8rem 1.2rem;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.3rem;
  box-shadow: 0 5px 10px rgba(0,0,0,.08);
}

.dark .glossary-tooltip .tooltip-content{
  background-color: #000;
  color: #fff;
  box-shadow: none;
}

.tooltip-title{
  margin-bottom: 0.5rem;
  color: #0197FF;
  font-weight: 600;
  font-size: 1.1rem;
}

.dark .tooltip-title{
  color: #70F0F9;
}

.glossary-tooltip .read-more-btn{
  color: #0053D0;
  display: block;
  text-decoration: underline;
  margin-top: .8rem;
  text-underline-offset: 2px;
}

.dark .glossary-tooltip .read-more-btn{
  color: #70F0F9;
}

.glossary-overlay{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: transparent;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  z-index: 10005;
}

@media screen and (min-width: 768px) {
  .glossary-overlay{
    padding: 2.5rem;
  }
}

.glossary-overlay::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color:#F3F6F7;
  opacity: 0.9;
}

.dark .glossary-overlay::before {
  content: '';
  background-color: #0C0B13;
}

.glossary-overlay .overlay-card{
  width: 100%;
  background-color: white;
  opacity: 1;
  height: 100%;
  z-index: 10006;
  border-radius: 0.375rem;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.2);
  padding: 2.5rem 1.5rem;
  overflow: auto;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.dark .glossary-overlay .overlay-card{
  background-color: #17203D;
}

@media (min-width: 640px) {
  .glossary-overlay .overlay-card{
    padding: 3.5rem;
  }
}

@media (min-width: 768px) {
  .glossary-overlay .overlay-card{
    width: fit-content;
    max-width: 558px;
    height: fit-content;
    max-height: 660px;
  }
}

.glossary-overlay .overlay-card .overlay-title{
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-bottom: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(1 151 255 / var(--tw-text-opacity));
}

.glossary-overlay .overlay-card .overlay-content{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #3F484B;
}

.dark .glossary-overlay .overlay-card .overlay-content{
  color: #fff;
}

.close-overlay-btn{
  fill: #3F484B;
  position: fixed;
  right: 1.25rem;
  top: 1.25rem;
  cursor: pointer;
}

.dark .close-overlay-btn{
  fill: #fff;
}

.glossary-overlay ul {
  overflow-x: auto;
}

.glossary-overlay ul,
.glossary-overlay ol {
  list-style-position: inside;
  overflow: auto;
  margin: 1rem 0;
  /* padding-left: 1rem; */
}

.glossary-overlay ul li,
.glossary-overlay ol li {
  margin-right: 0;
  margin-left: 0;
  -webkit-margin-start: 1.1rem;
  color: #000;
}

.dark .glossary-overlay ul li,
.dark .glossary-overlay ol li {
  color: #fff;
}

.glossary-overlay ul li::marker,
.glossary-overlay ol li::marker {
  color: black;
}

.dark .glossary-overlay ul li::marker,
.dark .glossary-overlay ol li::marker {
  color: white;
}

.glossary-overlay ul li a,
.glossary-overlay ol li a {
  line-height: 30px;
}

.glossary-overlay ul li {
  list-style: disc;
}

.glossary-overlay ol li {
  list-style: decimal;
}

/* media queries for hero section for short height screens */
.hero-section-1{
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media screen and (max-height: 760px) and (min-width: 1280px), screen and (max-height: 860px) and (min-width: 1280px) and (max-width: 1399px) {
  .hero-section-1{
    height: 100%;
  }

  h1{
    font-size: 48px !important;
  }
  h2{
    font-size: 36px !important;
  }
}

@media screen and (max-height: 780px) {
  .hero-phone-background{
    height: 100%;
    margin-top: 2rem;
    margin-bottom: 4rem;
    top: calc(66px + 2rem);
  }
}

.d-none-if-js-disabled{
  display: none !important;
}