@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

header {
    width: 100%;
    height: 75px;
    display: flex;
    position: fixed;
}

header {
    padding-inline: 7.5vw;
}

header img {
    height: 60%;
    align-self: center;
}

header nav {
    margin-left: auto;
    align-self: center;
    display: flex;
    gap: 20px;
}

header nav a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}



main {
    padding: 0 7.5vw;
}

#naslovna {
    width: 100%;
    height: 50vw;
    min-height: 500px;
    background-image: url(../slike/pozadina.avif);
    background-position: center right -2vw;
    background-repeat: no-repeat;
    display: grid;
    place-content: center left;
}

#naslovna hgroup {
    max-width: 40vw;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#naslovna hgroup h1 {
    font-size: calc(36px + 2vw);
    font-weight: 800;
}


#naslovna hgroup span {
    color: #462398;
}

#naslovna hgroup h2 {
    font-size: calc(16px + .7vw);
}

#naslovna a {
    padding: 15px 20px;
    background: linear-gradient(to right, #4677BB, #462398);
    width: 136px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    top: 50px;
    border-radius: 25px;
}