span {
  font-style: inherit;
  font-weight: inherit;
}

@media (max-width: 1099px) {
  #box-4 {
    height: 70vh;
    width: 100%;
    background-image: url(kuljetus2.webp);
    background-size: cover;
    display: table;
    background-attachment: inherit;
  }
}

@media (min-width: 1100px) {
  #box-4 {
    height: 90vh;
    width: 100%;
    background-position: center;
    background-image: url("maanrakennus_paakkunainen_kollaasi2.webp");
    background-size: cover;
    display: table;
    background-attachment: fixed;
  }
}

@media (max-width: 1099px) {
  #box-3 {
    height: 60vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: table;
    background-attachment: inherit;
  }
}

@media (max-width: 349px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 230px;
  }
}

@media (max-width: 499px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 84px;
  }
}

@media (min-width: 500px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 133px;
  }
}

@media (max-width: 349px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 178px;
  }
}

@media (max-width: 300px) {
  #logoasetus {
    width: 100%;
    margin-top: 3px;
    max-width: 218px;
  }
}

.navbar {
  background-color: rgba(177,159,111,0);
  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.scrolled {
  background-color: #e9f2d8;
  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

@media (min-width: 577px) {
  #banneri-tausta {
    max-width: 1000px;
    margin-top: 90px;
  }
}

@media (max-width: 576px) {
  #banneri-tausta {
    max-width: 300px;
    margin-top: 130px;
  }
}

.item {
  padding: 3px;
}

@media (min-width: 700px) {
  #box-6 {
    padding-bottom: 60px!important;
    padding-top: 60px;
  }
}

