@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

@font-face {
    font-family: font-naslov;
    src: url(font/font/Fontspring-DEMO-allroundgothic-mediumoblique.otf);
}

@font-face {
    font-family: font;
    src: url(font/font/Fontspring-DEMO-allroundgothic-lig.otf);
}

@font-face {
    font-family: font-button;
    src: url(font/font/Fontspring-DEMO-allroundgothic-book.otf);
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url(slike/pozadina.jpg);
    background-color: #0000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    height: 100vh;
    font-family: "Quicksand", sans-serif;
    font-weight: lighter;
}

.pozadina {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.pozadina.show {
    opacity: 1;
}

.pozadina-aktivnosti {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-top: -2em;
}

.logo {
    height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0);
}

.icon {
    display: none;
    cursor: pointer;
    margin-right: 1em;

    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0);
}

.icon span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    display: block;
}

.logo-link {
    z-index: 1002;
    position: relative;
    display: inline-block;
}

nav {
    display: flex;
    margin-right: 5em;
}

nav ul {
    list-style-type: none;
    display: flex;
    border-right: 2px #ffff solid;
    height: 5em;
    padding-right: 3em;
    align-items: center;
}

nav li {
    margin-left: 40px;
}

nav a {
    font-size: 1.4em;
    text-decoration: none;
    padding: 10px;
    color: #fff;
    font-family: font;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s ease;
}

nav a:hover::after {
    width: 100%;
}

main {
    display: flex;
    align-items: left;
    justify-content: left;
    text-align: left;
    height: 100%;
}

.naslov {
    margin-left: 6.5em;
    margin-top: 15em;
}

.naslov-aktivnosti h1 {
    margin-left: -2em;
     transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.naslov-aktivnosti h1:hover{
     transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0);
}

.naslov h1 {
    font-size: 4.5em;
    text-transform: uppercase;
    padding-bottom: 0.2em;
    font-family: font-naslov;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.naslov h1:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0);
}

.podnaslov {
    font-size: 1.4em;
    margin-left: 1.5em;
    padding-bottom: 3em;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.podnaslov:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0);
}

.uvod {
    font-size: 1.5em;
    border-left: 2px #fff solid;
    padding-left: 1em;
    margin-bottom: 3.5em;
}

.uvod-aktivnosti {
    font-size: 1.5em;
    border-left: 2px #fff solid;
    padding-left: 1em;
    margin-bottom: 3.5em;
    max-width: 900px;
}

.button {
    padding: 15px 50px;
    color: #fff;
    font-family: font-button;
    text-decoration: none;
    border: 2px #fff solid;
    font-size: 1.4em;
    padding: 15px 50px;
    color: #fff;
    font-family: font-button;
    text-decoration: none;
    border: 2px #fff solid;
    font-size: 1.4em;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.button:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button-istrazi {
    padding: 15px 50px;
    color: #fff;
    font-family: font-button;
    text-decoration: none;
    border: 2px #fff solid;
    font-size: 1.4em;
    margin-left: 70px;
    padding: 15px 50px;
    color: #fff;
    font-family: font-button;
    text-decoration: none;
    border: 2px #fff solid;
    font-size: 1.4em;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.button-istrazi:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.naslov-aktivnosti {
    margin-left: 6.5em;
    margin-top: 15em;
}

.naslov-aktivnosti h1 {
    font-size: 4em;
    padding-bottom: 0.7em;
    font-weight: lighter;
    text-align: center;
}

.button-aktivnosti {
    padding: 15px 50px;
    color: #fff;
    font-family: font-button;
    text-decoration: none;
    border: 2px #fff solid;
    font-size: 1.4em;
    margin-left: 4em;
    padding: 15px 50px;
    color: #fff;
    font-family: font-button;
    text-decoration: none;
    border: 2px #fff solid;
    font-size: 1.4em;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.button-aktivnosti:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.nazad_naprijed {
    margin-top: 2em;
}


@media (max-width: 768px) {

    html,
    body {
        height: auto;
        min-height: 120vh;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        background-attachment: fixed;
    }

    .pozadina {
        min-height: 120vh;
    }

    .logo {
        height: 150px;
        margin-left: -3em;
    }

    .icon {
        display: block;
        position: fixed;
        margin-top: 0.5em;
        right: 4em;
        cursor: pointer;
        z-index: 1001;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 1000;
    }

    nav li {
        margin: 10px 0;
        margin-left: 0;
    }

    header.responsive nav ul {
        display: flex;
        flex-direction: column;
    }


    .naslov {
        margin: 0 auto;
        margin-top: 12em;
    }

    .naslov h1 {
        font-size: 4em;
        text-align: center;
    }

    .podnaslov {
        margin-top: 0.5em;
        font-size: 1.3em;
        text-align: center;
        padding-bottom: 2em;
    }

    .uvod {
        font-size: 1.1em;
        text-align: center;
        line-height: 1.7;
        border-left: none;
    }

    .button {
        padding: 15px 50px;
        font-size: 1em;
        margin-left: 2em;
    }

    .button-istrazi {
        padding: 15px 50px;
        font-size: 1em;
        margin-left: 20px;
    }





}