.main-home-section{
	position: relative;
}

.left-content, .right-content{
	width: 50%;
	float: left;
}
.right-content{
	overflow: hidden;
}

.element.compensate-menu.small-compensator {
    height: 100vh;
}
.text-holder {
    padding-left: 7.291666666666667VW;
    padding-right: 5.8125VW;
}

.text-holder h1 {
    font-family: 'Buttercup';
	font-size: calc( 17px + ( 53 - 17 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
	line-height: calc( 17px + ( 53 - 17 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
	padding-left: 1.8229166666666667VW;
	color: #23262b;
    padding-bottom: 2.083333333333333VW;
    
    overflow: hidden;
	padding-bottom: 0;
	padding-top: 0.625VW;
	margin-bottom: 1.883333333333333VW;
	line-height: initial;
	position: relative;
	padding-bottom: 34px;
	padding-top: 20;
	margin-bottom: 20px;
}
.animate-text span{
    display: inline-block;
	opacity: 0;
	width: 0.93541666666666669VW;
	position: relative;
	transform: translate(0px, 220px);
}
.animate-text span:first-of-type{
	width: 24px;
	line-height: 70px;
}
.text-holder p:last-of-type {
    padding-bottom: 0;
}
.text-holder h6 {
    color: #ff8f8f;
    text-transform: uppercase;
    letter-spacing: 0.13541666666666669VW;
    font-weight: 600;
    font-size: calc( 10px + ( 25 - 10 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    line-height: calc( 10px + ( 25 - 10 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    padding-bottom: 0.8376vw;
    padding-top: 1.2376vw;
}
.text-holder ul.about-text li {
    padding-bottom: 8px;
}
.image-element .main-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}
.element.compensate-menu {
    height: calc(100vh - 6.927083333333334VW);
}
.text-holder h3 {
    color: #ff8f8f;
    text-transform: uppercase;
    letter-spacing: 0.13541666666666669VW;
    font-weight: 600;
    font-size: calc( 10px + ( 25 - 10 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    line-height: calc( 10px + ( 25 - 10 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    padding-bottom: 1.5625VW;
}

.text-holder h3.yellow {
    color: #ffc400;
}
.news-section {
    background: #fff2c8;
    padding: 7.291666666666667VW 0;
    text-align: center;
}
.news-section h2 {
    letter-spacing: 0.20833333333333334VW;
    font-weight: 600;
    color: #23262b;
    text-transform: uppercase;
}
.news-section ul {
    padding-top: 2.604166666666667VW;
}
.news-section ul li {
    display: block;
    padding-bottom: 0.5208333333333333VW;
}
.news-section ul li a {
    color: #23262b;
    display: block;
    text-decoration: none;
    transition: 0.3s ease color;
}

.povesti-de-succes{
    background: url('../../img/news-back.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 4.166666666666666VW 0;
}
.povesti-de-succes h2{
    font-family: 'Buttercup';
    font-size: calc( 17px + ( 53 - 17 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    line-height: calc( 17px + ( 53 - 17 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    padding-left: 1.8229166666666667VW;
    color: #23262b;
    overflow: hidden;
    padding-top: 0.625VW;
    line-height: initial;
    position: relative;
    letter-spacing: 4px;
    margin-bottom: 20px;
}
.povesti-de-succes .subtitle{
    width: 45%;
    margin: 0 auto;
}
.povesti-container{
    width: 78.33333333333334VW;
    margin: 0 auto;
}
.povesti-flex{
    display: flex;
    flex-wrap: wrap;
    margin-left: -2.125VW;
    margin-right: -2.125VW;
}
.povesti-element{
    width: 33.333%;
    padding: 2.125VW;
}
.povesti-item{
    display: block;
    width: 100%;
}
.povesti-img-hold{
    display: block;
    width: 100%;
    height: 15.479166666666664VW;
}
.povesti-img-hold img{
    display: block;
    width: 100%;
    height: 100%;
    background: #ffc400;
    padding: 20px 20px;
    object-fit: cover;
    object-position: center center;
}
.povesti-txt{
    position: relative;
    text-align: left;
    background: #fff2c6;
    padding: 1.8541666666666667VW 2.1541666666666667VW;
    min-height: 14.5VW;
}
.hold-txt{
    position: absolute;
    bottom: 1.8541666666666667VW;
    left: 0;
    padding: 0 2.1541666666666667VW;
}
.povesti-txt p{
    font-family: 'Poppins';
    font-size: calc( 6px + ( 18 - 6 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    line-height: calc( 10px + ( 22 - 10 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    color: #000000;
    font-weight: 800;
    margin-bottom: 1.3541666666666667VW;
    text-transform: uppercase;
}
.povesti-txt a.general-btn{
    padding: 0.6625VW 1.94375VW;
    font-size: calc( 10px + ( 18 - 10 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
    line-height: calc( 10px + ( 18 - 10 ) * ( 100vw - 480px ) / ( 1920 - 480 ) );
}
.povesti-txt.blue{
    background: #ecfafd;
}
.povesti-txt.yellow{
    background: #ffe797;
}
@media screen and (max-width: 1540px){
    .text-holder {
        padding-left: 4.291667VW;
        padding-right: 2.8125VW;
    }
    p {
        letter-spacing: 0.04541666666666669VW;
    }
}


@media screen and (max-width: 980px){
    .left-content, .right-content {
        float: none;
        width: 100%;
    }
    .element.compensate-menu {
        height: auto;
    }
    .text-holder h3 {
        letter-spacing: 2.2px;
        font-size: 18px;
        line-height: 18px;
        padding-bottom: 20px;
    }
    .text-holder {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 90px;
        padding-bottom: 30px;
    }
    .text-holder h1 {
        font-size: 30px;
        line-height: initial;
        padding-left: 15px;
        padding-bottom: 0;
        margin-bottom: 12px;
    }
    .text-holder h6 {
        letter-spacing: 2.2px;
        font-size: 18px;
        line-height: 18px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    p{
        letter-spacing: 1.2px;
    }
    .news-section ul li {
        padding-bottom: 18px;
    }
    .news-section h2 {
        font-size: 28px;
        line-height: 34px;
        padding-left: 0;
        padding-bottom: 15px;
    }
    .hold-txt{
        position: relative;
        bottom: 0;
        left: 0;
        padding: 0 2.1541666666666667VW;
    }
}

@media screen and (max-width: 520px){
    .text-holder h1, .text-holder h1.large {
        padding-top: 13px;
        margin-bottom: 35px;
        padding-bottom: 34px;
        height: 95px;
        padding-left: 0;
    }
    .text-holder p {
        position: relative;
        z-index: 2;
    }
    p {
        letter-spacing: 1.2px;
    }
    .animate-text span {
        line-height: 60px;
        width: 1.23541666666666669VW;
    }
    .animate-text span:first-of-type {
        width: 15px;
    }
    .povesti-de-succes h2{
        font-size: 23px;
        line-height: 45px;
    }
    .povesti-container{
        padding: 0 15px;
        width: 100%;
    }
    .povesti-element{
        width: 100%;
        padding: 0 0;
        margin-bottom: 20px;
    }
    .povesti-flex{
        margin-left: 0;
        margin-right: 0;
    }
    .povesti-img-hold{
        height: 64.3453vw;
    }
    .povesti-txt p{
        margin-bottom: 20px;
    }
}