@import "./reset.css";

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Playfair+Display:wght@400..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* font-family: "Playfair Display", serif;
font-family: "Montserrat", sans-serif;
font-family: "Noto Sans", sans-serif; */

body {
  font-family: "Playfair Display", serif;
  color: #000;
}

/* Контейнер */
.container {
  width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

/* Секция */
.section {
  margin-top: 90px;
  margin-bottom: 90px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-button-wrapper {
  text-align: center;
}

.section-blog {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 60px;
  margin-bottom: 50px;
}

/* Заголовки */
.title {
  margin-bottom: 10px;
  font-size: 42px;
}

.subtitle {
  font-family: "Nato Sans", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #999999;
}

/* Карточка */
.card {
  width: 270px;
  text-align: center;
}

.card-text {
  border: 1px solid #c1d1d4;
  border-top: none;
  padding: 20px 10px 20px;
}

.card-text-title {
  font-size: 22px;
  margin-bottom: 15px;
}

.card-text-items {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.card-link {
  font-size: 20px;
  color: #0277b9;
  margin-bottom: 20px;
}

.card-link-wrapper {
  text-decoration: underline;
  color: #0277b9;
}

/* кнопка */
.button {
  position: relative;
  display: inline-block;
  font-size: 22px;
  color: #000;
  text-transform: uppercase;
  background-color: #fff;
  border: 1px solid #000;
  padding: 12px 40px 16px;
  border-radius: 4px;
  transition:
    backgroud-color 0.2s ease-in,
    color 0.2s ease-in,
    border 0.2s ease-in;
}

.button:hover,
.button:focus {
  background-color: #000;
  color: #fff;
}

.button:active {
  top: 1px;
  background-color: #444;
  color: #fff;
  border: 1px solid #444;
}
