* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'robot', arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #efefef;
    overflow-x: hidden;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

nav {
    width: 100%;
    font-family: 'IBM Plex Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    display: flex;
    justify-content: center;
    background-color: #2a2a2a;
    position: fixed;
}

nav ul li, .mob ul li {
    display: inline-block;
    margin-right: 30px;
}

.mob ul li {
    margin: 0;
    padding-bottom: 20px;
    display: block;
}

nav a, .mob a {
    text-decoration: none;  
    line-height: 23px;
    display: inline-block;
    transition: all 200ms;
    color: #a1a1a1;
}

nav a::after, .mob a::after {
    transition: all ease-in-out .4s;
    background: none repeat scroll 0 0 #f96f59;
    content: "";
    display: block;
    height: 3px;
    width: 0;
}

nav a:link, .mob a:link {
  text-decoration: none;
}

nav a:visited, .mob a:visited {
  color: #a1a1a1;
}

nav a:hover, .mob a:hover {
  color: #f4f4f4;
}

nav a:active, .mob a:active {
  color: #f4f4f4;
}

nav a:hover::after, .mob a:hover::after {
    width: 100%;
}

header {
    max-width: 100%;
    height: 50vh;
    background-image: url(../Photo/background.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 5px black;
}

h1 {
    font-size: 130px;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    margin: 0;
}

header span {
    font-size: 30px;
    font-weight: 600;
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 0;
    text-shadow: 1px 1px 1px white, -1px -1px 1px white;
}

article {
    display: flex;
    flex-direction: column;
    padding-top: 10vh;
    margin-bottom: 5vh;
}

article section {
    width: 80%;
    margin: auto;
}

article h1 {
    font-size: 35px;
    text-align: left;
    padding-left: 0;
}

article h2 {
    font-size: 20px;
}

article h4 {
    clear: both;
}

aside {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-top: 5vh;
    margin: auto;
    font-size: 18px;
    padding: 30px;
}

footer div {
    text-align: center;
}

div p {
    font-size: 20px;
    padding: 20px;
}

#cart {
    width: 300px;
    transition: all 400ms;
    margin-bottom: 3vh;
}

#cart:hover {
    transform: scale(1.07);
}

footer {
    width: 100%;
    background-color: #2a2a2a;
    color: white;
    font-size: 18px;
    padding: 20px;
    color: #a1a1a1;
    box-shadow: -1px -1px 5px black;
}

footer  section {
    display: flex;
    justify-content: center;
}

footer  section  div {
    margin: 10px;
}

footer ul {
    padding-left: 0;
    margin: 0;
    list-style-type: none;
    list-style-position: inside;
    text-align: left;
}

footer li {
    padding: 2px 0;
    margin: 0;
    list-style-type: circle;
    list-style-position: inside;
}

footer a {
    color: #a1a1a1;
}

footer hr {
    border-color: #a1a1a1;
    width: 20%;
}

/* mobile nav */

.kocka {
    background-color: #2a2a2a;
    display: none;
    border: 2px solid #f4f4f4;
    margin: 6px;
    position: fixed;
    padding: 7px;
    cursor: pointer;
    right: 7px;
    z-index: 100;
}    

.kutija {
    width: 35px;
    height: 35px;
    position: relative;
}

.linija {
    position: absolute;
    height: 6px;
    width: 100%;
    background: white;
    border-radius: 8px;
    transition: all 0.35s;
}

.gore {
    top: 14%;
    background-color: #f4f4f4;
}

.sredina {
    top: 44%;
    background-color: #f4f4f4;
}

.dolje {
    top: 74%;
    background-color: #f4f4f4;
}

.gzatvori {
    transform: rotate(45deg);
    top: 44%;
}

.zatvori {
    transform: rotate(-45deg);
    top: 44%;
}

.mob-nav > .mob li {
    padding-bottom: 200px;
}

.mob {
    display: none;
    width: 0%;
    height: 100vh;
    position: fixed;
    background-color: #2a2a2a;
    right: 0;
    z-index: 4;
    margin-top: 60px;
    transition: all 600ms;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    
}

.mobnav {
    display: none;
    width: 100%;
    height: 65px;
    background-color: #2a2a2a;
    position: fixed;
    top: 0;
    margin-bottom: 5vh;
}

/* --- */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #c9c9c9;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
    border-radius: 10px;
}


@media screen and (max-width: 900px){
    nav {
        display: none;
    }
    
    .kocka {
        display: block;
    }
    
    .mob {
        display: block;
    }
    
    .mobnav {
        display: block;
        max-width: 100%;
        overflow: hidden;
        top: 0;
        position: fixed;
    }
    
    .mob-nav {
        width: 70%;
        padding-right: 20%;
    }
    
    header {
        margin-top: 30px;
    }
    
    article {
        padding-top: 3vh;
    }
    
    #cart {
        width: 200px;
    }
    
    section h1 {
        margin-top: 60px;
    }
    
    footer hr {
        border-color: #a1a1a1;
        width: 80%;
    }

    #imp {
        margin-top: 5vh;
    }
}

@media screen and (max-width: 500px) {
    h1 {
        font-size: 100px;
    }
    
    #h1Long {
        font-size: 30px;
    }
    
    #cart {
        width: 200px;
    }
    
    article {
        padding-top: 3vh;
    }
    
    header span {
        font-size: 25px;
    }
    
    footer hr {
        border-color: #a1a1a1;
        width: 60%;
    }

    #imp {
        margin-top: 5vh;
    }
}
