/* ------------------------------
   FONT IMPORT
------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Carattere&display=swap');




/* ------------------------------
   VARIABLES
------------------------------ */

:root {
    --heading-font: georgia, serif;
    --body-font: trebuchet ms;
    --nav-font: "Domine", serif;

    --accent: #cf5147;
    --accent-light: #f0eee9;

    --links: #9ca712;
    --text: #292526;
    --muted: #777;
    --background: #fff;

    --brown: #352628;
    --green: #8b922e;
    --cream: #f5f3ee;
    --warm-gray: #e9e7e2;
}

/* ------------------------------
   BASIC
------------------------------ */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;

    font-family: var(--body-font);
    color: var(--text-color);

    background-image: url('bg.jpg');
}

::selection { 
    background: #292526;
    color: #ccc;
}
/* ------------------------------
   MAIN CONTAINER
------------------------------ */

.container {
    width: min(1024px, calc(100% - 40px));
    height: 720px;

    display: grid;
    grid-template-columns: 40% 60%;

    overflow: hidden;

    background: #fff;

    border: 2px solid #fff;
    border-radius: 20px;

    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.19),
        0 6px 6px rgba(0, 0, 0, 0.23);
}


/* ------------------------------
   IMAGE
------------------------------ */

.image {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ------------------------------
   RIGHT SIDE
------------------------------ */

.right {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}


/* ------------------------------
   NAVIGATION
------------------------------ */
.navigation {
    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;

    padding: 28px 30px 22px;

    font-family: var(--nav-font);

    border-bottom: 1px dotted #ccc;
}

.navigation a {
    position: relative;
    min-width: 80px;
    text-align: center;
    color: #555;
    text-decoration: none;
    font-style: italic;


    font-size: 0.94rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    padding: 6px 12px;

    border: 1px solid white;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
		letter-spacing 0.2s ease;
}

/* space between links */
.navigation a + a {
    margin-left: 34px;
}

/* separator */
.navigation a + a::before {
    content: "✦";
    color: #c9584f;

    position: absolute;
    right: calc(100% + 13px);
    top: 50%;

    font-size: 0.55rem;

    transform: translateY(-50%);
}

/* hover */
.navigation a:hover {
    border-color: var(--accent);
	border: 1px solid black;
	letter-spacing: 3px;
    font-weight:700;
    background: url(stripe.gif);

}
/* ------------------------------
   CONTENT
------------------------------ */

.content {
    flex: 1;

    min-width: 0;
    min-height: 0;

    padding: 10px 40px 40px;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color: #2D1D21 white;

    line-height: 1.8;
	font-size: 14px;
}

.content a {
     color: #858b27;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: border 0.25s ease;
	padding: 3px 4px;
	border-bottom: 1px dotted transparent;
	border-top: 1px dotted transparent;
	border-right: 1px dotted transparent;
	border-left: 1px dotted transparent;
    font-weight:600;
}

.content a:hover {
	text-decoration: none;
	border: 1px solid #858b27;
	padding: 3px 4px;
}


.content h2::before {
    content: "✦";
    color: var(--accent);
    font-size: 0.45em;
    margin-right: 8px;
    vertical-align: middle;
}

.content h1, h2, h3 {
	font-family: var(--heading-font);
	letter-spacing: -1px;
	font-weight: 800;
	text-transform: uppercase;
    color: #79686a;
    background: url('stripe.gif');
    padding-left: 10px;


}

h1::first-letter {
      font-family: "Carattere", cursive;
      font-size: 1.4em;

}
h1 {
    line-height:170%;
}
.content p {
    margin-top: -1em;
    margin-bottom: 1.2em;
}

strong {
	color: var(--accent);
	font-family: Georgia, 'Times New Roman', Times, serif;
	
}

.text-center {
    text-align: center;
}


blockquote {
    padding: 18px 22px;
    background: var(--accent-light);

    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;

    line-height: 1.6;
}


footer {
    margin-top: 2.8em;
    font-size: 0.8em;
}


.fan-donate-toggle, input[type=text], input[type=password], input[type=url], input[type=email], input[type=file], textarea, select {
    background: var(--cream) !important;
    border: 0;
    color: inherit;
    font-family: inherit;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.fan-donate-toggle {
	display: block;
    width: fit-content !important;
}


.fan-form button[type=submit] {
    padding: 8px 22px;
    background: var(--brown);
    color: #fff;
    font-family: inherit;
    font-size:larger;
}


.fan-success p {
margin-top: 1em !important;
}

.fan-member-list-wrap {
    margin-bottom: 1em !important;
}

.join-field:has(#join_email),
.join-field:has(#join_url) {
    display: inline-block;
    width: calc(50% - 10px);
    vertical-align: top;
    box-sizing: border-box;
}

.join-field:has(#join_email) {
    margin-right: 15px;
}

.join-field:has(#join_email) + br {
    display: none;
}



.fan-size-nav {
    display: none !important;
}

.fan-codes-grid {
    text-align: center;
}

#fan-donate-wrap, .fan-donate-toggle {
    margin: 1.5em 0 2.5em !important;
}

.fan-form {
    margin: 0 0 2.5em;
}



.fan-codes-page img {
    padding: 8px;
    opacity: 0.75;
    background-color: #b7b7b7;
}

.fan-codes-page img:hover {
    padding: 8px;
    opacity: 1;
    background: url(stripe.gif) transparent;

}

.fan-affiliates-page {
    padding: 8px;
    opacity: 0.75;
    background: url(stripe.gif) transparent;
}
.fan-affiliates-page:hover {
    padding: 8px;
    opacity: 1;
    background-color: #b7b7b7;
}
/* ------------------------------
   MOBILE
------------------------------ */

@media (max-width: 800px) {

    body {
        display: block;
        padding: 0;
    }

    .container {
        width: 100%;
        height: auto;
        min-height: 100vh;

        display: flex;
        flex-direction: column;

        border-radius: 0;
        border: 0;
    }

    .image {
        width: 100%;
        height: 350px;
        flex-shrink: 0;
    }

    .right {
        width: 100%;
        min-height: 0;
    }

    .navigation {
        padding: 25px 20px 15px;
        gap: 12px;
        
    }

    .navigation a {
        font-size: 0.72rem;
    }

    .content {
        width: 100%;

        padding: 20px 25px 40px;

        overflow: visible;
    }

    .content h1 {
        font-size: 2rem;
    }
}


@media (max-width: 600px) {
    .join-field:has(#join_email),
    .join-field:has(#join_url) {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    .join-field:has(#join_email) + br {
        display: block;
    }
}