@font-face {
  font-family: 'Merriweather';
  src: url('../webfonts/Merriweather/Merriweather-Bold.ttf') format('truetype'), url('../webfonts/Merriweather/Merriweather-Regular.ttf') format('truetype')
}

html, body {
  height: 100%;
}

body {
  position: relative;
  color: black;
  font-family: serif, Verdana, Tahoma;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Merriweather, serif, Verdana;
}

.section {
  position: relative;
  padding-top: 65px;
  padding-bottom: 65px;
}

.no-padding-top {
  padding-top: 0;
}

.no-padding-bottom {
  padding-bottom: 0;
}

.text-uppercase {
  text-transform: uppercase;
}

/*-----------------------------*/

/*-----------------------------*/

/*рамка круглых иконок*/

.icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 25px;
  border: solid 1px #ffb401;
  color: #ffb401;
  font-size: 25px;
  margin: 0 auto 15px;
  text-align: center;
}

/* -----------------------*/

/* -----------------------*/

/*подчеркивание заглавий в виде блоков */

.orangeLine {
  margin-bottom: 20px;
}

.orangeLine:after {
  content: " ";
  display: block;
  width: 100px;
  height: 2px;
  margin: 10px auto 20px;
  background: #ffb401;
}

/* -----------------------*/

/* -----------------------*/

/*навигационное меню*/

/*лого*/

.logo {
  position: relative;
}

.logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  transition-duration: 0.2s;
}

.logo:hover img {
  transform: scale(1.05);
}

/*лого*/

/* -----------------------*/

/* -----------------------*/

.header {
  user-select: none;
}


.navbar {
  font-family: Merriweather, serif, Verdana;
  font-size: 12px;
  box-shadow: 0 1px 10px black;
  background-color: rgba(0, 0, 0, 0.8);
}

.navbar ul.nav li a {
  border-bottom: solid 3px transparent;
  padding-top: 20px;
  color: white;
  letter-spacing: 0.1em;
  transition-duration: 0.2s;
}

.navbar ul.nav li a:hover, .navbar ul.nav li a:active, .navbar ul.nav li a:focus {
  background: transparent;
  border-bottom-color: #ffb401;
  transform: scale(1.05);
}

.navbar ul.nav li a:hover:first-letter, .navbar ul.nav li a:focus:first-letter {
  color: #ffb401;
}

.navbar-toggle {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffb401;
}

/* -----------------------*/

/* -----------------------*/

/*------------------*/

/* секция главной */

#main {
  height: 100vh;
  background: linear-gradient(90deg, rgba(60, 60, 60, 0.8) 0%, transparent 25%, transparent 75%, rgba(60, 60, 60, 0.8) 100%), url(../src/background/bigexc.jpg);
  background-attachment: fixed;
  background-size: cover;
}

#main h1, #main h3 {
  text-align: center;
  color: rgb(255, 255, 255);
  font-weight: 700;
}

/*------------------*/

/* -----------------------*/

/*анимированный текст*/

.animeText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  height: 40px;
  overflow: hidden;
}

.list {
  padding: 0;
  margin: 0;
  text-align: center;
  list-style: none;
  animation-name: change;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes change {
  0%, 20% {
    transform: translate(0, 0);
  }
  20%, 40% {
    transform: translate(0, -33%);
  }
  40%, 60% {
    transform: translate(0, -66%);
  }
  60%, 80% {
    transform: translate(0, -33%);
  }
  80%, 100% {
    transform: translate(0, 0);
  }
}

/*------------------*/

/*------------------*/

/* ссылка на телефон*/

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

.tel h3:hover i {
  color: #ffb401
}

.tel a {
  text-decoration: none;
}

/* -----------------------*/

/* -----------------------*/

/* секция техника */

@media all and ( max-width: 375px) {
  .minipogr, .miniexc, .kara {
    margin: 5px;
    position: relative;
    transition-duration: 0.2s;
  }
  .minipogr:hover, .miniexc:hover, .kara:hover {
    transform: scale(1.02);
    box-shadow: 0 1px 10px #ffb401;
  }
  .minipogr a, .miniexc a, .kara a {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(128, 128, 128, 0.864) 0%, transparent 70%);
    border: 0;
    opacity: 1;
  }
  .minipogr a span, .miniexc a span, .kara a span {
    display: block;
    margin: 160px auto;
    font-size: 18px;
    color: white;
    text-shadow: 1px 1px 1px #545454;
    transform: translate(0%, 5%);
  }
}

