/* Resetowanie stylów */
#lp-philips-hue-container * {
    margin: 0;
    padding: 0;
}

#lp-philips-hue-container h2,
#lp-philips-hue-container h3,
#lp-philips-hue-container h4,
#lp-philips-hue-container h5 {
    font-size: 24px;
    color: #fff;
    font-weight: normal;
    text-align: left;
}

#lp-philips-hue-container div {
    text-align: left;
}

/* Resetowanie list */
#lp-philips-hue-container ul,
#lp-philips-hue-container ol {
    list-style: none;
    margin: 5px 0;
    padding: 0;
}

#lp-philips-hue-container ol > li,
#lp-philips-hue-container ul > li {
    margin-left: 15px;
    padding-bottom: 5px;
}


/* Styl dla obrazków z lazy load */
#lp-philips-hue-container img.lazy {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Styl dla clearfix */
#lp-philips-hue-container .clearfix {
    float: none;
    clear: both;
    width: auto;
}
/* Koniec resetów */

@font-face {
    font-family: 'CentraleSansRegular';
    src: local('Centrale Sans Regular'),
         url('../fonts/centraleSans-400.woff2') format('woff2'),
         url('../fonts/centraleSans-400.woff') format('woff'),
         url('../fonts/centraleSans-400.ttf') format('ttf'),
         url('../fonts/centraleSans-400.eot') format('eot');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CentraleSansBold';
    src: local('Centrale Sans Bold'),
         url('../fonts/centraleSans-700.woff2') format('woff2'),
         url('../fonts/centraleSans-700.woff') format('woff'),
         url('../fonts/centraleSans-700.ttf') format('ttf'),
         url('../fonts/centraleSans-700.eot') format('eot');
    font-weight: bold;
    font-style: normal;
}


#lp-philips-hue-container {
    font-family: 'CentraleSansRegular', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    background: #132f39;
    color: white;
}

#lp-philips-hue-container .tab-menu {
    display: flex;
    justify-content: right;
    flex-wrap: wrap;
    gap: 20px;
    margin-right: 20px;
    align-items: flex-end;
}

#lp-philips-hue-container .tab-menu a {
    background-color: #fff;
    border-radius: 0 10px 0 0;
    padding: 8px 18px;
    font-family: "Lato", "Arial", sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: #000;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

#lp-philips-hue-container .tab-menu a:hover,
#lp-philips-hue-container .tab-menu a:focus {
    background-color: #cccccc;
}

#lp-philips-hue-container .tab-menu a:first-child {
    font-size: 21px;
    box-shadow: 0px 0px 17px 9px rgb(139 165 191);
    padding: 16px 25px;
    align-self: auto; 
}

#lp-philips-hue-container .full-width {
    flex-wrap: wrap;
    background-size: cover;
    flex-direction: column;
    clear: both;
    display: flex;
    justify-content: space-between;
}

#lp-philips-hue-container .full-width h1 {
    font-size: 6vw;
    align-self: flex-start;
    padding-left: 63px;
    padding-bottom: 84px;
}

#lp-philips-hue-container .full-width h1 strong {
    font-family: 'CentraleSansBold';
}

#lp-philips-hue-container .full-width.header {
    background-image: url('../img/2.jpg');
    background-position: center;
    justify-content: flex-end;
    height: 598px;
    position: relative;
}

#lp-philips-hue-container .full-width.header img {
    display: block;
    position: absolute;
    top: 0;
    left: 50px;
    z-index: 1;
    width: 21vw;
}

#lp-philips-hue-container .full-width.hue-expand {
    background-position: right;
    justify-content: flex-start;
    height: 430px;
    position: relative;
}

#lp-philips-hue-container .full-width.hue-expand .background-image {
    width:100%
}

#lp-philips-hue-container #hue-box-exp-1 {
    background: linear-gradient(to right, rgb(255 255 255 / 0%) 48%, rgb(0 0 0 / 91%) 75%), url(../img/box-exp1.jpg);
    background-size: contain;
    background-repeat: no-repeat;
}

