.gallery-container {
    display: flex;
    flex-wrap: wrap;
}
.gallery-container .album-item {
    flex: 0 1 33%;
    padding: 10px;
}
.gallery-container .album-item .thumbtack {
    position: absolute;
    transform: rotate(-30deg);
    color: red;
    z-index: 1;
}
.gallery-container .album-item .photo-container {
    width: 100%;
    position: relative;
    display: inline-block;
    margin: 5px;
    overflow: hidden;
    background-color: #ffffff;
    border: 6px solid white;
    box-shadow: 1px 1px 5px #333333;
}
.gallery-container .album-item .photo-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
@media screen and (max-width: 480px) {
    .gallery-container .album-item .photo-container img {
        height: auto;
    }
}
.gallery-container .album-item .photo-container .title,
.gallery-container .album-item .photo-container .describe {
    position: absolute;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 5px;
    transition: transform 0.3s;
    text-align: center;
}
.gallery-container .album-item .photo-container .title {
    top: 0;
    transform: translateY(-100%);
    background-color: rgba(0, 0, 0, 0.45);
}
.gallery-container .album-item .photo-container .describe {
    bottom: 0;
    transform: translateY(100%);
    background-color: rgba(0, 0, 0, 0.86);
}
.gallery-container .album-item .photo-container:hover .title,
.gallery-container .album-item .photo-container:hover .describe {
    transform: translateY(0);
}
@media screen and (max-width: 991px) {
    .gallery-container .album-item {
        flex: 0 1 50%;
    }
}
@media screen and (max-width: 767px) {
    .gallery-container .album-item {
        flex: 0 1 50%;
    }
}
@media screen and (max-width: 480px) {
    .gallery-container .album-item {
        flex: 0 1 98%;
    }
}
