.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;
  margin: 5px;
  padding: 5px;
  box-shadow: 0 2px 5px black;
  border-radius: 0px 10px;
  position: relative;
}

.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: 3px 3px 30px 3px;
  box-shadow: 0 2px 5px black;
  border-radius: 0px 10px;
}

.cat > a {
  color: black;
  font-weight: 500;
  padding: 0 45px 35px 0;
}

.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: 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%;
}

.action_adv {
  text-align: right;
  margin: 5px;
}

.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: left;
  overflow: hidden;
}

.show-contact {
  display: flex;
  justify-content: space-around;
  margin: 5px;
}

.adv-info {
  text-align: center;
}

.add-transport-adv {
  width: 30%;
  height: 20%;
  text-align: center;
  font-size: 35px;
  cursor: pointer;
  font-weight: 500;
}

#button_on_checkbox {
  display: none;
}

#check:checked ~ #button_on_checkbox {
  display: block;
  margin: auto auto;
}

.search {
  width: 80%;
  height: 30px;
}

#transport {
  background: no-repeat center/100% url("../img/cat_1.png");
  filter: hue-rotate(-180deg);
}

#realty {
  background: no-repeat center/100% url("../img/cat_2.png");
  filter: hue-rotate(270deg);
}

#other {
  background: no-repeat center/100% url("../img/cat_3.png");
  filter: hue-rotate(270deg);
}

.search-form {
  width: 100%;
  text-align: center;
  padding-bottom: 5px;
}

.search-field {
  width: 80%;
  height: 25px;
}

.search-button {
  height: 25px;
}

@media (max-width: 767px) {
  .adv {
    max-width: 160px;
  }
}
