
.portfolio { 
 padding: 50px;
}
.portfolioblock {  
width: 46%; margin: 10px 5px 60px;justify-content: flex-start;
}

.portfolio h3 {
font-size: 2.1em;
	}
@media screen and (max-width: 780px) {
.galereyaportfolio, .portfolioblock .preim  { 
flex-direction: column;
}
.portfolio {
    padding: 5px 10px;
}
.portfolioblock, .videoblock   { 
width: 96%;
}
}
.portfolio img {margin: 5px;
    width: 100px;
    height: 100px;
    object-fit: cover;
    opacity: 0.9;
}
.portfolio .hg {width: 100%;
}
.hg img {width: 100%;height: 250px; object-fit: cover;
/* height: 95%; */
}
.portfolio .buttonaside {
    border-radius: 10px;width: 220px;padding: 10px 20px;margin: 15px auto;text-align:center;
}
.textgalereya {
margin: 10px 0;
}
.textgalereya h4 {
font-size: 1.2rem;
line-height: 0.8em;margin-bottom: 0
}
@media screen and (max-width: 780px) {
.textgalereya h4 {
font-size: 1.0rem;margin-bottom: 0 
}
}
.textgalereya p {
line-height: 1.4em; font-size: 0.8rem; font-weight: 300; margin: 15px 0 2px
}
@media screen and (min-width: 1280px) {
.textgalereya {
margin-left: 15px
}
.textgalereya p {
text-align: justify; margin: 15px 15px 2px 0
}
}