*{  padding: 0;
	margin: 0;
	text-decoration: none;
list-style: none;
box-sizing: border-box;
}

body{
	font-family: 'Roboto', sans-serif;
}

/* header desktop*/

nav{
	background: white;
	height: 150px;
	width: 100%;
}

.logo{
	height: 150px;
	padding: 20px 0px 20px 80px;
	display: inline;
}

nav ul{
	float: right;
	margin-right: 40px;
	margin-top: 10px;
}

nav ul li{
	display: inline-block;
	line-height: 150px;
	margin: 0 20px;
}

nav ul li a {
	color: rgb(64, 123, 107);
	font-size: 24px;
	text-transform: uppercase;
	font-weight: 500;
}

a.active, a:hover {
	color: rgb(21, 87, 70);
	transition: .5s;
}

.checkbtn {
	font-size: 30px;
	color: rgb(64, 123, 107);
	float: right;
	line-height: 110px;
	margin-right: 40px;
	margin-top: 5px;
	cursor: pointer;
	display: none;
}

#check {
	display: none;
}

h1 {
	font-size: 48px;
	font-weight: 500;
	color: white;
}
h2 {

	font-weight: 500;
	color: rgb(21, 87, 70);
}

h3 {
	font-weight: 500;
	color: rgb(21, 87, 70)

}

h4 {

	font-weight: 600;
		color: rgb(21, 87, 70);
		font-size: 24px;
}
.titolo-slider {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 80px;
}

.paragrafo-home {
	font-size: 26px;
}

/* body desktop */
 .main-content {
 	margin: 80px;
 	height: 100vh;
 }

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/pezze.jpeg");
  height: 50vw; 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-bottom: 40px;
}

.hero-text {
  text-align: center;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.hero-image-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/macchinario.jpg");
  height: 30vw; 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
   margin-top: 40px;
}

.hero-image-3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/schermo.jpg");
  height: 30vw; 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
   margin-top: 40px;
}

.hero-image-4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/imacchinari.jpg");
  height: 30vw; 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-image-5 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/magliatex-3.jpg");
  height: 30vw; 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}


.flex-image {
   max-width: 100%;
}


.testo {
	flex: 1;
	text-align: center;
	padding: 80px 20px;
}


.testo-about {
	flex: 1;
	text-align: center;
	padding: 0px 20px;
}

.container-home {
	width: 100%;
	display: flex;
	flex-direction: row;
	padding-bottom: 60px;
}

table{
    width: 100%;
    font-size: 20px;
    text-align: center;
    margin: 0 auto;
}

.tabella{
    width: 100%;
    margin: 40px auto;
}

/*alterna le riche della tabella con uno sfondo verde*/
tr:nth-child(even){
    background-color: #d0deda;
}

/*alterna le riche della tabella con uno sfondo bianco*/
tr:nth-child(odd){
    background-color: white;
    padding: 15px;
}

tr:first-child{
    background-color: #175b49;
    color: white;
    text-transform: uppercase;
}

td:first-child{
    width: 5%;
}

td:nth-child(2){
    width: 10%;
}

td:nth-child(3){
    width: 10%;
}

td:nth-child(4){
    width: 7%;
}

td:nth-child(5){
    width: 7%;
}

td:nth-child(6){
    width: 7%;
}

td:nth-child(7){
    width: 54%;
}
td{
    padding: 10px;
    font-size: 20px;
}


/* footer desktop */
footer{
	width: 100%;
	background-color: rgb(21, 87, 70);
}

.container {
	width: 100%;
	display: flex;
	flex-direction: row;

}

.column-1 {
	flex: 1;
	padding: 40px 0px 0px 0px;
	text-transform: uppercase;
	color: white;
}

.column-2 {
	flex: 1;
	padding: 60px 0px 0px 0px;
}

footer a {
	color: white;
	font-size: 20px;
}

footer a:hover {
	color: lightgreen;
	font-size: 20px;
}

.container-wrapper {
	background-color: rgb(21, 87, 70);
	padding: 80px 0px 80px 0px;
	margin:  40px 0px;
}

.wrapper{
  display: flex;
  width: 90%;
  margin: auto;
  position: relative;
  background-color: lightgreen;
}
.wrapper i{
  top: 50%;
  height: 44px;
  width: 44px;
  color: #343F4F;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  text-align: center;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.9);
}
.wrapper i:hover{
  background: #f2f2f2;
}
.wrapper i:first-child{
  left: -22px;
  display: none;
}
.wrapper i:last-child{
  right: -22px;
}
.wrapper .carousel{
  font-size: 0px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}
.carousel.dragging{
  cursor: grab;
  scroll-behavior: auto;
}
.carousel.dragging img{
  pointer-events: none;
}
.carousel img{
  height: 500px;
  object-fit: cover;
  user-select: none;
  margin-left: 14px;
  width: calc(100% / 3);
}
.carousel img:first-child{
  margin-left: 0px;
}

.download-button {
	background-color: white;
	color: rgb(21, 87, 70);
	text-transform: uppercase;
	border-radius: 5px;
	border: none;
	font-size: 24px;
	font-weight: 600;
	padding: 15px 32px;
	margin-top: 20px;
}

