html {
  scroll-behavior: smooth;
}

body{
    padding: 0px;
    margin:0px;
}

.topnav {
  overflow: hidden;
  background-color: antiquewhite;
  position: relative;
    display: none;
    font-family:serif;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: black;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
    font-family:serif;
}


.topnav a.icon {
  background: transparent;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}


.topnav a:hover {
  background-color: transparent;
  color: black;
}

/* Style the active link (or home/logo) */
.active {
  background-color: antiquewhite;
  color: white;
}

.topnav img{
    width: 2%;
}

nav{
    width: 100%;
    height: 64px;
    background-color: antiquewhite;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  float: right;
    margin-right: 11%;
}

nav ul li{
    text-decoration: none;
    font-family:serif;
    font-size: 18px;
    line-height: 64px;
    display: inline;
    padding:15px;
}

nav ul li a{
    text-decoration: none;
    color: black;
}

nav ul li a:hover{
    font-weight: bold;
    transition: 0.5s;
}

.image{
    width: 2%;
    margin-left: 15%;
}

#main{
    width: 70%;
    margin-left:15%;
    min-height: 400px;
    margin-top: 150px;
    text-align: left;
    background-color: antiquewhite;
    font-family:serif;
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
    z-index: 99;
    opacity: 0.7;
}

#main h1{
    font-weight: bold;
}

#main p{
    color: black;
    font-weight: bold;
}

.video{
    clear: both;
    width:100%;
    position: absolute;
    margin-top:-35%;
    opacity: 0.8;
    background-color: antiquewhite;
    font-family:serif;
    text-align: center;
     z-index: 1;
}

#pocetna_sadrzaj{
    clear: both;
    margin-top: 340px;
    width: 93.7%;
    padding: 50px;
    background-color: antiquewhite;
    min-height: 300px;
    font-family:serif;
}

#pocetna_sadrzaj_izgled{
    width: 93.7%;
    padding: 50px;
    background-color: #fff;
    min-height: 300px;
    font-family:serif;
}

#pocetna_sadrzaj_izgled img{
    width: 23%; 
}

/*Tim page*/
#tim{
    width: 93.7%;
    padding: 50px;
    background-color: #fff;
    min-height: 300px;
    font-family:serif;
}

table{
    width: 100%;
    background-color: antiquewhite;
    text-align:center;
    font-weight: 800;
}

table img{
    width: 70%;
    height: 350px;
    padding: 50px;
    margin-left: 2%;
    display: inline;
    clip-path: circle();
}

/*Kontakt page*/
#Kontakt{
    width: 93.7%;
    padding: 50px;
    background-color: antiquewhite;
    min-height: 300px;
    font-family:serif;
}

#logo{
    width: 40%;
    float: left;
    margin-left: 12%;
}

#logo img{
    width: 50%;
    
}

#tekst{
    width: 40%;
    float: right;
    font-family:serif;
}

footer{
    height: 50px;
    width: 100%;
    font-family:serif;
    line-height: 50px;
    background-color: antiquewhite;
    text-align: center;
}

@media only screen and (max-width: 1024px) {
    nav{
        display: none;
    }
    
    .topnav {
        display: block;
    }
    
    .video{
        margin-top: -59%;
    }
    
    #main{
        margin-top:50px;
    }
    
    #pocetna_sadrzaj{
            margin-top: -10px;
    }
    
    #pocetna_sadrzaj_izgled img{
        display: block;
        width: 30%;
        margin-left:32%;
        padding: 20px;
    }
}

@media only screen and (max-width: 768px){
    .video{
        margin-top: -58%!important;
    }
    
    #main{
        margin-top:50px;
    }
}

@media only screen and (max-width: 700px){
    .video{
        display: none;
    }
    
    #main{
        width: 91%;
        margin-left: 0px;
        margin-top:0px;
    }
    
    #pocetna_sadrzaj {
        width: 85%;
        margin-top: -17px;
    }
    
    #pocetna_sadrzaj_izgled{
        width: 85%;
    }
    
    #tim{
        width: 85%;
    }
    
    #Kontakt{
        width: 85%;
    }
    
    table td{
        display: block;
    }
    
    #name{
        display: none;
    }
    
    table img{
        width: 50%;
    }
    
    #logo img{
        width: 80%;
    
    }
}