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

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

    --color-text: #727272;
    --color-dark: #3b3b3b;

    --color-bg: #e5e1d5;
    --color-wrapper: #fcfaf3;

    --color-green: #738273;
    --color-pink: #da9dab;
    --color-brown: #a18c77;
    --color-plum: #5b2d3c;

    --color-white: #ffffff;

    --wrapper-width: 900px;
    --header-width: 850px;

    --transition: 0.2s ease;
}


/* ========================================
   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-bg);
    background-image: url(bg.png);
}


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

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

    margin: 0 auto;
    padding: 0;

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


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

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

#header {
    padding: 0;
}


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

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

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

    list-style: none;
}

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

    text-align: center;
}

#menu ul li a {
    padding: 0;

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

    color: var(--color-green);

    border: 0;

    transition: var(--transition);
}

#menu ul li a:hover {
    color: var(--color-wrapper);

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


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

#headerimg {
    width: 100%;
    max-width: var(--header-width);
    height: 340px;

    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-pink);

    border-bottom: 1px dashed var(--color-pink);
}

.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-green);
}

.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-brown);
}

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

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

    color: var(--color-wrapper);

    background-color: var(--color-green);
    border-bottom: 3px solid var(--color-white);
}


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

a {
    font-family: var(--body-font);
    font-size: 16px;
    font-style: italic;
    text-decoration: none;

    color: var(--color-plum);

    transition: var(--transition);
}

a:hover {
    color: var(--color-brown);

    text-decoration: none;
}


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

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

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


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

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

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

    color: var(--color-dark);

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

textarea {
    display: block;

    width: 70%;
    margin: 20px auto;

    text-align: center;
}

.show_join_comments textarea,
#comments {
    width: 30%;
    margin: 0;
}

.show_lostpass_submit_button {
    padding: 0 10px;

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


/* ========================================
   CODE / ICONS
======================================== */

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 var(--color-white);
}


/* ========================================
   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;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {
    #menu ul {
        flex-direction: column;
        gap: 10px;
    }

    #headerimg {
        height: 240px;
    }

    textarea {
        width: 90%;
    }

    .title,
    h1 {
        font-size: 28px;
        letter-spacing: 6px;
    }

    .title2,
    h2,
    .title3,
    h3 {
        letter-spacing: 4px;
    }

    .title4,
    h4 {
        letter-spacing: 6px;
    }
}