main{
  background:linear-gradient(45deg,#130546,rgb(27, 1, 25),rgb(31, 8, 69),rgb(132, 44, 121));
}

#project {
  width:100%;
  padding:40px 5%;
  margin:0px auto;
  padding-top: 20px;
  color: #fff;
  margin-top:-10px;
}
#project h1 {
  grid-area:h;
  font-size: 36px;
  text-align: center;
  color: #00bcd4;
  text-shadow:none;
  margin-bottom: 40px;
  margin-top:10px;
}
.project-card h2 {
  text-align:center;
  font-size: 22px;
  color:#8ed8e1;
  text-shadow:none;
  margin-bottom: 12px;
}
.project-grid {
  display: grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}


.project-card {
  background-color: rgba(255, 255, 255,0.05);
  border: 1px solid rgba(255, 255, 255,0.1);
  border-radius: 8px;
  height:100%;
  display: flex;
  flex-direction: column; 
  overflow:hidden;
  transition: all 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(15px);
  border-top:0 10px 28px rgba(0, 0, 0, 0.35);
}

.project-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 16px #055c88;
}

.project-card img {
  margin:2%;
  width: 96%;
  height: 200px;              
  object-fit: cover;          
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius:10px;
}
.project-card a{
  margin:12px 16px 16px;
  padding:8px 12px;
  text-decoration:none;
  font-weight:500;
  color:whitesmoke;
  background:#16b6cb;
  border-radius:10px;
  display:inline-block;
  transition:0.2s;
}
.project-card a:hover{
  background:#008c9e;
  color:white;
}
.card-content {
  padding: 16px;
  flex: 1; 
}

.project-card p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #d1d5db;
}

.card-content .label {
  display: inline-block;
  background-color: #00bcd4;
  color: #000;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
}
@media only screen and (max-width:1024px){
  .project-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media only screen and (max-width:768px){
  .project-grid{
    grid-template-columns: 1fr;
  }
}
