@import "style.css";
.content-epitaphs_title{
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
  margin: 37px 0 20px 0;
}
.content-epitaphs_title h3{
  color: var(--h1, #00796b);
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  text-transform: uppercase;
}
 h4{
  color: var(--h2, #334F4C);
  /* h2.5 */
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 24px */
  text-transform: uppercase;
}
p{
  color: var(--h2, #334F4C);
/* text main */
font-family: Montserrat;
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 28px */
text-transform: uppercase;
 }
.content-epitaphs_block{
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.content-epitaphs_block__img{

  margin-right: 40px;
  border-radius: 5px;
} 
.content-epitaphs_block__img img {
  max-width: 460px;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.content-epitaphs-poetry{
  margin-bottom: 40px;
}
.content-epitaphs-poetry_title{
  margin-bottom: 20px;
}
.content-epitaphs-poetry-body_block-img{

  margin: 0 40px 14px 0;
  border-radius: 5px;
}
.content-epitaphs-poetry-body_block-img button{
  display: none;
}
.content-epitaphs-poetry-body_block-img img{
  max-width: 460px;
  display: block;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.content-epitaphs_block__description-title{
  margin-bottom: 20px;
}
.content-epitaphs_text{
  margin-bottom: 40px;
}
.content-epitaphs-poetry-body{
  display: flex;

}
.content-epitaphs-poetry-body_block-text pre{
  color: var(--h2, #334F4C);
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; 
  text-transform: uppercase;
}
.content-epitaphs-poetry-body_block-img button{
  margin-top: 10px;
  /* visibility: hidden;
  display: none; */
}
@media (max-width: 1200px){
  .content-epitaphs_title{
    flex-direction: column;
  }
  .content-epitaphs_block{
    flex-direction: column;
  }
  .content-epitaphs-poetry-body{
    flex-direction: column;
  }
}
@media (max-width: 719px){
  .content-epitaphs_block__img img{
    max-width: 360px;
    height: auto;
  }
  .content-epitaphs-poetry-body_block-img img{
    max-width: 360px;
    height: auto;
  }
 .content-epitaphs-poetry-body_block-text {
  display: none;
 }
 .content-epitaphs-poetry-body_block-img button {
  display: block;
 }

 .content-epitaphs-poetry-body.active .content-epitaphs-poetry-body_block .content-epitaphs-poetry-body_block-text{
  display: block ;
 }
 /* .content-epitaphs-poetry-body.active .content-epitaphs-poetry-body_block .content-epitaphs-poetry-body_block-img button {
  transform: rotate(180 deg) ;
 } */


}