/* Lexend Font */
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #22c55e #0f172a;
}

:root {
  --primary: #2bee79;
  --bg-light: #f6f8f7;
  --bg-dark: #102217;
  --secondary-blue: #0ea5e9;
  --secondary-orange: #f97316;
  --grey: #cbd5e1;
  --light-bg-green: #202d24c2;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lexend", sans-serif;
  background-color: var(--bg-dark);
  color: white !important;
}

/* COMMON ELEMENTS */
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 600;
}

h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

h4 {
  display: inline-block;
  font-size: 16px;
  color: var(--primary);
  letter-spacing: 2px;
  font-weight: 600;
  line-height: 1;
  position: relative;
}

h4::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  position: absolute;
  bottom: -4px;
  left: 0;
}

/* COMMON CLASS */
.my-btn-primary {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--primary);
  border-radius: 12px;
  color: black;
  font-weight: 600;
  transition: all 0.3s linear;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.my-btn-primary:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--primary);
}

.my-btn-primary:hover span {
  transform: translateY(-1px);
}

.my-btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-weight: 600;
  border: 1px solid grey;
  border-radius: 12px;
  background-color: rgba(143, 143, 143, 0.295);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.3s ease-in-out;
}

.my-btn-secondary:hover {
  filter: brightness(1.1);
}

.my-common-padding {
  padding-block: 80px;
}

/* NAVBAR */
.my-brandLogo i {
  color: var(--primary);
}

#search {
  /* padding: 8px 20px; */
  background-color: transparent;
  outline: none;
  border: none;
  border-radius: 10px;
}

#search:focus {
  color: var(--primary);
}

.my-btn1 {
  display: inline-block;
  background-color: var(--primary);
  padding: 8px 20px;
  color: black;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.my-btn1:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 10px var(--primary);
}

.active {
  color: var(--primary) !important;
}

.nav-link {
  color: white;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--primary);
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.glass-nav-bg {
  background-color: rgba(16, 34, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* FOOTER */
footer {
  background-color: #0c140e;
}

.foot-items a {
  color: var(--grey);
}

.foot-item-1 p:nth-child(2) {
  color: var(--grey);
}

.foot-item-4 form p {
  color: var(--grey);
}

.foot-item-4 input {
  padding: 8px 10px;
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
  background-color: #202d24c2;
  outline: none;
  border: none;
}

.foot-item-4 input:focus {
  color: var(--primary);
  box-shadow: 0 0 3px var(--primary);
}

.foot-item-4 button {
  background-color: var(--primary);
  border: none;
  padding: 8px 10px;
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
}

.social-icons a {
  transition: all 0.2s linear;
}

.social-icons a:hover {
  color: var(--primary);
}

.foot-links a {
  transition: all 0.2s linear;
}

.foot-links a:hover {
  color: var(--primary);
}

.cpr {
    transition: all 0.3s linear;
}

.cpr:hover {
    color: var(--primary);
}

/* Scrollbar */
/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  /* background: #16a34a; */
   background: linear-gradient(
    to bottom,
    #22c55e,
    #16a34a
  );
}




/* Media Screen */
@media (max-width: 575px) {
  p {
    font-size: 14px;
  }
  h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .my-btn-primary:hover {
    transform: scale(1);
  }
}
