*{
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

a{
  text-decoration: none;
}


body{
  background-color: #F5F5F5;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, .05) 1px, transparent 1px);   
  background-size: 30px 30px;   
  animation: grid-move 10s linear infinite;
}

.navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding-left: 15px;
  padding-right: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.navigation-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100vh;
  background-color: white;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 1000;
  padding-left: 20px;
  padding-top: 10px;
}

.sidebar.active {
  right: -120px;
}

.footer{
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 30px 25px 30px;
}

.copyright{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 47px;
}

#credits{
  font-size: 12px;
  color: white;
}

#hamburger-bar{
  cursor: pointer;
}

#back-btn{
  height: 22px;
  width: 22px;
  margin-bottom: 30px;
  margin-left: -10px;
  cursor: pointer;
}

.nav-sections{
  display: none;
  gap: 40px;
}

.nav-link{
  font-weight: 600;
  color: black;
  transition: all 0.3s ease;
}
.nav-link:hover{
  scale: 1.05;
  color: rgb(28, 44, 91);
}

/* class utilities */
.centered-row-col{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.centered-row{
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-header{
  color: black;
  font-weight: 800;
  font-size: 28px;
  margin-top: 37px;
  margin-bottom: 29px;
}

.margin-last {
  margin-bottom: 30px;
}

.animate-scroll{
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.footer-title{
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.footer-link{
  font-size: 12px;
  color: white;
  margin-top: 21px;
  transition: all 0.3s ease;
}
.footer-link:hover{
  scale: 1.05;
}

.side-link{
  color: black;
  font-weight: 500;
}
.side-link:hover {
  transform: translateX(5px);
  scale: 1.05;
  color: rgb(28, 44, 91);
}




/* Animations */
@keyframes grid-move{
  from {
    background-position: 0 0;
  }
  to {
    background-position: -50px -50px;
  }
}

@keyframes appear {
  0%{
    opacity: 0;
    scale: 0.5;
  }
  100%{
    opacity: 1;
    scale: 1;
  }
}

/* media queries */
@media (min-width: 768px) {
  .section-header{
    font-size: 34px;
  }
}

@media (min-width: 1025px){
  #hamburger-bar{
    display: none;
  }

  .nav-sections{
    display: flex;
  }

  body{
    background-size: 40px 40px;
  }
}