/* Общие  */

*,
::before,
::after {
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
}

body{
  position: relative;
  font-family: 'Roboto';
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
}

.filter {
  filter: blur(4px);
}

a {
  text-decoration: none;
  color: #fff;
}

a:focus,
a:hover,
a:active {
  text-decoration: none;
  color: #AA4B2D;
}

/* Бургер */


.header, .footer {
  position: fixed;
  width: 100%;
  z-index: 5;
  margin: 0 auto;
}

.header {
  height: 60px;
  top: 0px;
}

.footer {
	position: static;
  bottom: 0;
}

.header .container,
.footer .container {
  display: flex;
  align-items:center;
  justify-content: space-between;
}

.header .container {
  padding: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FFFFFF;
}

.container {
  position: relative;
  max-width: 1300px;
  width: 100%;
}

.logo {
  margin-right: 100px;
}

.header__nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
}



.menu {
  display: flex;
  align-items:center;
  justify-content: space-between;
  flex-basis: 70%;
  margin-bottom: 0;
}

.menu__list {
  list-style: none;
  padding: 0;
}

.menu__mobile .menu__list {
	padding: 10px;
	text-align: center;
}

.menu__item {
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 100%;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.burger{
  display: none;
  position: relative;
  width: 20px;
  height: 2px;
  cursor: pointer;
  background: #AA4B2D;
}

.burger::before {
  position: absolute;
  content: "";
  top: -5px;
  width: 15px;
  height: 2px;
  background: #eee;
}

.burger::after {
  position: absolute;
  content: "";
  bottom: -5px;
  width: 15px;
  height: 2px;
  background: #eee;
}

.language {
  margin: 0 20px;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  background: transparent;
  border-bottom: 2px solid #AA4B2D;
  color: #fff;
}

.language:hover {
	border-bottom-color: #fff;
}

.login {
  flex-basis: 10%;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  color: #fff;
}

.login:hover {
  color: #AA4B2D;
}

.login i {
  margin-right: 5px;
}

.nav__mobile .login {
	font-size: 20px;
	margin-bottom: 20px;
}

.modal__menu,
.modal__login,
.modal__sibscribe{
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0, 0.6);
  transform: translateX(-110vw);
  transition: 0.8s;
}

.modal__login .container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
}

.modal__inner {
  position: relative;
  width: 30%;
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
}

.modal__login--title {
  font-weight: 900;
  font-size: 18px;
  line-height: 21px;
  margin-bottom: 20px;
}

.modal__login--title i {
  margin-right: 10px;
}

