/*
Theme Name: rema-template
Text Domain: rema
Version: 1.0
Description: Teamplate for Rema
Author: Semen Homziak
*/


/* background color*/
/* text Color*/
/* border Color*/
/* font weight*/
/* font size*/
/* font family*/
/* letter-spacing*/
/* background color */
/* text color*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
}

body {
  background-color: #ffffff;
  color: #313131;
  font-family: Roboto, sans-serif, sans-serif;
  letter-spacing: 0.03em;
}
body.modal-open {
  overflow: hidden;
}

.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 480px) {
  .container {
    width: 480px;
  }
}
@media screen and (min-width: 768px) {
  .container {
    width: 768px;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}

.link {
  text-decoration: none;
  color: #313131;
}
.link:hover, .link:focus {
  color: #f4c70b;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.primary-button {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  background-color: #f4c70b;
  color: #092f4e;
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.06em;
  text-align: center;
  border: #f4c70b;
  border-radius: 4px;
  border: 1px transparent;
  padding: 10px 32px;
  cursor: pointer;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1), background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.primary-button:hover, .primary-button:focus {
  background-color: #20425e;
  color: #ffffff;
}

.primary__title {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
  vertical-align: top;
  color: #212121;
}

.secondary-text {
  font-size: 20px;
  line-height: 1.71;
  text-align: center;
  vertical-align: top;
  margin-bottom: 25px;
}

.primary__text {
  font-size: 20px;
  line-height: 1.71;
  text-align: center;
  vertical-align: top;
  margin-bottom: 25px;
}

.secondary__title {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.17;
  text-align: center;
  vertical-align: top;
  color: #212121;
}

.clear__margin {
  margin: 0;
}

.margin__bottom {
  margin-bottom: 30px;
}

.third__title {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.17;
  text-align: center;
  vertical-align: top;
  color: #212121;
  margin-top: 20px;
}

.left {
  text-align: left;
}

.bold {
  font-weight: 700;
}

table {
  /* tables still need 'cellspacing="0"' in the markup */
  border-collapse: separate;
  border-spacing: 0;
  border-bottom: 2px solid #f2f2f2;
}

caption,
td {
  text-align: left;
  border-top: 2px solid #f2f2f2;
  padding: 10px 40px 10px 0;
}

th {
  text-transform: uppercase;
  padding: 6px 10px 6px 0;
}

#scrollToTopButtonContainer {
  position: fixed;
  bottom: 40px;
  right: 40px;
}

#scrollToTopButton {
  background-color: #2f303a;
  border: 2px solid #f4c70b;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  outline: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#scrollToTopButton:hover {
  background-color: #f4c70b;
  border: 2px solid #2f303a;
  transition: background-color 0.4s;
}