.download-button-2 {
	display: block;
	margin: 0 auto;
	background-color: white;
	color: rgb(21, 87, 70);
	text-transform: uppercase;
	border-radius: 5px;
	border: solid;
	border-color: rgb(21, 87, 70);
	font-size: 24px;
	font-weight: 600;
	padding: 15px 32px;
	margin-top: 20px;
}

button a:visited {
	color: rgb(21, 87, 70);
}

button a:hover {
	color: lightgreen;
}


.mappa {
	margin: 40px;
	display: inline;
}

.contatti {
	display: inline;
}

@media (max-width:1300px) {

/* header tablet*/

	.logo {
		height: 140px;
        display: block;
		margin: auto;
	}

	.checkbtn{
		line-height: 140px;
	}

	nav ul li a {
		font-size: 16px;
	}

	.checkbtn{
		display:block;
}

ul{
	position: fixed;
	z-index: 10;
	width: 100%;
	height: 100vh;
	background: white;
	top: 140px;
	opacity: 0;
	text-align: center;
	transition: all .5s;
}

nav ul li{
	display: block;
	margin-top: 50px;
}
 nav ul li a {
 	font-size: 40px;

 }

a:hover, a.active {
	background: none;
	color: rgb(21, 87, 70);
}

#check:checked ~ ul {
	opacity: 1;
}
}

/* body tablet */ 

.container-home {
	flex-direction: column;
	padding: 0 40px;
}

.mappa {
	width: 90%;
	margin: 0px auto 80px auto;
}

.contatti {
	text-transform: uppercase;
}

/* footer tablet */

    footer {
    	padding-bottom: 40px;
    }

	.container {
		height: 150px;
		flex-direction: column;
	}

	.column-2 {
		text-align: center;
		
	}
	.column-1 {
		text-align: center;
	}

	.footer-social {
	float: none;
	
}

 .carousel img{
    width: calc(100% / 2);
  }

@media (max-width:768px) {

/* header mobile */

	.logo {
		height: 110px;
        display: block;
		margin: auto;
	}
.checkbtn{
		line-height: 110px;
	}
	nav ul li a {
		font-size: 16px;
	}

	.checkbtn{
		display:block;
}

ul{
	position: fixed;
	z-index: 10;
	width: 100%;
	height: 100vh;
	background: white;
	top: 110px;
	opacity: 0;
	text-align: center;
	transition: all .5s;
}

nav ul li{
	display: block;
	margin-top: 50px;
}
 nav ul li a {
 	font-size: 40px;

 }

a:hover, a.active {
	background: none;
	color: rgb(21, 87, 70);
}

#check:checked ~ ul {
	opacity: 1;
}
}

/* body mobile */

  .carousel img{
    width: 100%;
  }

  h1 {
  	font-size: 36px;
  }
  
  .hero-image {
height: 30vh;
  }

    .hero-image-2 {
height: 30vh;
  }

   .hero-image-3 {
height: 30vh;
  }

 .paragrafo-home {
 	font-size: 16px;
 }

td{
    padding: 10px;
    font-size: 12px;
}
p {
	font-size: 16px;
}

table {
	width: 90%;
	margin: 0 auto;
}

/* footer mobile */


@media (min-width:1300px) {

	.container{
		flex-direction: row;
	}

	footer{
	width: 100%;
    padding-bottom: 0px;
}

.footer-social {
	float: right;
	margin: 0 20px;
}

.column-1 {
		text-align: left;
		padding-left: 80px;
	}

	.column-2 {
		margin-right: 80px;
	}

.container-home{
	width: 90%;
	flex-direction: row;
	margin-bottom: 60px;
	margin: 0 auto;
}


.flex-image {
	height: 60vh;
	width: auto;
}

.testo {
	margin: auto 0;
	padding: 0 80px;
}
.hero-image{
height: 30vw; 	
}

 .paragrafo-home {
 	font-size: 20px;
 }

 h2 {
 	font-size: 36px;
 }

 h1 {
 	font-size: 48px;
 }

 h3 {
 	font-size: 24px;
 }

 .contatti {
 	text-align: left;
 	text-transform: uppercase;
 }

td{
    padding: 10px;
    font-size: 20px;
}


}


#overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 9999;
  }
  
  #overlay-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
  }
  
  #overlay-link {
	display: block;
	margin-bottom: 40px;
	color: rgb(64, 123, 107);
	font-size: 30px;
	text-decoration: none;
  }
  
  #overlay-button {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10000;
  }
  

  #overlay-button {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 22px;
	background: transparent;
	
	cursor: pointer;
  }
  
  #overlay-button span {
	width: 100%;
	height: 2px;
	background-color: #000;
  }
  
  #overlay-button span:nth-child(2) {
	width: 80%;
  }
  
  #overlay-button span:nth-child(3) {
	width: 60%;
  }

  #overlay-button span {
	width: 100%;
	height: 2px;
	border-color: #000!important;
  }
  



