body,
h1,
h2,
h3,
h4,
p,
a {
  margin: 0;
  font-size: 100%;
  font-weight: normal;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
}

.header {
  height: 100vh;
  background-color: #eee;
  background-image: url(https://pictures.s3.yandex.net/frontend-developer/free-course/cover.jpg);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.header-title {
  font-size: 140px;
  color: white;
  text-transform: uppercase;
  font-weight: 500;
  margin: auto;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
}

.content {
  font-size: 0;
  max-width: 790px;
  margin: 100px auto 50px;
}

.card {
  max-width: 350px;
  margin-bottom: 60px;
  margin-right: 90px;
  padding: 45px 45px 70px 45px;
  display: inline-block;
  box-shadow: 4px 4px 5px rgba(250, 50, 50, 0.4);
}

.no-right-margin {
  margin-right: 0;
}

.card-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

.card-text {
  font-size: 16px;
}

.card-image {
  width: 100%;
  margin-bottom: 25px;
}

.footer {
  height: 100px;
  background-color: black;
  display: flex;
  text-align: center;
}

.footer-author {
  color: white;
  font-size: 24px;
  margin: auto;
}

@media screen and (max-width: 800px) {
  .header-title {
    font-size: 50px;
  }
  .card {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 375px) {
  .card {
    margin-right: 10px;
    margin-bottom: 30px;
  }
}