.primary-section__container {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .primary-section__container {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}

.logo {
  position: absolute;
  top: 0;
  left: 50px;
  background-color: transparent;
}

.logo-icon {
  width: 150px;
  height: 100px;
}

.header {
  padding-top: 26px;
  padding-bottom: 36px;
  background-color: #2f303a;
  border-bottom: 1px solid #ececec;
  position: relative;
}
@media screen and (min-width: 768px) {
  .header {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.site-nav__link {
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
	text-decoration: none;
}
@media screen and (max-width: 767px) {
  .site-nav__link {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .site-nav__link {
    padding-top: 26px;
    padding-bottom: 26px;
	  text-decoration: none;
  }
}
.site-nav__link:hover, .site-nav__link:focus {
  color: #f4c70b;
}

.current {
  color: #f4c70b;
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  .current::after {
    content: "";
    width: 100%;
    height: 4px;
    background-color: #f4c70b;
    border-radius: 2px;
    position: absolute;
    left: 0;
    bottom: -17px;
  }
}
@media screen and (min-width: 1200px) {
  .current::after {
    content: "";
    width: 100%;
    height: 4px;
    background-color: #f4c70b;
    border-radius: 2px;
    position: absolute;
    left: 0;
    bottom: -15px;
  }
}

.contacts__link {
  color: #ffffff;
}
.contacts__link:hover, .contacts__link:focus {
  color: #f4c70b;
}
.contacts__link:hover .header__icon, .contacts__link:focus .header__icon {
  fill: #f4c70b;
}
@media screen and (max-width: 767px) {
  .contacts__link {
    display: none;
    align-items: center;
    justify-content: center;
  }
}
@media screen and (min-width: 768px) {
  .contacts__link {
    font-family: Roboto, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: 0.02em;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@media screen and (min-width: 1200px) {
  .contacts__link {
    font-size: 14px;
    line-height: 1.14;
  }
}

.header__icon {
  fill: #ffffff;
  margin-right: 8px;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 767px) {
  .header__container {
    justify-content: right;
    margin-right: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .header__container {
    margin-right: 64px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: right;
}

.site-nav__list {
  display: flex;
}

@media screen and (min-width: 1200px) {
  .contacts {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media screen and (max-width: 767px) {
  .contacts {
    display: none;
  }
}

.header__contacts {
  margin-left: auto;
}

.site-nav__item {
  margin-right: 50px;
}
.site-nav__item:last-child {
  margin-right: 0px;
}

@media screen and (min-width: 768px) {
  .contacts__item {
    margin-bottom: 10px;
  }
  .contacts__item:last-child {
    margin-bottom: 0px;
  }
}
@media screen and (min-width: 1200px) {
  .contacts__item {
    display: flex;
    margin-bottom: 0;
    margin-right: 50px;
  }
  .contacts__item:last-child {
    margin-right: 0px;
  }
}

.open-menu-btn {
  width: 40px;
  height: 40px;
  margin-left: auto;
  display: block;
  border: none;
  background-color: #2f303a;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
  fill: #ffffff;
}
.open-menu-btn:hover {
  fill: #f4c70b;
}
@media screen and (min-width: 768px) {
  .open-menu-btn {
    display: none;
  }
}

.menu-nav__container {
  display: flex;
}

.mob-menu {
  position: fixed;
  background-color: #2f303a;
  width: 100vw;
  height: 100vh;
  top: 0;
  z-index: 5;
  padding-top: 48px;
  padding-bottom: 48px;
  padding-left: 40px;
}
.mob-menu .container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.menu-contacts__container {
  margin-top: auto;
  margin-bottom: auto;
}

.close-menu-btn {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  right: 15px;
  display: block;
  border: none;
  background-color: #2f303a;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
  fill: #ffffff;
}
.close-menu-btn:hover {
  fill: #f4c70b;
}

.menu-nav__item:not(:last-child) {
  margin-bottom: 32px;
}

.menu-nav__link {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.17;
  text-align: center;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-nav__link:hover, .menu-nav__link:focus {
  color: #f4c70b;
}

.menu-contacts__item:not(:last-child) {
  margin-bottom: 32px;
}

.tel__link {
  font-weight: 500;
  font-size: 34px;
  line-height: 1.17;
  text-align: center;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.tel__link:hover, .tel__link:focus {
  color: #f4c70b;
}

.mail__link {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.17;
  text-align: center;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.mail__link:hover, .mail__link:focus {
  color: #f4c70b;
}

.mob-social__list {
  display: flex;
}

.mob-social__item:not(:last-child) {
  margin-right: 20px;
}
.mob-social__item .mob-social__link {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.mob-social__item .mob-social__link:hover, .mob-social__item .mob-social__link:focus {
  color: #f4c70b;
}

.hero {
  text-align: center;
  padding-top: 118px;
  padding-bottom: 118px;
  background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/hero-mob-1x.webp);
  background-color: #2f303a;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin: 0 auto;
  flex-grow: 1;
  color: #ffffff;
}
@media screen and (min-width: 1200px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 200px;
  }
}

@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2), screen and (max-width: 480px) and (min-resolution: 192dpi), screen and (max-width: 480px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/hero.jpg);
  }
}
@media screen and (min-width: 481px) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/hero.jpg);
  }
}
@media screen and (min-width: 481px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 481px) and (min-resolution: 192dpi), screen and (min-width: 481px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/hero.jpg);
  }
}
@media screen and (min-width: 769px) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/hero.jpg);
  }
}
@media screen and (min-width: 769px) and (-webkit-min-device-pixel-ratio: 2), screen and (min-width: 769px) and (min-resolution: 192dpi), screen and (min-width: 769px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/hero.jpg);
  }
}
.hero__title {
  font-family: Roboto, sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.61;
  letter-spacing: 0.06em;
  margin-bottom: 30px;
}
@media screen and (min-width: 1200px) {
  .hero__title {
    font-size: 44px;
    line-height: 1.36;
  }
}

