header {
    max-width: 100%;
    flex-direction: column;
    background-image: url("../resources/img/header/header.png");
    background-position: center;
    background-size: cover;
    min-height: 200px;
    -webkit-background-size: cover;
    /* Safari staršie verzie */
    -moz-background-size: cover;
    -o-background-size: cover;
}

#header-logo {
    flex-direction: column;
}


#header-img picture img {
    height: 80px;
    padding-top: 15px;
}

#header-popis h1 {
    font-size: 0.8rem;
    color: #e0e0e0;
    margin-top: 1rem;
}

nav {
    margin-top: 3rem;
    padding-bottom: 1rem;
}

nav ul {
    flex-wrap: wrap;
}

nav ul li {
    padding: 0.5rem;
    list-style-type: none;
}

nav a {
    color: #e0e0e0;
    font-size: 0.6rem;
}

nav a:hover {
    color: rgba(255, 226, 146, 0.7);
    transition: 0.5s;
}

.active {
    position: relative;
}

.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right,
            transparent,
            gold,
            transparent);
    border-radius: 1px;
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position 0.5s ease;
    -webkit-transition: background-position 0.5s ease;
}


.white-border {
    position: relative;
}

.white-border::after {
    content: '';
    position: absolute;
    right: 0;
    height: 50%;
    width: 2px;
    background: #e0e0e0;
    border-radius: 1px;
}

.want-to-sell {
    background: rgb(221, 133, 0);
    padding: 0.5rem;
    color: rgb(255, 255, 255);
    border-radius: 25px;
    font-weight: bold;
}

.want-to-sell:hover {
    background: rgba(255, 255, 255);
    color: rgb(221, 133, 0);
}


@media only screen and (min-width: 600px) {



    #header-img {
        height: 100%;
    }

    #header-img picture img {
        height: 160px;
    }

    #header-popis h1 {
        font-size: 1.2rem;
    }

    nav a {
        font-size: 1rem;
    }

}