/* font import */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Fira+Mono:wght@400;500;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

/* variabli root */
:root {
  
  /* stile font */
  --space: "Space Grotesk", sans-serif;
  --dm-sans: "DM Sans", serif;

  /* font size */
  --h1: 52px;
  --h2: 26px;
  --h3: 22px;
  --h4o5: 18px;
  --h4: 15px;
  --h5: 12px;
  --h5o4: 14px;
  --h6: 10px;

  /* font weights */
  --regular: 400;
  --medium: 500;
  --semi-bold: 600;
  --bold: 700;

  /* colori primari tema scuro ============================== */
  --white: #efefef;
  --white-2: hsl(0, 0%, 94%, 30%);
  --white-3: hsl(0, 0%, 94%, 10%);
  --white-4: hsl(0, 0%, 94%, 5%);

  --black: #131517;
  --black-2: hsl(0, 0%, 0%, 30%);
  --black-3: hsl(0, 0%, 0%, 5%);
  
  --gray: rgb(127, 127, 127, 5%);
  
  --gray-solid: #222325;

  /* ============================================================ */

  --pclab: #e25303;

  /* colori secondari */
  --red: #ca2a2a;
  --red-light: hsla(0, 10%, 48%, 0.257);
  
  --yellow: #e9d017;
  --yellow-light: hsla(61, 66%, 48%, 0.257);
  
  --orange: #d96d2e;
  --orange-light: #d96d2e;
  
  --blue: #2a75ca;
  --blue-light: #2a75ca;
  
  --green: #85eb7c;
  --green-light: #85eb7c;

  /* dimensioni standard */
  --larghezza-max: 1024px;
}

/* ==========================================================================
   Stili base
   ========================================================================== */

body {
  background-color: var(--black);
  width: 100%;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  overflow-x: hidden;
}

span,
a {
  text-decoration: none;
}

/* ==========================================================================
   Componenti generali
   ========================================================================== */

/* Testo */
.big-title {
  font-family: var(--dm-sans);
  font-size: var(--h1);
  color: var(--white);
  font-weight: var(--bold);
}

.title {
  font-family: var(--dm-sans);
  font-size: var(--h2);
  color: var(--white);
}

.subtitle {
  font-family: var(--dm-sans);
  font-size: var(--h3);
  color: var(--white);
  font-weight: var(--medium);
}

.text {
  font-family: var(--dm-sans);
  font-size: var(--h4);
  color: var(--white);
  font-weight: var(--regular);
}

/* Link */
.primary-link {
  font-family: var(--dm-sans);
  text-transform: uppercase;
  font-size: var(--h5);
  color: var(--white);
  font-weight: var(--bold);
  background-color: var(--pclab);
  border: 1px solid var(--pclab);
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
  line-height: 0.9;
  transition: all ease 0.2s;
}

.secondary-link {
  font-family: var(--dm-sans);
  text-transform: lowercase;
  font-size: var(--h5);
  color: var(--white);
  font-weight: var(--regular);
  border: 1px solid var(--white);
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
  line-height: 0.9;
}

.secondary-link:hover {
  text-decoration: underline;
}

/* Icone */
.icon-container {
  display: flex;
  padding: 3px;
  padding-inline: 10px;
}

.big-icon {
  width: var(--h2);
}

.mid-icon {
  width: var(--h3);
}

.small-icon {
  width: var(--h4);
}

/* Utility */
.hidden {
  display: none !important;
}

.makeitprimary {
  color: var(--pclab);
}

/* ==========================================================================
   Componenti specifici
   ========================================================================== */

/* Navbar */
#navbar {
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-main-container {
  width: var(--larghezza-max);
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-links-container {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

#navbar-logo-medium {
  height: 20px;
  width: auto;
}

.navbar-link {
  font-family: var(--dm-sans);
  font-size: var(--h5);
  color: var(--black);
  font-weight: var(--regular);
  transition: all ease 0.2s;
}

.navbar-link:hover {
  text-decoration: underline;
}

/* Box e contenitori */
.genbox-button-in-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  height: fit-content;
  width: fit-content;
}

.genbox-link-to {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: fit-content;
  width: fit-content;
  transition: all ease 0.2s;
}

.genbox-link-to .feather {
  opacity: 0.3;
  transition: all ease 0.2s;
}

.genbox-link-to:hover .feather {
  color: var(--pclab);
  opacity: 1;
}

.genbox-link-to:hover {
  gap: 10px;
  cursor: pointer;
}
