@charset "UTF-8";
/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: auto;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: #fff;
  scroll-behavior: smooth;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

/*--------------------*/

.container {
  max-width: 1170px;
  margin: auto;
  position: relative;
}
body {
  background-color: #f2f2f2;
  height: auto;
}
.container {
  background-color: #f2f2f2;
}
header {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 100px;
}
header span {
  text-transform: uppercase;
  color: #888;
  font-family: "Montserrat";
  font-size: 25px;
  letter-spacing: 5px;
}
header span a {
  color: #888;
}
header img {
  width: 50px;
  height: 50px;
}
.blog-title {
  text-align: center;
  font-size: 50px;
  font-family: "Merriweather";
}
.blog-inner {
  padding-bottom: 50px;
}
.blog-inner__cards {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 100px;
}
.blog-inner__small-card {
  width: 350px;
  height: 350px;
  background-color: #fff;
  padding: 25px 15px;
  -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}
.blog-inner__small-img {
  background-size: cover;
  background-position: right;
  width: 100%;
  height: 200px;
}
.blog-inner__small-card:nth-child(1) .blog-inner__small-img {
  background-image: url("../img/blog-1.jpg");
}
.blog-inner__small-card:nth-child(2) .blog-inner__small-img {
  background-image: url("../img/blog-2.jpg");
}
.blog-inner__small-card:nth-child(3) .blog-inner__small-img {
  background-image: url("../img/blog-3.jpg");
}
.blog-inner__small-title {
  font-family: "Merriweather";
  font-size: 30px;
  margin-top: 25px;
}
.blog-inner__small-subtitle {
  font-family: "Roboto";
  font-size: 12px;
  color: #888;
  margin-top: 25px;
}
.blog-inner__btn {
  cursor: pointer;
  font-family: "Roboto";
  font-weight: 400;
  text-transform: uppercase;
  font-size: 20px;
  /* padding: 10px 20px; */
  border: 2px solid#CCD3DB;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 50px;
  margin: auto;
  margin-top: 100px;
}
.footer {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto";
  font-size: 14px;
  line-height: 1.86;
  letter-spacing: 0.28px;
  text-align: center;
  color: #3b3b3b;
  background-color: #f2f2f2;
}
.error {
  transition: 0.3s;
  transform: translateY(-100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error span {
  width: 200px;
  height: 50px;
  background-color: #fff;
  color: rgb(189, 83, 83);
  font-family: "Roboto";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

@media (max-width: 1200px) {
  .container {
    width: 100%;
    padding: 0 25px;
  }
  .blog-inner__cards {
    flex-wrap: wrap;
  }
}
@media (max-width: 400px) {
  header {
    gap: 15px;
    margin-bottom: 50px;
  }
  .blog-title {
    font-size: 30px;
  }
  .blog-inner__cards {
    margin-top: 50px;
  }
  .blog-inner__small-title {
    font-size: 20px;
  }
}
