* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: white;
    font-size: 16px; /* Osnovna veličina fonta */
}
.logo {
    height: 8%; /* 80px */
    padding-left: 0.5%; /* 5px */
    padding-top: 3%; /* 30px */
}
.link {
    background-color: white;
    border-bottom: 0.5% solid rgb(214, 80, 80);
    height: 12%; /* 120px */
}
.link a {
    text-decoration: none;
    color: black;
    font-size: 1.1rem; /* Veličina fonta u rem */
    align-items: center;
    padding-bottom: 0.5%; /* 5px */
    /* 40px */
    padding: 2%;
}
.link a:hover {
    background-color: rgba(128, 128, 128, 0.5);
    border: 1px solid rgb(79, 79, 233);
    color: white;
    border-radius: 10px;
}
.tekst {
    position: relative;
}
.tekst h1 {
    background: #333;
    color: #fff;
    padding: 1%; /* 10px */
    text-align: center;
}
.tekst p {
    margin-top: 2%; /* 20px */
    margin-left: 10%; /* 100px */
    width: 80%;
    font-size: 1.25rem; /* 20px */
    border: 1px solid black; /* 2px */
    background-color: white;
    border-radius: 10px;
    padding: 2%; /* 20px */
}
.tekst2 h1 {
    background: #333;
    color: #fff;
    padding: 1%; /* 10px */
    text-align: center;
}
.tekst3 {
    margin-top: 5%; /* 50px */
    font-size: 1.25rem; /* 20px */
    border: 1px solid black; /* 2px */
    background-color: white;
    border-radius: 10px;
    margin-left: 12%; /* 120px */
    width: 80%;
    padding: 2%; /* 20px */
}
.futer {
    background: #333;
    margin-top: 14%; /* 140px */
    height: 12%; /* 120px */
    display: flex;
    justify-content: center;
    border-top: 0.5% solid rgb(214, 80, 80); /* 5px */
}
.futer p {
    float: right;
    padding-right: 17%; /* 170px */
    padding-top: 5%; /* 50px */
    font-size: 1.5rem; /* 25px */
    color: white;
}
.futer img {
    padding: 1%; /* 10px */
    height: 10%; /* 100px */
    margin-top: 1%; /* 10px */
}
.futer a {
    text-decoration: none;
    color: white;
    padding: 10%; /* 100px */
    font-size: 1.1rem; /* 18px */
    align-items: center;
    padding-bottom: 0.5%; /* 7px */
    margin-bottom: 10%; /* 100px */
    justify-content: center;
    align-items: center;
}
.slika {
    margin-left: 20%; /* 200px */
    margin-top: 2%; /* 20px */
    width: 70%;
}

/* Media queries */
@media (max-width: 768px) {
    .tekst p {
        margin-left: 5%; /* Manje razmak za manje ekrane */
        width: 90%; /* Širina za manje ekrane */
    }
    .tekst3 {
        margin-left: 5%; /* Manje razmak za manje ekrane */
        width: 90%; /* Širina za manje ekrane */
    }
    .slika {
        margin-left: 0; /* Centriranje slike na manjim ekranima */
        width: 100%; /* Slika zauzima punu širinu */
    }
    .futer p {
        padding-right: 5%; /* Manje razmak za manje ekrane */
    }
    .futer a {
        padding: 5%; /* Manje razmak za manje ekrane */
    }
}
