/* rem magic */
html {
  font-size: 10px;
}

@media only screen and (max-width: 1280px) {
  html {
    font-size: calc((100 / 1280) * 10vw);
  }
}

@media only screen and (max-width: 767px) {
  html {
    font-size: 10px;
  }
}
/* rem magic end */

body {
  height: 100%;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  position: relative;
  font-family: "Open Sans", sans-serif;
}

.hero {
  height: 100%;
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.hero-inner {
  padding: 5rem 0;
}

.grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.grid-item {
  background-color: white;
  border-radius: 3rem;
  width: 50rem;
  opacity: 1;
  -webkit-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  padding: 1rem 1rem 1rem;
}

@media only screen and (max-width: 767px) {
  .grid-item {
    width: 90%;
  }
}

@media only screen and (max-width: 767px) {
  .grid-block {
    height: 10rem;
  }
}

.logo {
  text-align: center;
}

.logo img {
  max-width: 30rem;
  height: auto;
}

.social img {
  max-width: 3rem;
  height: auto;
  text-align: center;
    margin-left:10px;
	margin-right:10px;
}
.social  {
  text-align: center; 

}


@media only screen and (max-width: 767px) {
  .logo img {
    max-width: 15rem;
  }
  .social img {
  max-width: 2rem;
	}
}

.slogan {
  text-align: center;
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
}
@media only screen and (max-width: 767px) {
  .slogan {
    font-size: 1.8rem;
  }
}

.contacts span {
  display: block;
  text-align: center;
  font-size: 1.6rem;
}
@media only screen and (max-width: 767px) {
  .contacts span {
    font-size: 1.4rem;
  }
}

span + span {
  margin-top: 0.5rem;
}

.contacts span a {
  text-decoration: none;
  color: inherit;
}
