/* --- 0. FONT LOCATION --- */

/* Font 1: body */
@font-face {
  font-family: 'FontParagraphs';
  src: url('../fonts/Minecraftia-Regular.ttf') format('truetype');
}

/* Font 2: titles */
@font-face {
  font-family: 'FontTitles';
  src: url('../fonts/MinecraftTen-VGORe.ttf') format('truetype');
}

/* --- 1. GLOBAL FONTS --- */
body {
  font-family: 'FontParagraphs', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111111;
  margin: 0;
}

/* --- 2. TITLES (h1 - h6) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'FontTitles', sans-serif;
}

h1 {
  font-weight: 500;
  font-size: 2.8rem;
}

h2 {
  font-weight: 500;
  font-size: 2rem;
}

h3 {
  font-weight: 700;
  font-size: 1.5rem;
}

/* --- 3. PARAGRAPHS --- */
p {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

p strong, p b {
  font-weight: 700;
}

p em, p i {
  font-style: italic;
  font-weight: 400;
}

p strong em, p em strong {
  font-weight: 700;
  font-style: italic;
}

/* --- SPECIAL VARIANTS --- */
.parola-impatto {
  font-weight: 900;
  font-style: italic;
  color: #e74c3c;
}

p.evidenziato {
  font-style: italic;
  font-weight: 700;
  color: #0066cc;
}

/* --- 4. LINK --- */
a {
  color: #ffcf00;
  text-decoration: none;
}

a:hover {
  color: #ffcf00;
  text-decoration: underline;
}
/* --- CENTER BOX --- */
.elements_centered {
  text-align: center;
  padding: 10px 20px 15px; /*top, sides, bottom */
}
/* --- ROW BOX --- */
.elements_riga {
  display: flex;
  justify-content: center; /* Centra i bottoni orizzontalmente */
  align-items: center;
  gap: 20px;               /* Spazio uniforme tra un bottone e l'altro */
  flex-wrap: wrap;         /* Va a capo se lo schermo è molto piccolo (mobile) */
  margin-top: 20px;
}
.elements_colonna {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 5px;
  margin-top: 20px;
}
/* --- MENU --- */
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;

  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 40px);
  max-width: 710px;
  box-sizing: border-box;

  background-color: #111111;
  color: #ffffff;
  padding: 12px 20px;
  box-shadow: 0 5px 0px #000000;
  z-index: 1000;

  font-family: 'FontTitles', sans-serif;
}

.mbtn {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 8px 0;
  
  flex: 1; /*Each button is proportional to the others */
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mbtn:hover {
  color: #2BC72B;
  text-decoration: none;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 10px;
}

.menu-logo {
  height: 32px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.logo-link:hover .menu-logo {
  transform: scale(1.1);
}
/* --- GENERALS --- */

ul { /*Bullet points */
  list-style: none; /*no stylefor a custom one */
  padding-left: 0;
  margin: 0;
}
ul li { /*each item is a flex box */
  position: relative;         /* FONDAMENTALE: ancoraggio per il quadratino */
  padding-left: 22px;        /* Spazio a sinistra riservato al quadratino e al rientro */
  margin-bottom: 10px;       /* Spazio tra una voce e l'altra */
  line-height: 1.5;
}
ul li::before { /*design of the square */
  content: "";
  position: absolute;        /* Rimuove il quadratino dal flusso del testo */
  left: 0;                   /* Posizionato sul margine sinistro del padding */
  top: 7px;                  /* REGOLAZIONE FINE: abbassa/alza il quadratino rispetto alla prima riga */
  width: 8px;
  height: 8px;
  background-color: #111111;
}
.btn {
/* graphics */
background-color: #ffffff;
color: #111111;
text-decoration: none;
font-family: 'FontTitles', sans-serif;
font-size: 2rem;
font-weight: 500;


/* geometry */
width: 200px;
padding: 8px 0;
text-align: center;
box-sizing: border-box;
border-radius: 0px;


/* animations */
transition: transform 0.2s, background-color 0.2s;
}


/* Buttons (Hover) */
.btn:hover {
background-color: #ffffff;
color: #111111;
text-decoration: none;
/* transform: translateY(-2px); */
transform:scale(0.8);
}

.layer_0 {
  max-width: 100%;
  width: 100%;
  height: 300px;
  /* centering */
  padding-top: 100px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #ffffff;
}

.layer_0 h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  text-decoration: underline;
}
.layer_0 p {
  text-align: center;
  font-size: 1.5rem;
}
.layer_1 {
  max-width: 100%;
  width: 100%;
  height: 450px;
  position: relative;
  /* centering */
  padding-top: 10px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #EDEDED;
}
.l_container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}
.l_container h2 {
  text-align: left;
  /* font-size: 3rem; */
  margin-bottom: 20px;
}
.l_container h3{
  text-align: left;
  /* font-size: 3rem; */
  font-weight: 500;
  font-style: oblique;
  margin-bottom: 20px;
  margin-top: 0px;
}
.l_container h4{
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  margin-top: 0px;
}
.l_container p {
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.layer_2 {
  max-width: 100%;
  width: 100%;
  height: 320px;
  position: relative;
  /* centering */
  padding-top: 0px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #FFFFFF;
}
.layer_2 h3{
  text-align: left;
  /* font-size: 3rem; */
  font-weight: 500;
  font-style: oblique;
  margin-bottom: 20px;
  margin-top: 0px;
}

/* --- HOME PAGE --- */
#home_layer_0 {
  max-width: 100%;
  width: 100%;
  height: 300px;
  /* centering */
  padding-top: 100px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  background-image: url('../graphics/placeholder_overgrown_forest.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

#home_layer_0 h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  text-decoration: underline;
}
#home_layer_0 p {
  text-align: center;
  font-size: 1.5rem;
}
#home_layer_0 b {
  color: #2BC72B;
}

