:root {
    --color-primary: #000;
    --color-secondary: #e82d2d;
    --color-accent: #d6ec6b;
    --color-light: #f5f5f5;
    --color-dark: #333;
    --color-gray: #ccc;
    --color-gray-light: #ddd;
    --color-white: #fff;
    --color-black: #000;
    --font-primary: 'Slabo 27px', bold;
    --font-display: 'Lato', sans-serif;
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 2rem;
    --space-l: 3rem;
    --space-xl: 4rem;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --animazione-micro-s: 0.7s cubic-bezier(.32, .92, .66, .2);
    --animazione-micro-l: 0.9s cubic-bezier(.32, .92, .65, .39);
  }
    
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
  }
    
  body {
    font-family: var(--font-primary);
    background: var(--color-black);
    color: var(--color-light);
    width: 100%;
  }
    
  /* Tipografia */
  h1 {
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 1000;
  }
  
  p {
    color: var(--color-light);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
  }
  
  a {
    color: var(--color-light);
    font-size: 2.2em;
    font-family: var(--font-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    gap: var(--space-s);
  }
    
  a:hover {
    color:  #22b5b7;;
  }
  
  
  li {
    list-style-type: none;
  }
    
  li:hover {
    color: var(--color-secondary);
  }
    
  .container {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
    
  
  /*--------------------------------------------------------HEADER--------------------------------------------------------*/
  header.header {
    background: var(--color-primary);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    width: auto;
    place-items: center;
    grid-gap: 40px;
    height: 8rem;
  }
  
  .header__menu {
    grid-column: 6 / 12;
    display: flex;
  
  }
    
  header .container {
    width: 100%;
  }
    
  .fixed {
    position: fixed;
    width: 100%;
    z-index: 2;
    box-shadow: var(--box-shadow);
  }
    
  .header__cta {
    width: 130px;
  }
    
  .header__cta a {
    display: block;
    border: 1px solid var(--color-white);
    text-align: center;
  }
    
  .header__logo img {
    max-height: 70px;
    filter: invert(1);
    z-index: 10;
  }
  
  .header__logo {
    grid-column: 5 / 6;
    width: 80%;
  }
    
  .header__icon {
    display: none;
    grid-column: 11 / 12;
  }
    
  .site-nav > li {
    display: inline-block;
  }
    
  .site-nav > li a {
    padding: 10px;
  }
  
  .res {
    width: auto;
    max-height: 100px;
    z-index: 10;
    grid-column: 2 / 12;
  }
  
  .site-nav {
    visibility: visible;
    transform: scale(1);
  }
  
  .site-nav__menu--open {
    z-index: 1000;
  }
  
  .site-nav__hamburger {
    grid-column: 6/12;
    justify-self: end;
    cursor: pointer;
    z-index: 1;
    display: none 
  }
  
  .site-nav__hamburger img {
    width: 100px;
  }
  
  .title {
    grid-column:  2 / 12;
    margin-top: var(--space-xl);
  }
  
  /* Main */
  main {
    background: var(--color-black);
    width: 100%;
  }

/*--------------------------------------------------------logo--------------------------------------------------------*/

.sezione__logo {
  border-bottom: 3px solid var(--color-light);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 40px; 
  width: 100%;
  padding: var(--space-l);
}

.logo__principale {
  grid-column: 2 / 10;
  align-items: start;
  margin-top: 12em;
  width: 100%;
  margin-bottom: var(--space-xl);
}

.logo__colore {
  grid-column: 2 / 7;
  background-color: #fff;
  width: 100%;
}

.testo__logo {
  grid-column: 7 / 12;
  align-self: self-end;
}

.logo__coloresx {
  grid-column: 2 / 7;
  background-color: #fff;
  width: 100%;
}

.logo__coloredx {
  grid-column: 7 / 12;
  background-color: #fff;
  width: 100%;
}

/*--------------------------------------------------------coordinato--------------------------------------------------------*/
.sezione__coordinato {
  border-bottom: 3px solid var(--color-light);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 40px; 
  width: 100%;
  padding: var(--space-l);
}

.immagine__uno {
  grid-column: 2 / 9;
  background-color: #ffcc00;
  width: 100%;
}

.immagine__due {
  grid-column: 9 / 12;
  width: 80%;
  align-self: center;
  align-content: center;
  margin: 0 auto;
}

.immagine__tre {
  grid-column: 2 / 5;
  width: 80%;
  align-self: center;
  align-content: center;
  margin: 0 auto;
}

.immagine__quattro {
  grid-column:  5 / 12;
  width: 100%;
  background-color: #ffcc00;
}

.immagine__cinque {
  grid-column: 2 / 9;
  width: 100%;
  background-color: #fff;
}

.immagine__sei {
  grid-column: 9 / 12;
  width: 100%;
  align-self: center;
}

.download {
  grid-column: 5 / 9;
  background-color: #22b5b7;
  color: #e51438;
  font-family: var(--font-display);
  text-align: center;
  font-weight: 700;
}

.download:hover {
  grid-column: 5 / 9;
  background-color:#e51438;
}

/*--------------------------------------------------------Footer--------------------------------------------------------*/
.footer {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    place-items: center;
    grid-gap: 40px;
    padding: var(--space-l);
  }
  
  .footer__logo  {
    grid-column: 1 / 4;
    height: 80px;
    margin-bottom: 20px;
  }
    
  .footer__menu ul {
    display: flex;
    gap: 15px;
    list-style: none;
  }
    
  .footer__menu ul li {
    margin-bottom: 8px;
  }
    
  .footer__social {
    display: flex;
    justify-content: center;
    gap: 15px;
    grid-column: 10 / 13;
  }
    
  .link__footer {
    text-align: center;
    gap: 20px;
    grid-column: 4 / 10;
  }
    
  .footer__social a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    grid-column: 8 / 13;
  }
    
  .footer__social a:hover {
    color: var(--color-primary);
    grid-column: 8 / 13;
  }
/*--------------------------------------------------------1024px--------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 1024px) {

  .site-nav__hamburger {
    grid-column: 11/13;
    justify-self: center;
    cursor: pointer;
    z-index: 1;
    display: grid; 
    align-self: center;
  }

  .header.header {
    grid-gap: 0;
  }

  .header.menu {
    grid-column: 11/13;
  }

  .header__icon {
    display: none;
    grid-column: 10 / 12;
    width: 100%;
  }

  .header__logo {
    grid-column: 4 / 6;
  }


  .simbolo {
    width: auto;
    grid-column: 10 / 12;
  }

  .hamburger {
    grid-column: 11/13;
  }

  .site-nav {
    display: none;
  }

 /*--------------------------------------------------- Header ---------------------------------------------------*/
 /*-------------------------------------------------------------------------------------------------------------------------*/

 .site-nav__hamburger {
  grid-column: 11 / 12;
  justify-self: center;
  cursor: pointer;
  z-index: 1;
  display: grid;
  align-self: center;
  padding: var(--space-xl);
}
.site-nav {
  display: none;
  flex-direction: column;
  grid-column: 1 / -1;
  background-color: var(--color-primary);
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100%;
  padding: 1rem;
  align-items: center; 
  text-align: center; 
  z-index: 999;
}

.site-nav.open {
  display: flex;
}
  
  .logo__principale {
    grid-column: 2 / 11;
    margin-top: 8rem;
  }

  .logo__colore {
    grid-column: 2 / 11;
    margin-top: var(--space-xl);
    margin-top: 0;
  }

  .testo__logo {
    grid-column: 3 / 12;
  }

  .download {
    grid-column: 4 / 10;
  }
  
  .download:hover {
    grid-column: 4 / 10;
  }

/*--------------------------------------------------- footer ---------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------------------*/

  .footer {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    place-items: center;
    grid-gap: 40px;
    padding: var(--space-l);
  }

  .footer__logo {
    grid-column: 1 / 4;
    height: 80px;
    margin-bottom: 20px;
  }

  .footer__menu ul {
    display: flex;
    gap: 15px;
    list-style: none;
  }

  .footer__menu ul li {
    margin-bottom: 8px;
  }

  .footer__social {
    display: flex;
    justify-content: center;
    gap: 15px;
    grid-column: 10 / 13;
    flex-direction: column;
  }

  .link__footer {
    text-align: center;
    gap: 20px;
    grid-column: 4 / 10;
  }

  .footer__social a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    grid-column: 8 / 13;
    
  }

  .footer__social a:hover {
    color: var(--color-primary);
    grid-column: 8 / 13;
  }
}

