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

body {
    font-size: 20px;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    color: #2e2f33;
}

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

.link {
    color: #05c;
    font-weight: bold;
    text-decoration: underline;
}

.link:hover {
    text-decoration: none;
}

ul {
    list-style: none;
}

figure {
    max-width: 700px;
    margin: 0 auto 20px;
    text-align: center;
}

figure img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

figcaption {
    font-style: italic;
    margin-top: 10px;
    font-size: 17px;
}

h1 {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

h2 {
    font-size: 35px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.red {
    color: #fa1e0a;
}

.border-red {
    border: 2px solid #fa1e0a;
    padding: 15px;
    color: red;
    font-weight: bold;
}

.center {
    text-align: center;
}

.bold {
    font-weight: bold;
}

.header img,
.footer img {
    display: block;
}

/* header */

.header {
    font-family: 'Oswald', sans-serif;
    background: #f9f9f9;
    font-size: 16px;
    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: blue;
}

.header-search {
    background: #e8e8e8;
    padding: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 330px;
    font-family: 'Roboto', sans-serif;
    margin-right: 50px;
}

.header-logo {
    position: relative;
    width: 129px;
}

.header-logo a {
    position: absolute;
    top: -15px;
}

.header-right {
    justify-content: end;
}

/* main */

.main {
    max-width: 1130px;
    margin: 0 auto;
    padding: 0 10px;
}

.main p {
    margin-bottom: 20px;
}

.main .date {
    font-size: 14px;
    color: #74747c
}

.list {
    margin-bottom: 20px;
    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;
}

.reviews li:last-child {
    border-bottom: 0;
}

/* comments */

.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:last-child {
    border-bottom: 0;
}

.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: bold;
    border-radius: 3px;
    padding: 12px 20px;
    display: block;
    max-width: 500px;
    margin: 70px auto;
    text-align: center;
}

/* footer */

.footer {
    background-color: #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 10px;
    color: #e5e5e5;
    font-size: 13px;
}

.footer span,
.footer ul {
    display: flex;
    align-items: center;
}

.footer ul li {
    margin-right: 2px;
}

.footer span a {
    margin-left: 20px;
}

@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;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer span, .footer ul {
        margin: 5px 0;
    }

    body {
        font-size: 18px;
    }
}

@media(max-width: 1000px) {
    .header .hide-1000,
    .header .header-btn {
        display: none;
    }

    .header {
        margin-bottom: 20px;
    }

    .header-search {
        background: none;
        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;
    }

    .footer ul {
        display: none;
    }

    .comment-item-right {
        margin-left: 0;
    }

    .footer-container {
        padding: 20px 10px;
        text-align: center;
    }

    .footer span a {
        margin-left: 0;
    }

    .footer span {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .comment-item .name span:last-child {
        display: block;
        margin-left: 0;
    }
}

.pulse {
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      -webkit-transform: scale(1);
      -moz-transform: scale(1);
      -o-transform: scale(1);
      -ms-transform: scale(1);
    }
  
    50% {
      transform: scale(1.05);
      -webkit-transform: scale(1.05);
      -moz-transform: scale(1.05);
      -o-transform: scale(1.05);
      -ms-transform: scale(1.05);
    }
  
    100% {
      transform: scale(1);
      -webkit-transform: scale(1);
      -moz-transform: scale(1);
      -o-transform: scale(1);
      -ms-transform: scale(1);
    }
  }

  .nw {
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-size: 15px;
  }



  .cpu{
    padding: 10px 0;
    text-align: center;
    }
    .cpu img{
    display:block;
    margin: 0 auto;
    }
    .cpu a{
    display: inline-block;
    margin: 5px;
    color: #333;
    font-size: 14px;
    }