.benefits {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .benefits {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}

.benefits__title {
  font-weight: 700;
  color: #212121;
  font-size: 20px;
  line-height: 1.14;
  margin-bottom: 10px;
  text-align: center;
  margin-top: 5px;
}

.benefits__text {
  font-size: 14px;
  line-height: 1.71;
  text-align: left;
  vertical-align: top;
  text-align: center;
}

.icon__container {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 30px;
}
@media screen and (min-width: 768px) {
  .icon__container {
    width: 354px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .icon__container {
    width: 270px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
  }
}

.hex {
  margin-top: 40px;
  width: 124px;
  height: 70px;
  background-color: #f2f2f2;
  border-color: #f2f2f2;
  position: relative;
  display: inline-block;
  rotate: 90deg;
}

.hex:before {
  content: " ";
  width: 0;
  height: 0;
  border-bottom: 40px solid;
  border-color: inherit;
  border-left: 62px solid transparent;
  border-right: 62px solid transparent;
  position: absolute;
  top: -40px;
}

.hex:after {
  content: "";
  width: 0;
  position: absolute;
  bottom: -40px;
  border-top: 40px solid;
  border-color: inherit;
  border-left: 62px solid transparent;
  border-right: 62px solid transparent;
}

.benefits__icon {
  position: absolute;
  top: 0;
  left: 25px;
  rotate: -90deg;
}

.benefits__secondary-text {
  font-size: 20px;
  line-height: 1.71;
  vertical-align: top;
  margin-top: 15px;
  margin-bottom: 15px;
}

.benefits__primary-title {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
  vertical-align: top;
  color: #212121;
}

.benefits__list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -30px;
  margin-bottom: -30px;
}

.benefits__item {
  width: 100%;
  margin-bottom: 30px;
}
.benefits__item:last-child {
  margin-bottom: 0px;
}
@media screen and (min-width: 768px) {
  .benefits__item {
    width: calc(50% - 30px);
    margin-left: 30px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1200px) {
  .benefits__item {
    width: calc(25% - 30px);
    margin-left: 30px;
    margin-bottom: 0px;
  }
}

.benefits__wrap {
  width: 100%;
  display: grid;
  justify-content: center;
  align-items: center;
}

.benefits__primary-text {
  width: 100%;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.14;
  font-weight: 700;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: rgba(47, 48, 58, 0.8);
  text-align: center;
}

.sidebar {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #0a2c47;
}
@media screen and (min-width: 1200px) {
  .sidebar {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.sidebar__icon-container {
  position: relative;
  margin-right: 15px;
}

@media screen and (min-width: 768px) {
  .sidebar__list {
    display: flex;
    flex-wrap: wrap;
    margin-left: -30px;
    margin-bottom: -30px;
  }
}

.sidebar__item {
  width: 100%;
  display: flex;
  margin-bottom: 30px;
}
.sidebar__item:last-child {
  margin-bottom: 0px;
}
@media screen and (min-width: 768px) {
  .sidebar__item {
    width: calc(50% - 30px);
    margin-left: 30px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1200px) {
  .sidebar__item {
    width: calc(25% - 30px);
    margin-left: 30px;
    margin-bottom: 0px;
  }
}

.sidebar__title {
  color: #f4c70b;
}

.sidebar__text {
  color: #ffffff;
}

.footer-nav__link {
  font-family: Roboto, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.footer-nav__link:hover, .footer-nav__link:focus {
  color: #f4c70b;
}

.footer-nav__link-current {
  color: #f4c70b;
  text-decoration: none;
}

.footer-nav__item {
  margin-bottom: 10px;
}

.footer {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #2f303a;
}

.footer__adress {
  list-style: none;
  font-style: normal;
}
@media screen and (max-width: 767px) {
  .footer__adress {
    text-align: center;
  }
}

@media screen and (min-width: 1200px) {
  .footer__container {
    display: flex;
    align-items: baseline;
  }
}

@media screen and (min-width: 768px) {
  .loom-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 60px;
    justify-content: space-around;
  }
}
@media screen and (min-width: 1200px) {
  .loom-container {
    margin-bottom: 0;
  }
}

.adress-container {
  margin-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .adress-container {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 767px) {
  .adress-container {
    margin-bottom: 0;
  }
}

.logo__item {
  margin-bottom: 20px;
}

@media screen and (min-width: 1200px) {
  .join__container {
    margin-left: 70px;
  }
}
@media screen and (max-width: 767px) {
  .join__container {
    min-height: 80px;
    margin-bottom: 60px;
  }
}

.adress {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.71;
  margin-bottom: 8px;
  margin: 0 auto;
}
@media screen and (min-width: 1200px) {
  .adress {
    margin-bottom: 9px;
  }
}

.footer__item {
  margin-bottom: 8px;
}
.footer__item:last-child {
  margin-bottom: 0px;
}
@media screen and (min-width: 1200px) {
  .footer__item {
    margin-bottom: 9px;
  }
}

.footer__link {
  font-size: 14px;
  line-height: 1.71;
  color: rgba(255, 255, 255, 0.6);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer__link:hover, .footer__link:focus {
  color: #f4c70b;
}

.join__list {
  display: flex;
  justify-content: center;
}

.join__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14px;
  color: #ffffff;
  margin-bottom: 20px;
}
@media screen and (max-width: 1199px) {
  .join__title {
    text-align: center;
  }
}

.join__item {
  width: 44px;
  height: 44px;
  margin-right: 10px;
}
.join__item:last-child {
  margin-right: 0px;
}

.join__link {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.join__link:hover, .join__link:focus {
  background-color: #f4c70b;
  color: #ffffff;
}

.join__icon {
  fill: currentColor;
}

@media screen and (max-width: 768px) {
  .subscribe__container {
    display: grid;
    justify-content: center;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .subscribe__container {
    margin-left: 93px;
  }
}

.site-nav__item {
  margin-right: 50px;
}
.site-nav__item:last-child {
  margin-right: 0px;
}

.backdrop {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), transform 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop.is-hidden .modal {
  transform: scale(1.5) rotate(180deg) translate(100px, 100px);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal {
  min-width: 94%;
  padding: 40px 35px;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: scale(1) rotate(0) translate(-50%, -50%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (min-width: 480px) {
  .modal {
    min-width: 498px;
    min-height: 609px;
  }
}
@media screen and (min-width: 1200px) {
  .modal {
    min-width: 528px;
    min-height: 581px;
    padding: 40px;
  }
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal__close:hover, .modal__close:focus {
  fill: #2196f3;
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal__title {
  color: #212121;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 12px;
}

.form__field {
  margin-bottom: 10px;
}

.form__wrap {
  position: relative;
  margin-bottom: 10px;
}

.form__text {
  display: block;
  color: rgb(117, 117, 117);
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.form__text:focus {
  border-color: #2196f3;
}

.form__input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  box-sizing: border-box;
  outline: none;
  border-radius: 4px;
  padding-left: 42px;
  padding-right: 42px;
  background-color: transparent;
  color: #313131;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.form__input:focus {
  border-color: #2196f3;
}
.form__input:focus + .form__icon {
  fill: #2196f3;
}

.form__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.comment__text {
  font-size: 12px;
  line-height: 1.17;
  width: 100%;
  height: 120px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  box-sizing: border-box;
  border-radius: 4px;
  outline: none;
  padding: 12px 16px;
  resize: none;
  background-color: transparent;
  color: #313131;
  transition: border 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.comment__text:focus {
  border-color: #2196f3;
}
.comment__text::-moz-placeholder {
  border-color: #2196f3;
  color: rgba(117, 117, 117, 0.5);
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.01em;
}
.comment__text::placeholder {
  border-color: #2196f3;
  color: rgba(117, 117, 117, 0.5);
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.01em;
}

.comment__input {
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.01em;
}

.form__comment {
  margin-bottom: 20px;
}

.modal__button {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal__button:hover {
  cursor: pointer;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.policy__border {
  width: 16px;
  height: 15px;
  border: 2px solid #212121;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
}

.policy__label {
  display: flex;
  justify-content: left;
  justify-content: center;
}

.policy__icon {
  fill: #ffffff;
}

.policy__check:checked + .policy__label .policy__border {
  background-color: #2196f3;
  border: none;
}

.policy__field {
  padding: 0;
  margin-left: 8px;
}

.policy__text {
  font-size: 12px;
  line-height: 1.16;
}
@media screen and (min-width: 1200px) {
  .policy__text {
    font-size: 14px;
    line-height: 1.71;
  }
}

.policy__link {
  text-decoration-line: underline;
  color: #2196f3;
}

.form__policy {
  margin-bottom: 30px;
}

.contact__hero {
  display: flex;
  text-align: center;
  padding-top: 118px;
  padding-bottom: 200px;
  background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/contact.jpg);
  background-color: #2f303a;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  margin: 0 auto;
  flex-grow: 1;
  color: #ffffff;
}
@media screen and (min-width: 1200px) {
  .contact__hero {
    padding-top: 50px;
  }
}

.contact__hero--title {
  font-family: Roboto, sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.61;
  letter-spacing: 0.06em;
  margin-bottom: 30px;
}
@media screen and (min-width: 1200px) {
  .contact__hero--title {
    font-size: 44px;
    line-height: 1.36;
  }
}

.contacts__icon {
  fill: #757575;
}

.contacts__link {
  font-size: 14px;
  line-height: 1.71;
  text-align: left;
  vertical-align: top;
  display: block;
}
.contacts__link:hover, .contacts__link:focus {
  color: #2196f3;
}

.contact__from--container {
  display: flex;
  justify-content: space-around;
}

.contact__form--image {
  width: 400px;
}
@media screen and (max-width: 1200px) {
  .contact__form--image {
    width: 300px;
  }
}
@media screen and (max-width: 768px) {
  .contact__form--image {
    display: none;
  }
}

.contact {
  padding-top: 60px;
}
@media screen and (min-width: 1200px) {
  .contact {
    padding-top: 94px;
  }
}

.imprint__hero {
  text-align: center;
  padding-top: 118px;
  padding-bottom: 200px;
  background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/imprint_hero.jpg);
  background-color: #2f303a;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  margin: 0 auto;
  flex-grow: 1;
  color: #ffffff;
}
@media screen and (min-width: 1200px) {
  .imprint__hero {
    padding-top: 50px;
  }
}

.imprint__hero-top {
  background-position: top;
}

.page-not-found {
  text-align: center;
  padding-top: 118px;
  padding-bottom: 118px;
  background-image: url("background-pattern.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin: 0 auto;
  flex-grow: 1;
  color: #ffffff;
}
@media screen and (min-width: 1200px) {
  .page-not-found {
    padding-top: 200px;
    padding-bottom: 200px;
  }
}

.page-not-found__container {
  text-align: center;
}

.page-not-found h1 {
  font-size: 10em;
  margin: 0;
  color: #2b2f4c;
}

.page-not-found p {
  font-size: 1.5em;
  color: #2b2f4c;
}

.page-not-found a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1.2em;
  color: white;
  background-color: #f0c800;
  text-decoration: none;
  border-radius: 5px;
}

.team {
  background-color: #f2f2f2;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .team {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}

@media screen and (max-width: 767px) {
  .team__list {
    margin: 0;
    padding: 0;
  }
}
@media screen and (max-width: 768px) {
  .team__list {
    display: grid;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (min-width: 768px) {
  .team__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
}

.team__title {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.17;
  text-align: center;
  color: #212121;
  margin-bottom: 30px;
}
@media screen and (min-width: 1200px) {
  .team__title {
    font-size: 36px;
    vertical-align: top;
    margin-bottom: 50px;
  }
}

.team__foto {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0px;
}
@media screen and (min-width: 480px) {
  .team__foto {
    width: 460px;
    height: 300px;
  }
}
@media screen and (min-width: 768px) {
  .team__foto {
    width: 300px;
    height: 200px;
  }
}
@media screen and (min-width: 1200px) {
  .team__foto {
    width: 460px;
    height: 300px;
  }
}

.team__item {
  background-color: #ffffff;
  width: 100%;
  margin-bottom: 30px;
  cursor: pointer;
}
.team__item:last-child {
  margin-bottom: 0px;
}
@media screen and (min-width: 480px) {
  .team__item {
    width: 460px;
    margin-left: 30px;
  }
  .team__item:nth-child(n+3) {
    margin-bottom: 0px;
  }
}
@media screen and (min-width: 768px) {
  .team__item {
    width: 300px;
  }
}
@media screen and (min-width: 1200px) {
  .team__item {
    width: 460px;
  }
}

.social {
  display: flex;
  justify-content: center;
}

.social__item {
  width: 44px;
  height: 44px;
  margin-right: 10px;
}
.social__item:last-child {
  margin-right: 0px;
}

.social__link {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #afb1b8;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1), background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social__link:hover, .social__link:focus {
  background-color: #2196f3;
  color: #ffffff;
}

.social__icon {
  fill: currentColor;
}

.team__container {
  width: 100%;
  padding-bottom: 30px;
  padding-top: 30px;
  background-color: #ffffff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 0px 0px 4px 4px;
}
@media screen and (min-width: 480px) {
  .team__container {
    width: 460px;
  }
}
@media screen and (min-width: 768px) {
  .team__container {
    width: 300px;
  }
}
@media screen and (min-width: 1200px) {
  .team__container {
    width: 460px;
  }
}

.team__name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.19;
  color: #212121;
  margin-bottom: 10px;
}

.team__proffesion {
  font-size: 16px;
  line-height: 1.19;
  margin-bottom: 16px;
}

.about-us__hero {
  text-align: center;
  padding-top: 118px;
  padding-bottom: 200px;
  background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/engineering_office.jpg);
  background-color: #2f303a;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  margin: 0 auto;
  flex-grow: 1;
  color: #ffffff;
}
@media screen and (min-width: 1200px) {
  .about-us__hero {
    padding-top: 50px;
  }
}

.about-us {
  padding-top: 30px;
  padding-bottom: 30px;
}
@media screen and (min-width: 1200px) {
  .about-us {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.services-section {
  display: none;
}

.services-section.active {
  display: block;
}

.secondary-menu__link {
  transition: background-color 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
  background-color: #f4c70b;
  color: #092f4e;
  border-left: 0.375rem solid #cba507;
  padding-left: 0.625rem;
  border-right: 0.375rem solid #cba507;
  padding-right: 0.625rem;
  border-top: 0;
  border-bottom: 0;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  transition: background-color 0.2s, color 0.2s, border 0.2s;
}
.secondary-menu__link:hover, .secondary-menu__link:focus, .secondary-menu__link.active {
  border-left: 0.375rem solid #04233d;
  padding-left: 0.625rem;
  border-right: 0.375rem solid #04233d;
  padding-right: 0.625rem;
  background-color: #083255;
  cursor: pointer;
  color: #f4c70b;
}

.secondary-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.secondary-nav__item {
  width: calc(50% - 30px);
  margin-left: 30px;
  margin-bottom: 30px;
}
.secondary-nav__item:nth-child(odd) {
  margin-left: 0px;
}
.secondary-nav__item:nth-child(n+3) {
  margin-bottom: 0px;
}
@media screen and (min-width: 768px) {
  .secondary-nav__item {
    width: calc(25% - 30px);
    margin-left: 30px;
    margin-bottom: 0px;
  }
  .secondary-nav__item:nth-child(n+2) {
    margin-left: 30px;
  }
}

.active-btn {
  border-left: 0.375rem solid #04233d;
  padding-left: 0.625rem;
  border-right: 0.375rem solid #04233d;
  padding-right: 0.625rem;
  background-color: #083255;
  cursor: pointer;
  color: #f4c70b;
}

.services__hero {
  text-align: center;
  padding-top: 118px;
  padding-bottom: 200px;
  background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/stages_of_building.jpg);
  background-color: #2f303a;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  margin: 0 auto;
  flex-grow: 1;
  color: #ffffff;
}
@media screen and (min-width: 1200px) {
  .services__hero {
    padding-top: 50px;
  }
}

.credentials__hero {
  text-align: center;
  padding-top: 118px;
  padding-bottom: 200px;
  background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(/wp-content/themes/rema-template/assets/images/credentials.jpg);
  background-color: #2f303a;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin: 0 auto;
  flex-grow: 1;
  color: #ffffff;
}
@media screen and (min-width: 1200px) {
  .credentials__hero {
    padding-top: 50px;
  }
}/*# sourceMappingURL=main.css.map */

.site-nav__list > li {
  margin-right: 50px;
 text-decoration: none;
}
.site-nav__list > li:last-child {
  margin-right: 0px;
}

.menu-nav__list > li:not(:last-child) {
  margin-bottom: 32px;
}

.footer-nav__list > li  {
  margin-bottom: 5px;
	padding: 5px;
}

.footer-nav__list > li > a {
  text-decoration: none;
}

.footer-nav__list > li > a::after {
  background-color: transparent;
}

.site-nav__link {
	text-decoration: none;
}