header {
    position: fixed;
    width: 100%;
    height: 60px;
    padding: 10px;
    max-width: 1200px;
    max-width: none;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: inline-block;
    text-align: center;
    z-index: 1000;
}

header > div {
    margin: auto;
    height: 100%;
    width: 12%;
    cursor: pointer;
    max-width: 150px;
    display: inline;
    float: left;
    position: relative;
}

header > div:hover > p {
    text-decoration: underline;

}

header > div:nth-child(1){
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(/image/logo.png);
    width: 120px;
    margin-left: 20px;
}

/* ძირითადი მენიუს ღილაკი */
#mobile-menu-button {
    display: none;
    font-size: 24px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 15px;
    left: 10px;
    z-index: 1001;
}

/* მენიუ */
#mobile-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

#mobile-menu ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

#mobile-menu ul li {
    padding: 15px 0;
}

#mobile-menu ul li a {

    text-decoration: none;
    font-size: 18px;
    display: block;
}

#mobile-menu ul li:last-child {
    border-bottom: none;
}

/* მენიუს გახსნისას */
#mobile-menu.show {
    left: 0;
    top: 80px;
}

@media (max-width: 768px) {
    /* მენიუს ღილაკის გამოტანა მობილურ მოწყობილობებზე */
    #mobile-menu-button {
        display: block;
    }

    header > div {
        display: none;
    }
}


header > div:nth-last-child(1),
header > div:nth-last-child(2),
header > div:nth-last-child(3){
    float: right;
    max-width: 100px;
}

header > div > div{
    height: 30px;
    width: 90%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 0;
    border-radius: 20px;
    max-width: 100%;
}

header > div:last-child > div{
    height: 25px;
    width: 70%;
    position: relative;
    display: block;
}

header > div > div .theme{
    width: 40px;
    height: 90%;
    position: absolute;
    top: 1.5px;
    left: 2px;
    border-radius: 17px;
    transition: all 0.5s;
}

header > div > div .theme > i{
    font-size: x-large;
    padding-top: 3.5px;
    padding-left: 0px;
    transition: all 1s;
}

header > div  > div  > select {
    height: 120%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 10px;
    width: 120%;
    margin-left: -10%;
    margin-top: -5%;
    text-align: center;
    outline: none;
    -webkit-appearance: none; /* Safari and Chrome */
    -moz-appearance: none; /* Firefox */
    appearance: none; /* Standard */
    background-color: transparent;
    padding-right: 0px;
    padding-left: 5px;
    padding-top: 5px;
    font-size: medium;
    cursor: pointer;
}

header > div  > div  > select > option {
    border: none;
    outline: none;
    cursor: pointer;
}

header > div > p {
    transition: color 0.3s;
    margin: auto;
    font-size: medium;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

header > div > div > p {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 48%;
    display: inline-block;
    border-radius: 10px;
    font-weight: bold;
    font-size: medium;
}


@media (max-width: 768px){
    header > div{
        width: 22%;
        margin-top: 0;
    }
    header > div:last-child > div{
        width: 70px;
    }
    header > div > div{
        width: 100%;
    }
    header .logo{
        left: 65px;
        transform: scale(0.8);
    }
}