/*--------------------------------------------------- 500px ---------------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------*/


@media (max-width: 500px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  h1 {
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 1000;
    text-align: center;
    line-height: 1;
    margin-bottom: var(--space-l);
  }

  .title {
    grid-column: 2 / 12;
    margin-top: var(--space-l);
    margin-left: var(--space-l);
    margin-right: var(--space-l);
    text-align: center;
    margin-bottom: var(--space-l);
  }

  .logo__principale,
  .logo__colore,
  .logo__coloredx,
  .logo__coloresx,
  .immagine__uno,
  .immagine__quattro,
  .immagine__cinque {
    grid-column: 2 / 12;
    width: 100%;
    margin-bottom: var(--space-l);
  }

  .logo__principale {
    margin-top: 12rem;
    margin-bottom: var(--space-l);
  }

  .logo__coloredx {
    margin-bottom: var(--space-l);

  }

  .immagine__due {
    grid-column: 2 / 7;
    width: 100%;
    align-self: center;
    margin-bottom: var(--space-l);
    width: 80%;
 
  }

  .immagine__tre {
    grid-column: 7 / 12;
    width: 80%;
   
    align-self: center;
    margin-bottom: var(--space-l);
  }

  .immagine__sei {
    grid-column: 4 / 10;
    width: 100%;
    margin-bottom: var(--space-l);
  }

  .sezione__logo,
  .sezione__coordinato {
    padding: 0;
    grid-gap: 0;
  }

  .download,
  .download:hover {
    grid-column: 3 / 11;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: var(--space-l);
  }

  .download {
    background-color: #22b5b7;
    color: #e51438;
  }

  .download:hover {
    background-color: #e51438;
  }

  .testo__logo {
    grid-column: 2 / 12;
    text-align: center;
    margin-bottom: var(--space-l);
  }

  .footer__logo {
    grid-column: 4 / 10;
    height: 80px;
    margin-bottom: 20px;
  }

  .footer {
    grid-gap: 20px;
    padding: 0;
    margin-top: var(--space-l);
  }

  .footer__menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer__menu ul li {
    margin-bottom: 8px;
  }

  .footer__social {
    display: flex;
    justify-content: center;
    gap: 15px;
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .link__footer {
    text-align: center;
    gap: 20px;
    grid-column: 4 / 10;
  }

  .footer__social a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    margin-bottom: var(--space-l);
  }

  .footer__social a:hover {
    color:  #22b5b7;
  }
}
 

