:root {
  --primary-color: #0d0d0d;
  --secondary-color: #000;
  --background-color: #fff;
  --text-color: #0d0d0d;
  --btn-text: #0d0d0d;
  --navbar-bg: linear-gradient(90deg, rgba(240, 240, 240, 0.85) 0%, rgba(228, 228, 228, 0.85) 57.21%, rgba(244, 244, 244, 0.85) 100%);
  --clients-bg: #dfdfdf;
  --footer-text: #fff;
  --footer-text-secondary: #a2a2a2;
  --footer-border: #dfdfdf;
  --mobile-menu-bg: linear-gradient(
    90deg,
    rgba(240, 240, 240, 0.9) 0%,
    rgba(228, 228, 228, 0.9) 57%,
    rgba(244, 244, 244, 0.9) 100%
  );
  --button-bg: linear-gradient(0deg, var(--primary-color), var(--secondary-color));
}

.dark-theme {
  --primary-color: #fff;
  --secondary-color: #fff;
  --background-color: #0d0d0d;
  --text-color: #f0f0f0;
  --btn-text: #fdfafe;
  --navbar-bg: rgba(53, 53, 53, 0.32);
  --clients-bg: #2a2a2a;
  --footer-text: #000;
  --footer-text-secondary: #a2a2a2;
  --footer-border: #292929;
  --mobile-menu-bg: linear-gradient(90deg, rgba(14, 15, 18, 0.9), rgba(18, 20, 19, 0.8) 57%, rgba(25,26,27,0.9));
  --button-bg: linear-gradient(180deg, var(--primary-color), var(--btn-text));
}
* {
  box-sizing: border-box;
}
body {
  font-family: "degular", sans-serif;
  font-weight: 200;
  font-style: normal;
  margin: 0;
  padding: 0;
  background: var(--background-color);
  color: var(--text-color);
  transition:
    background-color 0.3s ease,
    color 0.35s ease;
  overflow-x: hidden;
}

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

#preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 2rem; */
}

.preloader-spinner {
  max-width: 50vw;
  /* width: 50px;
  height: 50px;
  border: 3px solid var(--footer-text-secondary);
  border-top-color: var(--text-color);
  border-radius: 50%;
  animation: spin 1s linear infinite; */
}
.preloader-spinner svg {
  max-width: 100%;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.preloader-content p {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  letter-spacing: 1px;
}
.preloader-title {
  font-size: 2rem;
  color: var(--footer-text-secondary);
  font-weight: 200;
  font-style:italic;
  text-transform: uppercase;
  visibility: hidden;
}
.preloader-text {
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 700;
  visibility: hidden;
}
.preloader-text em {
  font-style: italic;
  font-weight: 400;
}

.media-loader {
  position: relative;
  overflow: hidden;
  /* background: #e8e8e8; */
}

.media-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--background-color) 0%,
    var(--footer-border) 50%,
    var(--background-color) 100%
  );
  animation: mediaShimmer 1.2s infinite;
  z-index: 1;
}

.media-loader img,
.media-loader video {
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: cover; */
  opacity: 0;
  transition: opacity 400ms ease;
}

.media-loader.loaded::before {
  display: none;
}

.media-loader.loaded img,
.media-loader.loaded video {
  opacity: 1;
}

@keyframes mediaShimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.flex {
  display: flex;
  gap: 1rem;
}

