/*
 * Alberta Fandom website theme (responsive)
 */

/********** VARIABLES **********/

/*
 * Various definitions for the stylesheet.
 */
:root {
    --tardis-blue: #003b6f;
    --tardis-light: #8badec;
    --light-blue: #9fc0ff;
    --bg-colour: #EDEAE0;
    --header-bg: #f0f0ff;
    --link: #33f;
    --radius-one: 15px;
    --radius-two: 8px;
    --typesize: 14pt;
    --h1-font: 'Merriweather';
    --h2-font: 'Balthazar';
    --drop-font: 'Balthazar';
    --body-font: 'Ubuntu';
    --faq-size: 1em; /* size of container */
    --h1-size: 28pt;
    --h2-size: 23pt;
    --h3-size: 18pt;
    --h4-size: 16pt;
}

/* Small format screens */
@media screen and (max-width: 44.9em) {
    .mobile {
	display: block;
    }
    .notmobile {
	display: none;
    }
    @media screen and (max-width: 23em) {
	.bigger {
	    font-size: 1.15em;
	    font-weight: bold;
	    line-height: 1.5em;
	    margin: 0;
	}
    }
    @media screen and (min-width: 23em) {
	.bigger {
	    font-size: 1.15em;
	    font-weight: bold;
	    line-height: 1.5em;
	    margin: 0;
	}
    }
}

/* Large format screens */
@media screen and (min-width: 45em) {
    .mobile {
	display: none;
    }
    .notmobile {
	display: block;
    }
    .bigger {
	font-size: 1.3em;
	font-weight: bold;
	line-height: 1.5em;
	margin: 0;
    }
}

h1 {
    font: var(--h1-size) var(--h1-font);
    color: var(--tardis-blue);
    text-align: center;
    margin: 0;
}
.h1box {
    border: 2px solid var(--tardis-blue);
    border-radius: 10px;
    corner-shape: scoop;
    background-color: var(--tardis-light);
    width: fit-content;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    font: var(--h2-size) var(--h1-font);
    color: var(--tardis-blue);
    text-align: left;
    margin-top: 1em;
}

h3 {
    font: var(--h3-size) var(--h1-font);
    font-weight: bold;
    color: var(--tardis-blue);
    text-align: left;
    text-transform: uppercase;
    margin-top: 1em;
    margin-bottom: 0;
    width: fit-content;
}

p {
    font: var(--typesize) var(--body-font);
    text-indent: 1.5em;
    margin-bottom: 0;
    padding-bottom: 0.var(--typesize); /* in case there's an anchor on the last line */
    margin-top: 0.1em; /* slight gap between paragraphs */
    hyphens: auto;
    color: var(--tardis-blue);
    line-height: 1.2em;
}

p.scene {
    text-indent: 0;
    hyphens: auto;
}

li {
    font: 14pt var(--body-font);
}

/* Anchors */

a.img:link {
    color: var(--link);
    font-weight: bold;
    text-decoration: none;
    border: 0;
}

a.img:hover, a.img:focus {
    color: black;
    font-weight: bold;
    text-decoration: none;
//    border: 2px dotted black;
}

a:link {
    color: var(--link);
    font-weight: bold;
    text-decoration: none;
    padding-left: 2px;
    padding-right: 2px;
    border-bottom: 3px solid var(--link);
    line-height: 1.5em;
}

a:hover, a:focus {
    color: var(--link);
    font-weight: bold;
    text-decoration: none;
    padding: 0;
    border: 2px solid var(--tardis-blue);
    border-bottom: 3px solid var(--link);
    line-height: 1.5em;
}

/* various styling classes */
.noindent {
    text-indent: none;
    margin: 0;
    padding: 0;
}
.centre {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.plain {
    border: none;
}

.flourish {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5em;
    margin-bottom: var(--typesize);
    background: transparent;
    border: 0;
    box-shadow: none;
    width: 206px;
}

.blog-date {
    font: 12pt var(--body-font);
    color: var(--tardis-blue);
    text-indent: 0;
    text-align: center;
    margin: 0;
    padding: 4px;
    border: 1px var(--tardis-blue) solid;
    border-radius: 5px;
    background-color: var(--light-blue);
    width: fit-content;
}

.privacy {
    font-weight: bold;
}

.wrapper {
    display: grid;
    grid-template-columns: repeat(3, 33%);
}
