
body {
  grid-template-columns: auto;
}

body > header {
	background: url("../random-background.php"), radial-gradient(ellipse at center, white, 75%, dimgray), linear-gradient(to bottom, lightgray, transparent 10vmin);
	background-size: cover;
	background-position: 50% 50%;
	background-blend-mode: multiply;
	background-attachment: fixed;
	display: block;
	margin: 0;
	padding: 0;
	height: 100vmin;
}

body > header .logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vmin;
	margin: 0;
	padding: 0;
	font-size: 3rem;
	filter: drop-shadow(0 0 2px dimgray);
}

body > header .logo a:hover {
  text-decoration: none;
  color: inherit;
}

body > header .logo .sub-title {
  display: block;
  font-size: 0.65em;
  font-weight: lighter;
}

body > header nav {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	
	padding: 1rem;
	filter: drop-shadow(0 0 1px black);
	box-sizing: border-box;
}

body > header:after {
	display: block;
	content: "❯";
	box-sizing: border-box;
	transform: rotate(90deg);
	padding: 1rem;
	line-height: 1;
	
	font-size: 3rem;
	
	margin-left: auto;
	margin-right: auto;
	
	position: relative;
	width: min-content;
	text-shadow: 0 0 1px black;
	
	animation-name: go-down;
	animation-duration: 2.5s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;	
}

@keyframes go-down {
	from	{	top: 85vmin;
				opacity: 000%;	}
	15%		{	opacity: 100%; }
	60%		{	opacity: 100%; }
	to		{	top: 90vmin;
				opacity: 0;	}
}

main {
	padding: 0;
	
}


/***********************************************************************
 * GENERAL sections
 **********************************************************************/

main > section {
	text-align: center;
	padding: 5vmin var(--pageMargin);
}

main > section > header {
	margin-bottom: 4rem;
}


main h2:after {
	content: " ";
	
	display: block;
	margin-top: 1.5rem;
	margin-left: auto;
	margin-right: auto;
	background-image: linear-gradient(to right, var(--themeColorThree), 10%, var(--themeColorTwo), 90%, var(--themeColorOne));
	width: 6em;
	height: 2px;
}

main > section > footer {
	margin-top: 2rem;
}

/***********************************************************************
 * INTRO section
 **********************************************************************/

#intro {
  color: var(--textColor);
  background-color: var(--altBackColor);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#intro > header {
	flex-basis: 100%;
	max-width: none;
}

#intro > section {
	flex-basis: 25%;
	flex-shrink: 1;
	margin: 1rem;
}

#intro > section h3 {
	white-space: nowrap;
}

#intro > section img {
	width: 5rem;
}

#intro > footer {
	flex-basis: 100%;
}


/***********************************************************************
 * SORTIES section
 **********************************************************************/
.sorties {
	background-image: url('../img/heightmap.svg');
	background-color: whitesmoke;
	background-size: cover;
	background-repeat: no-repeat;
	background-blend-mode: lighten;
}

.sorties img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.sorties {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.sorties > aside,
.sorties > article {
	min-width: 15rem;
	max-width: 40rem;
	box-sizing: border-box;
}

.sorties > article {
	/*text-align: left;*/
	padding: 3vmin 6vmin;
}

/***********************************************************************
 * BLOG section
 **********************************************************************/

#blog {
  background-color: var(--altBackColor);
}

.post-card {
  text-align: left;
}
