
body{
  width: 100vw;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links li:first-child {
  margin-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
}

.hamburger {
  display: none;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: #333333;
  margin: 5px;
}

@media screen and (max-width: 600px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: block;
    cursor: pointer;
  }
  
  .hamburger .line {
    transition: all 0.3s ease;
  }
  
  .hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active .line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}


@media screen and (min-width: 601px) {
  .nav-links {
    display: flex !important;
  }
}







.links-div {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
}

.links-div ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.links-div li {
  margin: 10px;
}

.links-div a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}


.hidden {
  display: none;
}

.logo img {
  max-width: 40%;
  height: auto;
  margin: 20px;
}




.primo{
  background-image: url("img/pezze.jpeg");
  background-size: cover;
  background-position: center;
}

.primo h1{
  padding: 100px;
  padding-top: 170px;
  padding-bottom: 0px;
  font-size: 80px;
  text-transform: uppercase;
  color: white;
}
.primo h3{
  padding: 100px;
  padding-top: 30px;
  padding-bottom: 170px;
  font-size: 30px;
  color: white;
}


.secondo{
  height: 500px;
  margin-bottom: 50px;
}

.secondo .left, .secondo .right{
  height: 100%;
}

.secondo .left img{
  margin: 20px;
}

.secondo .left{
  width: 40%;
  float: left;
}

.secondo .right{
  width: 60%;
  float: right;
}
.secondo .right h1{
  margin-top: 100px!important;
  margin: 0 200px;
  margin-bottom: 100px;
  font-size: 40px;
  text-transform: uppercase;
  color: #568377;
}
.secondo .right p{
  margin: 50px;
  margin-bottom: 70px;
  font-size: 20px;
}
.secondo img{
  height: 100%;
}

.terzo{
  background-color: #175b49;
}

.terzo h1{
  margin: 10px;
  color: white;
  font-size: 100px;
  text-transform: uppercase;
}

.quarto{
  margin-top: 70px;
  margin-bottom: 0px;
}

.quarto .left, .quarto .right{
  height: 100%;
}

.quarto .left{
  width: 60%;
  float: left;
}

.quarto .right{
  width: 40%;
  float: right;
}

.quarto{
  height: 300px;
}

.quarto h1{
  color: #175b49;
  margin: 20px;
}

.quarto p{
  margin: 70px;
  font-size: 20px;
}

.quarto h3{
  margin: 20px;
  font-size: 30px;
  color: #175b49;
}

.quarto img{
  height: 130%;
}

.footer .left{
  width: 40%;
  float: left;
}

.footer .right{
  width: 30%;
  float: right;
}

a{
  text-transform: uppercase;
  color: #568377!important;
  font-size: 30px;
  margin: 10px;
}


.quinto{
  background-image: url("img/macchinario.jpg");
  color: white;
}
.quinto h1{
  margin: 300px;
  margin-top: 150px;
  padding-top: 230px;
  margin-bottom: 50px;
  font-size: 100px;
  text-transform: uppercase;
}

.quinto button{
  margin-bottom: 200px;
  font-size: 50px;
  text-transform: uppercase;
  border: none;
  border-radius: 20px;
}

.footer .left{
  padding: 10px;
  background-color: #175b49;
  height: 100%;
  color: white;
}
.footer .right{
  padding: 10px;
  background-color: #175b49;
  height: 100%;
  color: white;
}
.footer{
  background-color: #175b49;
  height: 150px;
}

img{
  height: 100%;
}

.secondo .left img{
  width: 80%;
}

@media screen and (max-width: 1650px) {
  .secondo .right h1{
    margin: 10px!important;
  }
}

@media screen and (max-width: 1650px) {
  .secondo .right h1{
    margin: 10px;
    font-size: 20px;
  }

  .quarto{
    height: 400px;
  }

  .quarto .right{
    display: none;
  }

  .quarto .left{
    width: 100%;
  }

  .quinto h1{
    margin: 10px;
    font-size: 30px;
  }

  .quinto button{
    font-size: 20px;
  }
}

@media screen and (max-width: 800px) {

  .secondo .left img{
    height: 80%;
  }
  .terzo h1{
    font-size: 50px;
  }

  .a h1{
    font-size: 30px;
  }

  header{
    width: 100%;
  }
  .nav-links a{
    font-size: 10px;
  }
  .secondo{
    height: 1000px;
  }

  .secondo .left, .secondo .right{
    width: 100%;
    height: 50%;
    float: none;
  }
  .secondo .left{
    margin-bottom: 50px;
  }

  .secondo .right h1{
    margin: 0 20px;
    font-size: 25px;
  }
  .secondo .right p{
    margin: 20px;
  }

  .terzo{
    margin-top: 150px;
  }
  .quarto .left, .quarto .right{
    width: 100%;
    height: 600px;
    float: none;
  }
  .quarto .left p{
    margin: 20px;
  }
  .quarto{
    height: 700px;
  }
  .quarto .left{
    margin-bottom: 50px;
  }
  .quarto .right{
    margin-bottom: 50px;
  }
  .quinto h1{
    margin: 20px;
  }
  .quinto button{
    margin-bottom: 50px;
  }

  .left, .right{
    width: 100%;
    float: none;
  }
}