#home_layer_1 {
  max-width: 100%;
  width: 100%;
  
  /* centering */
  /* padding-top: 100px;*/
  margin: 0 auto;

  line-height: 1.6;
}

#home_layer_1 h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
}
#home_layer_1 p {
  text-align: center;
  font-size: 1.5rem;
}
#home_layer_2 {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  /* Aspetto del box */
  padding-bottom: 30px;
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */

  line-height: 1.6;
  background-color: #EDEDED;
}
#home_layer_2_centrato {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

#home_layer_2 h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 5px;
}
/* --- CHANGELOGS --- */
#chgs_layer_1 {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 30px;
  line-height: 1.6;
  background-color: #EDEDED;
}
.changelog_texts {
  margin-right: auto; /* Consuma tutto lo spazio vuoto e spinge lo span a destra */
  padding-left: 15px;
}
.version_changes {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: left;
  box-sizing: border-box;
}

.version_changes h1 {
  text-align: left;
  font-size: 3rem;
  margin-bottom: 5px;
  font-weight: 500;
}
/* --- CHANGELOGS BUTTONS --- */
.chgs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: left;
  line-height: 1;  
  white-space: nowrap;

  /* graphics */
  background-color: #ffffff;
  color: #111111;
  text-decoration: none;
  font-family: 'FontParagraphs', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;

  /* geometry */
  min-width: 200px;
  width: auto;
  padding: 25px 20px 10px;
  margin: 15;
  text-align: center;
  box-sizing: border-box;
  border-radius: 0px;

  /* animations */
  transition: transform 0.4s, background-color 0.3s;
}

/* Buttons (Hover) */
.chgs-btn:hover {
  background-color: #2BC72B;
  color: #111111;
  text-decoration: none;
  transform: scale(0.95);
}

/*.chgs-btn b {
  font-family: 'FontTitles', sans-serif;
} */

/* --- SNAPSHOT PAGES --- */
.snp_layer_1 {
  width: 100%;
  padding: 40px 20px;
  padding-top: 100px;
  box-sizing: border-box;
  background-color: #ffffff;
}

.snp_container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto; /*centering*/
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.snp_container h1 {
  font-family: 'FontTitles', sans-serif;
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 20px;
  color: #111111;
}

.snp_headers_group {
  display: flex;
  gap: 0;
  margin-bottom: 25px;
}

.warn-box {
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  font-family: 'FontParagraphs', sans-serif;
  background-color: #ff4e4e;
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
}

