* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  color: #210a02;
  background-color: #210a02;
  padding: 20px;
}
a:link {
  transition: opacity 0.5s;
}
nav{
  background-color: #56093c;
  height: 80px;
  align-content: center;
}
nav, a{
  color: rgb(255, 255, 255);
  opacity: 0.6;
  padding-top: 8px;
  padding-left: 10px;
  font-size: large;
}

a:link{
  padding-left: 2px;
}

h1{
  
  text-align: center;
  width: 100%;
  color: #f8f8f8;
  font-family: Georgia, 'Times New Roman', Times, serif;
  letter-spacing: 2px;
  word-spacing: 14px;
  text-shadow: 2px 2px 10px #d5d3d5;
  margin-top: 10px;
  font-size: 60px;
 
}
h3{

  color: #fff7f7;
}
/* Card Container */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  width: 100%;
  justify-content: center;
  margin: 0 auto;
}


.card {
  background: #420011;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgb(254, 253, 253);
}

/* Profile Image */
.card img {
  width: 200px;
  height: 200px;
  border-radius: 20%;
  object-fit: cover;
  margin-bottom: 10px;
  background-color: darkgray;

}


#cards figure{
  position: relative;
  height: 100%;
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
  background-color: #210a02;
}

#cards section{
 padding: 0.5rem;
 background-color: white;
 border-radius: 0 0 2rem 2rem;
}

#cards .top{
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity, transform 0.25s;
  transform: translateY(1.7rem);
}
/* Text Styles */

.card h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 5px;
}

.card p {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 15px;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons a {
  text-decoration: none;
  font-size: 20px;
  color: #fff7f7;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #ffffff;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 600px) {
  .card-container {
      grid-template-columns: 1fr;
  }
}
