:root {
  --basic-font-family: 'Lato', sans-serif;
  --basic-font-size: 16px;
  --basic-font-weight: 400;
  --basic-line-height: 1.5;
  --basic-text-color: #202020;
  --container-width: 1110px;
  --basic-space: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a,
a:hover {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  object-fit: cover;
}

html {
  font-family: var(--basic-font-family);
  font-size: var(--basic-font-size);
  font-weight: var(--basic-font-weight);
  line-height: var(--basic-line-height);
  color: var(--basic-text-color);
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.container {
  width: 100%;
  max-width: calc(var(--container-width) + var(--basic-space) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--basic-space);
  padding-right: var(--basic-space);
  position: relative;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 40px;
}

.card-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
}

.header {
  background-color: #f9f7e8;
  padding-top: 24px;
  padding-bottom: 24px;
}

.logo {
  font-family: 'Courgette', cursive;
  display: inline-block;
  font-style: italic;
  font-size: 32px;
  line-height: 1.25;
  margin-right: 80px;
}

.logo span {
  color: #62bfad;
}

.menu {
  display: inline-block;
}

.nav_link + .nav_link {
  margin-left: 20px;
}

.main_banner {
  padding-top: 200px;
  padding-bottom: 170px;
  background-color: #d52047;
}

.main_title {
  font-family: 'Limelight', sans-serif;
  max-width: 740px;
  color: #fff;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
}

.color-red {
  color: #d52047;
}

.about_section {
  background-color: #eff8f6;
  padding-top: 95px;
  padding-bottom: 80px;
}

.text-wrap {
  vertical-align: bottom;
  background-color: #e5e5e5;
  padding: 24px;
  max-width: 553px;
  display: inline-block;
  border-radius: 8px 0 0 8px;
}

.content {
  font-size: 23px;
}

.about_section .image {
  border-radius: 0 8px 8px 0;
}

.features_section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.card-item {
  display: inline-block;
  max-width: 322px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
}
.card-item + .card-item {
  margin-left: 67px;
}
.card-item .image,
.card-item .description {
  margin-bottom: 24px;
}
.card-item .link {
  text-decoration: underline;
}
