
.header-main {
    min-height: 660px;
    height: 100%;
    background-color: purple;
    color: white;
    background-image: url(img/bg.jpg);
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;

}

.header {
margin-top: 150px;
}

.packcenterdiv {
    display: none;
}

.pack {
    height: 100%;
    position: absolute;
    z-index: 1;
    background-image: url(img/headerpack.png);  
    background-repeat: no-repeat;
    background-size: contain;
    background-position:center;
}

@media(max-width: 1250px) {
    .pack {
        background-image: unset;
    }
    .packcenterdiv {
        display: flex;
        text-align: center;
        justify-content: center;
    }

    .packcenter {
        min-width: 450px;
    }

    .header {
        margin-top: 80px;
    }
}

.logo {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;  
    width: 100%;
}

.x-kom-logo {
    min-width: 130px;
    width: 14%;
    padding-left: 50px;
}

.x-kom-logo:hover {
    opacity: 0.8;
    transition: 0.3s ease-in-out;
}
.kontrolfreek-logo {
    min-width: 130px;
    width: 14%;
    padding-right: 50px;
}

.box {
    width: 330px;
    height: 350px;
    border-radius: 40px;
    box-shadow: rgba(0, 0, 0, 0.07) 0 2px 56px ;
    padding-top: 40px;
    margin: 40px;
    background-color: white;
}

.box-last {
    width: 330px;
    height: 350px;
    border-radius: 40px;
    box-shadow: rgba(0, 0, 0, 0.07) 0 2px 56px ;
    padding-top: 40px;
    margin: 40px;
}

.box img {
    padding-bottom: 20px;
}

.box-main {
    display: flex;
    justify-content: center
}

.bg {
    background-image: url(img/sectionbg.jpg);
    background-color: #FCFCFC;
    background-repeat: no-repeat;
  
    border-radius: 0 0 50px 50px;
}

@media(max-width: 280px) {
    .box-last {
        width: 244px !important;
    }
}

@media(max-width: 320px) {
    .box-last {
        width: 284px;
    }
}

@media(max-width: 450px) {
    .box {
        width: 300px;
        height: 330px;
        margin-right: unset;
        margin-left: unset;
        padding-top: 20px;
    }

    .box-last {
        width: 300px;
        margin:unset;
    }

    h2 {
        font-size: 23px !important;
    }

    h3 {
        font-size: 20px !important;
    }

    .packcenter {
        min-width: 330px;
        padding-top: 25px;
    }

    .header-main {
        min-height: 560px !important;
    }

    .logo {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .x-kom-logo {
        padding-left: unset;
    }

    .kontrolfreek-logo {
        padding-top: 15px;
        padding-right: unset;
    }
    .header {
        margin-top: 30px !important;
    }

    .bg {
        background-image: unset;
        background-color: unset;
        border-radius: unset;
    }
}

@media(max-width: 850px) {
    .box {
        width: 300px;
        margin-left: 10px;
        margin-right: 10px;
    }

    h2 {
        font-size: 25px !important;
    }

    h3 {
        font-size: 23px !important;
    }

}

@media(min-width: 768px) and (max-width: 1024px){
    p {
        font-weight: 500 !important;
        font-size: 18px;
    }
}

@media(max-width: 320px) {
    .packcenter {
        min-width: 300px;
    }
}

@media(max-width: 280px) {
    .packcenter {
        min-width: 250px;
        padding-top: 25px;
    }
}