@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');

:root {
    --accents: #ffd100;
    /*rgb(255, 209, 0)*/
    --black: #000;
    --white: #fff;
    --text: #333333;
    --lightgray: #aaa;
    --transition: .3s ease-in-out;
    --font-family: 'Roboto', sans-serif;
    --shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* basic styles */
body {
    font-size: 16px;
    --font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    background: var(--white);
}

h1,
h2,
h3 {
    --font-family: 'Roboto', sans-serif;
    font-style: italic;
}

.container {
    width: 65%;
}

.py {
    padding: 75px 0;
}

li {
    list-style: none;
    color: var(--white);
}

a {
    text-decoration: none;
    color: var(--white);
}

img {
    width: 100%;
    max-width: 100%;
    display: block;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 15px 30px;
    background: var(--accents);
    border: 1px solid var(--accents);
    line-height: 1;
    font-family: var(--font-family);
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    transform: skew(-20deg);
}

.btn:hover {
    background: transparent;
    transform: none;
    color: var(--accents);
}

.btn-transparent {
    background: transparent;
    border: 1px solid var(--accents);
    color: var(--accents);
    cursor: pointer;
    transform: skew(-20deg);
}

.btn-transparent:hover {
    background: var(--accents);
    transform: none;
    color: var(--text);
}

/* Navbar section */


.navbar {
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    position: fixed;
    margin: auto;
    width: 100%;
}

.header-wrapper {
    height: 80px;
    min-height: 80px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-scrolled {
    background-color: var(--accents);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: .5s all ease-in-out;
    z-index: 99;
}

.nav-branding {
    padding: 5px 0 5px;
}

.nav-branding img {
    width: 70px;
}

.nav-item {
    transition: 0.7s ease;
    margin: 10px;
    color: var(--white);
    font-family: var(--font-family);
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
}

.nav-item a {
    letter-spacing: 3px;
    color: var(--white);
}


.nav-item a:hover {
    color: var(--accents);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

.nav-menu a.active {
    border-bottom: 3px solid var(--black);
    padding-bottom: 4px;
    transition: 0.4s ease;
}


.nav-scrolled a {
    color: var(--black);
}

.nav-scrolled a:hover {
    color: var(--white);
}


/* Hero*/
.hero {
    background-image: url('img/header.jpg');
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero h1 {
    font-size: 70px;
    text-transform: uppercase;
    font-family: var(--font-family);
}

.hero h4 {
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-family);
}

.hero .btn-container {
    display: flex;
}

.hero .btn-container .btn {
    margin: 20px;
}

/* Section 1 */
.section1 {
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: auto;
}

.section1 div {
    flex: 0 0 50%;
    padding: 20px 0;
}

.section1 div h2 {
    font-size: 50px;
    font-family: var(--font-family);
}

.section1 .text-container p {
    padding: 0 20px 10px;
    font-family: var(--font-family);
    font-size: 18px;
}

/* slider*/
.swiper {
    height: 70vh;
}

.swiper-slider {
    display: flex;

}

.swiper-slide {
    position: relative;
    height: 70vh;
}

.swiper-slide img {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
}

.slider-container {
    margin: auto;
    height: 100%;
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.slider-top h2 {
    font-size: 70px;
    font-family: var(--font-family);
    color: var(--white);
    text-align: center;
    -webkit-text-stroke: 1px black;
}

.slider-top p {
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--white);
    text-align: center;
}

.slider-bottom h3 {
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
}

.slider-bottom p {
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
}

.slider-bottom h4 {
    font-size: 16px;
    font-family: var(--font-family);
    color: var(--accents);
    text-align: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--lightgray);
}

/*slider custom pagination */
.swiper-custom-pagination .swiper-pagination-bullet {
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
    text-align: center;
}

.swiper-custom-pagination {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 8px;
    font-size: 17px;
    line-height: 29px;
    font-weight: 500;
    position: absolute;
    z-index: 99;
}

.swiper-custom-pagination .line {
    opacity: .7;
    height: 3px;
    width: 40px;
    background: var(--lightgray);
    display: block;
    border-radius: 1px;
    transition: all .3s ease-in-out;

}

.swiper-custom-pagination .swiper-pagination-bullet-active .line {
    opacity: 1;
    width: 40px;
    height: 4px;
    background: var(--white);
    opacity: 0.7;
}

/* Plan programa */
.programi {
    margin: auto;
}

.programi h2 {
    font-size: 50px;
    font-family: var(--font-family);
    text-align: center;
}

.programi-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.programi article {
    border: 1px solid #aaaaaa46;
    width: 33.3%;
    color: var(--text);
    padding: 50px;
    border-radius: 4px;
}

.programi-container article:nth-child(2) {
    border: none;
    box-shadow: 3px 9px 35px 0px rgba(0, 0, 0, 0.26);
}

.programi article h3 {
    font-size: 30px;
    margin-bottom: 30px;
    font-style: normal;
    font-family: var(--font-family);
    text-align: left;
}

.programi article ul li {
    color: var(--text);
    margin-bottom: 10px;
    font-family: var(--font-family);
}

.programi article ul {
    margin-bottom: 30px;
}

.programi article ul li i {
    margin-left: 10px;
    color: var(--accents);
    font-size: 18px;
}

/* Mapa */
.mapa {
    height: 600px;
    position: relative;
}

.mapa h2 {
    position: absolute;
    top: 2vw;
    right: 3vw;
    font-size: 50px;
    font-family: var(--font-family);
    text-align: center;
}

.mapa .adresa {
    position: absolute;
    bottom: 3vw;
    right: 3vw;
    background: var(--accents);
    border: 1px solid var(--black);
    width: 30%;
    padding: 25px 25px 50px;
    font-family: var(--font-family);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.adresa p:nth-child(2) {
    border-bottom: 1px solid var(--black);
    width: 100%;
}

.mapa .adresa:last-child h3 {
    margin: 25px 0 10px;
    font-size: 25px;
    font-weight: 500;
}

.mapa .adresa p {
    padding-bottom: 10px;
}

.blog {
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.blog div {
    flex: 0 0 30%;
    position: relative;
}

.blog img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.blog h2 {
    font-size: 50px;
    font-family: var(--font-family);
    text-align: left;
    margin-bottom: 50px;
}

.blog p {
    font-family: var(--font-family);
}

.blog h4 {
    font-family: var(--font-family);
    font-size: 18px;
    color: var(--accents);
    margin-top: 30px;
}

.blog .blog-btn {
    position: absolute;
    color: var(--white);
    font-weight: 600;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.296);
    left: 1vw;
    top: -1vw;
}

.blog a {
    position: absolute;
    right: 1vw;
    top: 12vw;
}

.blog a:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.novosti {
    background: var(--accents);
}

.novosti-container {
    margin: auto;
    text-align: center;
}

.novosti-container h2 {
    font-size: 50px;
    font-family: var(--font-family);
    text-align: center;
    margin-bottom: 50px;
}

.novosti-container p {
    font-size: 16px;
    font-family: var(--font-family);
}

.novosti form {
    display: flex;
    margin: auto;
    justify-content: center;
    margin-top: 50px;
}

.novosti form input {
    transform: skew(-20deg);
    padding: 10px 40px;
    font-style: italic;
    margin-right: 20px;
}

.novosti form button {
    border-color: var(--white);
    color: var(--white);
}

.novosti form button:hover {
    color: var(--black);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: auto;
    font-family: var(--font-family);
}

.footer-col img {
    width: 120px;
}

.footer-col h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer-col ul li {
    margin: 10px 0;
    cursor: pointer;
}

/* Page Prijava */
.programi-programi-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    font-family: var(--font-family);
}

.programi-programi-container article {
    width: 30%;
    border-radius: 4px;
    box-shadow: var(--shadow);
    padding: 50px 20px;
    position: relative;
}

.programi-programi-container article h3 {
    background: var(--accents);
    padding: 10px;
    font-size: 30px;
    text-align: center;
    position: absolute;
    top: -1.5vw;
    width: 90%;
    font-style: normal;
}

.programi-programi-container article p {
    font-size: 18px;
}

.programi-programi-container article a {
    position: absolute;
    bottom: -1.5vw;
}

.programi-programi-container article a:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* Page Blog */
.blog-page {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: auto;
}

main {
    width: 70%;
    font-family: var(--font-family);
}

main div h3 {
    padding: 20px;
}

main div p {
    padding: 0 20px 40px;
}

main div {
    position: relative;
    margin-bottom: 50px;
}

main div a {
    position: absolute;
    bottom: -1vw;
    left: 1vw;
    display: block;
}

aside {
    width: 25%;
}

aside article {
    padding: 30px 20px;
    background: var(--black);
    font-family: var(--font-family);
    margin-bottom: 20px;
}

aside article h4 {
    color: var(--white);
    font-size: 25px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--white);
    padding-bottom: 10px;
}

aside article ul li {
    color: var(--accents);
    cursor: pointer;
}

main div {
    border-radius: 4px;
    border: 1px solid #0000001a;
}

main div .btn:hover {
    color: var(--white);
    border-color: var(--black);
    background: var(--black);
}

.single-post {
    padding: 20px;
}

.single-post img {
    padding: 20px;
}

.hero-blog-single {
    background-image: url('img/blog1.jpg');
}

.hero-blog {
    background-image: url('img/blog-page.jpg');
    background-position: bottom;
}

.hero-programi {
    background-image: url('img/blog-page.jpg');
    background-position: bottom;
}

.hero-button {
    font-size: 40px;
    font-family: var(--font-family);
    font-weight: 500;
    background: var(--accents);
    color: var(--black);
    padding: 10px 40px;
}

.kontakt-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    box-shadow: var(--shadow);
    margin: 75px auto;
}

