html, body {
  margin: 0;
  padding: 0;
}
header {
  height: 100px;
  background-color: #e9e7e7;
}
main {
  overflow: hidden;
}

.logo img {
  height: 70px;
  margin-left: 70px;
  margin-top: 10px;
  float: left;
}
.logo-text {
  height: 40px;
  width: 165px;
  margin-top: 30px;
  margin-left: 10px;
  line-height: normal;
  font-size: 20px;
  font-family: Bicubik;
  float: left;
  color: #303030;
}
.topUl {
  display: inline-block;
  font-size: 1.5rem;
  font-family: KievitPro;
  font-weight: normal;
  width: 250px;
  margin-top: 30px;
}
.topUl li {
  display: inline-block;
  margin-left: 10px;
}
.topUl a {
  color: #303030;
}
.topUl a:hover {
  text-decoration: none;
  border-bottom: 2px solid #f7d764;
}
.telefon {
  float: right;
  font-size: 1.9rem;
  margin-right: 80px;
  margin-top: 25px;
  font-family: KievitPro;
  color: #303030;
}
.descripter {
  font-size: 1.8rem;
  margin-top: 25px;
  font-family: KievitPro;
}
.firstBlock h2 {
  font-family: KievitPro;
  font-size: 5rem;
  font-weight: 800;
  width: 560px;
  margin-top: 80px;
  z-index: 10;
  position: relative;
}
.btn-yellow {
  width: 312px;
  height: 60px;
  border-radius: 5px;
  font-family: KievitPro;
  font-size: 1.8rem;
}
.btn-top {
  margin-top: 45px;
}
.img-crane-top {
  margin-top: 20px;
  margin-bottom: 60px;
}
.crane-mini-left {
  position: absolute;
  margin-top: -130px;
  z-index: 10;
}
.twoBlock {
  padding-top: 40px;
}
.cardService {
  height: 320px;
  transition: 0.4s;
  cursor: pointer;
}
.cardService:hover .img-center  {
  margin-top: -20px;
}
.cardService:hover {
  z-index: 5;
  box-shadow: 0px 0px 3px 2px rgba(0,0,0,0.2);
}
.cardService h4 {
  text-align: center;
  margin-top: 30px;
  font-weight: 700;
  font-size: 1.3rem;
}
.dark-bg {
  background-color: #dcdcdc;
}
.light-bg {
  background-color: #e9e7e7;
}
.img-center {
  width: 96px;
  height: 96px;
  z-index: 10;
  position: relative;
  transition: 0.4s;
}
.img-opacity {
  opacity: 0.75;
}
.img-group {
  width: 122px;
  margin-top: 72px;
  height: 110px;
}
.ellipse-yellow {
  position: absolute;
  margin-top: -10px;
  margin-left: -50px;
}
.containers-mini-right {
  z-index: 10;
  float: right;
  margin-right: -80px;
  margin-top: -100px;
  position: relative;
}
.crane-bottom {
  float: left;
}
.contacts {
  display: inline-block;
  width: 520px;
  height: 475px;
  border: 15px dashed #e9e7e7;
  border-radius: 10px;
  float: right;
  margin-right: 400px;
  margin-top: 60px;
  font-family: KievitPro;
  font-size: 1.9rem;
  line-height: 1;
}
.email {
  height: 50px;
  width: 350px;
  margin-left: 90px;
  margin-top: 70px;
}
.email-text {
  height: 50px;
  margin-left: 80px;
  padding-top: 10px;
}
.email-img {
  width: 50px;
  height: 50px;
  float: left;
}
.tel-bottom {
  height: 50px;
  width: 350px;
  margin-left: 90px;
  margin-top: 55px;
}
.tel-bottom-img {
  width: 50px;
  height: 50px;
  float: left;
}
.tel-bottom-text {
  margin-left: 80px;
  padding-top: 10px;
}
.btn-bottom {
  margin-top: 80px;
  margin-left: 80px;
}
@media (min-width: 1481px) and (max-width: 1700px) {
  .contacts {
    margin-right: 200px;
  }
}

@media (min-width: 1291px) and (max-width: 1480px) {
  .crane-bottom img{
    width: 680px;
  }
  .contacts {
    margin-right: 90px;
  }
}
@media (min-width: 1100px) and (max-width: 1290px) {
  .img-crane-top img {
    width: 405px;
  }
  .firstBlock h2 {
    font-size: 3.5rem;
  }
  .descripter {
    font-size: 1.3rem;
  }
  .btn-yellow {
    width: 250px;
    font-size: 1.4rem;
    height: 50px;
  }
  .cardService h4 {
    font-size: 1.1rem;
  }
  .crane-mini-left img {
    width: 165px;
  }
  .crane-bottom img{
    width: 570px;
  }
  .contacts{
    width: 370px;
    height: 400px;
    border: 9px dashed #e9e7e7;
    margin-right:  160px;
    font-size: 1.5rem;
    margin-top: 0px;
  }
  .email {
    margin-left: 20px;
  }
  .tel-bottom {
    margin-left: 20px;
  }
  .email-img img {
    width: 45px;
  }
  .tel-bottom-img img {
    width: 45px;
  }
  .btn-bottom {
    margin-left: 55px;
  }
}
@media (min-width: 10px) and (max-width: 1099px) {
  .img-crane-top img {
    width: 405px;
  }
  .firstBlock h2 {
    font-size: 3.5rem;
  }
  .descripter {
    font-size: 1.3rem;
  }
  .btn-yellow {
    width: 250px;
    font-size: 1.4rem;
    height: 50px;
  }
  .cardService {
    height: 280px;
  }
  .cardService h4 {
    font-size: 1rem;
  }
  .crane-mini-left img {
    width: 165px;
  }
  .crane-bottom img{
    width: 520px;
  }
  .contacts{
    width: 370px;
    height: 400px;
    border: 9px dashed #e9e7e7;
    margin-right:  90px;
    font-size: 1.5rem;
    margin-top: 0px;
  }
  .email {
    margin-left: 20px;
  }
  .tel-bottom {
    margin-left: 20px;
  }
  .email-img img {
    width: 45px;
  }
  .tel-bottom-img img {
    width: 45px;
  }
  .btn-bottom {
    margin-left: 55px;
  }
}



@font-face {
  font-family: Bicubik;
  src: url('../assets/fonts/Bicubik.OTF');
}
@font-face {
  font-family: KievitPro;
  src: url('../assets/fonts/KievitPro-Book.otf');
}