.snp_headers_group .version-box {
  margin: 0;
  padding: 10px 16px;
  font-family: 'FontParagraphs', sans-serif;
  background-color: #226324;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
}
.snp_headers_group .loader-box {
  margin: 0;
  padding: 10px 16px;
  font-family: 'FontParagraphs', sans-serif;
  background-color: #27B927;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
}
.snp_headers_group .date-box {
  margin: 0;
  padding: 10px 16px;
  font-family: 'FontParagraphs', sans-serif;
  background-color: #4EEB4E;
  color: #111111;
  font-size: 1rem;
  font-weight: 500;
}

.snp_container p {
  width: 100%;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  font-size: 1.1rem;
  color: #111111;
  margin-bottom: 25px;
}
.snp_img {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 5;
}
.fdb_img {
  max-width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease;
}
.fdb_img:hover {
  transform: scale(1.1);
}
.snp_layer_2 {
  max-width: 100%;
  width: 100%;
  height: fit-content;
  position: relative;
  /* centering */
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #EDEDED;
}
.snp_layer_2 .features-box {
  margin: 0;
  padding: 10px 16px;
  width: max-content;
  font-family: 'FontTitles', sans-serif;
  background-color: #2BC72B;
  color: #111111;
  font-size: 1.5rem;
  font-weight: 500;
}
.snp_layer_2 .multi-box {
  margin: 0;
  padding: 10px 16px;
  width: max-content;
  font-family: 'FontTitles', sans-serif;
  background-color: #ffffff;
  color: #111111;
  font-size: 1.5rem;
  font-weight: 500;
}
.snp_layer_2 .changes-box {
  margin: 0;
  padding: 10px 16px;
  width: max-content;
  font-family: 'FontTitles', sans-serif;
  background-color: #ff4e4e;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 500;
}
.snp_layer_2 .big-features-box {
  margin: 0;
  padding: 10px 16px;
  text-align: center;
  font-family: 'FontTitles', sans-serif;
  background-color: #ffffff;
  color: #111111;
  font-size: 1.5rem;
  font-weight: 500;
}
.snp_layer_2 .feedback-box {
  margin: 0;
  padding: 10px 16px;
  text-align: center;
  font-family: 'FontTitles', sans-serif;
  background-color: #2BC72B;
  color: #111111;
  font-size: 1.5rem;
  font-weight: 500;
}
.snp_layer_2 ul {
  list-style: none;
  padding-left: 40px;
  margin: 0;
}
.snp_layer_2 a {
  color: #2BC72B;
  text-decoration: none;
}
.snp_layer_2 a:hover {
  color: #1e9b1e;
  text-decoration: none;
}
.yt_player {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 0;
}
/* --- DEVELOPMENT PAGES --- */
.dev_layer_1 {
  max-width: 100%;
  width: 100%;
  height: 400px;
  position: relative;
  /* centering */
  padding-top: 10px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #EDEDED;
}
#dev_layer_2 {
  max-width: 100%;
  width: 100%;
  height: 320px;
  position: relative;
  /* centering */
  padding-top: 0px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #FFFFFF;
}
#dev_layer_3 {
  max-width: 100%;
  width: 100%;
  height: 300px;
  position: relative;
  padding-top: 10px;
  margin: 0 auto;
  line-height: 1.6;
  color: #111111;
  background-color: #EDEDED
}

.dev-notes-button {
  width: 250px;
  height: 150px;
  color: #111111;
  background-color: #2BC72B;
  transition: transform 0.2s, background-color 0.2s;
}
.dev-notes-button h1{
  text-align: center;
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 10px;
  background-color: #FFFFFF;
}

.dev-notes-button p{
  text-align: justify;
  font-size: 1rem;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
}

