 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Playfair Display", serif;
    color:aliceblue;
    
}
body{
  display: flex;
  margin: 0;
  background-color: #171717;
  font-family: "Playfair Display", serif;
  min-height: 100vh;
  flex-direction: column;
}
main{
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav {
  position: static;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: aliceblue;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  transition: 0.3s;
  text-transform: uppercase;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: aliceblue;
  transition: 0.3s;
}

nav a:hover {
  color: aliceblue;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: aliceblue;
}

nav a.active::after {
  width: 100%;
} 

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    border-bottom: 1px solid aliceblue;
}

#cardsContainer{
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
    justify-content: center;
    font-family: serif;
    align-items: center;
    
}
#cards{
    width: 200px;
    height: 200px;
    background-color: #1f1f1f;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    border: 1px solid aliceblue;
    transition:all 0.5s;
}
#cards:hover{
    border: 1px solid aliceblue;
    box-shadow: 0px 0px 20px aliceblue;
    scale: 1.2;
}

#cardHeader{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
} 

footer{
  position: fixed;
  bottom: 0;
  color:    rgb(195, 195, 195);
  text-align: center;
  padding: 10px;
  margin-top: 50px;
  margin-bottom: 0;
  width: 100%;
  height: 50px;
  background-color: #1f1f1f;
}

a{
    text-decoration: none;
    color: aliceblue;
}

@media (max-width: 768px) {
  .listsContainer {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  header {
    padding: 20px;
    gap: 20px;
  }

  header h1 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 15px;
  }
}