@import url('https://fonts.googleapis.com/css?family=Lato:400,700');


html {
    overflow: scroll;
    overflow-x: hidden;
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Lato', sans-serif;
}

a {
    text-decoration: none;
    color: #808080;
}

.flex-row {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.fill-vertically {
    height: 100%;
}

.center {
    justify-content: center;
}

.flex-start {
    justify-content: flex-start;
}

.flex-end {
    justify-content: flex-end;
}

.space-evenly {
    justify-content: space-evenly;
}

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

.text-center {
    text-align: center;
}

.bold {
    font-weight: bold;
}

.margin-top-100 {
    margin-top: 100px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-20-percent {
    margin-top: 20%;
}

.margin-top-30-percent {
    margin-top: 30%;
}

.height-60 {
    height: 60%;
}

.hidden {
    display: none;
}

.navbar {
    background: white;
    opacity: 0.9;
}

.navbar-element {
    color: #686868;
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-self: center;
    text-align: center;
}

.navbar-element:hover {
    color: turquoise;
}

.background-book {
    width: 100%;
    height: 900px;
    background-image: url(./img/projgradj.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.title {
    font-size: 40px;
    color: #ffffff;
    text-shadow: 2px 1px black;
    text-align: center;
}

.header {
    margin-top: 160px;
    padding-left: 10%;
    font-size: 40px;
    color: #686868;
}

.text {
    margin-top: 20px;
    font-size: 20px;
    color: #505962;
    width: 80%;
}

.zapocni-button {
    margin-top: 60px;
    border: 2px solid white;
    color: white;
    text-align: center;
    height: 80px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.5s;
    cursor: pointer;
    font-size: large;
}

.zapocni-button:hover {
    background-color: white;
    color: black;
}

.background-pencils {
    width: 100%;
    min-height: 90%;
    background-color: #E8E8E8;
}

.panel-container {
    margin-left: 3%;
    margin-right: 3%;
    margin-top: 80px;
}

.panel-image {
    height: 100%;
    display: flex;
    justify-content: center;
}

.panel-image:hover {
    border: 2px solid white;
    cursor: pointer;
}

#contact{
    background-color: #40474e;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}
.social {
    width: 30px;
    height: 30px;
    margin: 10px;
    color: white;
}

.social:hover {
    color: turquoise;
}

.footer-text {
    color: white;
    font-size: 20px;
    text-align: center;
}

.copyright {
    background-color: #1f1f1f;
    font-size: 14px;
    color: #808080;
    width: 100vw;
}

.paper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    box-shadow: 1px 2px 4px 0px #bdbdbd;
    background-color: #f3f3f3;
    border-radius: 4px;
    margin-top: 10px;
    padding: 10px;
    width: 80%;
}

.text-header {
    font-size: 16px;
    color: #333333;
    cursor: pointer;
    transition: 0.1s;
    padding-left: 20px;
    padding-right: 20px;
}

.text-header:hover {
    font-size: 20px;
}

.text-content {
    margin-bottom: 20px;
    font-size: 14px;
    color: #333333;
}

.text-content p {
    text-align: justify;
}

.panel-section {
    transition: 0.2s;
}

.panel-section:hover {
    background-color: rgb(243, 255, 81);
    opacity: 0.4;
    cursor: pointer;
}

.panel-tile {
    position: relative;
    width: 400px;
    margin-right: 40px;
}

.panel-tile .after {
    position: absolute;
    display: block;
    transition: 0.3s;
}

.after:hover {
    display: block;
    background: rgba(252, 40, 40, 0.5);
    cursor: pointer;
}

#podnaslovi1 {
    top: 22%;
    left: 8%;
    width: 90%;
    height: 8%;
}

#objasnjenje_problema1 {
    top: 29%;
    left: 7%;
    width: 35%;
    height: 32%;
}

#novinski1_1 {
    top: 29%;
    left: 42%;
    width: 30%;
    height: 32%;
}

#anketa1 {
    top: 29%;
    left: 72%;
    width: 25%;
    height: 35%;
}

#novinski1_2 {
    top: 63%;
    left: 5%;
    width: 33%;
    height: 35%;
}

#novinski1_3 {
    top: 63%;
    left: 35%;
    width: 33%;
    height: 30%;
}

