:root {
  --grid-color: rgba(255, 255, 255, 0.1);

  --btn-bg:#00ff8c;
  --btn-text: #001B0A;

  --btn-glow: 0 8px 24px rgba(0, 180, 120, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);

  --bounding-lines: #60ffb7;

  --link-hover-color:#00E5FF
}
.light {
  --grid-color: rgba(0, 0, 0, 0.1);

  --btn-bg: rgb(59, 130, 246);
  --btn-text: #ffffff;

  --btn-glow: 0 8px 24px  rgba(59, 130, 246, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);

  --bounding-lines: rgb(59, 130, 246);

  --link-hover-color:rgb(54, 112, 206);

}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}

body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  font-family: "Google Sans Flex";
  color: var(--foreground);
  background-color: var(--background);
  background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-color: var(--background);
  background-size: 20px 20px;
  background-position: 10px 10px;
}

.background1 {
  inset: 0;
  height: 100dvh;
  min-height: fit-content;
}

.theme-toggler {
  cursor: pointer;
}

.theme-icon {
  height: 30px;
  width: 30px;
  fill: var(--foreground);
  transition: fill var(--transition-time) ease;
  opacity: 1;
  transition: opacity 0.3s ease;
  position: fixed;
  top: 1rem;
  right: 1rem;
}

.hide {
  display: none;
  pointer-events: none;
}

.content-box {
  width: 70%;
}

.main-head {
  font-size: 6.5rem;
  font-weight: 100;
}

.intro {
  font-size: 1.1rem;
  margin-top: 2rem;
  line-height: 1.7;
}

.emptyBox {
  height: 10rem;
  width: 5rem;
}

.readDocsButton {
  margin-top: 3rem;
  position: relative;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-family: inherit;
  background: var(--btn-bg);
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: var(--btn-glow);
  color: var(--btn-text);
  border-radius: 8px;
  border: none;
  transition: all 0.2s;
}



/* hover effect */
.readDocsButton:hover {
  transform:scale(1.05);
}

.features {
  margin: 0 5rem;
}
.features h2 {
  font-size: 3.5rem;
  font-weight: 400;
}
.featureCard {
  margin: 7rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}
.featureCard-odd {
  flex-direction: row-reverse;
  margin-right: 5rem;
}
.featureCard-even {
  flex-direction: row;
  margin-left: 5rem;
}
.featureCard-head {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.featureCard-descriptionSection {
  flex: 1;
  position: relative;
}
.featureCard-imageSection {
  flex: 2;
}
.featureCard-imageSection-wrapper {
  padding: 2rem;
  background-color: var(--background);
  background-image: repeating-linear-gradient(
    45deg,
    var(--grid-color) 0px,
    var(--grid-color) 1px,
    transparent 1px,
    transparent 10px
  );
}

.featureCard-imageSection img {
  width: 100%;
}

.featureCard-description {
  font-size: 1.1rem;
  margin-left: 0;
  line-height: 1.6;
}

.featureCard-imageDescription {
  font-style: italic;
  text-align: center;
  margin-top: 1rem;
}
.featureCard-even .featureCard-description-horizontalLine {
  top: -2rem;
  left: -4rem;
  height: 0.1rem;
  width: 110%;
  position: absolute;
  background-color: var(--bounding-lines);
}

.featureCard-even .featureCard-description-verticalLine {
  top: -4rem;
  left: -2rem;
  width: 0.1rem;
  height: 110%;
  position: absolute;
  background-color: var(--bounding-lines);
}

.featureCard-odd .featureCard-description-horizontalLine {
  bottom: -2rem;
  right: -4rem;
  height: 0.1rem;
  width: 110%;
  position: absolute;
  background-color: var(--bounding-lines);
}

.featureCard-odd .featureCard-description-verticalLine {
  bottom: -4rem;
  right: -2rem;
  width: 0.1rem;
  height: 110%;
  position: absolute;
  background-color: var(--bounding-lines);
}

.featureCard-imageSection-wrapper{
  overflow: hidden;
}

sup {
  font-size: 0.8rem;
  padding-left: 0.5rem;
}

.footer {
  margin-top: 7rem;
  display: flex;
background-color: var(--background);
  background-image: repeating-linear-gradient(
    45deg,
    var(--grid-color) 0px,
    var(--grid-color) 1px,
    transparent 1px,
    transparent 10px
  );
}

.infoSection {
  width:100%;
  margin: 2rem 0 0 3rem;
  padding:2rem;
  display: flex;
  flex-direction: column;
    background-color: var(--background);
  background-image: radial-gradient(
    circle,
    var(--grid-color) 2px,
    transparent 1px
  );
  background-size: 20px 20px;
  gap: 1rem;
}
.socials {
  color: var(--foreground);
  text-decoration: none;
  gap: 1rem;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.socials:hover svg,.socials:hover{
  color:var(--link-hover-color);
  fill: var(--link-hover-color);
  stroke: var(--link-hover-color);
}

.socials svg {
  fill: var(--foreground);
  stroke: var(--foreground);
  width: 1.5rem;
  height: 1.5rem;
  transition: all 0.2s;

}

/* Media Query */



@media screen and (max-width: 1024px) {
  .featureCard-imageSection-wrapper{
    padding:1rem;
  }
  .featureCard-description {
    font-size: 1rem;
  }
  .featureCard-head{
    font-size: 1.7rem;
  }

}
@media screen and (max-width: 768px) {
  .featureCard-description-horizontalLine,
  .featureCard-description-verticalLine {
    display: none;
  }
  .infoSection{
    margin-left: 0;
  }
  .main-head {
    font-size: 3rem;
  }
  .background1 {
    padding: 3rem 3rem;
  }
  .intro {
    font-size: 1rem;
  }
  .content-box {
    width: 100%;
  }
  .emptyBox {
    display: none;
  }
  .features {
    margin: 0rem 3rem;
  }
  .featureCard {
    gap: 0;
    margin-right: 0;
    margin-left: 0;
    flex-direction: column;
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
  .featureCard-imageSection-wrapper {
    padding: 0;
    background-image: none;
    background-color: transparent;
    margin-top: 1rem;
  }
  .featureCard-description {
    font-size: 1rem;
  }
  .features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
  .featureCard-head {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .footer {
    
    font-size: 0.8rem;
  }
  .diagonal-pattern {
    display: none;
  }
  .socials svg {
    height: 1rem;
    width: 1rem;
  }
  
}
