/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.4;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/***********************************************************************************
 * VARIABLES                                                                       *
 ***********************************************************************************/
:root {
    /* Space Variables */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  12px;
    --space-lg:  16px;
    --space-xl:  24px;
    --space-2xl: 32px;
    --space-3xl: 56px;

    /* Color Variables */
    --color-main-text:        rgb(240, 239, 237);
    --color-main-background:   rgb(25, 25, 25);
    --color-main-accent:      rgb(56, 56, 54);
    --color-secondary-accent: rgb(38, 61, 48);

    /* Typography Variables */
    --type-heading: "Trebuchet MS", sans-serif;
    --type-body:    Georgia, serif;

    /* Font Size Variables */
    --font-caption:          12px;
    --font-body:             16px;
    --font-section-subtitle: 20px;
    --font-section-title:    24px;
    --font-main-title:       32px;
}

/***********************************************************************************
 * BODY STYLES                                                                     *
 ***********************************************************************************/
body {
  background-color: rgb(25, 25, 25);
  color: rgb(240, 239, 237);
  font-family: var(--type-body);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-size: var(--font-body);
}
a {
    color: rgb(240, 239, 237);
}
.inner-container {
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
    padding: 0 var(--space-3xl);
    margin: 0 auto;
}
strong {
    font-weight: 700;
}
em {
    font-style: italic;
}

@media screen and (max-width: 600px) {
    .inner-container {
        padding: 0 var(--space-xl);
    }
}

/***********************************************************************************
 * BODY HEADER STYLES                                                              *
 ***********************************************************************************/
