* {
  margin: 0;
  padding: 0;
  transition: all 0.5s;
}

:active,
:hover,
:focus {
  /*Убрать синюю обводку*/
  outline: 0;
  outline-offset: 0;
}

/* a,
a:hover {
  text-decoration: none;
  outline: none;
} */

p {
  margin: 0;
}

/* подключение шрифтов */
@font-face {
  font-family: LatoRegular;
  src: url(../fonts/LatoRegular.ttf);
}

@font-face {
  font-family: LatoLight;
  src: url(../fonts/Lato-Light.ttf);
}

@font-face {
  font-family: izhitsa;
  src: url(../fonts/izhitsa.ttf);
}

html,
body {
  height: 100%;
  width: 100%;
  /* шрифт по умолчанию у всех лементов LatoRegular */
  font-family: LatoRegular;
}


.show {
  display: block;
}

.col-centered {
  float: none;
  margin: 0 auto;
}

#main-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e9e9e9;
  text-align: justify;
}

.title1 {
  font-size: 3em !important;
  color: #e9e9e9 !important;
}

.title2 {
  font-size: 1.5em !important;
  color: #e9e9e9 !important;
}

.sign_in {
  margin-right: 70px;
  margin-left: 130px;
  transition: all 0.3s ease;
}

.navbar {
  min-height: 55px;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 1.2em;
  border: 0px;
  font-family: LatoRegular;
  color: #e9e9e9 !important;
  transition: all 0.3s ease;
}

.navbar-inverse .navbar-nav li a {
  font-family: izhitsa;
  color: #e9e9e9 !important;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  margin-right: 40px;
}

.navbar-inverse .navbar-nav li a:hover,
.navbar-inverse .navbar-nav li a.active_link {
  border-bottom: 2px solid #e9e9e9;
}

.navbar-inverse .navbar-nav li a.active_link:hover {
  border-bottom: 2px solid #a3a3a3 !important;
}

/* задний фон меню при прокрутке */
.scrolled {
  background: #0b0f13;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: transparent !important;
}

/* задний фон меню при нажатии на гамбургер */
.pressed {
  background: #0b0f13;
}

.scrolled #brand-image {
  width: 50px;
}

.scrolled .navbar-nav {
  margin-top: 15px;
}

.scrolled .navbar-toggle {
  margin-top: 20px;
}

.navbar-nav {
  margin-top: 20px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.navbar-toggle {
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
}

.navbar-brand {
  width: auto;
}

#brand-image {
  width: 60px;
  margin-left: 30%;
  transition: all 0.4s ease;
}

.navbar-brand {
  margin-right: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: izhitsa !important;
}

#home {
  background: url(../img/baner.jpg) no-repeat fixed;
  display: table;
  background-size: cover;
  width: 100%;
  height: 100%;
  overflow: auto;
  transition: all 0s;
  background-attachment: fixed;
  background-position: center !important;
}

#gallery_baner {
  background: url(../img/gallery/slavyanskaya-tatuirovka-5.jpg) no-repeat fixed;
  display: table;
  background-size: cover;
  width: 100%;
  height: 100%;
  overflow: auto;
  transition: all 0s;
  background-attachment: fixed;
  background-position: center !important;
}

.phone_num {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #e9e9e9;
  text-align: justify;
}

.landing-text {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  font-family: LatoLight;
  font-weight: lighter;
  color: #e9e9e9;
  position: relative;
}

.arrow {
  position: absolute;
  left: 48.5%;
  bottom: 10%;
  color: #e9e9e9;
  transition: all 0.3s;
}

.arrow:hover {
  /* меняем цвет стрелке при наведении */
  color: #ff9900;
}

.black_article_block {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #25292d !important;
  /* color: #e9e9e9; 4F3C40*/
}

.black_article_block h4 {
  color: #e9e9e9 !important;
}

.line {
  width: 380px;
  height: 2px;
  background-color: #4e5152;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.line::after {
  width: 100px;
  height: 3px;
  background-color: #ff9900;
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -50px;
}

.padding {
  padding: 30px 0px 20px 0px;
}

.padding-first {
  padding: 100px 0px 20px 0px;
}

