body {
    background-color: #191e2c !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    margin: 0 auto;
    max-width: 800px !important;
    justify-content: center;
    align-items: center;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px;
    background-color: #2b2f3e !important;
    border-radius: 30px !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    /* Add styles for the link */
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.card img {
    width: 150px;
    height: auto;
    object-fit: cover;
    margin-bottom: 40px;
}

.card p {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
    /* Add opacity to show the link only on hover */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.card:hover .card-link {
    opacity: 1;
}



@media (hover: none) {
    .card:hover {
      transform: none;
      box-shadow: none;
    }
  }


@media screen and (max-width: 768px) {
    body {
        height: 100%;
    }

    .container {
        grid-template-columns: 1fr;
        grid-gap: 15px;
        margin: 20px auto;
    }

    .card {
        height: 200px;
    }

    .card img {
        width: 100px;
        margin-bottom: 20px;
    }
}