/* This stylesheet generated by Transfonter (http://transfonter.org) on December 29, 2016 2:40 PM */

@font-face {
  font-family: 'Fedra Sans Pro';
  src: url('../fonts/subset-FedraSansPro-Medium.eot');
  src: url('../fonts/subset-FedraSansPro-Medium.eot?#iefix')
      format('embedded-opentype'),
    url('../fonts/subset-FedraSansPro-Medium.woff') format('woff'),
    url('../fonts/subset-FedraSansPro-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Fedra Sans Pro';
  src: url('../fonts/subset-FedraSansPro-Book.eot');
  src: url('../fonts/subset-FedraSansPro-Book.eot?#iefix')
      format('embedded-opentype'),
    url('../fonts/subset-FedraSansPro-Book.woff') format('woff'),
    url('../fonts/subset-FedraSansPro-Book.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fedra Sans Pro';
  src: url('../fonts/subset-FedraSansPro-Light.eot');
  src: url('../fonts/subset-FedraSansPro-Light.eot?#iefix')
      format('embedded-opentype'),
    url('../fonts/subset-FedraSansPro-Light.woff') format('woff'),
    url('../fonts/subset-FedraSansPro-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

:root {
  --main-color: #fff;
  --bg-color: #000;
}

html {
  background-color: var(--bg-color);
  color: var(--main-color);
}

body {
  font-family: 'Fedra Sans Pro';
  font-size: 30px;
  line-height: 1.3;

  font-weight: 300;
}

.block-footer {
  flex: 1 0 auto;
}

.block-header {
  flex: 1 0 auto;
  display: flex;
}
.block-address {
  font-size: 14px;
  line-height: 24px;
}
.block-main {
  flex: 1 0 auto;
}

.block-main p {
  max-width: 700px;
}

.block-footer {
  font-weight: normal;
}

.min-width-300 {
  min-width: 280px;
}

.socials {
  white-space: nowrap;
}

.socials a {
  display: inline-block;
  width: 45px;
  height: 45px;
  color: var(--bg-color);
  background: var(--main-color);
  border-radius: 50%;
  font-size: 22px;
  line-height: 45px;
  text-align: center;
  margin: 0 5px;
  transition: all 0.3s ease;
}
.socials a:hover,
.socials a:focus {
  color: var(--bg-color);
  background: #555;
}
.socials a i {
  line-height: 45px;
}

a {
  color: var(--main-color);
  text-decoration: underline;
}
a:hover,
a:focus {
  text-decoration: none;
  color: var(--main-color);
}

.text--small {
  font-size: 0.6em;
}

.button {
  display: inline-block;
  color: var(--bg-color);
  background-color: var(--main-color);
  padding: 0 20px;
  text-align: center;
  height: 45px;
  line-height: 45px;
  font-size: 0.6em;
  text-decoration: none;
  border-radius: calc(45px / 2);
  transition: all 0.3s ease;
  font-weight: 400;
}
.button:hover,
.button:focus {
  color: var(--bg-color);
  background-color: #555;
}

@media (max-width: 640px) {
  body {
    font-size: 20px;
  }
  .block-header {
    flex-direction: column;
  }
  .block-header-logo {
    margin-bottom: 20px;
  }
  .block-address {
    text-align: left !important;
  }
  .text--small {
    font-size: 0.7em;
  }
  .button {
    font-size: 0.7em;
  }
}
