/* Styl podstawowy */
:root {
    --primary-color: rgb(242, 69, 54);
    --secondary-color: black;
}

body {
    background: var(--primary-color);
    color: var(--secondary-color);
}

@keyframes move-lvl-arrow {
    0% { transform: translateX(-50%) rotate(45deg); }
    50% { transform: translateX(-50%) rotate(60deg); }
    100% { transform: translateX(-50%) rotate(45deg); }
}

#top {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 10;
}

#top .top-content {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    align-items: center; 
    height: 100%;
    padding: 0 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), inset 0 -5px 3px rgba(0, 0, 0, 0.2);
    background: #fff;
}

#top #logo-strony {
    width: 220px;
    height: 100%;
    display: flex;
    align-items: center;
}

#top #logo-strony a img {
    max-width: 100%;
    max-height: 100%;
    transform: scale(1);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.top-right-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-right-item img {
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.top-right-item img:hover {
    transform: scale(1.2);
}

.top-right-item.phone-number p {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.top-right-item.menu-icon {
	width: 62px;
	z-index: 9999;
}
.top-right-item.menu-icon div {
	width: 32px;
    height: 3px;
    background: black;
	transition-duration:0.5s;
}
.top-right-item.menu-icon div:nth-child(1) {

}

.top-right-item.menu-icon div:nth-child(2) {
    margin-top: 4px;
    margin-bottom: 4px;
}

.top-right-item.menu-icon div:nth-child(3) {

}
.top-right-item.menu-icon2 div {
    background: white;
	width: 36px;
	transition-duration:0.5s;
}

/* Ikona menu (po kliknięciu zmienia się na .menu-icon2) */
.menu-icon2 div:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.menu-icon2 div:nth-child(2) {
    opacity: 0;
}

.menu-icon2 div:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Stylizacja zawartości menu */
.menu-content {
    position: fixed;  /* Pozycjonowanie na stałe względem okna przeglądarki */
    top: 0;
    left: 0;
    width: 100vw;  /* Pełna szerokość ekranu */
    height: 100vh; /* Pełna wysokość ekranu */
    background-color: rgba(0, 0, 0, 0.8);  /* Lekko przezroczysty czarny tło */
    color: white;
    z-index: 9998;  /* Ustawiamy niższy z-index dla menu-content */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-align: center;
}

/* Na bardzo małych ekranach (np. telefony) */
@media (max-width: 642px) {
    #top .top-content {
        padding: 0 5px; /* Mniejsze paddingi */
    }
	
	#top #logo-strony a img {
		transform: scale(0.8);
	}

    .top-right-item img {
        height: 32px; /* Zmniejszamy ikony na bardzo małych ekranach */
    }
	.top-right-item.menu-icon {
		width: 62px;
	}
	.top-right-item.menu-icon div:nth-child(1) {
		width: 42px;
		height: 4px;
	}

	.top-right-item.menu-icon div:nth-child(2) {
		width: 42px;
		height: 4px;
		margin-top: 6px;
		margin-bottom: 6px;
	}

	.top-right-item.menu-icon div:nth-child(3) {
		width: 42px;
		height: 4px;
	}
/* Ikona menu (po kliknięciu zmienia się na .menu-icon2) */
	.menu-icon2 div:nth-child(1) {
		transform: rotate(45deg) translateY(14px);
	}

	.menu-icon2 div:nth-child(2) {
		opacity: 0;
	}

	.menu-icon2 div:nth-child(3) {
		transform: rotate(-45deg) translateY(-13px);
	}
    .top-right-item.phone-number {
        display:none;
    }
}

@media (max-width: 480px) {
	#top #logo-strony {
		width: 160px;
	}

}