:root {
  --main-color: #63161c;
  --secondary-color: #f9f0c7;
  font-family: Roboto, sans-serif;
  font-size: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--secondary-color);
  color: #000;
}

header {
  padding: 0 20px;
  background-color: var(--main-color);
}

header .container {
  display: flex;
  justify-content: space-between;
}

.container {
  margin: auto;
  width: 100%;
  max-width: 1440px;
}

.logo {
  padding-top: 20px;
  max-width: 200px;
}

.logo img {
  width: 100%;
}

.contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.making-known {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 15px;
}

.link {
  color: var(--secondary-color);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.stealth-link {
  font-size: 1rem;
}

.hero {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 75vh;
  font-family: Play, sans-serif;
  font-size: 6rem;
  color: var(--secondary-color);
  background-image: url('images/hero.jpg');
}

.hero .slogan {
  display: inline-block;
  max-width: 800px;
}

section {
  padding: 40px 20px;
  font-size: 1.5rem;
}

h2 {
  margin-bottom: 25px;
  font-size: 3rem;
  color: var(--main-color);
}

p:not(:last-child) {
  margin-bottom: 15px;
}

.service:not(:last-child) {
  margin-bottom: 30px;
}

.subtitle {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--main-color);
}

strong {
  color: #000;
}

em {
  font-weight: 700;
  color: var(--main-color);
}

ul {
  list-style-type: none;
  font-size: 1.5rem;
}

ul:not(:last-child) {
  margin-bottom: 20px;
}

li {
  position: relative;
}

li::before {
  content: '';
  display: inline-block;
  margin-right: 30px;
  height: 10px;
  width: 10px;
  background-color: var(--main-color);
}

footer {
  padding: 20px;
  background-color: var(--main-color);
}

footer .container {
  display: flex;
  justify-content: space-between;
}

.phones {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
}

.phones, .mail, address {
  position: relative;
}

.phones::before, .mail::before, address::before {
  position: absolute;
  top: 5px;
  left: -25px;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.phones::before {
  content: url('icons/phone.svg');
}

.mail::before {
  content: url('icons/mail.svg');
}

address::before {
  content: url('icons/map-point.svg');
}
