html, body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Roboto;
}

h1, h2 {
  font-weight: 500;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.58;
  color: #2d2d2d;
}

.logo svg {
  margin-bottom: 10px;
  margin-right: 15px;
}

.content, .nav {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 100vw;
  padding-left: 30px; 
  padding-right: 30px;
  width: 800px;
}

.header {
  min-height: 217px;
  background-color: #eaeef0;
  display: flex;
  flex-direction: column;
}

.header .content {
  background-color: #eaeef0;
  flex: 1;
  padding-top: 25px;
  position: relative;
}

.header .content .red-btn {
  background: #D23B31;
  border-radius: 100px;
  display: inline-block;
  color: #FFFFFF;
  font-family: Roboto;
  font-size: 12px;
  line-height: 40px;
  text-decoration: 0;
  padding: 0 20px;
  position: absolute;
  right: 30px;
  bottom: -20px;
}

.header .contacts {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  flex: 1;
  padding-top: 25px;
  font-size: 24px;
}

.header h1, .header .phone {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.58;
  color: #2d2d2d;
}

.header .nav {
  padding-left: 30px; 
  padding-right: 30px;
  margin: 0 auto;
  background-color: #eaeef0;
}

.header .nav a {
  font-size: 14px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1;
  letter-spacing: normal;
  color: #1a1a1a;
  text-decoration: none;
  padding-bottom: 20px;
  display: inline-block;
  margin-right: 20px;
}

.header .nav a.active {
  border-bottom: 4px solid #e42624;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.main p {  
  font-size: 16px;
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.71;
  letter-spacing: normal;
  color: #1a1a1a;
  margin: 0;
  margin-bottom: 15px;
}

.main ul a {
  color: #1a1a1a;
  font-size: 16px;
}

.main ul li {
  padding-bottom: 20px;
}

h3 {
  font-size: 16px;
  font-weight: 500;
  margin-top: 50px;
}

.footer {
  border-top: 1px solid #cfcfcf;
}

.footer .content {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 300;
  line-height: 50px;
}

b {
  font-weight: 600;
}

@media only screen and (device-width : 375px) {
  .header .contacts {
    flex-direction: column;
    padding-bottom: 25px;
  }
}

#objects img {
  max-width: 100%;
}
