/*@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;
}
.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: 20px;
    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: 20px;
}
.text-head {
    font-size: 26px;
    color:#318B81;
    font-weight: 700;
}
.text-content-button {
    padding: 10px;
    border-radius: 5px;
    background: #318B81;
    color: white;
    text-decoration: none;
    max-width: 120px;
    text-align: center;
}

.img-text-container.revers .img-content{
    /*padding-right: 0px;*/
}


.img-container{
    display: flex;
}
.img-long{
    width:calc(50% - 130px);
    background-color: #D6E4E3;
    margin:15px;
    display: flex;
    flex-direction: column;
    padding:50px;
    align-items: center;
    justify-content: space-between;
    margin-right: 0px;
    margin-left: 20px;
}
.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:36px;
}
.img-long p{
    margin-top:10px;
    margin-bottom:20px;
}
.img-long a{
    border-radius: 5px;
    background-color: #318B81;
    color:white;
    text-decoration: none;
    padding:10px 20px;
}
.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% - 130px);
        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;
}

@media screen and (max-width:1100px){
    .slide-head {
        font-size:50px;
    }
}
@media screen and (max-width:1000px){
    .slide-head {
        font-size:45px;
    }
}

@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%;
    }
    
}
@media screen and (max-width:650px){
    .img-text-absolute{
        margin-bottom: 40%;
    }
}
@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;
    }

}

@media screen and (max-width:374px){
   .slide-head{
       font-size: 34px;
   }
    .slide-text{
        font-size: 16px;
    }

}


/*svg animation*/
#svg_text path:nth-child(1) {
    transform: translateX(-500px);
    animation: text1Go 0.5s linear forwards;
}
@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;
}
@keyframes text2Go{
    0%{
        transform: translateX(1100px);
    }
    100%{
        transform: translateX(0px);
    }
}

.st2 {
    font-family: 'Open Sans'!important;
    font-weight: 800;
}