a{
  text-decoration: none;
  color:black;
}
#p1{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
#p1 .index-gallery{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
#p1 .index-gallery .gallery-title{
  padding-top: 1.5rem;
  text-align: center;
  /* padding-left: 2rem; */
  font-size: 20pt;
}
#p1 .index-gallery .gallery-price{
  margin-top: 1rem;
  color:rgb(75, 75, 75);
}
#p1 .index-gallery .center-hr{
  margin: auto;
  margin-top: 0.8rem;
}
#p1 .index-gallery .gallery-content{
  height: 23vmax;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
}
#p1 .index-gallery .more-btn{
  border: 1px solid gray;
  margin-top: 1.7rem;
  min-width:85px;
  text-align: center;
  padding: 0.8rem;
  color:rgb(168, 168, 168);
}
#p1 .index-gallery .more-btn a{
  color:rgb(168, 168, 168);
}
#p1 .index-gallery .more-btn:hover{
  background-color: rgb(188, 188, 188);
  transition: background-color .2s;
  color:black;
}
#p1 .index-gallery .more-btn:hover a{
  color:black;
}
@media (max-width:980px) {
  #p1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 3rem;
  }
  #p1 .index-gallery .gallery-content{
    padding-left: 0rem;
    padding-right: 0rem;
    display: block;
    height: 50vmin;
    margin-top: 2rem;
  }
}


#p2{
  margin-top: 4rem;

  display: flex;
  flex-direction: row;
  margin-bottom: 4rem;
}
#p2 .boat-dec{
  word-break: keep-all;
  padding-left: 5rem;
  padding-right: 5rem;
  line-height: 27px;
  padding-bottom: 2rem;


}
#p2 .boat-img-box{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  margin-right: 2rem;
}
#p2 .boat-img-box .boat-img{
  width:30vmin;
  height: 30vmin;
  margin: 0.2rem;
}
#p2 .boat-img-box #o1{
  background: url('../img/yachts/440s/440s-21.jpg') no-repeat center center;
  background-size: cover;
}
#p2 .boat-img-box #o2{
  background: url('../img/yachts/440s/440s-15.jpg') no-repeat center center;
  background-size: cover;
}
#p2 .boat-img-box #o3{
  background: url('../img/yachts/440s/440s-09.jpg') no-repeat center center;
  background-size: cover;
}
#p2 .boat-img-box #o4{
  background: url('../img/yachts/440s/440s-07.jpg') no-repeat center center;
  background-size: cover;
}
@media (max-width:1100px) {
  #p2 .boat-dec{
    padding-right: 3rem;
  }
  #p2 .boat-img-box{

    margin-right: 0rem;
  }
}
@media (max-width:980px) {
  #p2{
    flex-direction: column;

  }
  #p2 .boat-img-box{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-right: 0rem;
    /* height: 300px; */
  }
  #p2 .boat-img-box .boat-img{
    width: 100%;
    height: 400px;
  }
  #p2 or{
    display: none;
  }
}
