* {
    margin: 0; 
    padding: 0; 
    border: 0; 
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}
            
body {
    background-color: #121212;
    color: #EAEAEA;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 8px; 
    font-size: 10pt;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    text-align: center;
    font-family: "Boldonse", impact, sans-serif;
    letter-spacing: .2em;
    padding: 20px 10px;
}

main {
    flex: 1;
}

nav {
    border: 2px solid #28396C;
    background-color:#8A2BE2;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px
}

nav a {
    display: block;
    padding: 10px 14px;
    background-color: #fff;
    border-radius: 6px;
    color: #121212;
}

a {
    color: #121212;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #1DB954
}

section {
    padding: 8px 12px;
    margin-top: 12px;
    color: #1DB954;
}

footer {
    background-color: #8A2BE2;
    margin-top: 40px;
    text-align: center;
    width: 100%;
    padding: 8px 24px;
}

footer a {
    color:#3EA6FF;
}

footer cite {
    font-size: 10pt; line-height: 1.5;
}

.photoArray {
    display: flex;
    flex-flow: row wrap; 
    justify-content: space-around;
}

.photoArray figure {
    flex: 0 0 auto;
    width: 300px; aspect-ratio: 1;
    background-size: cover
}

.photoArray figure:nth-child(1) {
    background-image: url(../images/v-turntable1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 2px 2px 5px #8A2BE2;
    background-position: center;
}

.photoArray figure:nth-child(2) {
    background-image: url(../images/ipod.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 2px 2px 5px #8A2BE2;
    background-position: center;
}

.photoGallery {
    padding: 24px;
    text-align: center;
}

.photoGallery h2 {
    margin-bottom: 20px;
    color: #1DB954;
}

.photoGallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.photoGallery figure {
    width: min(100%, 260px);
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 8px #8A2BE2;
}

.photoGallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.photoGallery figcaption {
    padding: 12px;
    font-size: 0.9rem;
    color: #EAEAEA;
}

/* Tablets */
@media (max-width:900px) {

    body {
        font-size: 1rem;
    }

    header {
        letter-spacing: .15em;
    }

    .photoArray figure {
        width: 220px;
    }

    footer {
        position: relative;
    }
}

/* Phones */
@media (max-width: 600px){

    body {
        padding: 0;
    }

    header {
        padding: 16px;
        letter-spacing: .08em;
    }

    h1 {
        font-size: 1.4rem;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        width: 90%;
        text-align: center;
    }

    .photoGallery {
        padding: 16px;
    }

    .photoGallery img {
        height: auto;
    }

    footer {
        padding: 16px
    }
}

.musicTable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
}

.musicTable th,
.musicTable td {
    border: 2px solid #444;
    padding: 12px;
    text-align: center;
}

.musicTable a {
    color: #0056b3;
    text-decoration: none;
}

.musicTable a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .musicTable {
        font-size: 0.9rem;
    }

    .musicTable th,
    .musicTable td {
        padding: 8px;
    }
}

.musicTable {
    width: 100%;
    table-layout: fixed;
}

.musicTable td,
.musicTable th {
    padding: 12px;
    word-wrap: break-word;
}