body {
  padding: 0;
  margin: 0;
  height: 100vh;
}

div, p, form, input, a, span, button {
    box-sizing: border-box;
}

p {
  margin: 0;
}

a:hover {
  text-decoration: none;
}

.footer-nav__item {
  color: #fff;
}

.footer {
	width: 100%;
}

.footer-nav, .rights {
  text-align: center;
}

.footer-nav__item {
  margin: 0 40px;
}

.rights {
  padding-top: 8px;
  font-size: 12px;
}

.header, .footer .col-12:first-child {
  background-color: #635f78;
  padding: 17px 0;
}

.logo img{
  max-width: 120px;
}

.logo {
  display: block;
  max-width: 120px;
  max-height: 38px;
  margin-left: auto;
}

.heading {
  color: #fff;
  font-size: 35px;
}

.main-title {
  font-size: 32px;
  width: 490px;
  text-align: center;
  margin: 0 auto;
  margin-top: 30px;
}

.info-card {
  width: 500px;
  margin: 46px auto 0;
  background-color: #635f78;
  color: #fff;
  padding: 10px;
}

.info-card__title {
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;

}

.info-card__tel a {
	color: #00a5ff;
}

.info-card__contacts {
  justify-content: space-between;
  flex-wrap: wrap;
}



.footer {
  position: absolute;
  bottom: 0;
}
.cogwheel {
      animation-name: spin;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    width: 200px;
    height: 200px;
    margin: 20px auto 0;
    display: block;
    fill: #000;
}





@keyframes spin {
    from {transform: rotate(0deg); }
    to {transform: rotate(360deg);}
}

@media screen and (max-width: 1200px) {

}

/* 768-992px md*/
@media screen and (max-width: 992px) {

}

/* 576-768px sm*/
@media screen and (max-width: 768px) {
  .main-title {
    width: 100%;
  }



}


/* 320-576px */
@media screen and (max-width: 576px) {

  .heading {
    font-size: 24px;
  }

  .main-title {
    font-size: 21px;
  }

  .logo img {
    width: 100%;
  }

  .gear {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
  }

  .info-card {
    width: 100%;
    margin-top: 0;
  }

  .cogwheel {
    width: 180px;
  }

  .info-card__contacts {
    justify-content: center;
  }

  .footer-nav__item {
    margin: 0;
    font-size: 13px;
  }


  .footer-nav {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    padding: 0 20px;
  }

  @media screen and (max-width: 321px) {
    .footer {
      position: relative;
      margin-top: 10px;
    }
  }



}
