/* herelieslevi */
/* HTML/CSS layout template from https://ribo.zone/free/layouts/ */
/* edited by levi */

/* start light mode styling */
	:root {
		--text: #333;
		--border: #333;
		--accent: #7992ab;
		--bg: #4a637d;
		--gradient-top: white;
		--gradient-bottom: rgb(240, 248, 255, .8);
	}
	header {
		background: url('img/waves.png');
	}
/* end light mode styling */


* { 
	box-sizing: border-box;
	scrollbar-color:  var(--border) var(--gradient-bottom);
}
html {
	overscroll-behavior: none;
}
body {
	padding: 10px;
	font-family: 'HelveticaNeue', bold;
	color: var(--text);

	/* page background */
	background: url('img/church_background.png');
	background-repeat: no-repeat;
   	background-attachment: fixed;
   	background-size: cover;
}


.container {
	max-width: 55rem;
	margin: 5vw auto 12px auto;
	border: 6px solid var(--border);
	outline: 3px solid var(--gradient-top);
	
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-color: var(--gradient-bottom);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradient-bottom) 9px ), repeating-linear-gradient( var(--bg), var(--bg));
}

/* these control the column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }
.third { flex: 1 1 32% }
.twothirds { flex: 1 1 65%}


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 233px; /* change banner height here*/
	border: 2px solid var(--border);
	border-radius: 5px;
	position: relative;
}
header span {
	font-family: QuicksilverItalic;
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
	text-shadow: 1px 1px var(--text),
		-1px 1px var(--text),
		1px -1px var(--accent),
		-1px -1px var(--accent);
	color: var(--gradient-top);
}


nav {
	border: 2px solid var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradient-top),var(--gradient-bottom));
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}

nav h3 {
	text-align: center;
	font-size: 1rem;
}


nav a {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradient-bottom));
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: white;
	font-weight: bold;
}
nav a:hover, nav a:focus {
	background: linear-gradient(to right,var(--bg), var(--gradient-bottom), var(--gradient-top));
	font-weight: bold;
	font-style: italic;
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px solid var(--border);
	border-radius: 5px;
}


section {
	border: 2px solid var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradient-top),var(--gradient-bottom));
	padding: 5px;
}


footer {
	text-align: center;
	margin: 10px auto 5vw auto;
	background-color: white;
	border-radius: 5px;
	width: 400px;
	padding: 5px;
}

footer a { 
	text-decoration: none;
}






@font-face {
	font-family: Montriva;
	src: url('Montriva.ttf');
}

@font-face {
	font-family: QuicksilverItalic;
	src: url('Quicksilver Italic.ttf');
}

@font-face {
	font-family: HelveticaNeue;
	src: url('HelveticaNeue.ttf');
	font-weight: normal;
}

@font-face {
	font-family: HelveticaNeue;
	src: url('HelveticaNeue-Bold.ttf');
	font-weight: bold;
}

@font-face {
	font-family: HelveticaNeue;
	src: url('HelveticaNeue-Italic.ttf');
	font-style: italic;
}

@font-face {
	font-family: HelveticaNeue;
	src: url('HelveticaNeue-BoldItalic.ttf');
	font-style: italic;
	font-weight: bold;
}


h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-family: Montriva;
	font-size: 1.5rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px solid var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
}

h5 {
	font-family: Montriva;
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a {
	color: #333;
}

a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}

#statuscafe {
	padding: .5em;
	background-color: none;
	border: 2px solid #333;
	border-radius: 5px;
}

#statuscafe-username {
	margin-bottom: .5em;
}

#statuscafe-content {
	margin: 0 1em 0.5em 1em;
}

.results {
	text-align: center;
}

.title {
	font-family: HelveticaNeue;
	font-weight: bold;
	border: 0;
}

.updates-scroll {
	overflow: scroll; 
	height: 220px; 
	overflow-x: hidden;
	padding: 10px;
}

.image-1 {
	padding: 10px;
}

.buttons {
	display: flex;
	justify-content: center;
}

.linkme {
	display: flex;
	justify-content: center;
	gap: 5px;
}