/* Option 1: Inter (excellent screen rendering) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
  /* colors */
  --link: #E32A27;
  --link-hover: #1784BC;
  --post: #FFF;
  --post-border: #000;
  --post-hover: #000;
  --post-border-hover: #FFF;
  --tag-off: #FFFFFF;
  --tag-hover: #1784BC;
  --tag-on: #E32A27;
  --quote: #1984BC;
  --quote-border: #75CDF9;
  --yellow: #F3DC2A;
  --green: #24A443;

  /* shape */
  --border-radius: 4px;
}

head { }


body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* body { */
/*   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
/*   -webkit-font-smoothing: antialiased; */
/*   -moz-osx-font-smoothing: grayscale; */
/* } */

h1 {
	margin: auto;
	text-align: center;
}

h2 {
	margin: auto;
	text-align: center;
  font-weight: 600;
}

a {
  color: var(--link);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--link-hover);
}

.centre_body {
	width: 40%;
	min-width: 600px;
	margin: auto;
  margin-top: 45px;
}

img {
	max-height: 400px;
	width: 100%;
	height: auto;
	margin: auto;
	object-fit: contain;
	display: flex;
	cursor: pointer;
}

video {
	margin: auto;
	width: 50%;
	height: 50%;
	cursor: pointer;
}

table {
	margin: auto;
}

.block_hori {
	margin: 3px;
	padding: 2px;
	display: flex;
	flex-direction: row;
	border-bottom: 2px solid lightgreen;
	position: relative;
	gap: 2px;
	align-items: flex-start;
	min-width: 20%;
	min-height: 20%;
}

.block_vert {
	margin: 3px;
	padding: 2px;
	display: flex;
	flex-direction: column;
	position: relative;
	gap: 2px;
	/* align-items: flex-start; */
	min-width: 20%;
	min-height: 20%;
}

.post {
	display: flex;
	flex-direction: row;
	text-overflow: ellipsis;
	justify-content: flex-start;
	flex-wrap: nowrap;
}

.post a {
	display: flex;
	flex-direction: row;
	text-overflow: ellipsis;
	justify-content: flex-start;
	flex-wrap: nowrap;
	background-color: var(--post);
	text-decoration: none;
	color: var(--post-border);
	margin-bottom: 2px;
  padding-left: 5px;
  border-radius: var(--border-radius);
  border: 2px solid var(--post-border);
}

.post a:hover {
	background-color: var(--post-hover);
  border: 2px solid var(--post-border-hover);
	color: var(--post-border-hover);
}

/* .post a:visited { */
/* 	background-color: lightgrey; */
/* } */
/**/
/* .post a:visited:hover { */
/* 	background-color: lightsalmon; */
/* } */

.post img {
	width: 22px;
	height: 22px;
	object-fit: cover;
	margin: 0;
}

.post_name {
	margin-left: 30px;
	margin-right: 30px;
	font-weight: 500;
}

.date {
	font-size: small;
	margin-right: 15px;
	white-space: nowrap;
}

.tags {
	display: flex;
	flex-direction: row;
	gap: 0.5%;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.tag {
	white-space: nowrap;
	height: 100%;
	margin-left: 0.5%;
  padding-left: 5px;
  padding-right: 5px;
	background-color: var(--tag);
  border-radius: var(--border-radius);
}

.toggleDiv {
	cursor: pointer;
  border-radius: var(--border-radius);
  transition: all 0.1s ease;
  padding-left: 5px;
  padding-right: 5px;
}
.toggleDiv.on {
	background-color: var(--tag-on);
  outline: 0px;
  color: #fff;
}
.toggleDiv.on:hover {
	background-color: var(--tag-hover);
}
.toggleDiv.off {
	background-color: var(--tag-off);
  outline: 2px solid #000;
  color: #000;
}
.toggleDiv.off:hover {
	background-color: var(--tag-hover);
}

.image_grid {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 2px;
}

.image_grid img {
	margin: 0;
	width: 20%;
	max-width: 20%;
}

.image_grid_2 {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	flex-direction: row;
	gap: 2px;
}

.image_grid_2 img {
	margin: 0;
	width: 45%;
	max-width: 45%;
}

#focus_img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 9999;
	min-height: 600px;
	max-width: 80%;
    transition: transform 0.1s ease;
	pointer-events: none;
}

#focus_img.show {
    transform: translate(-50%, -50%) scale(1);
}

#focus_video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 9999;
	min-height: 600px;
	max-width: 80%;
    transition: transform 0.1s ease;
	pointer-events: none;
}

#focus_video.show {
    transform: translate(-50%, -50%) scale(1);
}

#title1 {
  font-size: 15px;
  margin-bottom: -30px;
}

#title2 {
  font-size: 40px;
  margin: 10px;
}

#title3 {
  font-size: 40px;
  margin: 10px;
}

.home_nav {
  position: fixed;
  top: 0;
  left: 0;
	display: flex;
  /* gap: 0px; */
	/* flex-direction: row; */
	 justify-content: flex-start;
	/*  align-items: center; */
	/*  gap: 1rem; */
	text-decoration: none;
  color: black;
  margin-left: 10px;
  /* width: 120px; */
  width: 100%;
  background-color: #fff;
}

.home_nav:hover {
  color: var(--link-hover);
}

.home_icon {
  width: 120px;
  height: 120px;
}

.home_icon_small {
  width: 40px;
  height: 40px;
  margin: 0;
}

.home_title {
  text-decoration: none;
  font-weight: 600;
  font-size: 30px;
  width: 75px;
  margin-left: 10px;
  margin-right: 0px;
}

.home_page_banner {
  margin-top: 30px;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: -3.5rem;
  font-weight: 500;
	text-align: center;
}

blockquote {
  font-style: italic;
  color: var(--quote);
  border-left: 3px solid var(--quote-border);
  padding-left: 1rem;
  margin: 1rem 2rem;
}

.text_red {
  color: var(--link);
}

.text_blue {
  color: var(--tag-hover);
}

.text_yellow {
  color: var(--yellow);
}

.text_green {
  color: var(--green);
}

#baseCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}