@media all and ( min-width: 376px) {
  .minipogr, .miniexc, .kara {
    margin: 5px;
    position: relative;
    transition-duration: 0.2s;
  }
  .minipogr:hover, .miniexc:hover, .kara:hover {
    transform: scale(1.02);
    box-shadow: 0 1px 10px #ffb401;
  }
  .minipogr a, .miniexc a, .kara a {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(128, 128, 128, 0.864) 0%, transparent 70%);
    border: 0;
    opacity: 0;
    transition-property: opacity;
    transition-delay: 0s;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
  }
  .minipogr a span, .miniexc a span, .kara a span {
    display: block;
    margin: 160px auto;
    font-size: 18px;
    color: white;
    text-shadow: 1px 1px 1px #545454;
    transition-property: transform;
    transition-delay: 0.1s;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
  }
  .minipogr:hover a, .miniexc:hover a, .kara:hover a {
    opacity: 1;
  }
  .minipogr:hover a span, .miniexc:hover a span, .kara:hover a span {
    transform: translate(0%, -65%);
  }
}

dl {
  margin-top: 65px;
  font-size: 20px;
  color: rgb(33, 33, 33);
}

@media all and ( min-width: 376px) {
  dl {
    font-size: 24px;
    color: rgb(33, 33, 33);
  }
}

/* -----------------------*/

/* -----------------------*/

/*  sprite **/

.sprite-bob, .sprite-cat, .sprite-kom, .sprite-niss {
  height: 50px;
  background-repeat: no-repeat;
}

.sprite-bob {
  background-image: url(../src/background/sprites/bob-sprite.png)
}

.sprite-cat {
  background-image: url(../src/background/sprites/caterpillar-sprite.png)
}

.sprite-kom {
  background-image: url(../src/background/sprites/komatsu-sprite.png)
}

.sprite-niss {
  background-image: url(../src/background/sprites/nissan-sprite.png)
}

/* -----------------------*/

/* -----------------------*/

/*  секция О нас */

#about {
  height: 100%;
  background: linear-gradient(90deg, rgba(60, 60, 60, 0.8) 0%, transparent 25%, transparent 75%, rgba(60, 60, 60, 0.8) 100%), url(../src/background/bigexcAbout.jpg);
  background-attachment: fixed;
  background-size: cover;
}

#about ol {
  list-style: none;
}

#about h3, #about ol {
  font-weight: 700;
  color: rgb(33, 33, 33);
}

#about h3 i {
  font-size: 50px;
}

#about .box-simple:hover i {
  color: #ffb401;
}

.box-simple {
  color: rgb(33, 33, 33);
  text-align: left;
  margin-bottom: 20px;
  border: solid 1px;
  border-radius: 10px;
  padding: 20px;
  background-color: rgba(211, 211, 211, 0.5);
}

h3 {
  margin-top: 10px;
}

/* -----------------------*/

/* -----------------------*/

/* секция контакты */

#contact {
  height: 100%;
  background: linear-gradient(90deg, rgba(60, 60, 60, 0.8) 0%, transparent 25%, transparent 75%, rgba(60, 60, 60, 0.8) 100%), url(../src/background/bigexcForm.jpg);
  background-attachment: fixed;
  background-size: cover;
}

/* -----------------------*/

/* -----------------------*/

/* форма */

.box-simple button {
  width: 100%;
  text-align: center;
}

.box-simple button:hover {
  background-color: #ffb401
}

/* -----------------------*/

/* -----------------------*/

/* иконки соц сети*/

#contact a {
  font-size: 2.3em;
  color: black;
  text-decoration: none
}

#contact a:hover:nth-of-type(1) {
  color: #4a76a8;
}

#contact a:hover:nth-of-type(2) {
  color: #ed4956;
}

#contact a:hover:nth-of-type(3) {
  color: #1da1f2;
}

#contact a:hover:nth-of-type(4) {
  color: #ee8208;
}

/* -----------------------*/

/* -----------------------*/

/* карта*/

.map {
  height: 150px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  margin-top: 20px;
}

/* -----------------------*/

/* -----------------------*/

.footer {
  text-align: right;
  color: white;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}