:root {
  ::-webkit-scrollbar {
    height: 10px;
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #efefef;
    border-radius: 6px;
  }
  ::-webkit-scrollbar-thumb {
    background: #d5d5d5;
    border-radius: 6px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c4c4c4;
  }
}
.va {
  display: flex;
  align-items: center;
}

.hero,
.cta {
  background:
    url(data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20height%3D%22512%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cfilter%20id%3D%22noise%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.875%22%20result%3D%22noise%22%20%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.4296875%200%22%20%2F%3E%3C%2Ffilter%3E%3Crect%20filter%3D%22url%28%23noise%29%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22512%22%20height%3D%22512%22%20fill%3D%22transparent%22%20opacity%3D%221%22%20%2F%3E%3C%2Fsvg%3E),
    linear-gradient(52deg, #42475c 0%, #20222e 71%);
}

.cta {
  height: 500px;
  border-top: 10px solid turquoise;
}

html {
  scroll-behavior: smooth;
}

footer {
  color: white;
  background: rgb(14, 14, 14) !important;
}

footer strong {
  color: turquoise;
}

footer a {
  color: turquoise;
}

.site-footer {
  padding: 2.5rem 1.5rem;
}

.footer-main {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.footer-note,
.footer-credits {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.title {
  color: white;
  font-weight: 800;
  font-size: 4rem;
  font-family: "Nunito Sans", sans-serif;
  text-shadow:
    1px 1px 1px #000,
    3px 3px 5px rgb(0, 0, 3);
}

.subtitle {
  color: white;
  font-size: 1.2rem;
  text-shadow:
    1px 1px 1px #000,
    3px 3px 5px rgb(0, 0, 3);
}

hr.content-divider {
  max-width: 75px;
  height: 5px;
}

#parallax-1 {
  position: relative;
  border-top: 10px solid coral;
  overflow: hidden; /* This ensures the pseudo-element does not go outside the bounds */
}

#parallax-1::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: var(
    --bg-computers,
    url("../images/dyn_backgrounds/computers/01.jpg")
  );
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(50%) contrast(150%);
}

#parallax-1 hr {
  background: coral;
}

#parallax-2 {
  position: relative;
  border-top: 10px solid yellow;
  overflow: hidden; /* This ensures the pseudo-element does not go outside the bounds */
}

#parallax-2::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: var(
    --bg-genetics,
    url("../images/dyn_backgrounds/genetics/01.jpg")
  );
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(50%) contrast(150%);
}

#parallax-2 hr {
  background: yellow;
}

#parallax-3 {
  position: relative;
  border-top: 10px solid hotpink;
  overflow: hidden; /* This ensures the pseudo-element does not go outside the bounds */
}

#parallax-3::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: var(
    --bg-city,
    url("../images/dyn_backgrounds/city/01.jpg")
  );
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(50%) contrast(150%);
}

#parallax-3 hr {
  background: hotpink;
}

#parallax-4 {
  position: relative;
  border-top: 10px solid green;
  overflow: hidden; /* This ensures the pseudo-element does not go outside the bounds */
}

#parallax-4::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: var(
    --bg-internet,
    url("../images/dyn_backgrounds/internet/01.jpg")
  );
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(50%) contrast(150%);
}

#parallax-4 hr {
  background: green;
}

#parallax-1 .column,
#parallax-2 .column,
#parallax-3 .column,
#parallax-4 .column {
  background: rgba(10, 12, 20, 0.35);
  backdrop-filter: blur(1px);
  border-radius: 24px;
  padding: 2rem;
}

.button.is-inverted:hover,
.button.is-outlined:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.button {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.label {
  color: white;
}

.project-tag {
  color: turquoise;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
  text-shadow: 1px 1px 1px #000;
}

input {
  background: transparent !important;
  border: 1px solid turquoise !important;
  color: white !important;
}

input::placeholder {
  color: white !important;
}

/*animation code. modified from ATEEQ AZAM PROGRAMMING BLOG*/
#dna-material {
  animation: dna-float 6s ease-in-out infinite;
  position: relative;
  display: flex;
  /*top: -20em;
  left: 2em;*/
  transform-style: preserve-3d;
  transform: rotateZ(-30deg) translateY(-300%) translateX(15%);
  opacity: 0.4;
  overflow: hidden;
  pointer-events: none;
}

@keyframes dna-float {
  0%,
  100% {
    transform: rotateZ(-30deg) translateY(-300%) translateX(15%);
  }
  50% {
    transform: rotateZ(-30deg) translateY(-305%) translateX(16%);
  }
}

/* DNA animation */
#dna-material {
  position: relative;
  display: flex;
  transform-style: preserve-3d;
  transform: rotateZ(-30deg) translateY(-300%) translateX(15%);
  opacity: 0.45;
  overflow: hidden;
  pointer-events: none;
  animation: dna-float 6s ease-in-out infinite;
}

@keyframes dna-float {
  0%,
  100% {
    transform: rotateZ(-30deg) translateY(-300%) translateX(15%);
  }
  50% {
    transform: rotateZ(-30deg) translateY(-306%) translateX(16%);
  }
}

.dna {
  position: relative;
  width: 2px;
  height: 7em;
  margin: 0 10px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.05)
  );
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  animation: dna-rotate 3.2s linear infinite;
}

@keyframes dna-rotate {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}

.dna::before,
.dna::after {
  content: "";
  position: absolute;
  left: -6px;
  width: 52px;
  height: 10px;
  border-radius: 50%;
}

.dna::before {
  top: -2px;
  background: var(--top-dot-color, #ff00ff);
  box-shadow:
    0 0 8px var(--top-dot-color, #ff00ff),
    0 0 18px var(--top-dot-color, #ff00ff);
}

.dna::after {
  bottom: -2px;
  background: var(--bottom-dot-color, #00ffff);
  box-shadow:
    0 0 8px var(--bottom-dot-color, #00ffff),
    0 0 18px var(--bottom-dot-color, #00ffff);
}

.dna:nth-child(1) {
  animation-delay: -0.2s;
}
.dna:nth-child(2) {
  animation-delay: -0.4s;
}
.dna:nth-child(3) {
  animation-delay: -0.6s;
}
.dna:nth-child(4) {
  animation-delay: -0.8s;
}
.dna:nth-child(5) {
  animation-delay: -1s;
}
.dna:nth-child(6) {
  animation-delay: -1.2s;
}
.dna:nth-child(7) {
  animation-delay: -1.4s;
}
.dna:nth-child(8) {
  animation-delay: -1.6s;
}
.dna:nth-child(9) {
  animation-delay: -1.8s;
}
.dna:nth-child(10) {
  animation-delay: -2s;
}
.dna:nth-child(11) {
  animation-delay: -2.2s;
}
.dna:nth-child(12) {
  animation-delay: -2.4s;
}
.dna:nth-child(13) {
  animation-delay: -2.6s;
}
.dna:nth-child(14) {
  animation-delay: -2.8s;
}
.dna:nth-child(15) {
  animation-delay: -3s;
}
.dna:nth-child(16) {
  animation-delay: -3.2s;
}
