@font-face {
  font-family: 'DancingScript';
  src: url('font/DancingScript.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MONO';
  src: url('font/MONO.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html {
	scroll-behavior:smooth;
}

body {
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(20,20,20,1) 50%, rgba(0,0,0,1) 100%);
  font-family: 'DancingScript';
  margin: 0px;
}

a {
  color: white;
  text-decoration: none;
}

h1 {
  font-size: 60px;
  font-weight: bold;
  text-align: center;
  color: white;
  margin-top: 10px;
}
h2 {
  font-size: 40px;
  font-style: italic;
  text-align: center;
  color: white;
}

h3 {
  font-size: 30px;
  font-style: italic;
  text-align: left;
  color: white;
  margin-top:0px;
  margin-bottom: 10px;
}

h4, h6 {
  display:none;
}

h5 {
	font-size: 22px;
	text-align: left;
	color: white; 
	margin: 0px;
	margin-left: 20px;
	cursor:pointer;
	height: 80%;
	display: table-cell;
	padding-left: 40px;
	padding-bottom: 10px;
}

h5 a {
	display: block;
	color: white;
	text-align: center;
	text-decoration: none;
	transition: color 0.2s;
}
h5 a:hover {
	color: #f5c518;
	transform: scale(1.05);
	font-weight:bold;
}

h7 {
	padding-bottom: 25px;
	font-family: 'MONO';
	display: flex;
  flex-direction: column;
	max-width:750px;
	color: white;
	font-size: 20px;
	text-align:left;
	line-height: 120%;
}

h8 {
	font-weight:bold;
	color: gold;
	font-size: 40px;
	padding: 5px;
}

.gallery {
  margin: 30px;
}

.gallery img {
  display: inline-block;
  max-width: 100%;
  max-width: 340px;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.15);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.gallery figcaption {
  display: none;
}

.spoiler {
	position: relative;
	margin: 25px;
}

.content {
  position: relative;
  display: inline-block;
}

.spoiler img {
  display: inline-block;
  max-width: 100%;
  max-width: 340px;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
  filter: contrast(0) grayscale(100%);
}

.spoiler img:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  filter: contrast(0.07) grayscale(100%);
}

.spoiler figcaption {
  display: none;
}

.content .text-overlay {
  font-family: MONO;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  color: gold;
  border-radius: 5px;
  font-size: 35px;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.content:hover .text-overlay {
  opacity: 0;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
	font-family: 'MONO';
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width:70%;
	height: 100%;
	color: gold;
	padding: 15px;
	font-size: 35px;
	text-align: center;
}

.modal-caption {
	padding:20px;
}

.modal img {
	max-width: 170%;
	object-fit: contain;
	margin: 0 auto;
	cursor: pointer;
}

.modal img:hover {
	transform: scale(1.01);
}

.modal-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
	color: #fff;
}

.modal-navigation button {
	padding:20px;
	border: none;
	background: none;
	font-size: 100px;
	color: #fff;
	cursor: pointer;
	outline: none;
}

.modal-navigation button:hover {
	color: #ccc;
	transform: scale(1.1);
}

.close-button {
  position: fixed;
  top: 80px;
  right: 100px;
  font-size: 70px;
  cursor: pointer;
  transition: transform 0.1s ease-in-out;
}

.close-button:hover {
  transform: scale(1.3);
  font-weight: bold;
}

.description {
  display: table-cell;
  padding-left: 20px;
  cursor:pointer;
  max-width: 750px;
}

.description:hover {
	transform: scale(1.02);
}


.lore {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lore-content {
	font-family: 'MONO';
	display: grid;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 90%;
	width: 75%;
	color: white;
	padding: 10px;
	font-size: 23px;
	text-align: left;
	line-height: 1.35;
}

.audio-modal {
  z-index:10;
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
}

.audio-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #333;
  padding: 10px;
  border: none;
  width: 20%;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 25px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

audio {
  width: 100%;
  max-width: 400px;
}

button {
  padding: 10px 20px;
  background-color: #282828;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}


.paysage {
  margin: 25px;
  display: flex;
  justify-content: center;
}

.paysage img {
  display: inline-block;
  max-width: 100%;
  max-height: 400px;
  margin-right: 10px;
  margin-bottom: 15px;
  border-radius: 25px;
  transition: transform 0.2s ease-in-out;
}

.paysage img:hover {
  transform: scale(1.1);
}

.paysage figcaption {
  display: none;
}

.smaller-paysage {
  margin: 25px;
  text-align: center;
}

.smaller-paysage img {
  display: inline-block;
  max-width: 50%;
  max-height: 340px;
  margin-right: 10px;
  margin-bottom: 15px;
  border-radius: 25px;
  transition: transform 0.2s ease-in-out;
}

.smaller-paysage img:hover {
  transform: scale(1.1);
}

.smaller-paysage figcaption {
  display: none;
}


.logo {
  text-align: center;
}

.logo img {
  display: inline-block;
  max-width: 100%;
  max-height: 300px;
  margin-right: 10px;
  margin-bottom: 15px;
  border-radius: 25px;
  transition: transform 0.2s ease-in-out;
}

.cursor {
  cursor: pointer;
}

.flag {
  text-align: center;
}

.flag img {
  display: inline-block;
  max-width: 100%;
  max-height: 400px;
  margin-right: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  transition: transform 0.2s ease-in-out;
}

.flag img:hover {
  transform: scale(1.2);
}