/* ========================================
   ROOT VARIABLES
======================================== */

:root {
    --body-font: Helvetica, Garamond, Tahoma, Verdana, sans-serif;
    --heading-font: Georgia, Helvetica, Garamond, Tahoma, Verdana, sans-serif;

--color-text: #180E17;
--color-mauve-shadow: #5B4D5C; /* (strong, h1) */
--color-violet: #5f4962; /* (link, hover bg, h2) */
--color-silver: #B3AAA6; /* (hover) */
--color-shadow-grey: #382F39; /* (em) */
--color-snow: #FBF9FB; /* (bg color, h4 tex) */
--color-rosy-granite: #8C7F86; /* (h4 bg, h3)
 */


    --wrapper-width: 950px;
}


/* ========================================
   BODY
======================================== */

body {
    width: 100%;

    font-family: var(--body-font);
    font-size: 16px;
    line-height: 24px;
    text-align: justify;

    color: var(--color-text);

    background-color: var(--color-snow);
    background-image: url(bg.png);
    background-position: center;
}


/* ========================================
   WRAPPER
======================================== */

#wrapper {
    width: 100%;
    max-width: var(--wrapper-width);

    margin: 0 auto;
    padding: 0;

    background-color: var(--color-snow);
    background-image: url(content-bg.png);
}


/* ========================================
   HEADER
======================================== */

#header,
#menu,
#headerimg,
#content,
#footer {
    position: relative;
}

#header {
    padding: 0;
}


/* ========================================
   NAVIGATION MENU
======================================== */

#menu ul {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 90%;
    margin: 0 auto;
    padding: 0;
}

#menu ul li {
    margin: 20px 0 10px;

    list-style: none;
    text-align: center;
}

#menu ul li a {
    padding: 5px;

    font-size: 24px;
    font-style: italic;
    text-transform: lowercase;
    text-decoration: none;

    color: var(--color-violet);
    transition: 0.2s ease;
}

#menu ul li a:hover {
    color: var(--color-silver);
    background-color: var(--color-violet);
}


/* ========================================
   HEADER IMAGE
======================================== */

#headerimg {
    width: 100%;
    max-width: 900px;
    height: 420px;

    margin: 0 auto;

    background-image: url(header.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* ========================================
   CONTENT
======================================== */

#content {
    width: 95%;
    margin: 0 auto;
    padding: 0;
}


/* ========================================
   HEADINGS
======================================== */

.title,
h1,
.title2,
h2,
.title3,
h3,
.title4,
h4 {
    width: 100%;

    font-family: var(--heading-font);
    font-weight: normal;
}

.title,
h1 {
    margin: 10px 0 0;
    padding: 0;

    font-size: 36px;
    line-height: 42px;
    text-align: center;
    font-style: italic;
    letter-spacing: 14px;
    text-transform: lowercase;

    color: var(--color-mauve-shadow);
    border-bottom: 1px dashed var(--color-gray);
}

.title2,
h2 {
    margin: 0;
    padding: 10px 0;

    font-size: 18px;
    line-height: 20px;
    text-align: right;
    font-style: italic;
    letter-spacing: 10px;
    text-transform: uppercase;

    color: var(--color-violet);
}

.title3,
h3 {
    margin: 20px 0 0;
    padding: 0;

    font-size: 16px;
    line-height: 18px;
    text-align: left;
    font-style: italic;
    letter-spacing: 10px;
    text-transform: lowercase;

    color: var(--color-rosy-granite);
}

.title4,
h4 {
    margin: 5px 0 15px;
    padding: 10px 0 0;

    font-size: 10px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 15px;
    text-transform: uppercase;

    color: var(--color-snow);
    background-color: var(--color-rosy-granite);
    border-bottom: 3px solid #ffffff;
}


/* ========================================
   LINKS
======================================== */

a {
    font-family: var(--heading-font);
    font-size: 16px;
    font-style: italic;

    color: var(--color-violet);
    text-decoration: none;

    transition: 0.2s ease;
}

a:hover {
    text-decoration: underline;

    color: var(--color-silver);
    background-color: var(--color-violet);
}


/* ========================================
   TEXT STYLES
======================================== */

strong,
b {
    color: var(--color-mauve-shadow);
}

em,
i {
    color: var(--color-shadow-grey);
}


/* ========================================
   FORMS / INPUTS
======================================== */

input,
textarea,
select,
option,
code {
    padding: 5px 10px;

    font-family: var(--heading-font);
    font-size: 16px;
    font-style: italic;

    color: var(--color-text);

    border: 1px dashed var(--color-rosy-granite);
}

textarea {
    display: block;

    width: 60%;
    margin: 20px auto;

    text-align: center;
}


/* ========================================
   CODE BLOCKS
======================================== */

p.codes,
p.icons {
    text-align: center;
}

textarea.codes {
    height: 100%;
    padding: 20px;
}


/* ========================================
   FIELDSETS
======================================== */

fieldset {
    margin: 0 0 12px;
    padding: 2px;

    border: 0;
}

fieldset label {
    float: left;
    width: 25%;
}

fieldset input.input1,
fieldset select,
fieldset option {
    float: left;

    width: 48%;
    margin: 0 1%;
}

fieldset legend {
    width: 100%;

    font-weight: bold;
    border-bottom: 1px solid #ffffff;
}


/* ========================================
   LISTS
======================================== */

#content ul {
    padding: 0 0 5px 100px;
}

#content ul li {
    padding-top: 10px;

    list-style-type: circle;
}

#content ol li {
    padding: 3px 0;
}


/* ========================================
   FOOTER
======================================== */

#footer {
    margin: 20px 0;
    padding: 0;

    text-align: center;
}


/* ========================================
   CHARACTER CARDS
======================================== */

.character {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 450px;
    min-height: 140px;

    margin: 0 auto;
    padding: 10px;

    text-align: center;

    background-color: var(--color-snow);
}

.characterpic {
    width: 25%;

    text-align: center;
}

.charactername {
    width: 70%;
    margin-top: 10px;

    text-align: center;
}

.charpic {
    margin: 10px 0 0 10px;

    border: 7px solid var(--color-violet);
}


/* ===== Discography Section ===== */

.album {
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ccc;
}

.album h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #222;
}

/* ===== Table Layout ===== */

.discography-table {
    width: 100%;
    border-collapse: collapse;
}

.discography-table td {
    padding: 10px;
    vertical-align: top;
}

/* ===== Album Cover ===== */

.album-cover {
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-list {
    vertical-align: top;
}
.disco {
    width: 200px;
    height: 200px;
    object-fit: cover;

    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    transition: transform 0.3s ease;
}

.disco:hover {
    transform: scale(1.03);
}

.discography-table td {
    vertical-align: top;
}
/* ===== Track List ===== */

.discography-table ol {
    margin: 0;
    padding-left: 20px;
}

.discography-table li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* ===== Album Details ===== */

.discography-table strong {
    color: #111;
}

.discography-table em {
    color: #555;
    font-style: italic;
}

/* ===== Responsive Design ===== */

@media (max-width: 768px) {

    .discography-table,
    .discography-table tr,
    .discography-table td {
        display: block;
        width: 100%;
    }

    .album-cover {
        width: 100%;
        text-align: center;
    }

    .disco {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .discography-table ol {
        margin-top: 20px;
    }
}