@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #bed7dc;
    font-family: "Montserrat", sans-serif;
}

/* ---- Navigacija ---- */
nav {
    background-color: #dee8ee;
    height: 10vh;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2vh;
    width: 92vw;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-size: 15pt;
}

nav ul li a:hover {
    text-decoration: 3px underline;
    text-underline-offset: 1vh;
}

/* ---- Hamburger Meni ---- */
nav label {
    display: none;
}

nav input[type="checkbox"] {
    display: none;
}

/* ---- Main ---- */
#main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    gap: 20vh;
    padding-top: 15vh;
}

#main h1 {
    font-size: 80pt;
}

#main img {
    display: none;
    height: 50vh;
}

video {
    height: 80vh;
}

/* ---- O brodicama ---- */
#obrodicama {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    gap: 5vh;
    padding: 5vh 10vh 5vh 10vh; 
    background-color: #22668d;
    color: white;
    margin-top: 5vh;
}

h2 {
    font-size: 42pt;
}

p {
    font-size: 21pt;
}

/* ---- Bracera ---- */
#bracera {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 5vh;
    min-height: 70vh;
    gap: 5vh;
    padding-bottom: 10vh;
}

#bracera p {
    width: 75%;
}

.brodica {
    height: 50vh;
}

.brodice {
    display: flex;
    justify-self: center;
    align-items: center;
    gap: 5vh;
    padding: 0 10vh 0 10vh;
}

.desno {
    flex-direction: row-reverse;
}

/* ---- Leut ---- */
#leut {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 5vh;
    min-height: 70vh;
    gap: 5vh;
    padding-bottom: 10vh;
}

#leut p {
    width: 75%;
}

/* ---- Gajeta ---- */
#gajeta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 5vh;
    min-height: 70vh;
    gap: 5vh;
    padding-bottom: 10vh;
}

#gajeta p {
    width: 75%;
}

/* ---- Footer ---- */
footer {
    min-height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #22668d;
    color: white;
}

/* ---- Hamuburger meni responzivnost ---- */
@media only screen and (max-width: 850px) {
    video {
        display: none;
    }

    #main {
        flex-direction: column;
    }

    .brodice, .desno {
        flex-direction: column;
    }

    #obrodicama {
        flex-direction: column;
    }

    #main img {
        display: block;
    }

    nav ul.menu {
        display: none;
    }

    nav label {
        display: block;
        position: fixed;
        top: 2.5%;
        right: 5vw;
        z-index: 999;
        font-size: 24pt;
        color: black;
        cursor: pointer;
    }

    nav input[type="checkbox"]:checked ~ ul.menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #22668d;
        color: white;
        width: 100%;
        position: absolute;
        top: calc(7vh + 15px); /* Adjust the top position */
        left: 0;
        padding: 10px;
        z-index: 998;
        padding-bottom: 2vh;
    }

    nav input[type="checkbox"]:checked ~ ul.menu li {
        margin: 1px 0;
    }

    nav input[type="checkbox"]:checked ~ ul.menu li a {
        font-size: 18px;
        color: white;
    }

    .dropdown-content {
        width: 20vw;
    }

    #gajeta p {
      width: 90%;
    }

    #leut p {
      width: 90%;
    }
    
    #bracera p {
      width: 90%;
    }
}