
.main-top{
    /*float:left;*/
    width:100%;
    position:relative;
}

.bg-columns {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-columns .column {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    z-index: 0;
    width: 25%;
    transition: 0.5s;
    top: -100%;
}

.bg-columns .column.shown {
    top: 0;
}

.bg-columns .column > div {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-attachment: scroll;
}

.bg-columns .column:nth-child(1) {
    left: 0%;
    right: 75%;
}
.text-columns .column {
    transition: 0.3s;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center center;
}
.text-columns .column:nth-child(2).opened {
    background-color: #333;
    background-image: url(/images/lakaskivalaszto.png);
    background-size: 90%;
}

.text-columns .column:nth-child(3).opened {
    background-color: #545454;
    background-image: url(/images/next.png);
    background-size: 70%;
}
.text-columns .column:nth-child(4).opened {
    background-color: #00F0FF;
    background-image: url(/img/mima.png);
}
.text-columns .column:nth-child(5).opened {
    background-color: #333;
    background-image: url(/images/logo.png);
}
.text-columns .column.opened{
    background-size: 200px;
    object-fit: contain;
}

.bg-columns .column:nth-child(2) {
    left: 25%;
    right: 50%;
}


.bg-columns .column:nth-child(3) {
    left: 50%;
    right: 75%;
}

.bg-columns .column:nth-child(4) {
    left: 75%;
    right: 100%;
}


a.disabled{
    cursor: unset !important;
}

@media (min-width:0px) and (max-width:768px) {

    .bg-columns .column:nth-child(1) > div {
        background-size: cover;
    }

    .bg-columns .column:nth-child(2) > div {
        background-size: cover;
        background-position:0 0;
    }

    .bg-columns .column:nth-child(3) > div {
        background-size: cover;
        background-position:0 0;
    }

    .bg-columns .column:nth-child(4) > div {
        background-size: cover;
        background-position:0 0;
    }

}

.bg-columns .column.opened {
    left: 0%;
    right: 100%;
    width: 100%;
}

.text-columns {

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    z-index: 0;

    color: #fff;

    font-size: 0;

    font-family: 'Open Sans';
}

.text-columns .logo {
    position: absolute;
    width: 18%;
    padding-bottom: 18%;
    border-radius: 100%;
    left: 50%;
    top: 20%;
    transform: translate(-50%) scale(0);
    z-index: 20;
    background-color: rgba(53, 53, 53, 0.8);
    opacity: 0;
    transition: 0.3s;
    visibility: hidden;
}

.text-columns .logo.shown {
    visibility: visible;
    transform: translate(-50%) scale(1);
    opacity: 1;
}

.text-columns .logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    max-width: 60%;
    max-height: 60%;
    opacity: 0;
    transition: 0.4s;
    transition-delay: 0.12s;
}

.text-columns .logo.shown img {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.text-columns .column {

    font-size: 15px;

    width: 25%;

    display: inline-block;

    vertical-align: top;

    height: 100%;

    position: relative;

}

.text-columns .column .box {

    background-color: rgba(0, 0, 0, 0.6);

    text-align: center;

    bottom: 6%;

    position: absolute;

    width: 100%;

    /*height: 20%;*/
    height:194px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-20%);
    transition: 0.5s;
    transition-delay: 0.3s;
    text-decoration:none;
    color:#fff;
}

