.album { margin-bottom: var(--double-margin); &__head { margin-bottom: 1.25em; h3 { font-size: var(--biggest-font-size); text-align: center; } .date { text-align: center; color: #aaa; } a { color: var(--dark-color); border-bottom: none; } } &__body{ img { max-width: 100%; max-height: 40em; display: block; margin: 1.25em auto var(--small-margin); } p{ margin-bottom: 1.25em; } } } @media (max-width: var(--mobile-width)) { .album { &__body { img { max-height: 20em; } } } }