.navbar {
    margin-bottom: 0;
    z-index: 9999;
    border: 0;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 4px;
    border-radius: 0px;
    font-weight: bold;
    font-family: sans-serif;
}

.navbar li a,
.navbar .navbar-brand {
    color: #202D46;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.navbar-brand .img-fluid {
    height: 40px;
}

body {
    background-image: url("images/background1.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.element.show {
    opacity: 1;
    transform: translateY(0);
}

.phone {
    display: flex;
    flex-direction: row;
}

.phone img {
    height: 30px;
}

.phone p {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    font-weight: bolder;
}

@media (min-width: 1200px) {

    /* For desktop: */
    .nav-item {
        padding: 5px 20px;
    }

    .navbar .navbar-brand {
        color: #202D46;
    }

    #kontakt,
    #oferta,
    #galeria,
    #onas {
        width: 80%;
        padding: 50px;
        margin: auto;
    }

    #galeria {
        padding-top: 50px;
        padding-bottom: 25px;
        background-image: url('images/iveco.jpeg');
        background-position: center;
        background-size: cover;
        height: 800px;
    }

    #logo {
        height: 60px;
    }
}

@media (max-width: 1199px) {

    #kontakt,
    #oferta,
    #galeria,
    #onas {
        padding: 30px;
        width: 95%;
        margin: auto;
        margin-top: 15px;
        border-radius: 25px;
    }

    #galeria {
        padding: 10px;
        background-image: url('images/iveco.jpeg');
        background-position: center;
        background-size: cover;
        height: 56vw;
    }

    footer {
        margin-top: 15px;
    }

    .phone p {
        letter-spacing: 1px;
    }

    #header {
        width: 99%;
    }

    .navbar #logo {
        height: 32px;
    }

    .phone img {
        height: 26px;
    }

    .navbar .container {
        padding: 0 5px;
    }
}