.text-columns .column .box.shown {
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-columns .column .box:after {
    content: "";
    height: 8px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #555;
    transition: 0.43s;
    z-index: 0;
    opacity: 0.7;
}

.text-columns .column .box:not(.disabled):hover:after {
    height: 100%;
}
.column.disabled:after{
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 98.5%;
    height: 0;
    background: rgba(85,85,85,.6);
    transform: translateX(-50%);
}
.column.disabled.active:after {
    height: 100%;
}
.text-columns .column:nth-child(2) .box:after {
    background-color: #8dd24b;
}

.text-columns .column:nth-child(3) .box:after {
    background-color: #555;
}

.text-columns .column:nth-child(4) .box:after {
    background-color: #05445E;
}

.text-columns .column:nth-child(5) .box:after {
    background-color: #8dd24b;
}

.text-columns .column .box .title {
    font-weight: 700;
    text-transform: uppercase;
    /*font-size: 1.45vw;*/
    font-size:30px;
    margin-top: 0;
    position: relative;
    z-index: 5;
}

.text-columns .column .box .domain {

    /*font-size: 1.15vw;*/
    font-size:20px;
    font-weight: 400;
    position: relative;
    z-index: 5;
}

.text-columns .column .box .description {

    text-transform: uppercase;

    font-weight: 300;

    /*font-size: 1.1vw;*/
    font-size:20px;
    margin-top: 2%;
    position: relative;
    z-index: 5;
}

.text-columns .lines {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.text-columns .lines .line {
    width: 8px;
    background-color: #fff;
    height: 100%;
    position: absolute;
    transform: translateX(-50%);
}

.text-columns .lines .line:nth-child(1) {
    left: 25%;
}

.text-columns .lines .line:nth-child(2) {
    left: 50%;
}

.text-columns .lines .line:nth-child(3) {
    left: 75%;
}

@media (min-width:1200px) and (max-width:1600px){

    /*.text-columns .column .box{
        height:20%;
    }*/

    .text-columns .column .box{
        height:174px;
    }

    .text-columns .column .box .title{
        font-size:24px;
    }

    .text-columns .column .box .domain{
        font-size:17px;
    }

    .text-columns .column .box .description{
        font-size:17px;
    }

}

@media (min-width:992px) and (max-width:1200px) {

    .text-columns .column .box{
        /*height:13.5%;*/
        height:134px;
    }

    .text-columns .column .box .title{
        /*font-size:1.65vw;*/
        font-size:19px;
    }

    .text-columns .column .box .domain{
        /*font-size:1.35vw;*/
        font-size:14px;
    }

    .text-columns .column .box .description{
        /*font-size:1.2vw;*/
        font-size:14px;
    }

}

@media (min-width:768px) and (max-width:992px) {

    .text-columns .column .box{
        /*height:11%;*/
        height:100px;
    }

    .text-columns .column .box .title{
        /*font-size:1.55vw;*/
        font-size:13px;
    }

    .text-columns .column .box .domain{
        /*font-size:1.25vw;*/
        font-size:10px;
    }

    .text-columns .column .box .description{
        /*font-size:1.2vw;*/
        font-size:10px;
    }

}

@media (min-width:0px) and (max-width:768px) {

    .main-top .logo{
        text-align:center;
    }

    /*.background-item{
        float:left;
        width:100%;
    }

    .background-item .background:nth-child(1) {
        background-image: url("1.jpg");
        width:100%;
    }

    .background-item .background:nth-child(2) {
        background-image: url("2.jpg");
    }

    .background-item .background:nth-child(3) {
        background-image: url("3.jpg");
    }

    .background-item .background:nth-child(4) {
        background-image: url("4.jpg");
    }

    .background-item .background.shown {
        top: 0;
    }

    .background-item{
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .background-item .background{
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        background-position: center center;
        overflow: hidden;
        z-index: 0;
        width: 25%;
        transition: 0.5s;
        top: -100%;
    }*/

    .bg-columns {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .bg-columns .column {
        position: absolute;
        left: 0;
        top: 0;
        background-repeat: no-repeat;
        background-attachment: inherit;
        background-size: cover;
        background-position: center center;
        overflow: hidden;
        z-index: 0;
        width: 100%;
        transition: 0.5s;
        height:19.5%;
    }

    .bg-columns .column.shown {
        top: 0;
    }

    .bg-columns .column.opened {
        right: 100%;
        width: 100%;
    }

    .bg-columns .column .column-text-title{
        float:left;
        width:100%;
        text-align:center;
        color:#fff;
        text-transform:uppercase;
        font-weight:700;
        font-size:5vw;
        padding-top:3.5%;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .bg-columns .column .column-text-webname{
        float:left;
        width:100%;
        text-align:center;
        color:#fff;
        font-size:4vw;
        padding-top:1.5%;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .bg-columns .column .column-text-lead{
        float:left;
        width:100%;
        text-align:center;
        color:#fff;
        font-size:4vw;
        padding-top:1.5%;
        text-transform:uppercase;
        font-weight:300;
        background-color: rgba(0, 0, 0, 0.7);
        padding-bottom: 3.5%;
    }

    .main-top .logo{
        margin-top:15px;
    }

    .main-top .logo img{
        margin-top:1%;
        width:30%;
    }

    .bg-columns .hover{
        position:absolute;
        left:0;
        right:0;
        top:0;
        bottom:0;
        background-color:rgba(0, 0, 0, 0.6);
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    @media (min-width:500px) {

        .bg-columns .column .column-text-title{
            padding-top:25px;
        }

    }



    @media (max-height:480px) {

        .main-top .logo {
            margin-top: 12px;
        }

        .main-top .logo img {
            margin-top: 0;
            width: 28%;
        }
    }

}