@import url(https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic);

@font-face {
  font-family: "MyriadPro-Regular";
  font-display: swap;
  src: url("../fonts/MyriadPro-Regular.woff") format("woff"), url("../fonts/MyriadPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

body {
  overflow: auto;
}

.container {
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 15px;
}

.wrapper {
  min-height: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.content {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  
  background-image: url("../img/bg.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.4)));
  background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4));
}

.header {
  margin: 100px 0 0;
  position: relative;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
}

.header .header-body {
  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;
  -webkit-transition: all 1.5s ease;
  -o-transition: all 1.5s ease;
  transition: all 1.5s ease;
}

.header .header-body.animate {
  opacity: 0;
}

.header .header-body.animate.active {
  opacity: 1;
}

.header .header-body__link {
  width: 132px;
  height: 46px;
  color: #ffae00;
  font-size: 13px;
  font-family: 'Roboto',Arial,sans-serif;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.95;
  text-align: center;
  -webkit-box-shadow: -5px -5px 6px 0px #1f1e1c;
          box-shadow: -5px -5px 6px 0px #1f1e1c;
  border-radius: 15px;
  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;
  position: relative;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.header .header-body__link:hover {
  -webkit-box-shadow: -5px -5px 10px 0px #3d3a35;
          box-shadow: -5px -5px 10px 0px #3d3a35;
}

.header .header-body__link:hover::after {
  -webkit-box-shadow: 4px 4px 14px 0px black;
          box-shadow: 4px 4px 14px 0px black;
}

.header .header-body__link::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-box-shadow: 4px 4px 10px 0px #121111;
          box-shadow: 4px 4px 10px 0px #121111;
  border-radius: 15px;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.header .header-body__link.active {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.header .header-body__link.active::after {
  display: none;
}

.header .header-body__logo {
  display: block;
  width: 200px;
  height: 100px;
  margin: 0 70px;
}

.header .header-body__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.contacts {
  position: relative;
  z-index: 1;
  margin: 20px 0 150px 0;
  -webkit-transition: all 1.5s ease;
  -o-transition: all 1.5s ease;
  transition: all 1.5s ease;
}

.contacts.animate {
  opacity: 0;
}

.contacts.animate.active {
  opacity: 1;
}

.contacts .contacts-body {
  padding: 30px 40px;
  border-radius: 15px;
  background-color: rgba(232, 222, 216, 0.3);
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  -webkit-box-shadow: 15px 15px 10px 0px #121111;
          box-shadow: 15px 15px 10px 0px #121111;
  color: #000000;
  font-size: 20px;
  font-family: 'Roboto',Arial,sans-serif;
  line-height: 1.55;
  font-weight: 400;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.contacts .contacts-body table {
  font-size: 16px;
  width: 100%;
  border: 1px solid black;
  border-collapse: collapse;
}

.contacts .contacts-body table th {
  padding: 5px;
  text-align: center;
  border: 1px solid black;
}

.contacts .contacts-body table td {
  padding: 5px;
  text-align: center;
  border: 1px solid black;
}

.contacts .contacts-body a {
  color: #000000;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.contacts .contacts-body a:hover {
  color: #313131;
}

@media (max-width: 767px) {
  .header {
    margin: 30px 0 0;
  }

  .header .header-body {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }

  .header .header-body__link {
    font-size: 10px;
    width: 112px;
    height: 40px;
  }

  .header .header-body__logo {
    width: 100px;
    height: 50px;
    margin: 0;
  }

  .contacts {
    margin: 50px 0 50px 0;
  }

  .contacts .contacts-body table {
    font-size: 10px;
  }

  .contacts .contacts-body table th {
    padding: 2px;
  }

  .contacts .contacts-body table td {
    padding: 3px;
  }

  .contacts .contacts-body {
    font-size: 12px;
    padding: 10px 15px;
  }
}

@media (max-width: 500px) {
  .header .header-body {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(250,250,250,0.2);
    -webkit-border-radius: 50px;
    border-radius: 0px;
	background: rgba(55,45,45,1);
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 50px;
    border-radius: 50px;
    background: rgba(230,156,9,0.5);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(240,128,128,0.2);
}