@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');
body {
  background-color: #051c2c;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  padding: 0;
  margin: 0;
}

section {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 101vh;
}

a {
  color: #0D72E9;
  text-decoration: none;
}

svg {
  display: block;
  margin: auto;
}

nav ul {
  padding: 0;
}

nav li {
  list-style: none;
}

nav li a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 0.6rem 0.3rem;
  font-weight: 400;
  transition: all ease-out 250ms;
}

nav li a:hover {
  color: #0D72E9;
}

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  margin: 0 auto;
  width: 60%;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

.propic {
  border-radius: 50%;
  max-height: 300px;
}

.em {
  font-weight: bold;
}

.side-bar {
  width: 10%;
  height: 100vh;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 88%;
  
}

.main-content {
  margin-left: 0px;
  width: 60%;
}

.active {
  color: #0D72E9; 
  font-weight: 600;
}

.projects {
  max-width: 60%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.project {
  margin: 10%;
  display: flex;
  justify-content: center;
}

.project-text {
  color: white; 
  font-weight: bold; 
  text-align: center;
  text-decoration: none;
}

.img-card {
  max-height: 200px;
  border-radius: 15px;
}

.img-card:hover {
  opacity: 40%;
}

@media(prefers-reduced-motion: no-preference) {
  .hidden {
    transition: all 1s;
  }
}

@media(max-width: 750px) {
  .projects {
    flex-wrap: wrap;
  }
}