.share {
  padding: 0px 0px 20px 0px;
}

/* кнопка вверх страницы */
div.back-to-top {
  z-index: 20;
  position: fixed;
  color: #fff;
  background-color: #ff9900;
  right: 20px;
  bottom: 10px;
  padding: 5px 10px; /* отступы до содержимого блока */
  font-size: 20px; /* размер шрифта (иконки) */
  border-radius: 4px;
  cursor: pointer;
  display: none; /* не отображать элемент по умолчанию */
  text-align: center;
  opacity: 0.6;
  transition: all 0.3s ease;
}

div.back-to-top:hover {
  opacity: 1;
}

.section {
  display: flex;
  flex-wrap: wrap;
}

.item {
  background: #34383b;
  margin: 10px 10px 10px 10px;
  padding: 15px;
  min-height: 450px;
}

.imgitem {
  width: 90%;
  margin: 0 auto;
  padding-top: 10px;
}

.tittle_item {
  margin-left: 15px;
}

.text_item {
  margin-left: 15px;
  color: #e9e9e9 !important;
}

.cost_item {
  font-size: 1.3em;
  margin-left: 15px;
  font-family: LatoRegular !important;
  color: #ff9900 !important;
}

/* Футер */

footer {
  padding: 2rem;
  background: #0b0f13;
}

.logo_sec {
  width: 50px;
  transition: all 0.4s ease;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a:hover {
  background: #ff9900;
}

ul.social-buttons li a {
  font-size: 20px;
  line-height: 40px;
  display: block;
  width: 40px;
  height: 40px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  color: #fff;
  border-radius: 100%;
  outline: 0;
  background-color: #1a1d20;
}

.copyright {
  color: #ffffff;
  font-family: LatoRegular !important;
  font-size: 1em;
}

#img_404 {
  background: url(../img/baner404.jpg) no-repeat fixed;
  display: table;
  background-size: cover;
  width: 100%;
  height: 100%;
  overflow: auto;
  transition: all 0s;
  background-attachment: fixed;
  background-position: center !important;
}

.title404 {
  font-size: 13em !important;
  color: #e9e9e9 !important;
  /* margin: 40px; */
}

.text_404 {
  margin-bottom: 40px;
}

.button404 {
  color: #e9e9e9;
  font-family: LatoRegular;
  font-size: 1.2em;
  /* background: #ff9900; */
  border: #ff9900 2px solid;
  margin: 60px 20px 20px 20px;
  padding: 15px 60px 15px 60px;
  border-radius: 25px;
  text-decoration: none !important;
  transition: 0.5s ease;
}

.button404:hover {
  background: #ff9900;
  color: #e9e9e9;
}

.runes {
  color: #e9e9e9;
  color: #e9e9e9;
  font-family: LatoRegular;
  font-size: 1.3em;
}

#a_in_text {
  color: #ff9900;
}

#a_in_text :hover {
  color: red;
}

.rune {
  margin-bottom: 10px;
}

/* Медиазапроссы */

@media (min-width: 768px) {
  .footer-column ul {
    text-align: left;
  }

  .img-responsive {
    max-width: 550px !important;
  }
}

@media (max-width: 320px) {
  .scrolled #brand-image {
    width: 40px;
  }
}

@media (max-width: 950px) {
  #brand-image {
    margin-left: 10%;
  }

  .navbar-brand {
    margin: 0;
  }

  .sign_in {
    margin-left: 20px;
    margin-right: 10px;
  }
}

@media (max-width: 850px) {
  /* делаем картинке меньше размер*/
  #brand-image {
    width: 60px;
  }
  .sign_in {
    margin-left: 0px;
  }
}

@media (max-width: 768px) {
  .nav_items {
    margin-left: 60px !important;
  }

  #home {
    background-position: 48%;
  }
  .arrow {
    left: 45%;
  }
  .line {
    width: 300px;
  }
  .line::after {
    width: 80px;
    margin-left: -40px;
  }
  #main-text {
    font-size: 1.3em;
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media (max-width: 990px) {
  footer .box {
    margin-top: 15px;
  }

  .logo_sec {
    width: 80px;
  }
}
