* {
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
}

body {
  max-width: 1250px;
  margin: auto;
  background-image: url(images/pattern-image.jpg);
  background-size: cover;
  font-family: 'Lora', serif;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  padding: 0 20px;
  line-height: 1.4;
}

a {
  color: #9b804e;
  transition: all .3s ease;
}

a:hover {
  color: #3d3931;
}

header {
  text-align: center;
  padding: 6vw 0 4vw;
}

.subtitle {
  color: #9b804e;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 4.2px;
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
}

.images {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  margin: 2vw 0;
}

ul>li {
  background-color: #f3efe2;
  padding: 2vw;
  position: relative;
}

h1,
h2,
h3 {
  font-family: 'Merriweather', serif;
  font-weight: 400;
}

h1 {
  font-size: 70px;
}

h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

h3 {
  font-size: 30px;
  margin-bottom: 15px;
}

.content {
  padding: 0 2vw;
}

.content p {
  margin-bottom: 20px;
}

.contacts {
  text-align: center;
  padding: 2vw;
  margin-top: 4vw;
  background-color: #f9f5e9;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  margin: 2vw 0;
  font-size: 14px;
  gap: 20px;
}