h1 {
  font-size: 3em;
  font-weight: 600;
  margin-top: 50px;
  text-transform: uppercase;
}

/* Container for Cards */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Card Styling */
.cards {
  position: relative;
  width: 20%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.cards:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* Image Styling */
.cards img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.cards:hover .cards--two__rect{
  display: block;
}

.cards--two .card-title{
  color: rgb(101, 101, 101);
}

.cards--two li{
    display: inline;
    font-size: 2em;
}
.cards--two__rect{
  display: none;
}
.cards--two .cards--two__tri p, .name{
  background-color: rgba(22,45,56,1);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cards--two .name{
  background-color: rgb(32, 129, 173)
  
}
/* Default link color */
.cards--two a:link {
  color: rgb(139, 90, 0);
}

/* Active state (when clicked) */
.cards--two li a:active {
  color: rgb(139, 90, 0);
}

