* {
    box-sizing: border-box;
}

body {
    background-color: rgb(211, 211, 211);
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

header {
    height: 50px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 50px;
}

h1 {
    text-align: center;
    font-size: 4vw;
    color: rgba(16, 128, 255, 0.548);
    font-family: fantasy;
    letter-spacing: 5px;
    margin: 0;
    padding: 0;
}

.container {
    border-radius: 10px;
    padding-top: 50px;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgba(16, 128, 255, 0.548);
    margin-top: 150px;
}

.prvi, .drugi, .treci {
    width: 90%;
    max-width: 300px;
    height: 500px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    margin: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proizvod {
    height: 200px;
    border-radius: 5px;
    width: 100%;
}

.prva, .druga, .treca {
    text-align: center;
    margin-top: 30px;
    background-color: rgb(211, 211, 211);
    width: 80%;
    height: 50px;
    border-radius: 5px;
    padding-top: 15px;
    font-size: 20px;
}

button {
    background-color: rgba(16, 128, 255, 0.548);
    color: rgb(0, 0, 0);
    width: 80%;
    height: 50px;
    border-radius: 5px;
    border: 0;
    margin-top: 15px;
}

button:active {
    color: white;
    position: relative;
    top: 3px;
    left: 3px;
}

.navbar {
    overflow: hidden;
    background-color: rgba(16, 128, 255, 0.548);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
}

.navbar a {
    font-size: 16px;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 14px 16px;
    flex: 1;
}

.navbar a:hover {
    background-color: rgb(255, 255, 255);
    color: rgba(16, 128, 255, 0.548);
    border-radius: 10px;
}

.kontakt {
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
}

#lorem {
    text-align: center;
    color: white;
    margin-top: 150px;
}

@media (max-width: 768px) {
    .prvi, .drugi, .treci {
        width: 100%;
        margin: 10px 0;
    }

    header {
        width: 100%;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 6vw;
    }

    .prva, .druga, .treca, button {
        width: 100%;
    }
}
