*{
    margin: 0;
    padding: 0;
    /* dodati za novi font */
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    scroll-behavior: smooth;
}


/* HOME */

.blink{
    animation: blink 1s infinite;
}

@keyframes blink{
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        color: rgb(160, 220, 190);
        opacity: 1;
    }
}

.ih1{
    color: rgb(160, 220, 190);
    padding-right: 35px;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.4),rgba(4,9,30,0.4)), url("../slike/banner4.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 0 4% 0 3%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 150px;
}

.navLinks{
    flex: 1;
    text-align: right;
}

.navLinks ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;

    /* -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: black; */
}

.navLinks ul{
    position: fixed;
    top: 40px;
    right: 4%;
    z-index: 1;
    background-color: rgba(0,0,0,0.6);
    color: rgb(160, 220, 190);
}

.navLinks ul li a{
    color: rgb(160, 220, 190);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* podvlake za navigacioni bar */
.navLinks ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: red;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.navLinks ul li:hover::after{
    width: 100%;
}

.textBox{
    width: 90%;
    color:#fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.textBox h1{
    font-size: 62px;
}

.textBox p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.button{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    margin: 0 5px;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.button:hover{
    border: 1px solid black;
    background-color: rgb(160, 220, 190);
    color:#222;
    transition: 0.3s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px){
    .textBox h1{
        font-size: 20px;
    }

    .navLinks ul li{
        display: block;
    }

    .navLinks{
        position: fixed;
        background-color: #5299db;
        height: 100vh;
        width: 180px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    .navLinks ul{
        position: relative;
        background-color: transparent;
        right: 0;
    }

    nav .fa{
        display: inline;
        position: relative;
        top: 10px;
        left: 0;
        color: rgb(0, 0, 0);
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    #barsMenu{
        display: inline;
        position: fixed;
        top: 20px;
        left: 90%;
        color: rgb(160, 220, 190);
        margin: 10px;
        cursor: pointer;
    }

    .navLinks ul{
        padding: 20px;
    }

    .navLinks ul li a {
        color: rgb(0, 0, 0);
    }

}

/* COURSES */

.studies{
    width: 75%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    position: relative;
    left: 0;
}

h1{
    font-size: 36px;
    font-weight: bold;
}

@media(max-width: 700px){
    h1{
        font-size: 20px;
    }
}

p{
    color: #777;
    font-size: 14px;
    font-weight: lighter;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    position: relative;
    
}

.rowMaster{
    margin-top: 5%;
    display: flex;
    justify-content: center;
    position: relative;
}

.studies span{
    font-weight: bold;
}

.studiesCol{
    /* flex-basis: 25%; */
    width: 25%;
    position: relative;
    background-color: #b7e7bb;
    border-radius: 10px;
    margin-bottom: 5%;
    margin: 0 3% 5% 3%;
    padding: 20px 1px;
    /* box-sizing: border-box; */
    transition: 0.2s;
}


@media(max-width: 700px){
    .row{
        flex-direction: column;
    }

    .studiesMasterCol{
        width: auto;
    }
}



/* @media(max-width: 700px){
    a, a:visited{
        width: 100%;
    }
} */


a, a:hover, a:active, a:link, a:visited {
    text-decoration: none;
    color: inherit;
}

.studiesCol ul{
    list-style-type: none;
    text-align: left;

    color: #666;
    font-size: 14px;
    font-weight: lighter;
}

.studiesColDiv{
    position: relative;
    left: 10%;
}

.studiesColDiv li{
    margin-top: 2px;
    margin-right: 10px;
}

h3{
    text-align: center;
    font-weight: bold;
    margin: 10px;
}

.studiesCol:hover{
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.6);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }

    .studiesCol{
        width: auto;
    }
}

/* PROJECTS */

.projects{
    width: 80%;
    height: 750px;
    margin: auto;
    text-align: center;
    padding-top: 50px;
   
}

.container{
    text-align: center;
    position:relative;
    left:50%;
    margin-top:350px;
    transform: translate(-50%,-50%);
    width:80%;
    height:600px;
    background-color: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
    background-color: #161616;
    
    border-radius: 20px;
}

#slide{
    width:max-content;
    margin-top:50px;
}
.item{
    width:200px;
    height:300px;
    background-position: 50% 50%;
    display: inline-block;
    transition: 0.5s;
    background-size: cover;
    position: absolute;
    
    top:50%;
    transform: translate(0,-50%);
    border-radius: 20px;
    box-shadow:  0 30px 50px #505050;
}


.item:nth-child(1),
.item:nth-child(2){
    left:0;
    top:0;
    transform: translate(0,0);
    border-radius: 0;
    width:100%;
    height:100%;
    box-shadow: none;
}
.item:nth-child(3){
    left:50%;
}
.item:nth-child(4){
    left:calc(50% + 220px);
}
.item:nth-child(5){
    left:calc(50% + 440px);
}
.item:nth-child(n+6){
    left:calc(50% + 660px);
    opacity: 0;
}
.item .content{
    position: absolute;
    top:50%;
    left:5%;
    width:300px;
    text-align: left;
    padding:0;
    color:#eee;
    transform: translate(0,-50%);
    display: none;
    font-family: system-ui;
}
.item:nth-child(2) .content{
    display: block;

}
.item .name{
    font-size: 40px;
    font-weight: bold;
    opacity: 0;
    animation:showcontent 1s ease-in-out 1 forwards
}
.item .des{
    margin:20px 0;
    opacity: 0;
    animation:showcontent 1s ease-in-out 0.3s 1 forwards
}
.item button{
    padding:10px 20px;
    border:none;
    border-radius: 10px;
    opacity: 0;
    animation:showcontent 1s ease-in-out 0.6s 1 forwards
}.item button:hover{
    background-color: rgb(160, 220, 190);
}
@keyframes showcontent{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter:blur(33px);
    }to{
        opacity: 1;
        transform: translate(0,0);
        filter:blur(0);
    }
}