.dev-notes-button:hover {
  background-color: #1e9b1e;
  transform:scale(0.8);
}
/* --- COMMUNITY --- */
.c_layer_1 {
  max-width: 100%;
  width: 100%;
  height: 550px;
  position: relative;
  /* centering */
  padding-top: 10px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #EDEDED;
}
.c_layer_2 {
  max-width: 100%;
  width: 100%;
  height: fit-content;
  position: relative;
  /* centering */
  padding-top: 10px;
  padding-bottom: 20px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #FFFFFF;
}
.c_layer_3 {
  max-width: 100%;
  width: 100%;
  height: fit-content;
  position: relative;
  /* centering */
  padding-top: 10px;
  padding-bottom: 20px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #EDEDED;
}
.c_layer_4 {
  max-width: 100%;
  width: 100%;
  height: fit-content;
  position: relative;
  /* centering */
  padding-top: 10px;
  padding-bottom: 20px;
  margin: 0 auto;
  line-height: 1.6;
  /* background */
  color: #111111;
  background-color: #FFFFFF;
}
.c_layer_1 a {
  color: #2BC72B;
  text-decoration: none;
}
.c_layer_1 a:hover {
  color: #1e9b1e;
  text-decoration: none;
}
.c_layer_3 a {
  color: #2BC72B;
  text-decoration: none;
}
.c_layer_3 a:hover {
  color: #1e9b1e;
  text-decoration: none;
}
.c_layer_4 a {
  color: #2BC72B;
  text-decoration: none;
}
.c_layer_4 a:hover {
  color: #1e9b1e;
  text-decoration: none;
}
.title-box {
  margin: 0;
  padding: 10px 16px;
  text-align: center;
  font-family: 'FontTitles', sans-serif;
  background-color: #2BC72B;
  color: #111111;
  font-size: 1.5rem;
  font-weight: 500;
}
/* --- LICENCE BUTTON --- */
.lic-btn {
/* graphics */
background-color: #2BC72B;
color: #ffffff;
text-decoration: none;
font-family: 'FontTitles', sans-serif;
font-size: 2rem;
font-weight: 500;


/* geometry */
width: 200px;
padding: 8px 0;
text-align: center;
box-sizing: border-box;
border-radius: 0px;


/* animations */
transition: transform 0.2s, background-color 0.2s;
}


/* Buttons (Hover) */
.lic-btn:hover {
background-color: #1e9b1e;
color: #ffffff;
text-decoration: none;
/* transform: translateY(-2px); */
transform:scale(0.8);
}

#lic_layer_0 {
  width: 100%;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #111111;
}

.lic_container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

#lic_layer_0 h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  text-decoration: underline;
}

#lic_layer_0 p {
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 20px;
}
/* --- OTHER --- */
.long-btn {
/* graphics */
background-color: #EDEDED;
color: #111111;
text-decoration: none;
font-family: 'FontTitles', sans-serif;
font-size: 2rem;
font-weight: 500;


/* geometry */
width: 400px;
padding: 8px 0;
text-align: center;
box-sizing: border-box;
border-radius: 0px;


/* animations */
transition: transform 0.2s, background-color 0.2s;
}

/* Buttons (Hover) */
.long-btn:hover {
background-color: #d5d5d5;
color: #111111;
text-decoration: none;
/* transform: translateY(-2px); */
transform:scale(0.8);
}
/* --- FOOTER --- */
.footer {
  background-color: #111111;
  color: #ffffff;
  width: 100%;
  padding: 50px 20px 30px 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer b {
  color: #ffffff;
  font-weight: 400;
}

.footer .elements_centered {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
}

.footer .elements_riga {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  flex-wrap: wrap;
}

.footer .elements_colonna {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
}

.footer .elements_colonna h4 {
  font-family: 'FontParagraphs', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer .elements_colonna a {
  color: #2BC72B;
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer .elements_colonna a:hover {
  color: #ffffff;
}

/* 2. COPYRIGHT (Same width as coloumns: 900px) */
.footer-copyright {
  width: 100%;
  max-width: 900px;
  border-top: 1px solid #222222;
  padding-top: 25px;
  box-sizing: border-box;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.82rem;
  color: #888888;
  line-height: 1.6;
  text-align: left; 
}

.footer-copyright a {
  color: #ffcf00;
  text-decoration: none;
}

.footer-copyright a:hover {
  color: #ffffff;
}

/* --- MINI BANNER --- */
.floating-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  background-color: #111111;
  color: #ffffff;
  padding: 14px 18px;
  box-shadow: 0 5px 0px #000000;
  max-width: 600px;

  font-family: 'FontParagraphs', sans-serif;
  font-size: 0.8rem;

  /* Animazione fluida di comparsa/scomparsa */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px; 
}

.floating-content p {
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
  text-align: justify;
  text-justify: inter-word;
}
.floating-content h3 {
  margin-top: 3px;
  margin-bottom: 0px;
  font-weight: 500;
  line-height: 1.4;
}

/* Closing button) */
.close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'FontTitles', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.close-btn:hover {
  color: #2BC72B;
  transform: scale(1.2);
}

/* Javascript class graphics */
.floating-box.is-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none; /*no invisible blocks */
}