/*@font-face {
    font-family: Reey-Regular ;
    font-weight: regular;
    src: url("reey-regular.otf") format("opentype");
}
*/
*{
    margin:0;
    padding:0;
}
body{
    font-size:16px;
    background: #ebf2f2;
    font-family: 'Open Sans', sans-serif;
}
.st5{
    /*font-family: 'Open Sans', sans-serif!important;*/
}
section{
    max-width: 1300px;
    margin: 0 auto;
}
.header{
    display: flex;
    padding: 10px;
    justify-content: space-between;
    background: linear-gradient(269.86deg, rgba(49, 139, 129, 0) -67.44%, #38C6B6 103.75%);
    color: white;
    font-size:21px;
    width: 100%;
    margin: 0 auto;
    margin-bottom:20px;
    padding-left: 0px;
    padding-right: 0px;
    justify-content: center;
}
.header-inner{
    display: flex;
    max-width: 1160px;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.magazin-head{
    color:#A1E7DF;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.25em;
}
.header .header-inner div:nth-child(1) img{
    width: 100px;
}

.header .header-inner div:nth-child(3) {
font-size: 16px;
}

.header-img {
    max-width: 1200px;
    margin: 0 auto;
}
.header-img img {
    width: 100%;
    max-width: 1200px;
    position: absolute;
    z-index: -1;
}
.header .header-inner div:nth-child(1), .footer-inner div:nth-child(1){
    margin-left: 20px;
}
.header .header-inner div:nth-child(3), .footer-inner div:nth-child(3){
    margin-right: 20px;
}
.header-img img{
    width:100%;
}
.main-container {
    width: calc(100% - 100px);
    padding: 50px;
    background-color:#ebf2f2;
}
.ujtermek{
    display:flex;
    overflow:hidden;
    flex-wrap: wrap;
    flex-direction: column;
}
.terem {
    width: 25%;
    height: 319px;
    background-color: white;
    flex: 1 0 220px;
    margin: 20px;
    border-radius: 17px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.terem-img img{
    width: 220px;
	height: 132px;
}
.terem-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    height: 166px;
    margin-top: 20px;
}
.csomag-type {
    font-weight: 700;
    color:#318B81;
    font-size: 20px;
}
.csomag-text {
    color:#318B81;
    border-bottom: 2px solid #318B81;
    width: 150px;
    margin: 0 auto;
    padding-bottom: 15px;
    font-size: 14px;
    letter-spacing: 0.25em;
}
.terem-name {
font-weight: 600;
}

.terem-megnezem {
    padding: 10px;
    border-radius: 5px;
    background: #318B81;
    color: white;
    text-decoration: none;
    width: 150px;
    margin: 0 auto;
}


.terem-head {
    /*background-color: #318B81;*/
    height: 50px;
    border-radius: 17px;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color:white;
    padding:10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    max-width: calc(100% - 40px);
}
.uj-cim {
    display: flex;
    align-items: center;
}
.uj-cim div:nth-child(1) {
    padding-right: 10px;
    border-right: 3px solid #318B81;
    font-size: 26px;
    font-weight: 700;
    color:#318B81;
}
.uj-cim div:nth-child(2) {
    color:#292929;
    padding-left: 10px;
    font-size: 18px;
}
.ujterem-nav {
    display: none;
}
.ujterem-nav .nav-b {
    margin: 10px;
    border: 1px solid #38C6B6;
    color:#38C6B6;
    border-radius: 100%;
    text-align: center;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    cursor:pointer;
    transition: all 0.3s linear;
}
.nav-b:hover{
    box-shadow: 0px 0px 10px 5px;
}
.terem-wrapper{
    display: flex;
    transition: all .5s;
    overflow: scroll;
    width: 100%;
}


.img-text-container {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}
.img-content {
    padding: 20px;
}
.img-content img {
    /*max-width: 100%;*/
}
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
    padding-right: 20px;
}
.text-content-light {
    color: #7CA7A2;
    margin-top: 0px;
    font-style: italic;
}
.text-content div, .text-content a{
    margin-top:20px;
    margin-bottom: 10px;
}
.text-head {
    font-size: 26px;
    color:#318B81;
    font-weight: 700;
}
.text-content .text-content-button {
    padding: 10px;
    border-radius: 5px;
    background: #318B81;
    color: white;
    text-decoration: none;
    max-width: 120px;
    text-align: center;
    margin-bottom: 30px;
}

.text-content .row{
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

.text-content .mozgasforma-link {
    color: #318B81;
    text-decoration: none;
}

.column{
flex:50%;
}

.img-text-container.revers .img-content{
    /*padding-right: 0px;*/
}


.img-container{
    display: flex;
}
.img-long{
    width:calc(50% - 30px);
    background-color: #D6E4E3;
    margin:15px;
    display: flex;
    flex-direction: column;
    padding: 0px 00px 20px 00px;
    //align-items: center;
    justify-content: space-between;
    margin-right: 0px;
    margin-left: 20px;
}
.img-container-body{
	padding-left:50px;
	padding-right:50px;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.img-container-body h2, .img-container-body .list-items, .img-container-body .koszonjuk ,.img-container-body .list-items .list-item{
	margin-top:10px;
	margin-bottom:10px;
}

.img-long .img-flex img{
    width:100%;
    height: auto;
    object-fit: cover;
}
.img-flex{
    display: flex;
    align-items: flex-start;
}
.img-long h2{
    color:#318B81;
    font-size:29px;
}
.img-long p{
    margin-top:10px;
    margin-bottom:20px;
}
/* .img-long a, .button{
    border-radius: 5px;
    background-color: #318B81;
    color:white;
    text-decoration: none;
    padding:10px 20px;
}*/

.img-long .kapcsolat{
text-decoration:none;
color: #318B81;
}

.img-small{
    width:calc(50% - 30px);
    display:flex;
    flex-direction:column;
    margin:15px;
    margin-right: 0px;
    margin-left:20px;
}
.img-2 img{
    width:100%;
}
.img-small div:nth-child(1){
    margin-bottom:10px;
}
.img-small div:nth-child(2){
    margin-top:10px;
}

.img-text-absolute{
    margin-bottom: 50px;
    padding-right: 20px;
}
.img-text-absolute-box {
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.img-text-absolute-head {
    margin-top: 60px;
    text-align: center;
    margin-bottom: 45px;
    font-size: 24px;
    font-weight: 700;
    color: #318B81;
    letter-spacing: 0.25em;
    position: relative;
}
.absolute-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%)translateX(-50%);
    left: 40%;
    background: rgba(255, 255, 255, 0.92);
    padding: 50px;
    font-size: 20px;
    min-width: 340px;
}
.absolute-text .absolute-text-header {
    color: #318B81;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}
.absolute-text-content{
    font-size: 18px;
}
.absolute-text-content ul li{
    list-style: none;
}
.elmeny-csik {
    width: 100%;
    height: 2px;
    position: absolute;
    background-color: #318B81;
    top: 15px;
    max-width: 1160px;
    margin-left: 20px;
}
.img-text-absolute-head div:nth-child(2) {
    width: 290px;
    margin: 0 auto;
    background: #ebf2f2;
    z-index: 2;
    position: relative;
    padding: 0px 20px;
}

.slided-box {
    padding: 20px;
    width: calc(100% - 40px);
    margin-top: 50px;
}
.slide-body{
    position: relative;
    width:100%;
    height: fit-content;
}
.slided-img img{
    width:100%;
}
.slide-conent{
    position: absolute;
    height: 100%;
    width:50%;
    background: rgba(242, 66, 203, 0.91);
    top:0;
    left:0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.slide-head {
    margin: 20px;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    margin-left: 40px;
}
.slideH1,.slideH3{
    color:#FCEE1B;
}
.slideH2{
    color:white;
}
.slide-text{
    margin:20px;
    margin-left: 45px;
    font-size: 20px;
}
.slide-text ul {
    margin-left: 20px;
    color:white;
}
.slide-btn {
    padding: 10px;
    background: white;
    max-width: 120px;
    text-align: center;
    margin-left: 40px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #E70A89;
    text-decoration: none;
    transition: all 0.3s linear;
    font-weight: 600;
}
.slide-btn:hover {
    box-shadow: 5px 5px 5px 2px #a1075f59;
    transform: translateY(-5px);
}

@media (pointer: fine) {
    .terem-wrapper{
        overflow: unset;
    }
    .ujterem-nav{
        display:flex;
    }
}
@media screen and (max-width: 1110px){
    .img-text-container{
        flex-direction: column;
        align-items: center;
    }
    .img-text-container.revers{
        flex-direction: column-reverse;
    }
    .text-content{
        min-width: 75%;
    }
    .img-content img {
        max-width: 100%;
    }
    .text-content div, .text-content a{
        margin-top:10px;
        margin-bottom: 10px;
    }
    .img-container{
        flex-direction: column;
    }
    .img-long {
		width: calc(100% - 30px);
        margin-left: 15px;
    }
    .img-small{
        width: calc(100% - 30px);
        margin-left: 15px;
    }
}

@media screen and (max-width:1023px){
    


    


    .absolute-img{
        width: 100%;
    }
    .absolute-img img{
        width: 100%;
    }
    .img-text-absolute{
        margin-bottom: 20%;
        padding-right: 0px;
    }
    .absolute-text{
        top:90%;
        left:50%;
    }
    .elmeny-csik {
        margin-left:0px;
    }

}

.goodbye-text{

    text-align: center;
    font-size: 22px;
    font-style: italic;
    margin-top: 30px;
    color: #7CA7A2;
}


.footer{
    background: linear-gradient(269.86deg, rgba(49, 139, 129, 0) -67.44%, #38C6B6 103.75%);
    color: white;
}
.footer-out{
    max-width: 1200px;
    margin: 0 auto;
}
.footer-text-box {
    display: flex;
}
.footer-inner{
    max-width: 1160px;
    width:100%;
    margin:0 auto;
    padding-top:20px;
    padding-bottom:20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo img{
    width: 100px;
}
.foot-social{
    display:flex;
}
.foot-social img {
    width: 35px;
    margin-left: 8px;
    margin-right: 8px;
}

.foot-text, .foot-text2 {
    margin: 5px;
}


.terem-megnezem, .text-content-button, .button{
    border: 1px solid #318B81;
    cursor:pointer;
    transition: all 0.3s linear;
    font-weight: 600;
}
.terem-megnezem:hover, .text-content-button:hover, .button:hover {
    background: white;
    color: #318B81;
}




/*svg animation*/
#svg_text path:nth-child(1) {
    transform: translateX(-500px);
    animation: text1Go 0.5s linear forwards;
	display:none;
}
@keyframes text1Go{
    0%{
        transform: translateX(-500px);
    }
    100%{
        transform: translateX(0px);
    }
}
#svg_text path:nth-child(2){
    transform: translateX(1100px);
    animation: text2Go 0.5s linear forwards;
	display:none;
}
@keyframes text2Go{
    0%{
        transform: translateX(1100px);
    }
    100%{
        transform: translateX(0px);
    }
}

.st2 {
    font-family: 'Open Sans'!important;
    font-weight: 800;
}


.cim-csik {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 60px;
    margin-bottom: 45px;
	position: relative;
}
.csik-text {
    width: fit-content;
    margin: 0 auto;
    color: #318B81;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    background: #ebf2f2;
    position: relative;
    padding: 0px 20px;
}
.csik {
    height: 2px;
    position: absolute;
    background: #318B81;
    width: 100%;
    top: 50%;
    transform: translatey(50%);
}
.half-box-background{
    margin-top: 40px;
}
.half-box,.half-box-background {
    display: flex;
    margin-left: 20px;
    width: calc(100% - 40px);
    margin-bottom:40px;
}
.img-half{
	width:60%;
}
.half-box-background .img-half{
	width:40%;
}
.img-half img {
	width:100%;
}
.text-half{
	width:40%;
	display:flex;
	flex-direction:column;
	justify-content:space-around;
	align-items:center;
	padding: 20px;
	background:white;
}
.half-box-background .text-half{
	width:calc(60% - 60px);
	background:#318B81;
    color:white;
    align-items: flex-start;
    padding-left: 40px;
}

.icon-img{
width: 30px;
}

.payment-button{
    border-radius: 5px;
    background-color: #318b81;
    color:white;
    text-decoration: none;
    padding:10px 20px;
    border: 1px solid  #318b81;
    cursor:pointer;
    transition: all 0.3s linear;
    font-weight: 600;
}

.payment-button:hover{
    background: white;
    color: #318b81;
}

.small-text{
    width: calc(100% - 40px);
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    margin-top: 45px;
    color: #318b81;
    font-style: italic;
}

.half-head{
	font-size:22px;
	font-weight:700;
	color:#A3007D;
}
.half-box-background .half-head{
    color:white;
    font-size: 25px;
}
.half-body{
	font-size:16px;
	font-weight:600;
}
.half-small{
	color:#7A7A7A;
	font-size:16px;
	font-style:italic;
}

.lotus-button{
    border-radius: 5px;
    background-color: #A3007D;
    color:white;
    text-decoration: none;
    padding:10px 20px;
    border: 1px solid #A3007D;
    cursor:pointer;
    transition: all 0.3s linear;
    font-weight: 600;
}

.lotus-button:hover{
    background: white;
    color: #A3007D;
}


.multi-image-box{
	background: #CBEBE7;
	width: calc(100% - 40px);
    margin: 0 auto;
    margin-bottom:80px;
    
}
.multi-image-box .img-content{
	padding:0;
	width:50%;
}
.multi-image-box .text-content{
	width: calc(50% - 60px);
}
.multi-image-box .img-content img{
	padding:0;
	width:100%;
}

.multi-image-box .img-text-container {
	margin-top:0px;
}


.list-item{
	font-size:18px;
}
.list-item span{
	font-weight:600;
}
.koszonjuk{
	font-size:20px;
	font-style:italic;
	font-weight:600;
	color:#318B81;
}


.normal-text {
    width: calc(100% - 40px);
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
    margin-top: 45px;
}

.videos {
	display:flex;
	justify-content:space-between;
	padding-left:20px;
	padding-right:20px;
	margin-bottom:80px;
}


.video {
    width: calc(50% - 10px);
}

.video iframe{
	box-sizing:border-box;
	width:100%;
	height:auto;
	aspect-ratio:auto 570 / 315;
}

.info-sav{
    text-align: center;
    background-color: #318b81;
    padding: 15px;
    margin-left: 20px;
    color: white;
    margin-right: 20px;
}

.info-sav  > a {
    text-decoration: underline;
    color: white;
}

/*media query*/
@media screen and (max-width:1250px){
	.img-container h2{
		font-size:25px;
	}
}
@media screen and (max-width:1170px){
	.list-item{
		font-size:13px;
    }
    
    
}
@media screen and (max-width:1110px){
    .info-sav{
        margin-left: 15px;
        margin-right: 15px;
    }
}
@media screen and (max-width:1100px){
    .slide-head {
        font-size:50px;
    }
	.half-box {
		flex-direction:column;
	}
	.img-half{
		width:100%;
	}
	.text-half {
        width: calc(100% - 40px);
        padding-bottom: 30px;
    }
    
    
	.text-half div{
		margin-top:10px;
		margin-bottom:10px;
    }
    .half-small{
        margin-bottom:20px!important; 
    }

	.multi-image-box .img-content{
		width:100%;
    }
    
    .multi-image-box .text-content{
        padding-bottom: 20px;
        padding-top: 10px;
    }
	
	.half-box-background{
		flex-direction:column;
	}
	.half-box-background .img-half{
		width:100%;
	}
	.half-box-background .text-half{
        width: calc(100% - 40px );
        padding-left: 20px;
    }
    
    
	
}
@media screen and (max-width:1000px){
    .slide-head {
        font-size:45px;
    }
	
}
@media screen and (max-width:950px){
	.videos{
		display:block;
	}
	.video{
		width:100%;
		margin-top:20px;
	}
	.video iframe{
	}
}
@media screen and (max-width:900px){
    .main-container{
        width:100%;
        padding-left:0px;
        padding-right: 0px;
    }
    .img-content{
        padding-right: 0px;
        padding-left: 0px;
    }
    .slide-head {
        font-size:40px;
    }
    
}
@media screen and (max-width:850px){
    .img-text-absolute{
        margin-bottom: 30%;
    }

    .footer-text-box {
        flex-direction: column;
    }
}
@media screen and (max-width:750px){
    .img-text-absolute{
        margin-bottom: 35%;
    }
    
    .slide-conent{
        width:75%;
    }
    
    .img-long h2{
        color:#318B81;
        font-size:28px;
    
}
@media screen and (max-width:650px){
    .img-text-absolute{
        margin-bottom: 40%;
    }
    .row {
        flex-direction: column;
      }
}
@media screen and (max-width:550px){
    .img-text-absolute{
        margin-bottom: 45%;
    }
    .absolute-text {
        padding:25px;
    }

    .footer-inner{
        flex-direction: column;
    }
    .footer-text-box{
        margin: 10px 0px;
    }
    .footer-inner div:nth-child(1){
        margin-left: 0px;
    }
    .footer-inner div:nth-child(3){
        margin-right: 0px;
    }
    .footer-logo{
        margin-bottom:5px;
    }
    .foot-social{
        margin-top:5px;
    }

    .slide-conent{
        width:100%;
    }
}
@media screen and (max-width:450px){
    .img-text-absolute{
        margin-bottom: 55%;
    }
    .absolute-text{
        min-width: 305px;
        padding:10px;
    }
}
@media screen and (max-width:410px){
    .header-inner{
        flex-direction: column;
        align-items: center;
    }
    .header .header-inner div:nth-child(1){
        margin-left: 0px;
    }
    .header .header-inner div:nth-child(3){
        margin-right: 0px;
    }

    .magazin-head{
        margin: 10px 0px ;
    }
    .uj-cim div:nth-child(1){
        font-size: 24px;
    }

    .img-long h2{
        color:#318B81;
        font-size:24px;
    }

}

@media screen and (max-width:374px){
   .slide-head{
       font-size: 34px;
   }
    .slide-text{
        font-size: 16px;
    }

    .img-long h2{
        color:#318B81;
        font-size:24px;
    }
}