#lp-philips-hue-container #hue-box-exp-3 {
    background: linear-gradient(to right, rgb(255 255 255 / 0%) 48%, rgb(0 0 0 / 91%) 75%), url(../img/box-exp3.jpg);
    background-size: contain;
    background-repeat: no-repeat;
}

#lp-philips-hue-container #hue-box-exp-2 {
    background: linear-gradient(to left, #000000 20%, #1e728a 114%)

}

#lp-philips-hue-container #hue-bridge {
    background: url(../img/bottom.jpg);
    height: 644px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
}

#lp-philips-hue-container #hue-bridge .inner-hue-expand {
    position: absolute;
    top: 105px;
    left: 50px;
    width: 400px;
    font-size: 22px;
    line-height: 28px;
}

#lp-philips-hue-container #hue-bridge .inner-hue-expand h2 {
    line-height: 30px;
    font-size: 28px;
    margin-bottom: 20px;
}

#lp-philips-hue-container .full-width.hue-expand .inner-hue-expand {
    position: absolute;
    top: 105px;
    right: 4px;
    width: 450px;
    font-size: 22px;
    line-height: 28px;
}

#lp-philips-hue-container .full-width.hue-expand .inner-hue-expand-iframe {
    display: flex;
    flex-direction: row;
    font-size: 22px;
    line-height: 28px;
}

#lp-philips-hue-container .full-width.hue-expand .inner-hue-expand-iframe p{
    flex: 1;
    margin: 120px 20px 0 0;
}

#lp-philips-hue-container .full-width.hue-expand .inner-hue-expand-iframe div{
    flex: 1;
    position: relative;
    margin: 59px 50px;
    overflow: hidden;
}


#lp-philips-hue-container .full-width.hue-expand .inner-hue-expand-iframe div iframe {
    width: 100%;
    height: 302px;
    border-radius: 10px;
}

#lp-philips-hue-container .gradient-background-iframe {
    background: linear-gradient(to bottom, #000000 0%, #1e728a 100%);
    padding: 20px;
    text-align: center;
    position: relative;
}

#lp-philips-hue-container .simple-background {
    background: #204d60;
    padding: 20px;
    text-align: center;
    position: relative;
}

#lp-philips-hue-container .simple-background2 {
    background: #102930;
    padding: 20px;
    text-align: center;
    position: relative;
}

#lp-philips-hue-container .gradient-background-iframe p, #lp-philips-hue-container .simple-background p, #lp-philips-hue-container .simple-background2 p {
    padding: 50px;
    font-size: 34px;
}

#lp-philips-hue-container .gradient-background-iframe .iframe-container {
    position: relative;
    width: 100%;
    padding-top: 42.86%;
    max-width: 960px;
    margin: 0 auto 20px;
    overflow: hidden;
}

#lp-philips-hue-container .gradient-background-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

#lp-philips-hue-container .hue-secure-section {
    background: linear-gradient(to bottom, #081920 0%, #132f39 100%);
    padding: 20px;
    text-align: center;
}

#lp-philips-hue-container .hue-secure-content {
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding: 0 50px;
    margin-bottom: 40px;
}

#lp-philips-hue-container .hue-secure-section h2 {
    text-align: center;
    margin: 30px 0 50px;
}

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box.active {
    border: 5px solid #9bbce5;
    transition: border 0.3s ease-in-out;
    border-radius: 15px;
}

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box .secure-background-image {
    height: 200px;
    border-radius: 10px 10px 0 0;
    background-size: cover;
    background-position: center;
}

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box.box1 .secure-background-image { background-image: url('../img/box1.jpg'); }
#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box.box2 .secure-background-image { background-image: url('../img/box2.jpg'); }
#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box.box3 .secure-background-image { background-image: url('../img/box3.jpg'); }

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box .box-content {
    background-color: rgb(85 105 138);
    color: white;
    padding: 35px 20px;
    border-radius: 0 0 10px 10px;
    text-align: center;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box p {
    font-size: 25px;

}

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box button {
    background-color: #f8ac18;
    border: none;
    padding: 10px 0;
    margin: 0 28px;
    font-size: 18px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: filter 0.1s ease-in-out;
}

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box button:hover {
    filter: brightness(1.1);
}

#lp-philips-hue-container .hue-secure-section .hue-secure-content .hue-box button:active {
    filter: brightness(0.9);
}

