@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

.dc-header{
    position: sticky;
    top:0px;
    background: var(--color-main);
    padding: 0px;
    z-index: 1000;
    margin-bottom: 20px;
    box-shadow: 0 0 25px 0 rgba(0,0,0,0.5);
    height: 90px;
}

.dc-header-desktop{
    display:block;
}

.dc-header-mobile{
    display:none;
}

@media all and (max-width: 1024px){
    .dc-header-desktop{
        display:none;
    }

    .dc-header-mobile{
        display:block;
    }
}

.dc-header .container{
    position:relative;
    z-index: 2;
}
.animated-bg{
    position: absolute;
    left:0px;
    right: 0px;
    top:0px;
    bottom:0px;
    overflow: hidden;
    z-index: 1;
}
.animated-bg::before{
    content: "";
    position: absolute;
    top: 50%;
    left: -20%;

    width: 200px;
    height: 200px;
    border-radius: 50%;

    /* gradient góra-dół w kuli */
    background: linear-gradient(
        to top,
        var(--color-main),
        var(--color-gradient)
    );

    transform: translateY(-50%);
    filter: blur(50px);
    opacity: 0.9;

    animation: moveBall 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes moveBall{
    0%{
        left: -20%;
    }
    50%{
        left: 80%;
    }
    100%{
        left: -20%;
    }
}

.dc-header .btn-white{
    background:#fff !important;
    color:#000 !important;
    font-size:12px !important;
    border-radius: 7px !important;
}

.dc-header-btn{
    font-size: 12px;
    background: var(--color-main-contrast);
    color: #000;
    border-radius: 7px;
    padding: 7px 15px;
    border:none;
}

a.dc-header-btn,
.dc-header-btn a{
    color:#000;
}

.dc-header-btn.dc-header-site-name-text{
    background: var(--color-accent-bg);
}

a.dc-header-btn.dc-header-site-name-text,
.dc-header-btn.dc-header-site-name-text a{
    color: var(--color-accent-color);
    text-decoration:none;
}

.dc-header-logo{
    gap:20px;
    padding: 10px 0;
}
.gap-10{
    gap:10px;
}

.dc-header-logo img{
    max-height: 100%;
    width: auto;
    max-width: 100%;
}

.dc-header-site-name-text{
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
}

/*SQUARE BUTTONS*/
.dc-header-square-link{
    height: 100%;
    aspect-ratio: 1/1;
    text-decoration: none;
    font-size: 12px;
    padding: 5px;
    transition: all 0.3s ease;
    will-change: transform;
    text-align:center;
}

.dc-header-square-link .fa{
    font-size: 48px;
    transition: all 0.3s ease;
    will-change: transform;
}

.dc-header-square-link:hover .fa{
    transform: rotate(360deg) scale(1.15);
}

.dc-header-square-dark{
    background: rgba(0, 0, 0, 0.4);
    color:var(--color-main-contrast) !important;
}

.dc-header-square-light{
    background: var(--color-main-contrast);
    color:var(--color-main);
}

.dc-header-square-dark:hover,
.dc-header-square-light:hover{
    background: var(--color-main);
    color: var(--color-main-contrast);
}

/*MENU*/
.dc-header-menu{
    margin: 0px 15px;
}

.dc-header-menu ul li a{
    color:var(--color-main-contrast) !important;
    position: relative;
    text-decoration: none;
}

ul li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;              /* odstęp od tekstu */
    width: 100%;
    height: 2px;
    background: var(--color-main-contrast);

    transform: scaleX(0);
    transform-origin: left;    /* start z lewej */
    transition: transform 0.3s ease;
}

ul li a:hover::after{
    transform: scaleX(1);
}

/*LANGUAGE & CURRENCY*/
.dc-header-language,
.dc-header-currency,
.dc-header-geo{
    padding: 0px 15px;
    transition: transform 0.3s ease;
}
.dc-header-language .LanguageForm{
    margin: 0px !important;
}

.border-left{
    border-left: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.border-right{
    border-right: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.border-top{
    border-top: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.border-bottom{
    border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.dc-header-language button,
.dc-header-currency button,
.dc-header-geo button{
    color:var(--color-main-contrast) !important;
    transition: transform 0.3s ease;
    background: none !important;
    border:none !important;
    font-size: 16px;
}

.dc-header-language button:hover,
.dc-header-currency button:hover,
.dc-header-geo button:hover,
.dc-header-language button:focus,
.dc-header-currency button:focus,
.dc-header-geo button:focus{
    color:var(--color-main-contrast) !important;
    background: none !important;
    border:none !important;
    box-shadow:none !important;
}

.dc-header-language .dropdown-menu button,
.dc-header-currency .dropdown-menu button,
.dc-header-geo .dropdown-menu button{
    color:#000 !important;
}

.dc-header-geo .dropdown-menu button{
    color:var(--color-main-contrast) !important;
    background: var(--color-main) !important;
}

/*DROPDOWN OFFER*/
.dc-header-dropdown{
    padding: 0px 15px;
}

/*LOGO*/
.dc-header-logo-image{
    height: 70px;
    aspect-ratio: 1/1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.dc-header-logo-image-square{
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom: 0px;
    background: var(--color-main-contrast);
    transition: all 0.3s ease;
    will-change: transform;
}

.dc-header-logo-image:hover .dc-header-logo-image-square{
    transform: rotate(360deg) scale(1.15);
}

.dc-header-logo-circle{
    position: absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom: 0px;
    border: 1px solid var(--color-main);
    background: none;
    border-radius: 50%;
}

.dc-header-logo-circle-custom{
    position: absolute;
    top:50%;
    left:50%;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    transform: translate(-50%, -50%);
    border: none;
    background: var(--color-accent-bg);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dc-header-logo-image:hover .dc-header-logo-circle-custom{
    width: 0px;
    height: 0px;
}

.dc-header-logo-circle-name{
    position: absolute;
    top:1px;
    left:1px;
    right:1px;
    bottom: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dc-header-logo-circle-name-top,
.dc-header-logo-circle-name-bottom{
    font-size: 20px;
    line-height: 20px;
    color:var(--color-accent-color);
    font-family: "Lato", sans-serif;
    transition: all 0.3s ease;
}
.dc-header-logo-circle-name-top{
    font-weight: 700;
}

.dc-header-logo-circle-name-bottom{
    font-weight: 300;
}

.dc-header-logo-image:hover .dc-header-logo-circle-name-top,
.dc-header-logo-image:hover .dc-header-logo-circle-name-bottom{
    color: var(--color-main);
}

/*HEADER MOBILE*/
.dc-header-mobile{
    padding:0px 10px;
    background: var(--color-main);
    margin-bottom: 20px;
    box-shadow: 0 0 25px 0 rgba(0,0,0,0.5);
}

.dc-header-mobile .dc-header-interface{
    height: 50px;
}

.dc-header-mobile .dc-header-square-link{
    border-radius: 7px;
}

.dc-header-mobile .dc-header-square-link .fa{
    font-size: 36px;
}

.dc-header-mobile .dc-header-square-dark,
.dc-header-mobile .dc-header-square-light{
    background: var(--color-main);
    color: var(--color-main-contrast);
}

.dc-header-mobile .dc-header-square-dark:hover{
  background: rgba(0, 0, 0, 0.4);
  color:var(--color-main-contrast) !important;
}

.dc-header-mobile .dc-header-square-light:hover{
    background: var(--color-main-contrast);
    color:var(--color-main);
}

.dc-header-menus{
    padding: 10px 0px;
}
