/* ############################ */
/*            NAVI              */
/* ############################ */

.navi {
    width: 100%;
    height: 90px;
}

.navi-bg {
    background: url(img/bg-navi-side.png);
    position: absolute;
    width: 100%;
    height: 128px;
    top: -133px; /* Przesunięcie na górę poza obszar widoczności */
    transition: top 1.0s ease; /* Dodajemy transition dla płynnego animowania top */
}

.navi-bg.visible {
    top: 0; /* Przesunięcie na widoczną pozycję */
}

.navi-bg-center {
    background: url(img/bg-navi-center.png) no-repeat;
    background-position: 120px 0px;
    width: 100%;
    height: 133px;
    position: absolute;
    z-index: 10;
}

.navi-logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.navi-login-1 {
    display: block;
    background: url(img/login1.png) no-repeat;
    background-size: 90%;
    width: 40px;
    height: 40px;
    margin-top: 24px;
    margin-right: 24px;
}

.navi-login-3 {
    display: block;
    background: url(img/login3.png) no-repeat;
    background-size: 90%;
    width: 40px;
    height: 40px;
    margin-top: 24px;
    margin-right: 24px;
}

.navi-login-1:hover,
.navi-login-3:hover {
    display: block;
    background: url(img/login2.png) no-repeat;
    background-size: 90%;
    width: 40px;
    height: 40px;
    margin-top: 24px;
    margin-right: 24px;
}

.navi-login-2, .login-link-2 {
    display: none;
}

.logo {
    opacity: 0; /* Ustawienie początkowej wartości przeźroczystości na 0 */
    background: url(img/logo.png) no-repeat;
    background-size: 100%;
    width: 200px;
    height: 90px;
    margin-top: 21px;
    margin-left: 165px;
}
.logo.visible {
    transition: opacity 2s; /* Dodanie przejścia dla właściwości opacity */
    opacity: 1;
}

.telefon {
    opacity: 0; /* Ustawienie początkowej wartości przeźroczystości na 0 */
}

.telefon.visible {
    transition: opacity 2s; /* Dodanie przejścia dla właściwości opacity */
    opacity: 1;
}

.telefon-link {
    background: url(img/phone1.png) no-repeat;
    background-size: 16%;
    width: 160px;
    height: 30px;
    margin-top: 25px;
    margin-right: 50px;
    font-size: 22px;
    padding-top: 5px;
    padding-left: 54px;
}

.telefon-link:hover {
    background: url(img/phone2.png) no-repeat;
    background-size: 16%;
    width: 160px;
    height: 30px;
    margin-top: 25px;
    margin-right: 50px;
    color: #f14401;
    font-size: 22px;
    padding-top: 5px;
    padding-left: 54px;
}

.menu {
    position: absolute;
    top: 90px;
    height: 37px;
    width: 100%;

    
}

.desktop-menu {
    background: url(img/menu-bg-center.png);
    position: absolute;
    top: 90px;
    height: 35px;
    right: 0%; /* Ukryj menu poza prawą krawędzią ekranu */
    width: 0%;
    overflow: hidden;
    transition: right 1.0s ease, width 1.0s ease; /* Dodaj animację dla obu właściwości */
    z-index: 5;
}

.desktop-menu.visible {
    right: 0; /* Przesuń menu na widoczną pozycję */
    width: 100%;
    transition: left 1.0s ease, width 1.0s ease; /* Dodaj animację dla obu właściwości */
}

.desktop-menu.active {
    left: 0; /* Przesuń menu na widoczną pozycję */
    width: 0;
    overflow: hidden;
}

.mobil-menu {
	display: none;

}

.standart-container {
    background: url(img/menu-bg-center.png);
    position: absolute;
    left: 370px;
    height: 35px;
    padding-left: 15px;
    padding-right: 15px;
    border-bottom-right-radius: 40px;
    opacity: 0;
    transition: opacity 0.2s;

}

.standart-container.visible {
    opacity: 1;
}

.standart-nav.visible {
    position: relative;
    z-index: 1;
}

.standart-nav {
    position: relative;
    z-index: 12;
}