#lp-philips-hue-container .simple-background2 button {
    background-color: #f8ac18;
    border: none;
    padding: 10px 0;
    margin: 0 28px;
    font-size: 24px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: filter 0.1s ease-in-out;
    min-width: 240px;
    margin: 0 auto 30px;
}

#lp-philips-hue-container .simple-background2 button a {
    text-decoration: none;
    color:white;
}

#lp-philips-hue-container .simple-background2 button:hover {
    filter: brightness(1.1);
}

#lp-philips-hue-container .simple-background2 button:active {
    filter: brightness(0.9);
}


#lp-philips-hue-container .hue-expand {
    display: none;
}

#lp-philips-hue-container .hue-expand .hue-close {
    position: absolute;
    top: 22px;
    right: 27px;
    width: 40px;
}

#lp-philips-hue-container .hue-close svg {
    cursor: pointer;
    transition: fill 0.3s ease;
}

#lp-philips-hue-container .hue-close svg:hover {
    filter: brightness(0.8);

}

#lp-philips-hue-container .hue-close svg:active {
    filter: brightness(0.6);
}

@media only screen and (max-width: 959px) {


    #lp-philips-hue-container .full-width.hue-expand{
        height: 460px
    }

    #lp-philips-hue-container .full-width.hue-expand .inner-hue-expand {
        padding: 20px;
        width:auto;
        bottom: 0;
        top: auto;
    }
    #lp-philips-hue-container #hue-bridge {
        height: 790px;
    }
    #lp-philips-hue-container #hue-bridge .inner-hue-expand {
        padding: 20px;
        width:auto;
        bottom: 0;
        top: auto;
        left: auto;
    }
    #lp-philips-hue-container .full-width.hue-expand .background-image {
        background-position: right;
    }
    #lp-philips-hue-container .full-width h1 {
        padding-left: 18px;
    }
    #lp-philips-hue-container .full-width h1 {
        font-size: 20px;
    }
    #lp-philips-hue-container .tab-menu {
        gap: 10px;
        margin: 0 10px 10px 10px;
    }
    #lp-philips-hue-container .tab-menu a {
        border-radius: 10px;
        padding: 12px 20px;
        font-size: 16px;
    }
    #lp-philips-hue-container .hue-secure-content {
        flex-direction: column;
    }
    #lp-philips-hue-container #hue-box-exp-1 {
        background: url(../img/box-exp1.jpg);
        background-size: contain;
        background-repeat: no-repeat;
    }
    #lp-philips-hue-container #hue-box-exp-3 {
        background: url(../img/box-exp3.jpg);
        background-size: contain;
        background-repeat: no-repeat;
    }
    #lp-philips-hue-container #hue-box-exp-2 {
        height: auto;
    }
    #lp-philips-hue-container .full-width.hue-expand .inner-hue-expand-iframe {
        flex-direction: column;
    }
    #lp-philips-hue-container .full-width.hue-expand .inner-hue-expand-iframe p {
        margin: 20px;
    }
}

@media only screen and (min-width: 960px) {
    #lp-philips-hue-container .full-width h2 {
        font-size: 38px;
    }
    #lp-philips-hue-container .full-width h1 {
        font-size: 56px;
    }
    #lp-philips-hue-container .full-width.header img {
        width: 198px;
    }
}

@media only screen and (max-width: 700px) {
    #lp-philips-hue-container .full-width h2 {
        font-size: 25px;
    }
    #lp-philips-hue-container .full-width h1 {
        font-size: 45px;
    }
    #lp-philips-hue-container .full-width.header img {
        width: 115px;
    }
    #lp-philips-hue-container .gradient-background-iframe p {
        padding: 30px 0;
        font-size: 24px;
    }
    #lp-philips-hue-container .hue-secure-content {
        padding: 0;
    }
    #lp-philips-hue-container .full-width.hue-expand .inner-hue-expand {
        bottom: 20px;
    }
    #lp-philips-hue-container #hue-bridge {
        height: 870px;
    }
}