body {
    padding-top: 25px;
    display: block;
    margin: auto;
    width: 549px;
}
div {
    box-sizing: border-box;
}
.back-home {
    margin: auto;
    text-align: center;
}
.back-home a {
    color: var(--darkbrown);
    text-decoration: none;
    -webkit-transition: 0.25s;
}
.back-home a:hover {
    letter-spacing: 2px;
    -webkit-transition: 0.25s;
}
.pic-log {
    padding-top: 25px;
    width: 549px;
    align-content: center;
    display: flex;
    flex-wrap: wrap;
}
.pic {
    margin: 3px;
    overflow: hidden;
    border: 1px dotted var(--darkbrown);
    width: 177px;
    max-height: 202px;
    transition: max-height 0.25s ease-in-out, opacity 0.25s ease-in-out;
}
.pic .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: 0.25s;
}
.pic-desc {
    opacity: 0%;
    text-align: center;
    padding: 5px;
    transition: opacity 0.25s ease-in-out;
}
.pic:hover .picture img {
    -webkit-transition: 0.25s;
}
.pic:hover {
    max-height: max-content;
    transition: width .25s ease-in-out, max-height .25s ease-in-out, opacity .25s ease-in-out, visibility 0s linear .25s;
    -moz-transition: width .25s ease-in-out, max-height .25s ease-in-out, opacity .25s ease-in-out, visibility 0s linear .25s;
    -webkit-transition: width .25s ease-in-out, max-height .25s ease-in-out, opacity .25s ease-in-out, visibility 0s linear .25s;
}
.pic:hover .pic-desc {
    opacity: 100%;
    height: max-content;
    transition: width .25s ease-in-out, max-height .25s ease-in-out, opacity .25s ease-in-out, visibility 0s linear .25s;
    -moz-transition: width .25s ease-in-out, max-height .25s ease-in-out, opacity .25s ease-in-out, visibility 0s linear .25s;
    -webkit-transition: width .25s ease-in-out, max-height .25s ease-in-out, opacity .25s ease-in-out, visibility 0s linear .25s;
}
.picture {
    overflow: hidden;
    width: 177px;
    height: 177px;
    -webkit-transition: 0.25s;
}
.pic-date {
    border-top: 1px dotted var(--white);
    font-weight: bold;
    text-align: center;
    padding: 5px;
    -webkit-transition: 0.25s;
}
.pic:hover .pic-date {
    color: var(--white);
    background-color: var(--darkbrown);
    border-bottom: 1px dotted var(--white);
    -webkit-transition: 0.25s;
}
