/*** 

====================================================================
  Reset
====================================================================

***/
* {
  margin: 0px;
  padding: 0px;
  border: none;
  outline: none;
}

/*** 

====================================================================
  Global Settings
====================================================================

***/

:root {
  --theme-color: rgb(4 52 51);
  --secondary-color: rgb(205, 214, 187);
  --text-color: rgba(106, 106, 106, 1);
  --title-color: rgba(17, 17, 17, 1);
  --text-font: "Inter", sans-serif;
  --title-font: "Jost", sans-serif;
}

body {
  font-size: 16px;
  color: var(--text-color);
  line-height: 28px;
  font-weight: 400;
  background: #fcfcfc;
  font-family: var(--text-font);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  -webkit-font-smoothing: antialiased;
}

body:has(#mobile-menu-popover:popover-open),
body:has(dialog[open]) {
  overflow: hidden;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding: 0px 15px;
  }
}

.auto-container {
  position: static;
  max-width: 1100px;
  padding: 0px 15px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}

a:hover {
  text-decoration: none;
  outline: none;
}

input,
button,
select,
textarea {
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 18px;
  background: transparent;
}

::-webkit-input-placeholder {
  color: inherit;
}

::-moz-input-placeholder {
  color: inherit;
}

::-ms-input-placeholder {
  color: inherit;
}

ul,
li {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

ol li {
  list-style: decimal;
}

input {
  transition: all 500ms ease;
}

button:focus,
input:focus,
textarea:focus {
  outline: none;
  box-shadow: none;
  transition: all 500ms ease;
}

p {
  position: relative;
  font-family: var(--text-font);
  color: var(--text-color);
  font-weight: 400;
  margin: 0px;
  transition: all 500ms ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  position: relative;
  font-family: var(--title-font);
  font-weight: 600;
  color: var(--title-color);
  margin: 0px;
  transition: all 500ms ease;
}

figure {
  margin: 0px;
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  transition-delay: 0.1s;
  transition-timing-function: ease-in-out;
  transition-duration: 0.7s;
  transition-property: all;
}

.content-box {
  color: #6a6a6a;
}

.content-box p,
.content-box ul,
.content-box ol {
  margin-bottom: 1em;
}

.content-box > :last-child {
  margin-bottom: 0;
}

.content-box ul {
  margin-left: 1.5em;
}

.content-box ul li {
  list-style: disc;
}

.content-box h1,
.content-box h2,
.content-box h3,
.content-box h4,
.content-box h5,
.content-box h6 {
  margin-bottom: 15px;
}

/** button **/

.theme-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  font-family: var(--title-font);
  color: #fff;
  text-align: center;
  border-radius: 5px;
  z-index: 1;
  transition: all 500ms ease;
}

.theme-btn:hover {
  color: #fff !important;
}

.theme-btn.btn-one {
  background: var(--theme-color);
}

.theme-btn i {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  margin-left: 5px;
  top: 0px;
}

.theme-btn.btn-two {
  background: var(--secondary-color);
  color: #000;
}

.theme-btn {
  display: inline-block;
  padding: 12px 24px;
}

.theme-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/*** 

====================================================================
Common CSS
====================================================================

***/

