body {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-style: normal;
    width: 100%;
    background-color: black;
}

h1 {
    text-align: center;
}

img {
    width: 500px;
    height: 200px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.lion,
.tiger,
.leopard,
.elephant,
.bear,
.deer,
.fox,
.giraffee,
.corcodile,
.kangaroo,
.chimpanzee,
.ox,
.donkey,
.zebra,
.rhinoceros,
.horse,
.camel,
.hippopotamus,
.wolf,
.bison {
    width: 23%;
    margin: 10px;
    text-align: center;
    color: white;
}

.lion:hover,
.tiger:hover,
.leopard:hover,
.elephant:hover,
.bear:hover,
.deer:hover,
.fox:hover,
.giraffee:hover,
.corcodile:hover,
.kangaroo:hover,
.chimpanzee:hover,
.ox:hover,
.donkey:hover,
.zebra:hover,
.rhinoceros:hover,
.horse:hover,
.camel:hover,
.hippopotamus:hover,
.wolf:hover,
.bison:hover {
    background-color: white;
    border: white 2px solid;
    border-radius: 10px;
    color: black;
}

.container img {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

.container img:hover {
    cursor: pointer;
}

.one img {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 25px;
    left: 50px;
    z-index: 1;
}

.contact {
    text-align: center;
    color: white;
    background-color: black;
    padding: 15px;
    margin: 20px 0px 0px 0px;
}

.contact:hover {
    background-color: white;
    color: black;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.popup {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup img {
    width: 100%;
    max-width: 700px;
    height: 500px;
    border-radius: 10px;
}

.popup button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

@media (min-width: 480px) {

    .lion,
    .tiger,
    .leopard,
    .elephant,
    .bear,
    .deer,
    .fox,
    .giraffee,
    .corcodile,
    .kangaroo,
    .chimpanzee,
    .ox,
    .donkey,
    .zebra,
    .rhinoceros,
    .horse,
    .camel,
    .hippopotamus,
    .wolf,
    .bison {
        width: calc(50% - 30px);
    }
    .container img {
        width: 100%;
        height: 250px;
    }
    .one img {
        width: 100px;
        height: 100px;
        top: 40px;
        left: 20px;
    }
    .one1 img {
        width: 250px;
        height: 150px;
        top: 40px;
        left: 30px;
    }
    .one1 {
        position: relative;
    }

    .contact {
        padding: 10px;
        font-size: 14px;
    }

    .zoo-logo img {
        width: 120px;
        height: auto;
    }
    .one img:hover {
        transform: scale(1.05);
    }
    .one1 img:hover {
        transform: scale(1.05);
    }
}

@media (min-width: 768px) {

    .lion,
    .tiger,
    .leopard,
    .elephant,
    .bear,
    .deer,
    .fox,
    .giraffee,
    .corcodile,
    .kangaroo,
    .chimpanzee,
    .ox,
    .donkey,
    .zebra,
    .rhinoceros,
    .horse,
    .camel,
    .hippopotamus,
    .wolf,
    .bison {
        width: calc(33.333% - 30px);
    }

    .zoo-logo img {
        width: 150px;
    }
    .container img {
        width: 100%;
        height: 300px;
    }
    .one img {
        width: 150px;
        height: 150px;
        top: 30px;
        left: 40px;
    }
    .one1 img {
        width: 400px;
        height: 180px;
    }
    .one img:hover {
        transform: scale(1.05);
    }
    .one1 img:hover {
        transform: scale(1.05);
    }

}

@media (min-width: 1024px) {

    .lion,
    .tiger,
    .leopard,
    .elephant,
    .bear,
    .deer,
    .fox,
    .giraffee,
    .corcodile,
    .kangaroo,
    .chimpanzee,
    .ox,
    .donkey,
    .zebra,
    .rhinoceros,
    .horse,
    .camel,
    .hippopotamus,
    .wolf,
    .bison {
        width: calc(25% - 30px);
    }

    .zoo-logo img {
        width: 180px;
    }
    .one img:hover {
        transform: scale(1.05);
    }
    .one1 img:hover {
        transform: scale(1.05);
    }
}

@media (min-width: 1200px) {

    .lion,
    .tiger,
    .leopard,
    .elephant,
    .bear,
    .deer,
    .fox,
    .giraffee,
    .corcodile,
    .kangaroo,
    .chimpanzee,
    .ox,
    .donkey,
    .zebra,
    .rhinoceros,
    .horse,
    .camel,
    .hippopotamus,
    .wolf,
    .bison {
        width: calc(20% - 30px);
    }
    .one img {
        width: 250px;
        height: 250px;
        top: 20px;
    }
    .one1 img {
        width: 500px;
        height: 250px;
    }
    .one img:hover {
        transform: scale(1.05);
    }
    .one1 img:hover {
        transform: scale(1.05);
    }
}