body {
  background-color: ghostwhite;
}

.head-text {
  padding-top: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
}

.head-barrier, .head-rele {
  color: #004ea1;
  font-size: 24px;
  font-family: 'Mulish',Arial,sans-serif;
  font-weight: 600;
}
.hart-list {
    color: #004ea1;
    font-family: 'Mulish',Arial,sans-serif;

}

.card-btn-wrapper {
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    background-image: none;
    cursor: pointer;
    height: 45px;
    width: 135px;
    padding:12px 30px 0px;
    background-color:#004ea1;
    box-sizing: border-box;
    margin-left: 30px;
    margin-bottom: 30px;
}

.card-btn-link {
  text-decoration: none;
  color:#ffffff;
  background-color:#004ea1;
  border-radius:0px;
  -moz-border-radius:0px;
  -webkit-border-radius:0px;
}

.card-btn-text {

}

.desc-barrier, .desc-rele {
  width: 660px;
}



.desc-barrier h3, .desc-rele h3 {
  color: #004ea1;
  font-size: 16px;
  line-height: 1.35;
  font-family: 'Mulish',Arial,sans-serif;
  font-weight: 600;
}

.desc-barrier p, .desc-rele p {
  color: #444444;
  font-size: 14px;
  line-height: 1.55;
  font-family: 'Mulish',Arial,sans-serif;
  font-weight: 400;
}

.catalog-barrier {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 1080px;
}

.catalog-rele {
    display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 1080px;
}

.card-barrier-catalog, .card-rele-catalog {
  width: 250px;
}

.card-barrier {
  display: flex;
  justify-content: space-between;
}

a {
  text-decoration: none;
  color: darkslategray;
}

li a:hover {
  color: white;
}

.head-menu {
  list-style: none;
  text-transform: uppercase;
  display: flex;
  justify-content:space-between;
  margin: 0;
  padding: 0;
  background-color: #949494;
}

.head-menu li {
  font-size: 24px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 1080px;
  min-height: 100vh;
  margin: 0 auto;
}

header, footer {
  flex: none;
}


article p {
  max-width: 250px;
}

.card {
  width: 300px;
  max-width: 300px;
  text-align: center;
}

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

h2 {
  font-size: 14px;
}

.manufacturers {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

footer {
  text-align: center;
  background-color: #949494;
  color: white;
}

header {
  margin-bottom: 30px;
}

main {
  flex: 1;
  padding: 10px;
}

.our-certificates {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.our-certificates article {
  margin-right: 30px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;

  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  width: 100%;
  height: 100%;
  overflow: auto;

  padding-top: 20px;
  padding-bottom: 20px;

  text-align: center;
  vertical-align: middle;

  background-color: rgba(0, 0, 0, 0.8);
}


.visually-hidden {
  display: none;
}

.logo {
  text-align: left;
  font-family: Roboto, sans-serif;
  font-size: 47px;
  color: #d82d2d;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  font-weight: bold;
}

.main-footer {
  display: flex;
  justify-content: space-around;
  min-height: 100px;
}

.main-footer div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-footer p {
  padding: 0;
  margin: 0;
}

.content-contacts .contacts-company {
  width: 400px;
}

.content-contacts .contacts-company-map {
  width: 610px;
}

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

.head-phone {
  font-family: Open Sans, sans-serif;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  font-size: 18px;
  font-weight: bold;
}

.head-phone-mail {
  color: rgb(0, 78, 161);
}
