*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}
:root {
  /* For Colors */
  --clr-dark: #28282b;
  --clr-light: #faf9f6;
  --clr-white-400: #e2dfd2;
  --clr-text: #dcdcdc;
  --clr-accent: hsl(217, 91%, 60%);

  /* For fonts */
}

body {
  overflow-x: hidden;
  position: relative;
  font-family: "inter", sans-serif;
  min-height: 100%;
  /* For making grid */
  background-image: linear-gradient(
      to right,
      transparent 39px,
      var(--clr-white-400) 39px
    ),
    linear-gradient(to bottom, transparent 39px, var(--clr-white-400) 39px);
  background-size: 40px 40px;
  background-repeat: repeat;
  background-color: var(--clr-dark);
  color: var(--clr-text);
  line-height: 1.5;
}

.overlay {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  background: linear-gradient(335deg, black 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 80vw;
  margin-inline: auto;
}

.about__section.visible {
  transform: translateY(0);
  opacity: 1;
}

.highlight {
  font-weight: 700;
  color: var(--clr-white-400);
}

.link:hover {
  color: var(--clr-accent);
}

.link:active {
  color: hsl(217, 91%, 70%);
}
