@import "./variable.css";

.Property-header{
  margin-top: 5rem;
}

.post{
  /* max-width: 1366px; */
}

.post-item{
  margin: 4rem 4rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-evenly;
}

.post-item__img{
  width: 60%;
  height: 400px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  margin: 2rem auto;
  box-shadow: 0 1px 10px 1px #bbb;
}

.post-item__title{
  margin-top: 2.5rem;
  font-size: 1.5rem;
  padding: 1rem;
}

.post-item__desc{
  padding: 1rem;
  line-height: 2.7rem;
  font-size: 1.1rem;
}

.post-item__btn{
  width: 100%;
  background-color: var(--secondary-primary-color);
  color: white;
  text-align: center;
  padding: 5px 10px;
  border-radius: 0 0 10px 10px;
  -webkit-border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  -ms-border-radius: 0 0 10px 10px;
  -o-border-radius: 0 0 10px 10px;
  box-shadow: 0 1px 10px 1px #aaa;
}

.post-item__btn:hover{
  background-color: var(--secondary-color);
  text-decoration: none;
  color: white;
}

@media (max-width: 800px) {
  .post-item__img{
    width: 100%;
    height: 400px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    margin: 2rem auto;
    box-shadow: 0 1px 10px 1px #bbb;
  }

  .post-item{
    margin: 2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-evenly;
  }
}
