body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

@font-face {
  font-family: 'Dovemayo_gothic';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.1/Dovemayo_gothic.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-family: 'Dovemayo_gothic';
    
}

.project {
  background-color: #fff;
  margin: 1rem;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  display: flex; /* Add this */
  justify-content: center; /* Add this */
  align-items: center;
}

.project:hover {
    transform: translateY(0);
    opacity: 1;
}

/* Center the ad */
.ad {
    text-align: center;
}

.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
  }
  
  .border {
    height: 369px;
    width: 290px;
    background: transparent;
    border-radius: 10px;
    transition: border 1s;
    position: relative;
  }
  
  .border:hover {
    border: 1px solid white;
  }
  
  .cardimage {
    height: 379px;
    width: 300px;
    background: grey;
    border-radius: 10px;
    transition: background 0.8s;
    overflow: hidden;
    background: black;
    box-shadow: 0 70px 63px -60px #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .card0 {
    background: url('/profile.jpg') center center no-repeat;
    background-size: 350px;
    /* move background up 3px */
    
    background-position: -30px 0;
    
  }
  
  .card0:hover {
    background: url('/profile.jpg') center center no-repeat;
    background-size: 900px;
    /*move background position up*/


  }
  
  .card0:hover h2 {
    opacity: 1;
  }
  
  .card0:hover .fa {
    opacity: 1;
  }
  
  .nameclass {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: white;
    margin: 20px;
    opacity: 0;
    transition: opacity 1s;
  }
  
  .fa {
    opacity: 1;
    transition: opacity 1s;
  }
  
  .icons {
    position: absolute;
    fill: #fff;
    color: #fff;
    height: 130px;
    top: 226px;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }

section{
  cursor:pointer;
}

.project {
  display: inline-block;
  margin: 10px;
  cursor: pointer;
}

.card {
  width: 300px;
  min-height: 350px; /* Add this */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card h2,
.card p {
  margin: 15px;
  text-align: center;
  font-family: 'Dovemayo_gothic';
}

.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
}