.standart-nav nav ul {
    height: 37px;
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

.standart-nav nav ul li {
    text-align: center;
    float: none;
    display: list-item;
    position: relative;
}

.standart-nav nav ul ul {
    background-color: #1d1d1d;
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	border: 0px;
}

.standart-nav nav ul ul li {
    background-color: #1d1d1d;
    border-bottom: 1px solid #545454;
    text-align: left;
    height: 37px;
    width: 150px;
    float: none;
    display: list-item;
    position: relative;
}

.standart-nav nav ul li:hover > ul {
	display: inherit;
}
.standart-nav nav a {
	
	font-size: 13px;
	font-weight: 500;
	display: block;
    padding-top: 9px;
    padding-left: 20px;
    padding-right: 20px;
	text-decoration: none;
	color: #b0b0b0;
}
.standart-nav nav ul li:hover > a {

	color: #f14401;
}
.standart-nav nav ul li:active > a {
	color: #f14401;
}

.standart-nav nav ul ul ul li {
    background-color: #222222;
	position: relative;
	top: -60px;
	left: 200px;
}
nav a.active {
	color: #f14401;
}

.separator::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    height: 65%; /* Wysokość bordera taka sama jak wysokość elementu */
    border-right: 1px solid #565656; /* Styl bordera */
}

/* 
####################
######  1025  ###### 
####################
*/

@media only screen and (max-width: 1025px) {

    .navi-bg-center {
        background-position: 0px 0px;
    }

    .logo {
        margin-left: 45px;
    }

    .standart-container {
        left: 240px;
        padding-left: 30px;
    }

    .standart-nav nav a {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* 
####################
######  769  ####### 
####################
*/

@media only screen and (max-width: 815px) {

    .navi-bg-center {
        background: url(img/bg-navi-center-mobile.png) no-repeat;
        background-position-x: center;
        z-index: 1;
    }

    .telefon {
        display: none;
    }

    .telefon-link {
        background-size: 90%;
        width: 40px;
        height: 40px;
        margin-top: 24px;
        margin-right: 24px;
        padding-left: 0px;
        padding-top: 0px;
    }

    .telefon-link:hover {
        background-size: 90%;
        width: 40px;
        height: 40px;
        margin-top: 24px;
        margin-right: 24px;
        padding-left: 0px;
        padding-top: 0px;
    }

    .login-link-1, .navi-login-1 {
        display: none;
    }

    .login-link-2 {
        display: block;
    }

    .navi-login-2 {
        display: block;
        background: url(img/login1.png) no-repeat;
        background-size: 90%;
        width: 40px;
        height: 40px;
        margin-top: 24px;
        margin-left: 24px;
    }

    .navi-login-3 {
        display: block;
        background: url(img/login3.png) no-repeat;
        background-size: 90%;
        width: 40px;
        height: 40px;
        margin-top: 24px;
        margin-left: 24px;
    }

    .navi-login-2:hover,
    .navi-login-3:hover {
        display: block;
        background: url(img/login2.png) no-repeat;
        background-size: 90%;
        width: 40px;
        height: 40px;
        margin-top: 24px;
        margin-left: 24px;
    }

    .logo {
        margin-left: -25px;
        margin-top: 5px;
    }

    .desktop-menu {
        background: url(img/hamburger.png);
        position: absolute;
        top: 99px;
        height: 23px;
        right: 0%; /* Ukryj menu poza prawą krawędzią ekranu */
        width: 0%;
        overflow: hidden;
        transition: left 1.0s ease, width 1.0s ease; /* Dodaj animację dla obu właściwości */
        z-index: 2;
    }

    .standart-menu {
        display: none;
    }

    .mobil-menu {
        display: block;
    }

    .mobile-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        font-weight: 500;
        font-size: 17px;
        padding-top: 5px;
        z-index: 1000
    }
    
    .mobile-nav a {
        background-color: #202020;
        border-bottom: 1px solid #545454;
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 25px;
        padding-right: 25px;
        font-size: 14px;
        text-decoration: none;
        color: #cfcfcf;
    }
    .mobile-icon {
        position: relative;
        z-index: 12;
        background: url(img/hamburger.png);
        width: 38px;
        height: 23px;
        display: block;
        cursor: pointer;
        text-align: center;
        margin-top: 4px;
        opacity: 0;
        transition: opacity .2s ease
    }

    .mobile-icon.visible {
        opacity: 1;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
    }

    .mobile-nav.active {
        display: flex;
        margin-top: 8px;
        z-index: 2;
    }

    .mobile-nav nav ul {
        width: 190px;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-nav nav ul li:hover > a {
        color: #f14401;
    }
    .mobile-nav nav ul li:active > a {
        color: #f14401;
    }
}

/* 
####################
######  321  ####### 
####################
*/

@media only screen and (max-width: 321px) {

    .telefon-link {
        margin-right: 8px;
    }

    .telefon-link:hover {
        margin-right: 8px;
    }

    .navi-login-2 {
        margin-left: 8px;
    }
}