.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  min-width: 320px;
  margin-bottom: 25px;
  border: none;
}

.adv {
  min-width: 100px;
  max-width: 200px;
  padding: 3px;
  box-shadow: 0 2px 5px grey;
  border-radius: 0px 10px;
  position: relative;
  transition: all 0.8s;
}
.adv:hover {
  box-shadow: none;
}

.adv p img {
  width: 100%;
  border-radius: 0px 10px;
  box-shadow: 0 3px 3px black;
  margin-bottom: 5px;
}

.show-bottom {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 20px;
}

.show-bottom:hover {
  transform: scale(1.05);
  transition: 0.5s;
}

.menu-catagory {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.cat {
  margin: 5px;
  padding: 15px;
  box-shadow: 0 2px 5px black;
  border-radius: 0px 10px;
}

.cat:hover {
  transform: scale(0.9);
  transition: 0.5s;
}

.cat.selected-menu {
  box-shadow: none;
  transform: none;
  transition: none;
}

.name-adv {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
}

a:active, /* активная/посещенная ссылка */
a:hover,  /* при наведении */
a {
  text-decoration: none;
  color: rgba(0, 33, 250, 0.9);
}
.adv-image {
  text-align: center;
}

.adv-image p img {
  border-radius: 0 10px;
  box-shadow: 0 2px 5px black;
  width: 100%;
}

.price-adv {
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action_adv {
  text-align: right;
  margin: 5px;
  font-family: cursive;
  font-style: italic;
  font-size: large;
}

.one-adv {
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  border-radius: 0 10px;
  box-shadow: 0 2px 5px black;
  width: 100%;
}

.adv-photo {
  text-align: center;
  width: 30%;
  display: inline-block;
  margin: 5px;
  min-width: 150px;
}

.head-h1 {
  text-align: center;
  text-decoration: underline;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(61, 60, 60, 0.8);
  margin-bottom: 10px;
}

.show-info {
  display: flex;
  justify-content: space-around;
  font-size: x-large;
  margin-top: 10px;
  margin-bottom: 10px;
}

.show-desc {
  width: 90%;
  margin: auto auto;
  padding: 5px;
  text-align: center;
  overflow: hidden;
}

.show-contact {
  display: flex;
  justify-content: space-around;
  margin: 5px;
}

.adv-info {
  text-align: center;
}

.add-transport-adv {
  width: 30%;
  min-width: 200px;
  height: 20%;
  text-align: center;
  font-size: 35px;
  cursor: pointer;
  font-weight: 500;
}

.ul-page {
  display: flex;
  justify-content: center;
}

.li-page {
  margin: 5px;
  box-shadow: 0 2px 5px black;
  border-radius: 10px;
}

.li-page:hover {
  transform: scale(0.8);
  transition: 0.5s;
}

.li-page > a {
  padding: 10px;
}

.li-p {
  padding: 5px;
}

.nav-page {
  margin-bottom: 20px;
}

.errroe-message {
  text-align: center;
}

.errroe-message > img {
  width: 30%;
}

.errroe-message > h1 {
  font-size: 6vw;
}

.content > a {
  color: black;
  margin: 3px;
  text-decoration: none;
  transition: all 0.8s;
}
.content > a:hover {
  transform: scale(0.99);
  box-shadow: none;
}
.p-login {
  font-style: normal;
  margin: 0 1px 0 5px;
}
.container-news {
  width: 100%;
  max-width: 1150px;
  margin: 20px auto;
}
.article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.article > img {
  width: 25%;
  min-width: 200px;
}
.article-p {
  width: 65%;
  min-width: 300px;
  margin: auto;
}
.article-img {
  width: 90%;
  max-width: 800px;
  display: block;
  margin: 10px auto 10px auto;
}

@media (max-width: 767px) {
  .adv {
    max-width: 160px;
  }
  
  
}
@media (max-width: 580px) {
  .article-p {
    width: 100%;
  }
  .article > img {
    min-width: 300px;
  }
  hr {
    margin: 10px;  
  }
}