.kontakt-page article {
    width: 40%;
    padding: 30px;
    font-family: var(--font-family);
}

.kontakt-page .adresa h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.kontakt-page .adresa p {
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.kontakt-page form {
    display: flex;
    flex-direction: column;
    width: 40%;
    margin: auto;
}

.kontakt-page form input {
    padding: 10px;
    margin-bottom: 10px;
}

.kontakt-page form textarea {
    padding: 10px;
    margin-bottom: 30px;
}

.kontakt-page form button {
    padding: 10px;
    margin-bottom: 30px;
    display: block;
    margin: auto;
}

.kontakt-page form button:hover {
    color: var(--white);
    border-color: var(--black);
    background: var(--black);
}


@media (max-width:1380px) {
    .container {
        width: 75%;
    }

    .hero h1 {
        font-size: 60px;
    }
}

@media (max-width:1100px) {
    .slider-top h2 {
        font-size: 60px;
    }

    .programi-container {
        flex-direction: column;
    }

    .programi-container article {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .blog {
        flex-direction: column;
    }

    .blog div {
        width: 100%;
        margin-bottom: 30px;
    }

    .blog img {
        position: relative;
    }

    .blog div button {
        top: 47vw;
    }
}

@media (max-width:920px) {

    .container {
        width: 80%;
    }

    .hero h1 {
        font-size: 50px;
    }

    .programi-programi-container {
        display: flex;
        flex-direction: column;
    }

    .programi-programi-container article {
        width: 100%;
        margin-bottom: 70px;
    }

    main div a {
        bottom: -3vw;
    }
}

@media (max-width:760px) {
    .hamburger {
        display: block;
        margin-top: 20px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar {
        justify-content: space-between;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        padding: 20px 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--accents);
        width: 100%;
        text-align: center;
    }

    .nav-item a {
        color: var(--black);
    }

    .nav-item a:hover {
        color: var(--white);
    }

    .nav-item {
        margin: 15px;
    }

    .nav-menu.active {
        left: 0;
    }

    .navbar {
        width: 100%;
    }

    .container {
        width: 85%;
    }

    .py {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section1 {
        color: var(--text);
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: auto;
    }

    .section1 .text-container h2 {
        font-size: 40px;
    }

    .section1 .text-container p {
        font-size: 16px;
    }

    .slider-top h2 {
        font-size: 50px;
    }

    .programi h2 {
        font-size: 40px;
    }

    .mapa h2 {
        font-size: 40px;
    }

    .mapa .adresa {
        width: 50%;
        padding: 15px 15px 15px;
    }

    .mapa .adresa:last-child h3 {
        margin-top: 10px;
    }

    .novosti-container h2 {
        font-size: 40px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-container div {
        margin-bottom: 30px;
    }

    .blog-page {
        display: flex;
        flex-direction: column;
    }

    .blog-page main,
    aside {
        width: 100%;
    }

    .blog-page aside {
        margin-top: 50px;
    }

    .blog-page aside h4 {
        font-size: 20px;
    }

    .kontakt-page {
        flex-direction: column;
    }

    .kontakt-page article {
        width: 80%;
    }

    .kontakt-page form {
        width: 80%;
    }
}

@media (max-width:480px) {
    .hero {
        text-align: center;
    }

}