/* Mobile-first design. Media queries for larger displays */
:root {
    --off-white: #FFFFFE;
    --light-grey: #777776;
    --grey: #595A59;
    --red: #D71629;
}

ul {
	list-style-type: none;
}

/* Header */

header {
    margin: auto;
    width: 83.33333%;
    display: flex;
    justify-content: space-around;
}

h1 a:hover {
    color: var(--off-white);
}

nav {
    flex-basis: 66.6667%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 0.9em;
}

nav a {
    text-align: center;
    flex-basis: 20%;
    margin-left: 1em;
}

/* Landing Page */

a:has(> img.coverPic) {
	display: inline-block;
	vertical-align: top;
	width: 50%;
}

a:has(> img.coverPic):hover {
	cursor: pointer;
}

a:has(> img.coverPic) h4 {
	text-align: center;
}

img.coverPic {
	width: 100%;
	height: 100%;
	padding: 5%;
	transition: padding 0.2s ease-in;
}

img.coverPic:hover {
	padding: 2%;
}

/* Gallery */

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.9em;
    justify-content: space-around;
}

.thumb-cell {
    flex-basis: 22%;
    margin: 1em 0;
}

.thumb-cell a {
    display: flex;
    height: 100%;
}

.thumb-cell a img {
    display: block;
    max-height: 180px;
    max-width: 180px;
    margin: auto;
    vertical-align: middle;
}

/* Other */

section {
    margin: auto;
    width: 83.33333%;
}

a {
    color: var(--off-white);
    text-decoration: none;
}

img {
    padding: 0;
}

.caption {
    display: block;
    margin-bottom: 20px;
}

.arrow-wrapper {
    padding-top: 15%;
}

.arrow {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    margin: 0;
}

.left {
    border-right: 30px solid var(--light-grey);
    position: absolute;
    right: 10px;
}

.right {
    border-left: 30px solid var(--light-grey);
    position: absolute;
    left: 10px;
}

body {
    background: var(--grey);
    color: var(--off-white);
}

.red,
.artists,
a:hover {
    color: var(--red);
    text-decoration: none;
}


.just-one-pic {
    display: inline-block;
    vertical-align: middle;
    float: none;
    margin: 1em 0;
}

.just-one-pic img {
    display: block;
    max-height: 500px;
    max-width: 400px;
    margin: auto;
    vertical-align: middle;
}

#artist-list a {
    font-size: 1.5em;
    line-height: 1.7em;
}

h2 {
    margin-top: 0;
}

h5 {
    margin-bottom: 2em;
}

footer {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media ( max-width: 768px ) {
    .arrow-wrapper {
	display: none; 
    }
}

#show-pic {
    max-height: 500px;
}