.buttons{
    position: absolute;
    bottom:30px;
    z-index: 222222;
    text-align: center;
    width:100%;
}
.buttons button{
    width:50px;
    height:50px;
    border-radius: 50%;
    border:1px solid #555;
    transition: 0.5s;
}.buttons button:hover{
    background-color: rgb(160, 220, 190);
}

.blurDiv {
    backdrop-filter: blur(10px);
    border-radius: 5px;
}

/* SCHEDULES */

.schedules{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    position:static;
}

.schedulesCol{
    flex-basis: 20%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    margin-left: 15%;
    margin-right: 15%;
}

.schedulesCol img{
    width: 100%;
    height: 100%;
    display: block;
}

/* .rasporedLevi{
    left: 6%;
}

.rasporedDesni{
    right: 6%;
} */

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.layer:hover{
    background: rgba(226,0,0,0.5);
}


.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 22px;
    bottom: 0;
    margin-left: 50%;
    margin-right: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3{
    bottom: 45%;
    opacity: 1;
}

.schedulesHidden{
    visibility: hidden;
    position: absolute;
    z-index: 1;
}

@media(max-width: 700px){
    .schedulesCol img{
        width: 70%;
        border-radius: 20px;
        position: relative;
        left: 15%;
    }

    .layer{
        width: 70%;
        height: 100%;
        position: relative;
        left: 15%; 
        background: transparent;
        top: 0;
        left: 15%;
    }

    .layer h3{
       width: 70%;
       margin-top: 100%;
    }

    .schedulesHidden{
        visibility: visible;
        position: relative;
    }
}

/* INSTITUTIONS */

.institutions{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.institutions .row2{
    position: absolute;
    z-index: 1;
    visibility: hidden;
}

.institutions .row3{
    position: relative;
}

.institutionsCol{
    flex-basis: 31%;
    border-radius: 10px;
    margin: auto;
    margin-bottom: 0;
    margin-top: 0;
    text-align: left;
}

#bestLogo{
    position: relative;
    top: 5%;
    left: 10%;
    height: 80%;
    width: 80%;
}

#sumaLogo{
    position: relative;
    top: 5%;
}

#matfLogo{
    position: relative;
    top: 5%;
}

#eoLogo{
    position: relative;
    top: 10%;
    left: 25%;
}

.institutionsCol img{
    width: 50%;
    border-radius: 10px;
    position: relative;
    left: 25%;
}

.institutionsCol p{
    padding: 0;
    text-align: center;
}

.institutionsCol h3{
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

@media(max-width: 700px){
    .institutions .row2{
        position: relative;
        visibility: visible;
    }
    
    .institutions .row3{
        display: none;
    }

    .institutions img{
        margin-top: 50px;
    }

    .institutions h3{
        margin-top: 10px;
    }
}

/* FOOTER */

.footer{
    width: 100%;
    text-align: center;
    padding: 0;
}

.footer h4{
    margin-top: 20px;
    margin-bottom: 25px;
    font-weight: bold;
}

/* ICONS */

.icons a{
    margin: 5px;
}

/* #squirrelMail{
height: 85px;
margin-bottom: 0;
padding-bottom: 0;
} */

.footer img{
    height: 45px;
}


.redBtn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.redBtn:hover{
    color: #fff;
}

/* CONTACT ME */

.contactShowHide{
    margin: 100px auto 0 auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../slike/banner2.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.contactShowHide h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width: 700px){
    .contactShowHide h1{
        font-size: 24px;
    }
}

.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe{
    width: 100%;
}

.contactUs{
    width: 80%;
    margin: auto;
}

.contactCol{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contactCol div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contactCol div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;   
}

.contactCol div p{
    padding: 0;
}

.contactCol div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
    position: relative;
    float: left;
}

.contactCol input, .contactCol textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* contact me hidden */

.contactHidden{
    /* visibility: hidden;
    position: absolute;
    z-index: -10;
    height: 0; */
    display: none;
}

.contactShowHide{
    margin-bottom: 5%;
}

.location{
    padding-top: 0;
    padding-bottom: 0;
}

.hide{
    visibility: hidden;
}

.liMiddle{
    position: relative;
    left: 10%;
    right: 20%;
}

/*    SNOWFLAKE    */
.intro,.intro a{
  color:#fff;
}

.snowflake {
  color: #fff;
  font-size: 1em;
  font-family: Arial;
  text-shadow: 10px 10px black;
}

@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}
/* Demo Purpose Only*/
.demo {
  font-family: 'Raleway', sans-serif;
    color:#fff;
    display: block;
    margin: 0 auto;
    padding: 15px 0;
    text-align: center;
}
.demo a{
  font-family: 'Raleway', sans-serif;
color: #000;		
}