*,
body {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}
body {
   font:
      20px/1.5 "Roboto",
      sans-serif;
   color: #2e2f33;
}
a {
   color: inherit;
}
.link {
   color: #05c;
   font-weight: 700;
   text-decoration: underline;
}
.link:hover,
a {
   text-decoration: none;
}
ul {
   list-style: none;
}
figure {
   max-width: 700px;
   margin: 0 auto 20px;
   text-align: center;
}
figure img {
   width: 100%;
   margin: 0 auto;
}
h1,
h2 {
   font:
      50px/1.2 "Roboto";
   margin-bottom: 20px;
   font-weight: 700;
}
h2 {
   font:
      35px/1.2 "Roboto";

}
.border-red {
   border: 2px solid #fa1e0a;
   padding: 15px;
   color: red;
}
.bold,
.border-red {
   font-weight: 700;
}
.header img,
figure img {
   display: block;
}
.header {
   font:
      16px "Roboto",
      sans-serif;
   background: #f9f9f9;
   margin-bottom: 40px;
}
.header-container {
   max-width: 1500px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: 1fr auto 1fr;
   align-items: center;
   height: 70px;
   padding: 0 30px;
}
.header span {
   display: flex;
   align-items: center;
}
.header-btn {
   display: inline-block;
   padding: 0 20px;
   height: 32px;
   line-height: 32px;
   color: #fff;
   margin: 0 10px;
}
.brown-btn {
   background: #eba91a;
   font-family: "Roboto", sans-serif;
   margin-left: 50px;
}
.blue-btn {
   background: #00f;
}
.header-search {
   font:
      14px "Roboto",
      sans-serif;
   background: #e8e8e8;
   padding: 10px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   max-width: 330px;
   margin-right: 50px;
}
.header-logo {
   position: relative;
   width: 129px;
}
.header-logo a {
   position: absolute;
   top: -15px;
}
.header-right {
   justify-content: end;
}
.main {
   max-width: 1130px;
   margin: 0 auto;
   padding: 0 10px;
}
.list,
.main p {
   margin-bottom: 20px;
}
.main .date {
   font-size: 14px;
   color: #74747c;
}
.list {
   padding-left: 20px;
   list-style: disc;
}
.reviews {
   font-style: italic;
   text-align: center;
   max-width: 1000px;
   margin: 0 auto 20px;
}
.reviews li {
   border-bottom: 1px dotted #000;
   padding: 15px 0;
}
.comment-item:last-child,
.reviews li:last-child {
   border-bottom: 0;
}
.comments {
   margin-top: 50px;
}
.comments h2 {
   margin-bottom: 35px;
}
.comment-item {
   display: grid;
   grid-template-columns: 50px auto;
   grid-column-gap: 15px;
   margin-bottom: 20px;
   padding-bottom: 15px;
   border-bottom: 1px solid #74747c;
}
.comment-item .name span:last-child {
   color: #74747c;
   font-size: 17px;
   margin-left: 10px;
}
.comment-item-right {
   margin-left: 60px;
}
.comment-item p {
   margin-bottom: 10px;
}
.comment-item .avatar img {
   width: 50px;
   height: 50px;
   border-radius: 50%;
   object-fit: cover;
}
.comment-item .info .name {
   display: block;
   margin-bottom: 5px;
}
.comment-item .info img {
   width: 100%;
   max-width: 380px;
}
.red-btn {
   background: #fa1e0a;
   color: #fff;
   font-size: 20px;
   text-transform: uppercase;
   font-weight: 700;
   border-radius: 3px;
   padding: 12px 20px;
   display: block;
   max-width: 500px;
   margin: 70px auto;
   text-align: center;
}
.pulse {
   animation: pulse 2s infinite;
}
@media (max-width: 1100px) {
   .header .hide-1100 {
      display: none;
   }
   .header {
      margin-bottom: 30px;
   }
   .header-search {
      margin-right: 0;
   }
   .brown-btn {
      margin-left: 30px;
   }
   h1 {
      font-size: 38px;
   }
   body {
      font-size: 18px;
   }
}
@media (max-width: 1000px) {
   .header .header-btn,
   .header .hide-1000 {
      display: none;
   }
   .header {
      margin-bottom: 20px;
   }
   .header-search {
      background: 0 0;
      max-width: auto;
   }
   .header-logo {
      position: initial;
   }
   .header-logo a {
      display: block;
      top: 0;
   }
   .header-logo img {
      height: 70px;
      width: auto;
   }
   .header-container {
      padding: 0 10px 0 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
   }
   h1 {
      font-size: 33px;
   }
}
@media (max-width: 700px) {
   h1,
   h2 {
      font-size: 25px;
   }
   .comment-item-right {
      margin-left: 0;
   }
   .comment-item .name span:last-child {
      display: block;
      margin-left: 0;
   }
}
