@charset "UTF-8";

/* Import custom font */
@font-face {
  font-family: "GamePaused";
  src: url('../../content/font/Game%20Paused%20DEMO.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "Helvetica", "Arial", sans-serif;
  color: white;
  background-image: url('../../content/images/sfondo.png.jpeg');
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

.page-wrapper {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.25); /* meno opaco */
  min-height: 100vh;
  box-sizing: border-box;
  display: block !important;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5vw;
  margin-bottom: 2.5vw;
}

header h1 {
  font-family: "GamePaused", sans-serif;
  font-weight: 700;
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0;
  color: white; /* verde acceso */
}

header .author {
  font-weight: 400;
  font-size: 1rem;
  margin-top: 0.3rem;
  text-transform: lowercase;
  font-style: italic;
  color:  #99ff87;}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

nav a {
  font-weight: 600;
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.6rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

nav a:hover {
  border-color: #007bff;
}

/* Download button customizzato */
.extension-download {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.extension-download a {
	font-size: 1.5rem;
	padding: 1.5rem 2rem;
	border-radius: 2rem;
	text-decoration: none;
	border: 2px solid #39FF14; /* bordo verde acceso e più spesso */
	background-color: #39FF14; /* sfondo verde acceso */
	color: black; /* testo nero per contrasto */
	transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
	font-weight: 700;
	box-shadow: 0 0 10px #39FF14AA; /* leggero alone verde */
  }
  
  .extension-download a:hover {
	background-color: #7CFC00; /* verde ancora più acceso */
	color: black;
	box-shadow: 0 0 20px #7CFC00FF, 0 0 30px #7CFC00FF;
	transform: scale(1.05); /* leggera espansione al passaggio */
  }
  

/* Sezione "What is it about" */
.about {
  text-align: left;
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #222;
}

.about {
	max-width: 800px;
	width: 90vw; /* occupa quasi tutta la larghezza della viewport */
	margin-left: auto;
	margin-right: auto; /* margini automatici per centrare */
	padding: 0 1rem;
	text-align: left; /* centra il testo */
	display: block; /* assicurati che sia block-level */
  }

  .text-box {
	background-color: white;
	color: black;
	padding: 2.5rem 3rem;
	border-radius: 0.8rem;
	margin: 3rem auto 4rem auto;
	max-width: 900px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	border: 1px solid #ccc;
  }
  

.extension-documentation {
  width: 50vw;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.extension-documentation-video video {
  width: 100%;
  border-radius: 0.5rem;
  background-color: black;
  margin-top: 3rem; /* o anche di più, dipende quanto vuoi */

}


.extension-installation {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.extension-installation ol {
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
}

.extension-reviews-block {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	padding: 2rem;
	background-color: transparent;/* sfondo leggero per staccare i blocchi */
}

.extension-review {
	width: 22vw;
	min-width: 280px;
	padding: 1.5rem;
	margin: 0;
	background-color: white;
	border: 1px solid #e0e0e0;
	border-radius: 1.5rem;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
	box-sizing: border-box;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: black;
}


footer {
  border-top: 1px solid black;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: white;
}

.extension-presentation {
	max-width: 800px;
	margin: 0 auto 4rem auto; /* orizzontale centrato, con margine sotto */
	padding: 0 1rem;
	text-align: left; /* centra il testo */
	color: white; /* perché il testo deve essere visibile sullo sfondo scuro */
  }

  .extension-presentation p .poppy {
	color: red;
  }
  
  .extension-presentation p .sunflower {
	color: yellow;
  }
  
  .extension-presentation p .worm {
	color: pink;
  }
  
  .extension-presentation p .pond {
	color: #00bfff;
  }

  .extension-presentation p .seed {
	color: brown;
  }

  .extension-presentation p .grass {
	color: green;
  }
  
/* Responsive tweaks */
@media (max-width: 780px) {
  .extension-documentation {
    width: 90vw;
  }

  .extension-review {
    width: 90vw;
    margin: 1rem 0;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }
}

