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: 75vh;
    width: 100%;
    background-size: cover;
    background-image: url("../../assets/img/kt-homes-kp1.jpg");
    background-position: bottom;
    display: table;
    background-attachment: inherit;
  }
}

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

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

@media (min-width: 400px) {
  #logoasetus {
    width: 100%;
    margin-top: 0px;
    max-width: 194px;
  }
}

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

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

.navbar {
  background-color: rgba(47,47,47,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: rgb(47,47,47);
  -webkit-transition: background-color 500ms linear;
  -moz-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

div {
}

@media (max-width: 768px) {
  .navbar {
    background-color: rgb(47,47,47);
  }
}

