@media screen and (max-width: 600px) {

  /* .header {

  }*/
  nav .left {
    display: none;
    background-color: #6d6d6d;
    padding: 20px;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    z-index: 10;
  }

  nav .leftul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  nav .leftul li {
    margin: 10px 0;
  }

  nav .menu-icon {
    font-size: 25px;
    color: #ccc;
  }

  nav .search-container {
    margin: 0px!important;
  }

  .carousel-item img {
    max-height: 500px;
  }

  .banner-area {
    max-width: 200px;
    max-height: 100px;
    align-items: center;
  }

  .banner-area h1 {
    font-size: 23px !important;
  }

  .banner-area p {
    font-size: 15px !important;
  }

  .banner-area button {
    margin: 5px !important;
    padding: 10px !important;
    font-size: 15px !important;
  }

  .second-block {
    width: 100%;
    height: 300px;
    flex-direction: column;
  }

  .leftaside {
    min-width: 100%;
    max-height: 400px;
  }

  .leftaside img {
    max-width: 200px;
  }

  .rightaside {
    min-width: 100%;
    height: auto;
  }

  .third-block {
    flex-direction: column;
  }

  .leftq {
    min-width: 100%;
    margin-top: 200px;
  }

  .third-block .right {
    min-width: 100%;
    margin-top: 200px;
  }

  .third-block img {
    max-width: 200px;
    height: 290px;
  }

  .third-block .right h1 {
    font-size: 15px !important;
  }

  .right:hover .photo:first-child {
    transform: translateX(calc(100% + 150px));
  }

  .right:hover .photo:last-child {
    transform: translateX(calc(-100% - 150px));
  }

  .post-area {
    margin-top: 500px;
    justify-content: center;
  }

  .cards-list {
    min-width: 100%;
    margin: auto;
  }

  .title h1 {
    margin-left: 15px !important;
  }

  .post-card {
    flex-direction: column;
  }

  .post-card .right {
    min-width: 100%;
  }

  .post-card .img {
    margin: auto !important;
  }

  .post-card .right .date {
    margin-top: 20px;
  }

  footer {
    flex-direction: column;
  }

  footer .leftf {
    min-width: 100%;
  }

  footer .inner {
    margin: 50px auto !important;
  }

  footer .right-text {
    margin: 30px;
  }

  footer .input-area .asides {
    display: flex;
    flex-direction: column;
  }

  footer .input-area input {
    max-width: 300px;
  }

  footer form {
    display: flex;
    flex-direction: column;
  }

  footer form button {
    margin-top: 80px !important;
  }

}