/* imports */
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

@import url('https://fonts.googleapis.com/css2?family=Delicious+Handrawn&display=swap');

:root {
    --color-primary: rgb(141, 37, 37);
    --color-secondary: #ac7335;
    --color-tertiary: COLOR TERTIARY;
    --text-color: #000;
}

body {
    color: TEXT COLOR;
}

body.theme-dark {
    --color-primary: PRIMARY COLOR;
    --color-secondary: SECONDARY COLOR;
}

a, a:hover, a:visited { color: var(--color-primary);}
a:hover { text-decoration: none; }

#footer {
    background-color: var(--color-primary);
    color: var(--color-secondary)
}

::-moz-selection {
    color: #fff;
    background: var(--color-secondary);  /* Code for Firefox */
}

::selection {
    color: #fff;
    background: var(--color-secondary);
}

@media only screen and (max-width: 768px) {

	.images-with-text {
		grid-template-columns: auto;
		grid-template-rows: auto;
	}

	#footer {
		height: auto;
		flex-flow: column wrap;
		justify-content: center;
		padding-top: 1%;
		padding-bottom: 1%;
		gap: .7vw;
	}

    h1 {text-align: center; font-size: 36px; }
	
	.my-gallery-img {
		width: 95%;
		height: auto;
	}

	.table-th-horizontal {
		display: none;
	}
}

@media only screen and (min-width: 768px) {
	.table-th-vertical {
		display: none;
	}
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
    font-size: 12.5px;
}

body {
	font-family: 'Alegreya Sans', sans-serif;
}

#page-container {
	position: relative;
	min-height: 100vh;
}

#content-wrap {
	padding-bottom: 5.5rem;
	/* footer height; DON'T FORGET TO CHANGE; see #footer */
}

#header {
	position: absolute;
	top: 0;
	width: 100vw;
	height: 6.5rem;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-around;
	font-size: 2.6rem;
	border-bottom: 1px solid black;
}

.nav-link {
	color: #000;
}

.navbar-brand {
	font-family: 'Delicious Handrawn', cursive;
	color:rgb(141, 37, 37)!important;
	font-size: 32px!important;
}

#header a:hover {
	color:rgb(141, 37, 37)!important;
}

#header a:visited {
	color:#000;
}

.active {
    font-weight: bold;
    color: rgb(141, 37, 37)!important;
}

main {
	margin-bottom: 75px;
}

.divider {
	height: 6.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: rgb(141, 37, 37);
}

h1 {
	margin-bottom: 20px;
}

h2 {
	font-size: 23px;
}

div p {
	line-height: normal;
}

p {
    font-size: 1.5rem;
}

fieldset, legend {
    all: revert;
    border-radius: 8px;
    padding: 1.2%;
    margin: .2%;
    font-size: 1.5rem;
}

fieldset p {
    text-align: center;
	font-size: 1.7rem;
}

label {
	display: inline;
    font-size: 1.7rem;
    /* padding-left: .8%; */
    font-weight: bold;
}

input, textarea {
	/* outline: none; */
	box-shadow: none !important;
	font-size: 1.7rem!important;
}

.input-group-text {
	font-size: 1.rem;
}


input:focus, textarea:focus {
	border: 1.7px solid #b78b54!important;
	font-weight: bold;
}

fieldset {
	font-size: 1.5rem;
}

.my-btn {
    background-color: rgb(141, 37, 37);
    color: #fff;
	transition: .5s;
	letter-spacing: 1px;
	font-size: 1.7rem;
}

.my-btn:hover {
    background-color: #ac7335;
    color: #fff;
}

#main-content {
    padding-top: 9.5rem;
    /* padding-bottom: 2rem; */
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    font-size: 1.3rem;
}

table td, table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.table th, .table td {
	color: black;
}


table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #ddd;
}

table th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: rgb(141, 37, 37);
    color: white;
	font-weight: lighter;
}

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

.my-gallery-a {
	margin: 15px;
	display: inline-block;
	transition: .35s;
	border: solid white;
}

.my-gallery-a:hover {
	border: solid;
}

.my-gallery-img
{
	object-fit: cover;
	width: 350px!important;
	height: 250px!important;

}

#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 6.5rem;            /* footer height; DON'T FORGET TO CHANGE; see #content-wrap */
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-around;
	font-size: 1.37rem; /* 1.3rem recommended */
	text-align: center;
	z-index:999;
}

#footer div {
  color: #fff;
}

footer a, footer a:visited {text-decoration: none; color: #fff;}
footer a:hover, footer a:visited {text-decoration: underline; color: #fff}
