*{
  box-sizing: border-box;
}

body{
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: #eeded7;
  font-family: "Montserrat";
}

.container{
  max-width: 1920px;
  height: 100vh;
  margin: 0 auto;
  /*background-image: url(images/ingranaggio-2.png),url(images/ingranaggio-1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;*/
  position: relative;
}


.content{
  width: 62%;
  min-height: 400px;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  background-color: #ddbdb0;
  background-image: url(images/barre-laterali.png);
  background-repeat: repeat-y;
  background-size: contain;
  text-align: center;
}

.sub-content{
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.content img {
  width: 100%;
  max-width: 284px;
}

.content h1 {
  font-size: 35px;
  line-height: 40px;
  color: #002f6c;
  font-weight: bold;
}

@media screen and (max-width: 2560px) and (min-width: 1921px) {
  .content h1 {
    font-size: 48px;
    margin-top: 10%;
    line-height: 52px;
  }
}

@media screen and (max-width: 1920px) and (min-width: 1441px) {
  .content h1 {
    font-size: 42px;
    margin-top: 10%;
  }
}

@media screen and (max-width: 1440px) and (min-width: 1281px) {
  .content h1 {
    font-size: 32px;
    margin-top: 10%;
  }
}

@media screen and (max-width: 1280px) and (min-width: 1025px) {
  .content h1 {
    font-size: 28px;
    margin-top: 10%;
  }
}


@media only screen and (max-width : 1024px) and (min-width: 769px) and (orientation : portrait) {
  .content h1 {
    font-size: 34px !important;
    line-height: 52px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
  .container{
    position:inherit;
    display: flex;
  }

  .content h1{
    font-size: 24px;
    margin-top: 10%;
  }
}

@media screen and (max-width: 1023px) {
  .container{
    background-image: none !important;
  }
}

@media screen and (max-width: 768px) and (min-width: 426px) {
  .content h1 {
    font-size: 28px;
    line-height: 36px;
    margin-top: 10%;
  }

  .content {
    width: 85%;
  }
}

@media screen and (max-width: 425px) {
  .content h1 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 20%;
  }

  .content{
    width: 85%;
  }
}
