@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,400;0,600;0,800;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
.gallery-block {
    padding-bottom: 60px;
    background: #537895;
    background-image: url("../images/aboutusimg/Landing-Page-BGj.jpg")
}

.gallery-block .heading {
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block .heading h2 {
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.cards-gallery h6 {
    font-size: 17px;
    font-family: 'Varela Round', sans-serif !important;
    font-weight: bold;
}

.gallery-block.cards-gallery .card {
    transition: 0.4s easy;
}

.gallery-block.cards-gallery .card img {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
    max-height: 245px;
    min-height: 245px;
}

.gallery-block.cards-gallery .card-body {
    text-align: center;
    font-family: 'Varela Round', sans-serif !important;
    color: #ffffff;
    background: #0C4767;
    /* background: #E5C2C0; */
    /* fallback for old browsers */
}

.gallery-block.cards-gallery .card-body p {
    font-size: 15px;
    font-family: 'Varela Round', sans-serif;
    color: #ffffff !important;
}

.gallery-block.cards-gallery a {
    color: #212529;
}

.gallery-block.cards-gallery a:hover {
    text-decoration: none;
}

.gallery-block.cards-gallery .card {
    margin-bottom: 30px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 576px) {
    .gallery-block .transform-on-hover:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15) !important;
    }
}

.gally {
    padding: 2em 1rem;
    text-align: center;
}

[type="radio"] {
    display: none;
}

label {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: 0.25s;
}

[type="radio"]:checked+label {
    background: gold;
}

[type="radio"]:nth-of-type(2):checked~.gallery .card-row:not(.animals),
[type="radio"]:nth-of-type(3):checked~.gallery .card-row:not(.nature),
[type="radio"]:nth-of-type(4):checked~.gallery .card-row:not(.people),
[type="radio"]:nth-of-type(5):checked~.gallery .card-row:not(.tech) {
    display: none;
}


/* .gallery{
  display: grid;
	justify-content: center;
  grid-template-columns: repeat(auto-fit, 300px);
  grid-auto-rows: 1fr;
  grid-gap: 1rem;
  padding: 0.5rem;
  margin-top: 1rem;
} */