.modal__login .container form {
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal__login .container form input {
  position: relative;
  height: 40px;
  width: 100%;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #000000;
  box-sizing: border-box;
  margin-bottom: 25px;
}

.form__subscribe {
  background: rgba(0,0,0,0.4);
  padding: 20px;
}

.form__inner {
  margin: 0 auto;
  width: 100%;
}

.form__subscribe {
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form__subscribe .input__subscribe {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 15px;
  height: 40px;
  max-width: 300px;
  width: 100%;
}


.nav__mobile {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.menu__mobile {
  
}
.mobile__list {
  list-style: none;
  padding: 10px;
}
.mobile__item {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}

.closed {
  position: absolute;
  top: 1.2rem;
  right: 0;
  border: none;
  background-color:transparent;
}

.closed::before {
  position: absolute;
  content: "";
  top: 0.6rem;
  right: 1rem;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transform: rotate(45deg);
  transition: 0.8s;
}

.closed::after {
  position: absolute;
  content: "";
  top: 0.6rem;
  right: 1rem;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transform: rotate(-45deg);
  transition: 0.8s;
}


.main__home {
  background: url('../images/bg/bg-home.jpg');
}

.main__about {
  background: url('../images/bg/bg-about.jpg');
}

.main__about .container{
  display: flex;
  flex-direction: row;
}

.main__actual {
  background: url('../images/bg/bg-actual.jpg');
}

.main__services {
  background: url('../images/bg/bg-service.jpg');
}

.main__services .container {
  display: flex;
}

.main__services .container .section:first-child {
  flex-basis: 60%;
}

.main__services .container .section:last-child {
  flex-basis: 50%;
}

.main__clients {
  background: url('../images/bg/bg-clients.jpg');
}

.main__contacts {
  background: url('../images/bg/bg-contacts.jpg');
}

.main{
  width: 100%;
  padding: 100px 0;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction:column;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main__contacts .container {
  display: flex;
  justify-content: space-between;
}

.section{
  display: flex;
  flex-direction: column;
  align-items: start;
}

.section__inner {
  padding: 20px;
  border-radius: 2px;
}

.home {
  width: 50%;
  background: rgba(148, 148, 148, 0.82);
}

.section__about {
  flex-basis: 80%;
  margin-right: 15px;
}

.about {
  background: rgba(196, 196, 196, 0.8);
  font-size: 20px;
  line-height: 23px;
}

.about .about__link {
  color: blue;
  text-decoration: underline;
}

.section__feedback {
  flex-basis: 30%;
  background: #FFFFFF;
  mix-blend-mode: normal;
  border: 1px solid #000000;
  box-sizing: border-box;
  color: #1C0E09;
  margin-left: 30px;
}

.actual {
  display: flex;
  justify-content: space-around;
  background: rgba(181, 181, 181, 0.76);
  width: 100%;
}

.actual__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services {
  flex-basis: 40%;
  background: rgba(196, 196, 196, 0.8);
}

.clients {
  background: #C4C4C4;
  width: 55%;
}

.contacts {
  background: #C4C4C4;
}

.section__title {
  font-weight: 900;
  font-size: 3rem;
  line-height: 125%;
  text-transform: uppercase;
}

.section__title--feedback {
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}

.news__title,
.section__title--services,
.section__title--clients {
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 10px;
}

.section__subtitle {
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 115%;
}

.section__text {
  margin: 20px 0;
}

.section__test--services,
.section__text--clients {
  font-size: 20px;
  line-height: 100%;
  padding: 10px;
}

.section__map {
	width: 100%;
}


.btn {
  padding: 10px 20px;
  background: rgba(247, 111, 13, 0.97);
  border: 1px solid #E26A26;
  box-sizing: border-box;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.23);
  border-radius: 2px;
  color: #fff;
}

.btn:hover {
  color:rgba(0,0,0, 0.6);
  background: transparent;
  border: 1px solid #eee;
}

.btn__consult {
  background: #FF5C06;
  border: 1px solid #000000;
}

.section__btn  {
	margin-top: 30px;
}

.btn__choice {
  max-width: 300px;
  width: 100%;
  height: 40px;
  margin-bottom: 35px;
  margin-left: 100px;
  background: rgba(211, 65, 2, 0.4);
  border: 1px solid #000000;
}

.btn__choice.active {
  background: rgba(211, 65, 2, 0.8);
}

.form__feedback {
  display: flex;
  flex-wrap: wrap;
}

.feedback__block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}

.feedback__block label {
  font-size: 16px;
  line-height: 20px;
  margin-right: 10px;
}

.feedback__block input {
  height: 40px;
  max-width: 200px;
  width: 100%;
}

.feedback__block textarea {
  max-width: 200px;
  width: 100%;
}

.message label {
  align-self: start;
}

.form__btn {
  margin: 5px auto 15px auto;
  padding: 15px 60px;
  background: #6B5757;
  border-radius: 2px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #fff;
}

.feedback__text {
  font-size: 13px;
  line-height: 130%;
  /* or 17px */
  text-align: center;
  width: 75%;
  margin: 0 auto;
}

.feedback__text span {
  text-decoration: underline;
}

.news__inner {
  margin-bottom: 1px;
}

.news__block {
  display: flex;
  flex-direction: column;
  flex-basis: 60%;
  margin-right: 30px;
}

.news__block .news__link {
  font-size: 18px;
  line-height: 21px;
  color: #AA4B2D;
  text-decoration: underline;
}

.news__block .news__link:hover {
  color: #1C0E09;
}

.news__block span {
  font-size: 14px;
  line-height: 16px;
}

.news__link--all {
  margin-top: 10px;
  font-size: 14px;
  line-height: 16px;
  /* identical to box height */
  text-decoration-line: underline;
}

.actual__btn {
  width: 80%;
  margin-left: 30px;
}

#comment {
  margin-top: 40px;
  max-width: 300px;
  width: 100%;
  height: 40px;
  background: transparent;
  border: 1px solid #000000;
}

.btn__succes {
  margin-top: 20px;
  max-width: 300px;
  width: 100%;
  height: 40px;
  background: #D34102;
  border: 1px solid #000000;
  font-size: 14px;
  line-height: 16px;
  color: #FFFFFF;
}

.section__map {
  margin-left: 100px;
}

.footer {
  background-color: #3A3A3A;
}

.footer__about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

.footer__about--address {
  margin: 10px 0;
}

.copywriter{

}

.terran {
  display: flex;
  align-items: center;
  justify-content: center;
}

.terran__link{
  display: flex;
  flex-direction: column;
  margin-right: 20px;
}

.bg__color {
	background: rgba(0,0,0,0.6);
}

@media (max-width: 1064px){
  .header {
	height: auto;
    top: 0px;
	background: rgba(0,0,0,0.4)
  }
  
  .header .container {
	  padding: 10px;
  }
  
  .main {
	height: calc(100vh + 150px);
	padding: 150px 0;
	background-size: cover;
  }
  
  
  .header__nav {
    display: none;
  }

  .burger {
    display: block;
    opacity: 1;
    transition: all 1.5s;
  }

  .burger.close {
    opacity: 0;
    transition: all 1.5s;
  }

  .closed {
    opacity: 0;
    transition: all 1.5s;
  }

}

@media (max-width: 824px){
  .home{
    width: 70%;
  }
  
  
  .main {
	  height: auto;
	  padding: 100px 0;
  }
  .main__about .container,
  .main__contacts .container  {
	flex-direction: column;  
  }
   
  .btn__choice {
    max-width: 220px;
  }
  
  .section__map {
    margin-left: 0;
    margin-top: 30px;
  }
  
  .section__feedback {
    margin: 0 70px;
  }
  
  .footer{
	  position: static;
  }
}

@media (max-width: 600px){
  body{
    font-size: 14px;
  }
  
  .container {
	  margin: 0;
	  padding: 0;
  }

  .wrapper {
    width: 100%;
	min-height: 100vh;
  }
  
  .burger{
    background: #AA4B2D;
  }

  .burger::before,
  .burger::after {
    background: #FFF;
  }

  .main {
    display: flex;
    flex-direction:column;
	height: 100%;
	padding: 150px 0;
	background-size: inherit;
	background-repeat: repeat;
  }
  
  .main .container {
	flex-direction:column; 
  }
  
  .main__services .container {
	  flex-direction: column-reverse;
  }

  .section{
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  
  .section__about {
	  margin: 0;
  }

  .home {
    width: 100%;
  }

  .actual {
	display: flex;
	justify-content: space-around;
	background: rgba(181, 181, 181, 0.76);
	width: 100%;
	flex-direction: column-reverse;
  }
  
  .actual__btn {
	margin-bottom: 30px;
  }
  
  .clients {
	  width: 100%;
  }
  
  .section__feedback {
	  margin: 0;
  }

  .section__inner {
    margin-bottom: 50px;
  }

  .section__title,
  .section__title--about  {
	text-align: center;
  }
  
  .section__map {
	  margin-top: 50px;
	  margin-left: 0;
  }
  
  .news__title {
	  text-align: center;
  }
  
  #comment {
	  margin-top: 10px;
  }

  .section__text {
    margin: 20px 0;
    width: 100%;
  }

  .section__btn {
    color: #fff;
	margin: 0 auto;
  }

  .section__btn:hover {
    color:rgba(0,0,0, 0.6);
    background: transparent;
    border: 2px solid #eee;
  }
  
  .btn__choice {
	margin: 10px auto;
  }

  .footer {
    position: static;

  }

  .footer .container {
    flex-direction: column;
    padding-bottom: 20px;
  }
  
  .modal__inner {
	  width: 100%;
  }
}

@media (max-height: 9000px){
	.footer{
		position: fixed;
	}
	
	.main {
		height: 100vh;
		padding: 0;
	}
}

@media (max-height: 899px){
	.footer{
		position: static;
	}
	
	.main {
		height: 100%;
		padding: 150px 0 250px 0;
	}
}

@media (max-width: 424px){
  body{
    font-size: 10px;
  }

  .section__title {
    font-size: 2rem;
  }
  
  .section__subtitle {
	font-size: 0.65rem;
  }
}