@import 'default.css';
@import 'header.css';
@import 'footer.css';
@import 'navbar.css';

body {
	font-family: calibrib;
	font-size: 18px;
	color: var(--main-font);
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; /* Default: auto */
}
@media (max-width: 480px) {
  body {
		font-size: 16px;
	}
}

h1, h2, h3, h4, h5, h6 {
	color: var(--highlight);
}
hr {
	max-width: 20%;
}
.highlight {
	color: var(--highlight);
}
.center {
	text-align: center;
}

.text-content {
	padding: 10px 40px 40px 40px;
}
@media (max-width: 960px) {
  .text-content {
		padding: 10px 10px 10px 10px;
	}
}
@media (max-width: 960px) {
  .text-content {
		padding: 0px 0px 0px 0px;
	}
}

.text-content a:link, .text-content a:visited {
	color: var(--highlight);
}
.text-content a:hover {
	color: var(--blue);
}
.tagline {
	margin: 50px 0;
	font-size: 1.5em;
}
.table-block {
	max-width: 100%;
}
table {
	margin: 50px auto;
	width: 80%;
	border-collapse: collapse;
	border: 1px solid var(--light-blue);
}
@media (max-width: 720px) {
  table {
		width: 100%;
		font-size: 12px;
	}
}
@media (max-width: 480px) {
  table {
		font-size: 10px;
	}
}

table th, table td {
	padding: 10px;
	width: calc(100%/5);
	text-align: center;
	border: 1px solid var(--light-blue);
}
@media (max-width: 720px) {
  table th, table td {
		width: auto;
	}
}
@media (max-width: 480px) {
  table th, table td {
		padding: 2px;
	}
}

.flex-block {
	display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}
@media (max-width: 480px) {
  .flex-block {
		flex-direction: column;
  }
}

.flex-block > div {
	flex: 25%;
}
@media (max-width:480px) {
  .flex-block > div {
	flex: 100%;
  }
}

.flex-img > figure > img {
	width: 100%;
}
figure {
}

figcaption {
	font-style: italic;
	font-weight: lighter;
	font-size: 0.75em;
	text-align: center;
}
@media (max-width: 720px) {
  figcaption {
		font-size: 0.5em;
	}
}

@media (max-width: 480px) {
  figcaption {
		font-size: 1em;
	}
}