@import url("https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  font-size: 62.5%;
}

:root {
  --bg-black-900: #151515;
  --bg-black-100: #222222;
  --bg-black-50: #393939;
  --text-black-900: white;
  --text-black-700: #e9e9e9;
}

body.light {
  --bg-black-900: #f2f2fc;
  --bg-black-100: #fdf9ff;
  --bg-black-50: #e8dfec;
  --text-black-900: #302e4d;
  --text-black-700: #504e70;
}
body {
  font-family: "Poppins" sans-serif;
}

.padd-15 {
  padding: 0 15px;
}

.btn {
  font-size: 16px;
  font-weight: 500;
  padding: 1.2rem 3.5rem;
  background-color: var(--skin-color);
  border-radius: 2rem;
  display: inline-block;
  white-space: nowrap;
  transition: all 0.3s ease;
  color: white;
  border: none;
}

.btn:hover {
  transform: scale(1.05);
}

.hidden {
  display: none !important;
}

/* MAIN */
.section {
  background-color: var(--bg-black-900);
  min-height: 100vh;
  display: block;
  opacity: 1;
  padding: 0 3rem;
  position: fixed;
  left: 25rem;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  transition: 0.3s ease;
}
.section.back-section {
  z-index: 1;
}
.section.active {
  z-index: 2;
  opacity: 1;
  animation: slideSection 1s ease;
}
@keyframes slideSection {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

.container {
  max-width: auto;
  width: 100%;
  margin: auto;
  padding-top: 6rem;
  padding-bottom: 7rem;
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 -15px;
  position: relative;
}

.section-title {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 6rem;
}

.section-title h2 {
  font-size: 4rem;
  color: var(--text-black-700);
  font-weight: 700;
  position: relative;
}

.section-title h2::before {
  content: "";
  width: 50px;
  height: 4px;
  background-color: var(--skin-color);
  position: absolute;
  top: 100%;
  left: 0;
}
.section-title h2::after {
  content: "";
  width: 25px;
  height: 4px;
  background-color: var(--skin-color);
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
}

.shadow-dark {
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

/* Style Switcher */
.style-switcher {
  position: fixed;
  right: 0;
  top: 3rem;
  padding: 15px;
  width: 17rem;
  border: 1px solid var(--bg-black-50);
  background-color: var(--bg-black-100);
  z-index: 101;
  border-radius: 5px;
  transition: all 0.3 ease;
  transform: translateX(100%);
}

.open {
  transform: translateX(-25px);
}

.style-switcher-toggler {
  top: 0;
}

.s-icon {
  position: absolute;
  width: 4rem;
  height: 4rem;
  text-align: center;
  font-size: 2rem;
  background-color: var(--bg-black-100);
  color: var(--text-black-900);
  right: 100%;
  border: 1px solid var(--bg-black-50);
  margin-right: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.s-icon i {
  line-height: 4rem;
}

.day-night {
  top: 5.5rem;
}

.style-switcher h4 {
  margin: 0 0 10px;
  color: var(--text-black-700);
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
}

.colors {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.colors span {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.color-1 {
  background-color: #37b182;
}
.color-2 {
  background-color: #fa5b0f;
}
.color-3 {
  background-color: #1854b4;
}
.color-4 {
  background-color: #ec1839;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: black;
  transition: all 0.9s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--skin-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}


/* CURSOR ANIMATIONS  */
.cursor-ring {
  position: absolute;
  height: 10px;
  width: 10px;
  box-shadow: rgb(254, 164, 28) 0px 0px 20px, rgb(254, 164, 28) 0px 0px 60px,
    rgb(254, 164, 28) 0px 0px 100px;
  z-index: 999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: 2s infinite colors;
}

@keyframes colors {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}