@font-face {
    font-family: 'kingthings_trypewriter_2Rg';
    src: url('font/Kingthings_Trypewriter_2-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: fallback;

}

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

:root {
	--bg-color: #17181f;
	--text-color: moccasin;
  --anim : cubic-bezier(0.5, 0.02, 0.08, 1.16) 1s;
}


body {
	font-family: 'kingthings_trypewriter_2Rg', serif;
	line-height: 1.5;
  background: var(--bg-color);
  color: var(--text-color);
  font-size:1rem;
}


a {
	text-decoration: none;
	color: var(--text-color);
}

.underline {
	text-decoration: underline;
}


main {
padding: 1rem 2rem 1rem;
	height: 100vh;
  background: url(../img/logo_w.svg) no-repeat top left;
  background-size:15%;

}

.content {
  display: grid;
  grid-template-areas: 'fragments';
	grid-area: fragments;
	margin-bottom: 5vh;
	grid-template-columns: 100%;
}


div[class|="fragment"] {
	margin-bottom: 4rem;
	display: grid;
	grid-template-columns: 100%;
}

div[class|="fragment"]:hover > a {
  background: var(--text-color);
  color: var(--bg-color);
  transition: var(--anim);
  letter-spacing: .3em;
}

div[class|="fragment"]:not(hover) > a {
  background: unset;
  color: unset;
  transition: var(--anim);
}

.frag__titre {
	font-weight: 300;
	/*font-size: 2rem;*/
	margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align:center;

}

.frag__img {
  aspect-ratio: 500/281;
  width:88%;
  margin:4em auto 0;
}

.frag__desc {
	margin: 2.5rem;
	line-height: 1.1;
	text-align:center;
}

.frag__lien {
	cursor: pointer;
	width: 100%;
	padding: 1rem;
	color: var(--text-color);
	border: 1px solid var(--text-color);
	border-radius: 2rem;
	text-align: center;
  font-size: 2rem;
  height: fit-content;
}



@media screen and (min-width: 53em) {

	.content {
		display: grid;
    grid-template-columns: repeat(2,1fr);
		grid-column-gap: 5vw;
	}
}