#izvori_informacija1 {
    top: 63%;
    left: 65%;
    width: 33%;
    height: 30%;
}

#podnaslovi2 {
    top: 22%;
    left: 8%;
    width: 85%;
    height: 14%;
}

#alternativne2_1 {
    top: 35%;
    left: 4%;
    width: 32%;
    height: 30%;
}

#alternativne2_2 {
    top: 35%;
    left: 34%;
    width: 32%;
    height: 30%;
}

#anketa2 {
    top: 35%;
    left: 62%;
    width: 36%;
    height: 28%;
}

#alternativne2_3 {
    top: 65%;
    left: 4%;
    width: 32%;
    height: 27%;
}

#alternativne2_4 {
    top: 65%;
    left: 34%;
    width: 32%;
    height: 27%;
}

#izvori_informacija2 {
    top: 63%;
    left: 65%;
    width: 32%;
    height: 28%;
}

#podnaslovi3 {
    top: 22%;
    left: 2%;
    width: 98%;
    height: 8%;
}

#alternativne3_1 {
    top: 29%;
    left: 3%;
    width: 35%;
    height: 30%;
}

#alternativne3_2 {
    top: 29%;
    left: 40%;
    width: 60%;
    height: 30%;
}

#alternativne3_3 {
    top: 59%;
    left: 3%;
    width: 35%;
    height: 33%;
}

#alternativne3_4 {
    top: 55%;
    left: 33%;
    width: 35%;
    height: 36%;
}

#izvori_informacija3 {
    top: 62%;
    left: 66%;
    width: 32%;
    height: 28%;
}

#podnaslovi4 {
    top: 22%;
    left: 2%;
    width: 98%;
    height: 8%;
}

#alternativne4_1 {
    top: 29%;
    left: 3%;
    width: 35%;
    height: 30%;
}

#alternativne4_2 {
    top: 27%;
    left: 32%;
    width: 62%;
    height: 36%;
}

#alternativne4_3 {
    top: 57%;
    left: 3%;
    width: 29%;
    height: 33%;
}

#alternativne4_4 {
    top: 62%;
    left: 30%;
    width: 32%;
    height: 29%;
}

#izvori_informacija4 {
    top: 60%;
    left: 60%;
    width: 34%;
    height: 34%;
}

#overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    cursor: pointer;
}

#dokumentacija {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    cursor: pointer;
}

#exit {
    z-index: 2;
    position: absolute;
    right: 50px;
    top: 20px;
}

.sidebar {
    height: 100%;
    overflow-y: auto;
}

.paper-doc {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    box-shadow: 1px 2px 4px 0px #bdbdbd;
    background-color: #f3f3f3;
    border-radius: 4px;
    margin-top: 20px;
    padding: 20px;
    width: 80%;
}

.tab {
    margin-left: 20px;
    width: 70%;
}

.prvi-dio-doc {
    background-color: coral;
}

.drugi-dio-doc {
    background-color: forestgreen;
}

.treci-dio-doc {
    background-color: gold;
}

.cetvrti-dio-doc {
    background-color: crimson;
}

.peti-dio-doc {
    background-color: #bdbdbd;
}

#nav {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1;
}

.navbar-element-text {
    color: #686868;
    margin-top: 5px;
    font-size: 11px;
    align-self: center;
    text-align: justify;
    padding: 20px;
}

.paneli-submenu {
    background-color: white;
    display: none;
    position: absolute;
    margin-top: 100px;
    width: 100%;
    border-top: 1px solid black;
}

.navbar-element:hover .paneli-submenu {
    display: block;
}

.visible {
    display: block;
}

.submenu-element {
    cursor: pointer;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #686868;
    font-size: 18px;
    align-self: center;
    text-align: left;
    padding-left: 10px;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;

}

.submenu-element:hover {
    color: turquoise;
}

@media screen and (max-width: 992px) {
    #nav {
        position: relative;
    }

    .navbar-element {
        font-size: 12px;
    }

    .zapocni-button {
        background-color: white;
        color: black;
    }

    .paneli-submenu {
        margin-top: 100px;
        width: 100vw;
    }
}

@-moz-document url-prefix() {
    .paneli-submenu {
        margin-top: 200px;
    }
}

#portfolio-click {
    cursor: pointer;
}