body {
  margin: 0px;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: black;
  width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.line hr{
  width: 40px;
  margin: 0px 2px 0px 2px;
  border-color: #EFBB40;
}

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

.title-text {
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  font-size: 28px;
}

.white-on-black {
  background-color: black;
  color: white;
}

.black-on-white {
  background-color: white;
  color: black;
}

.icon-text {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.icon-text i.material-icons {
  font-size: 24px;
}

.icon-text svg {
  max-width: 24px;
  max-height: 24px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.section {
  width: 100%;
  height: auto;
  display: flex;
  padding-top: 10px;
  padding-bottom: 5px;
}

.container {
  width: 100%;
  height: auto;
}

.left {
  margin-left: 30px;
}

.left-small {
  margin-left: 10px;
}

.right {
  margin-right: 30px;
}

.right-small {
  margin-right: 10px;
}

.header {
  padding-top: 10px;
  padding-bottom: 5px;
  background-color: black;
  align-items: center;
  justify-content: space-between;
}

.phone {
  padding: 10px 15px 10px 15px;
  background-color: #EFBB40;
  font-weight: bolder;
}

.main {
  height: 360px;
  background-image: url(img/main.png);
  background-color: black;
  background-size: auto 360px;
  background-repeat: no-repeat;
  background-position: right;
  display: flex;
  flex-direction: column;
  text-shadow: 2px 2px 4px black;
}

.main-company-description {
  color: white;
}

.main-name {
  font-size: 74px;
  text-transform: uppercase;
  font-weight: bolder;
  text-shadow: 2px 2px 8px black;
}

.main-name .company-name-1{
  color: white;
}

.main-name .company-name-2{
  color: #EFBB40;
}

.main-service-description {
  color: white;
}

.main-qualities {
  display: inline-flex;
  flex-direction: row;
  gap: 10px 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.main-qualities .quality {
  color: white;
}

.main-qualities .quality i.material-icons {
  color: #EFBB40;
}

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

.services-list {
  background-color: black;
  display: inline-flex;
  flex-direction: row;
  gap: 10px 10px;
}

.service {
  text-align: center;
  color: white;
  border: 1px solid #444444;
  margin-bottom: 10px;
  padding: 10px 10px 10px 10px;

}

.service-title {
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.clients-list {
  background-color: white;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding-bottom: 25px;
}

.client-logo img {
  width: 125px;
}

.reasons {
  background-color: black;
  display: inline-flex;
  flex-direction: row;
}

.reasons-description {
  flex-grow: 1;
  padding: 10px 10px 10px 5px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.reasons-list {
  margin-top: 10px;
  display: inline-flex;
  flex-direction: column;
}

.reasons-list-item i.material-icons {
  font-size: 20px;
  color: #EFBB40;
}

.contacts-list {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: white;
}

.contacts-items {
  display: inline-flex;
  flex-direction: column;
}

.contacts-phone, .contacts-email, .contacts-location {
  margin-top: 5px;
  margin-bottom: 5px;
}

a.contact-link {
  color: black;
  text-decoration: none;
}

.footer {
  padding-top: 10px;
  padding-bottom: 5px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1080px) {
  body {
    width: auto;
    margin-left: 0px;
    margin-right: 0px;
  }
}

@media (max-width: 1070px) {
  .reasons-right-image {
    display: none;
  }
}

@media (max-width: 860px) {
  .services-list {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .service.left, .service.right {
    margin-left: 0px;
    margin-right: 0px;
  }
}

@media (max-width: 720px) {

  .company-name-1, .company-name-2 {
    font-size: 64px;
  }

  .logo.left {
    margin-left: 10px;
  }

  .logo-img {
    height: 30px;
  }

  .phone {
    height: 30px;
    padding: 3px 8px 3px 8px;
  }
  .services-list {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
  }

  .service {
    flex-grow: 1;
    margin-left: 10px;
    margin-right: 10px;
  }

  .service.left, .service.right {
    margin-left: 10px;
    margin-right: 10px;
  }

  .service-image img {
    width: 32px;
    height: 32px;
  }

  .service-title {
    font-size: 12px;
  }

  .service-description {
    font-size: 12px;
  }

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

  .contacts-list {
    align-items: center;
    flex-shrink: 1;
  }

  .contacts-map, .footer-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .company-name-1, .company-name-2 {
    font-size: 48px;
  }
}
