
body{
     background-color: #000000;
}
h1{
    color:#ffffff;
    margin-top: 100px;
    text-align: center;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 300px; 
    padding-left: 100px;
    padding-right: 50px;
    padding-bottom: 100px;
    padding-top: 100px ;
    justify-content: center; }

/* Style card */
.card {
    
    aspect-ratio: 16/9;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    border-radius: 10px;
    overflow: hidden;
    perspective: 1000px;
    box-shadow:  20px 20px 36px #9799ff,
             -20px -20px 36px #36C2CE;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}
.card__content {
    position: absolute;
    top: 0; 
    left: 0; 
    transform: translate(-50%, -50%) rotateX(-90deg);
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #C4DFDF;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.card:hover .card__content {
    transform: rotateX(0deg);
}
/*card background images */
.card:nth-child(1) {
    background-image: url(../images/7659858.jpg); 
     
    
}

.card:nth-child(2) {
    background-image: url(../images/7659858.jpg);
    
   
}

.card:nth-child(3) {
    background-image: url(../images/7659858.jpg);
   
   
}

.card:nth-child(4) {
    background-image: url(../images/7659858.jpg);
    
  
}



.card__title {
    text-align: center;
    font-size: 40px;
    color: #000000;
    font-weight: 700;
}

.card__description {
    font-size: 30px;
    color: #505050;
    line-height: 1.4;
    text-align: center;
    
}

button {
    padding: 20px;
    border-radius: 8px;
    background: #229799;
    border: none;
    color: white;
    
}
button:hover{
    background-color: #1E201E;
}

.secondary {
    background-color: #ffffff;
    color: #ffffff;
    border: 1px solid #ffffff;
}
.a{
 text-decoration: none;
 color: #ffffff;
}
@keyframes celebration-animation {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}




