/*
 * Styles for the main header and navigation
 */

.logo {
    margin: 20px;
    display: inline-block;
    height: 108px;
    width: 108px;
    position: relative;
    color: rgb(18, 172, 172);
    text-decoration: none;
    background-image: url(/images/to-gallery/miscellaneous/logo.png);
    background-size:contain;
    background-repeat: no-repeat;
    text-indent: -99999px;
    border: 4px solid white;
}

header {
    background-image: url(/images/to-gallery/miscellaneous/header-1.png), url(/images/to-gallery/miscellaneous/header-2.png);
    background-size:50%, 50%;
    padding-top: 18,82%;
    background-repeat: no-repeat;
    display: flex;
    justify-content:space-between;
    background-position: left center, right center;
    text-align: left;
    height: 160px;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 100;
}

header a {
    background: rgb(255, 255, 255);
    font-size: 20px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
}

header .logo a {
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    position: relative;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
}
/* This comment refers to the top margin */
nav li {
    justify-content: center;
    margin-top: 0px; 
    display: flex;
    margin-right: 0px;
}

nav li a {
    font-size: 23px;
    padding: 10px;
    /* padding: 3px 10px; old design*/
    border: 2px solid rgb(255, 183, 0);
    display: inline-block;
    text-align: center;
}

nav.mobile ul li {
    padding: 10px;
    background: rgb(18, 172, 172);
    border: 1px solid white;
}

/* Usunięto domyślny, mały font-size, aby nie był nadpisywany */
.hamburger {
    background: rgba(70, 255, 255, 0.548);
    color: white;
    border: 1px solid white;
    padding: .5rem 1.5rem;
    border-radius: 3px;
    margin: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all .3s linear;
}

.collapsible-container {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top; 
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.collapsible--expanded .collapsible-container {
    opacity: 1;
    transform: scaleY(1);
}

.collapsible--expanded .hamburger {
    box-shadow: 0 0 3px 2px white;
    border-radius: 5px;
}
.placeholder {
    align-content: flex-end;
    justify-content: flex-start;
    height: 80px;
    width: 80px;
    padding: 0;
    margin: 0;
}

.placeholder ul {
    list-style-type: none;
    padding: 1.5rem 0.5rem;
}

.insta {
    justify-content: center;
    font-size: 60px;
    text-shadow: white 1px 0 10px;
    color: rgb(0, 0, 0);
    padding: 2px;
    /* background:  rgba(70, 255, 255, 0.734); old design */
    background: white;
    display: flex;
    /* border: 2px solid white; old design*/
    border: 2px solid goldenrod;
}
.mobile {
    display: flex;
    flex-direction: column;
}

.desktop {
    display: none;
}

.logo .desktop {
    display: none;
}
@media screen and (min-width: 1024px) {
    .desktop {
        display: flex;
    }
    .logo .desktop {
        display: inline-block;
    }
    .mobile {
        display: none;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        margin-top: 20px;
        padding: 0;
    }

    nav li {
        padding: 5px;
        /* background: rgba(70, 255, 255, 0.534);
         border: 1px solid white ;      old design*/
        margin-top: 20px; 
        display: inline-block;
        align-content: center;
    }
    header {
        height:auto;
    }
}
/* Poprawione media queries dla mobilnych */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .hamburger {
        font-size: 3.5rem;
        padding: .5rem 1.5rem;
        margin: 1rem;
    }
    header {
        height: 60px;
    }
    .collapsible-content li a {
        font-weight: bolder;
        font-size: 30px; /* Zmień wartość na taką, jaka Ci odpowiada */
    }
}