@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto Condensed', sans-serif;
}

a, .page-link {
    color: rgb(52, 52, 52);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #000;
}

strong {
    font-weight: 600;
}

.form-control:focus, .page-link:focus, .btn.focus, .btn:focus {
    box-shadow: none !important;
}

#search-form .form-control:focus {
    z-index: unset;
}

.photo-list {
    display: flex;
    flex-wrap: wrap;
    margin: -.5rem;
}

.photo-item {
    padding: .25rem;
}

.photo-item .preview {
    position: relative;
    padding-top: 100%;
    background: #F6F6F6;
}

.photo-item .thumbnail {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition: opacity .1s;
}

.photo-item .thumbnail .centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translate(50%, 50%);
}

.photo-item img {
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.photo-item .landscape img {
    max-height: 100%;
    max-width: unset;
}

.photo-item .portrait img {
    max-width: 100%;
    max-height: unset;
}

@media (max-width: 767px) {
    .photo-list {
        margin: -.625rem;
    }

    .photo-item {
        padding: .125rem;
    }
}