.content-box {
  max-width: 1100px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

section.section--alternate {
  background-color: #fefefe;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.show-if-loading,
.show-if-authenticated,
.show-if-guest {
  display: none;
}

.user-loading .show-if-loading {
  display: block;
}

.user-authenticated .show-if-authenticated {
  display: block;
}

.user-guest .show-if-guest {
  display: var(--display, block);
}

span.show-if-guest {
  --display: inline-block;
}

.skeleton-box {
  display: inline-block;
  height: 1em;
  position: relative;
  overflow: hidden;
  background-color: #dddbdd;
}

.skeleton-box::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 5s infinite;
  content: "";
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/*** 

====================================================================
Header
====================================================================

***/

.desktop-nav {
  margin-left: 32px;
  margin-right: auto;
}

.desktop-nav > ul > li {
  display: inline-block;
  margin: 0 8px;
}

nav .dropdown-menu li {
  text-wrap: nowrap;
}

nav ul li * {
  color: rgba(var(--bs-body-color-rgb), 0.7);
  font-weight: 500;
  font-size: 1rem;
}

nav ul li a:hover,
nav ul li button:hover {
  color: rgba(var(--bs-body-color-rgb), 0.9);
}

nav .active {
  color: rgb(var(--bs-body-color-rgb));
}

.main-header {
  position: relative;
  left: 0px;
  top: 0px;
  right: 0px;
  z-index: 999;
  width: 100%;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  --min-height: 62px;
}

.main-header .outer-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-right-content {
  position: relative;
  display: none;
  align-items: center;
  gap: 25px;
}

@media (min-width: 850px) {
  .menu-right-content {
    display: flex;
  }
}

.menu-right-content .login-btn {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 26px;
  font-family: var(--title-font);
  font-weight: 500;
  color: #111111;
}

.logo-box img {
  display: block;
}

.logo-box img,
.footer-logo img {
  width: 180px;
}

.menu-right-content .login-btn:hover {
  color: var(--theme-color);
}

.menu-right-content .theme-btn span {
  padding: 13px 25px;
}

.main-header {
  position: sticky;
  background-color: #fff;
}

.header-lower {
  border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}

.header-lower .outer-box {
  min-height: var(--min-height);
}

.hamburger,
.close-button {
  font-size: 24px;
}

#mobile-menu-popover {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: #fff;
}

.mobile-menu ul li {
  padding: 8px 0;
}

.mobile-menu ul li:not(.show-if-guest):not(.show-if-authenticated) {
  display: block;
}

.mobile-menu details > summary {
  list-style: none;
}

.mobile-menu details > summary:after {
  display: inline-block;
  margin-left: 8px;
}

.mobile-menu details > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu details[open] > summary:after {
  transform: rotate(180deg);
}

.mobile-menu ul li ul {
  padding-left: 16px;
  margin-top: 8px;
}

.account-dropdown {
  display: none;
}

.desktop-nav {
  display: none;
}

@media (min-width: 900px) {
  .header-lower {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .account-dropdown {
    display: block;
  }

  .mobile-menu {
    display: none;
  }

  .desktop-nav {
    display: block;
  }
}

/*** 

====================================================================
Footer
====================================================================

***/

.main-footer {
  position: relative;
  background: #020202;
}

.main-footer .widget-section {
  padding: 120px 0px 100px 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer .logo-widget .footer-logo {
  margin-bottom: 30px;
}

.main-footer .logo-widget p {
  max-width: 500px;
  color: #a9a7b0;
  margin-bottom: 40px;
}

.main-footer .widget-title {
  position: relative;
  display: block;
  margin-bottom: 15px;
}

.main-footer .widget-title h3 {
  font-size: 24px;
  line-height: 32px;
  color: #fff;
}

.main-footer .links-widget .links-list li {
  width: 100%;
  line-height: 42px;
}

.main-footer .links-widget .links-list li a {
  display: inline-block;
  color: #a9a7b0;
}

.main-footer .contact-widget p {
  color: #a9a7b0;
  margin-bottom: 20px;
}

.main-footer .contact-widget .info-list li {
  position: relative;
  display: block;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

.main-footer .contact-widget .info-list li:last-child {
  margin-bottom: 0px;
}

.main-footer .contact-widget .info-list li a {
  display: inline-block;
  color: #a9a7b0;
}

.main-footer .contact-widget .widget-title {
  margin-bottom: 25px;
}

.footer-bottom {
  position: relative;
  width: 100%;
  padding: 30px 15px;
}

.footer-bottom p {
  text-align: center;
  line-height: 26px;
  color: #a9a7b0;
}

.footer-bottom p a:hover {
  text-decoration: underline;
}

.main-footer .contact-widget .contact-info li {
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 40px;
  color: #a9a7b0;
  padding-left: 26px;
}

.main-footer .contact-widget .contact-info li a {
  display: inline-block;
  color: #a9a7b0;
}

.main-footer .contact-widget .contact-info li i {
  position: absolute;
  left: 0px;
  top: 10px;
  font-size: 20px;
}

.main-footer .contact-widget .contact-info li:nth-child(2) i {
  font-size: 14px;
  top: 15px;
}

.main-footer.style-two .widget-section {
  border-bottom: none;
}

.main-footer.style-two .footer-bottom {
  background: #111111;
}

@media only screen and (max-width: 991px) {
  .main-footer .logo-widget p {
    max-width: 100%;
  }

  .main-footer .logo-widget {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .main-footer .footer-widget {
    margin: 0px 0px 30px 0px !important;
  }

  .main-footer .widget-section {
    padding: 60px 0px 30px 0px;
  }
}

/***

====================================================================
Dialogs
====================================================================

***/

.dialog {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  transition:
    display 300ms allow-discrete,
    overlay 300ms allow-discrete;
  animation: slide-up 300ms ease;
}

.dialog[open] {
  animation: slide-down 300ms ease;
}

@keyframes slide-down {
  from {
    transform: translateY(-100%);
    opactity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #fff;
  border-bottom: var(--bs-border-width) solid var(--bs-border-color);
  height: var(--min-height);
  position: sticky;
  left: 0;
  top: 0;
  z-index: 1;
}

.dialog-header .close-button {
  margin-left: auto;
}

.dialog-content {
  padding: 32px;
}

@media (min-width: 768px) {
  .dialog {
    height: min-content;
    max-width: 600px;
    max-height: calc(100% - 64px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
  }
}

/***

====================================================================
Misc
====================================================================

***/

.info-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--bs-secondary);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  background: var(--bs-secondary-bg);
  color: var(--bs-secondary);
  border: 1px solid var(--bs-secondary-border-subtle);
}
