* {
  margin: 0;
  padding: 0;
}

.header .menu ul {
  display: flex;
}

body {
  background-color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.header {
  border: 2px solid #ccc;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  padding-left: 20px;
  padding-top: 10px;
}

.header .menu ul {
  display: flex;
  list-style: none;
}

.header .menu ul li {
  margin: 10px 10px;
}

.header .menu ul a {
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  color: #305aaf;
  font-size: 25px;
}
img {
  max-width: 100%;
  height: auto;
}
.message ul {
  display: flex;
  list-style: none;
  align-items: center;
}

.phone {
  font-size: 120%;
  color: #333;
  padding-right: 60px;
  font-weight: bold;
}
.footer {
  background-color: #305aaf;
  color: white;
  font-size: 1rem;
}
.footer ul li {
  display: inline;
  list-style: none;
  padding: 2.5rem;
  height: 40px;
  line-height: 250%;
}
.flex-container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}

.flex-container > div > ul > li {
  color: #485557;
  font-size: 1.3rem;
  padding-left: 60px;
  list-style: none;
}
.address {
  font-size: 20px;
  color: #485557;
  font-weight: bold;
  padding-left: 20px;
}

@media screen and (max-width: 900px) {
  .phone {
    margin: auto;
  }
}
@media screen and (max-width: 500px) {
  .header {
    flex-direction: column;
  }

  .header .menu ul {
    flex-direction: column;
    align-self: center;
  }
  .header .menu ul li {
    margin: 5px;
  }
}
.usluga1 {
  margin: 2% 0 4% 2%;
  flex-basis: 220px;
  flex-grow: 1;
}
.usluga2 {
  margin: 2% 0% 4% 2%;
  flex-basis: 220px;
  flex-grow: 1;
}
.usluga3 {
  margin: 2% 0% 4% 2%;
  flex-basis: 220px;
  flex-grow: 1;
}
.usluga4 {
  margin: 2% 0% 4% 2%;
  flex-basis: 220px;
  flex-grow: 1;
}
.image {
  flex-basis: 220px;
  flex-grow: 1;
}
.text {
  flex-basis: 220px;
  flex-grow: 1;
  color: #305aaf;
  margin-left: 40px;
  font-size: 26px;
  margin-top: 40px;
}