.btn {
  font-family: "degular", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: -3%;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn.pill {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: white;
  color: var(--text-color);
}

.navbar {
  background: var(--navbar-bg);
  max-width: 626px;
  max-height: 50px;
  padding: 0.575rem;
  border-radius: 12px;
  opacity: 1;
  border-radius: 0.6875rem;
  /* border: 0.5px solid rgba(221, 221, 221, 0.70); */
box-shadow: 2px 2px 0.5px -2px rgba(255, 255, 255, 0.50) inset, -2px -2px 1px -2px rgba(255, 255, 255, 0.50) inset;
backdrop-filter: blur(6px);
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 41;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.navbar {
  visibility: hidden;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.navbar li {
  margin: 0 1.25rem;

  font-size: 1rem;
  font-family: "degular", sans-serif;
  font-weight: 200;
  font-style: normal;
  line-height: 100%;
  letter-spacing: -3%;
}
.navbar a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 400;
}
.navbar button {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
.navbar .close,
.navbar .socials,
.navbar .legal {
  display: none;
}
.logo {
  font-weight: bold;
  font-size: 1.5rem;
}
/* .mobile-logo img, */
.logo img {
  height: 1.8rem;
  width: auto;
}

.close {
  color: var(--secondary-color);
}

.mag-zone {
  width: 300px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 50%; */
  /* border: 1px dashed var(--s25); */
  position: relative;
  /* top: 0;
  right: 50px; */
  cursor: pointer;
}
.mag-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 16px 32px; */
  /* border-radius: 99px; */
  border: none;
  cursor: pointer;
  /* text-transform: uppercase; */
  overflow: hidden;
  will-change: transform;
}
.mag-btn .bg {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  z-index: 0;
  /* background: var(--button-bg); */
}
.mag-btn .label {
  position: relative;
  z-index: 1;
  pointer-events: none;
  font-size: 16px;
  /* color: var(--footer-text); */
}

.book-appointment-btn {
  position: fixed;
  top: 0;
  right: 50px;
  z-index: 50;
  visibility: hidden;
}
.book-appointment-btn .btn {
  height: 50px;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -2%;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 1rem;
  background: var(--secondary-color);
  color: var(--footer-text);
}

footer {
  /* background-color: var(--secondary-color); */
  /* color: var(--footer-text); */
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px; 
  letter-spacing: -4%;
  /* padding: 1rem; */
}
footer .flex {
  gap: 2rem;
}
footer a {
  color: var(--footer-text-secondary);
  text-decoration: none;
}
footer .container {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0;
  border-top: 1px solid var(--footer-border);
}
footer .copy {
  color: var(--footer-text-secondary);
  margin-right: auto;
}

.desktop-logo {
  display: block;
  margin: 0.5rem 0;
  padding: 0;
}
.social-links {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-logo,
.mobile-menu,
footer {
  display: none;
}

.mobile-only {
    display: none;
  }
  .desktop-only {
    display: block;
  }

/* media queries  */
@media screen and (max-width: 1200px) {
  .book-appointment-btn {
    right: 1rem;
    display: none;
  }
}
@media screen and (max-width: 800px) {
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none;
  }
  .mobile-menu {
    display: flex;
    justify-content: space-between;
    padding: 12px 26px;
    background: var(--mobile-menu-bg);
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 49;
    border-radius: 8px;
  }
  .mobile-menu button {
    background: transparent none;
    color: var(--secondary-color);
    border: 0 none;
    padding: 0;
    cursor: pointer;
    width: 1rem;
  }
  .mobile-menu .logo {
    max-height: 25px;
  }
  .navbar {
    display: flex;
    flex-direction: column;
    background: var(--mobile-menu-bg);
    max-height: none;
    inset: 0;
    margin: 0 auto;
    border-radius: 0;
    padding: 0;
    backdrop-filter: blur(6px);
    transform: none;
  }
  .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1rem;
    margin-bottom: auto;
  }
  .navbar li {
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 70px;
    letter-spacing: -2px;
  }
  .navbar .logo {
    order: -5;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5.878vh;
  }
  .navbar .theme {
    display: none;
  }
  .navbar .close {
    display: block;
  }
  .navbar .socials {
    padding: 1rem 2.25rem;
    gap: 2rem;
    display: flex;
  }
  .navbar .legal {
    padding: 2rem 2.25rem;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px; /* 116.667% */
    letter-spacing: -0.48px;
  }
  .navbar .legal a {
    color: var(--footer-text-secondary);
  }
  .book-appointment-btn {
    opacity: 0;
    display: none;
  }
  footer {
    display: block;
    padding: 1rem 1rem 0;
    overflow: clip;
  }
  footer .container {
    flex-direction: column;
  }
  footer .mobile-logo {
    display: block;
    margin: 1rem auto -0.5rem;
  }
  footer .mobile-logo img {
    width: 100%;
  }
  
}