body > header {
    width: 100%;
    background-color: var(--color-secondary-accent);
    padding: var(--space-lg) 0;
}
body > header nav ul {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
body > header nav ul li {
    padding: var(--space-sm) var(--space-md);
    border-radius: 8px;
}
body > header nav ul li.selected-nav {
    background-color: var(--color-main-background);
}
body > header nav ul a {
    text-decoration: none;
    font-family: var(--type-heading);
}

/***********************************************************************************
 * MAIN STYLES                                                                     *
 ***********************************************************************************/
main {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

@media screen and (max-width: 600px) {
    main {
        padding-top: var(--space-xl);
    }
}

/***********************************************************************************
 * MAIN HEADER STYLES                                                              *
 ***********************************************************************************/
main > header.inner-container {
    margin-bottom: var(--space-3xl);
}
main > header h1 {
    font-family: var(--type-heading);
    font-size: var(--font-main-title);
}
main > header blockquote {
    background-color: var(--color-main-accent);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
    border-left: 4px solid var(--color-secondary-accent);
}

/***********************************************************************************
 * MAIN CONTENT STYLES                                                             *
 ***********************************************************************************/
main > .main-content-wrapper {
    display: flex;
}
main > .main-content-wrapper header.article-header {
    background-color: var(--color-main-accent);
    padding: var(--space-md) var(--space-lg);
    text-transform: uppercase;
    font-size: var(--font-section-title);
    font-family: var(--type-heading);
    border-radius: 8px;
    margin: var(--space-2xl) 0 var(--space-lg);
}
main > .main-content-wrapper section article p,
main > .main-content-wrapper section article h3,
main > .main-content-wrapper section article h4,
main > .main-content-wrapper section article h5,
main > .main-content-wrapper section article h6 {
    margin-bottom: var(--space-lg);
}
main > .main-content-wrapper section article h3 {
    font-size: var(--font-section-subtitle);
    font-weight: 700;
    text-decoration: underline;
}
main > .main-content-wrapper section article h4,
main > .main-content-wrapper section article h5,
main > .main-content-wrapper section article h6 {
    font-weight: 700;
    font-style: italic;
}
main > .main-content-wrapper section article .icon-list {
    list-style-type: circle;
    margin-left: var(--space-xl);
}
main > .main-content-wrapper section article .icon-list li:not(:last-child) {
    margin-bottom: var(--space-xs);
}
main > .main-content-wrapper .filled-article {
    background-color: var(--color-main-accent);
    padding: var(--space-lg) var(--space-xl);
    border-radius: 8px;
    margin-top: var(--space-2xl);
}
main > .main-content-wrapper .filled-article h2 {
    text-transform: uppercase;
    font-size: var(--font-section-title);
    font-family: var(--type-heading);
}
main > .main-content-wrapper > section.left-content {
    width: 25%;
    flex-shrink: 0;
}
main > .main-content-wrapper > .secondary-content-wrapper {
    width: 75%;
    display: flex;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content {
    flex-grow: 1;
    margin: 0 var(--space-3xl);
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content {
    width: calc(100% / 3);
    flex-shrink: 0;
}

/* MOBILE LAYOUT */
@media screen and (max-width: 1439px) {
    main > .main-content-wrapper > section.left-content {
        width: 375px;
    }
    main > .main-content-wrapper > .secondary-content-wrapper {
        flex-grow: 1;
        flex-direction: column;
        margin-left: var(--space-3xl);
        gap: var(--space-xl);
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content {
        margin: 0;
        width: 100%;
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.right-content {
        width: 100%;
    }
}
@media screen and (max-width: 917px) {
    main > header.inner-container {
        margin-bottom: var(--space-2xl);
    }
    main > .main-content-wrapper > section.left-content {
        width: calc(40% - (var(--space-2xl) / 2));
    }
    main > .main-content-wrapper > .secondary-content-wrapper {
        width: calc(60% - (var(--space-2xl) / 2));
        margin-left: var(--space-2xl);
    }
}
@media screen and (max-width: 917px) {
    main > .main-content-wrapper {
        flex-direction: column;
        gap: var(--space-xl);
    }
    main > .main-content-wrapper > section.left-content {
        width: 100%;
    }
    main > .main-content-wrapper > .secondary-content-wrapper {
        width: 100%;
        margin-left: 0;
    }
}


/***********************************************************************************
 * LEFT CONTENT STYLES                                                             *
 ***********************************************************************************/
main > .main-content-wrapper > section.left-content .content-nav {
    margin-bottom: var(--space-2xl);
    border-top: 1px solid var(--color-main-accent);
    border-bottom: 1px solid var(--color-main-accent);
}
main > .main-content-wrapper > section.left-content .content-nav .toggle-content-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    background-color: unset;
    border: none;
    color: var(--color-main-text);
    font-size: var(--font-body);
    padding: var(--space-sm) var(--space-lg);
    cursor: pointer;
}
main > .main-content-wrapper > section.left-content .content-nav .toggle-content-nav i.fa-list {
    margin-right: var(--space-sm);
}
main > .main-content-wrapper > section.left-content .content-nav .toggle-content-nav i.fa-chevron-down {
    transition: transform 0.15s ease-out;
}
main > .main-content-wrapper > section.left-content .content-nav .toggle-content-nav i.fa-chevron-down.reverse {
    transition: transform 0.3s ease-in-out;
    transform: rotate(180deg);
}
main > .main-content-wrapper > section.left-content .content-nav nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.15s ease-out;
}
main > .main-content-wrapper > section.left-content .content-nav nav.expanded {
    max-height: 1000px;
    transition: max-height 0.3s ease-in-out;
}
main > .main-content-wrapper > section.left-content .content-nav nav ul ul {
    margin-left: var(--space-xl);
}
main > .main-content-wrapper > section.left-content .content-nav nav li a {
    display: block;
    text-decoration: none;
    padding: var(--space-sm) var(--space-lg);
    border-top: 1px solid var(--color-main-accent);
}
main > .main-content-wrapper > section.left-content img {
    width: 100%;
}
main > .main-content-wrapper > section.left-content table {
    width: 100%;

}
main > .main-content-wrapper > section.left-content table td {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-main-accent);
}
main > .main-content-wrapper > section.left-content table td:first-child {
    background-color: var(--color-secondary-accent);
}

/***********************************************************************************
 * MIDDLE CONTENT STYLES                                                           *
 ***********************************************************************************/
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content article:first-child header {
    margin-top: 0;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li {
    padding: var(--space-sm) var(--space-md);
    box-sizing: border-box;
    width: calc(100% / 3);
    border: 1px solid var(--color-main-accent);
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content #gallery header.article-header {
    margin-bottom: 0;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container {
    padding-top: var(--space-lg);
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container:nth-of-type(even) {
    box-sizing: border-box;
    padding-left: calc(var(--space-lg) / 2);
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container:nth-of-type(odd) {
    box-sizing: border-box;
    padding-right: calc(var(--space-lg) / 2);
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container img {
    width: 100%;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container p {
    margin: 0;
    font-size: var(--font-caption);
}

@media screen and (max-width: 999px) and (min-width: 919px) {
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container:nth-of-type(even) {
        padding-left: 0;
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container:nth-of-type(odd) {
        padding-right: 0;
    }
}
@media screen and (min-width: 550px) {
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li:not(:nth-child(3n)):not(:last-child) {
        border-right: none;
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li:not(:nth-child(3n)):last-child {
        width: calc((100% / 3) + 1px);
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li:nth-child(n + 4) {
        border-top: none;
    }
}
@media screen and (max-width: 549px) {
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container:nth-of-type(even) {
        padding-left: 0;
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .gallery-container div.image-container:nth-of-type(odd) {
        padding-right: 0;
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li {
        width: calc(100% / 2);
    }
}
@media screen and (max-width: 549px) and (min-width: 401px) {
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li:nth-child(odd):not(:last-child) {
        border-right: none;
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li:nth-child(odd):last-child {
        width: calc((100% / 2) + 1px);
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li:nth-child(n + 3) {
        border-top: none;
    }
}
@media screen and (max-width: 400px) {
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li {
        width: 100%;
    }
    main > .main-content-wrapper > .secondary-content-wrapper > section.middle-content .traits-list li:not(:first-child) {
        border-top: none;
    }
}
/***********************************************************************************
 * RIGHT CONTENT STYLES                                                            *
 ***********************************************************************************/
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #spotify header {
    margin-top: 0;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #family .family-section-toggle {
    background-color: unset;
    border: none;
    margin: 0;
    padding: var(--space-lg) 0 0;
    font-size: var(--font-section-subtitle);
    font-family: var(--type-heading);
    color: var(--color-main-text);
    cursor: pointer;
    text-align: left;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #family .family-section-toggle .fa-caret-right {
    margin-right: var(--space-sm);
    transition: transform 0.15s ease-out;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #family .family-section-toggle .fa-caret-right.expanded {
    transition: transform 0.2s ease-in-out;
    transform: rotate(90deg);
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #family div.family-member-info {
    margin-bottom: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.15s ease-out;
    padding: var(--space-sm) 0 0;
    box-sizing: border-box;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #family div.family-member-info p:last-child {
    margin-bottom: 0;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #family div.family-member-info.visible {
    max-height: 1000px;
    transition: max-height 0.3s ease-in-out;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #family section:last-child div.family-member-info.visible p {
    margin-bottom: var(--space-sm);
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #reference img {
    width: 100%;
    margin: var(--space-lg) 0;
}
main > .main-content-wrapper > .secondary-content-wrapper > section.right-content #reference a {
    display: block;
}