body {margin: 0;}

/*hide small*/
span.hide {
  background-color: Tomato;
  padding: 2px;
}

@media screen and (max-width: 900px) {
  span.hide {
    display: none;
  }
}

/*stranski meni*/
ul.sidenav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 20%;
  background-color: Tomato;
  position: fixed;
  height: 100%;
  overflow: auto;
}

ul.sidenav li a {
  display: block;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  text-align: center;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
}
 
ul.sidenav li a.active {
  background-color: #172531;
  color: white;
}

ul.sidenav li a:hover:not(.active) {
  background-color: #555;
  color: white;

}

div.content {
  margin-left: 20%;
  padding: 1px 16px;
  height: auto;
}

@media screen and (max-width: 900px) 
{

  ul.sidenav {
    width: 100%;
    height: auto;
    position: relative;
  }
  
  ul.sidenav li a {
    float: left;
    padding: 15px;
  }
  
  div.content {margin-left: 0;}

}

@media screen and (min-width: 900px) 
{
  .header-txt {margin-left: 20%;}
  .footer {margin-left: 20%;}

}





/*header*/
.header   {
    background-color: #555;
    color: white;
    padding: 15px;
    }
.header-txt {

    background-color: #555;
    color: white;
    padding: 15px;
    text-align: center;
    }


/*tretjine*/
* {
  box-sizing: border-box;
}

.main {
  background-color: white;
  padding: 10px;
  float: left;
  width: 60%; /* The width is 60%, by default */
}

.right {
  background-color: white;
  padding: 10px;
  float: left;
  width: 40%; /* The width is 40%, by default */
}

/* Use a media query to add a break point at 400px: */
@media screen and (max-width: 400px) {
  .main, .right {
    width: 100%; /* The width is 100%, when the viewport is 400px or smaller */
  }
s}


hr { 
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
  color:#f2f2f2;
} 



/* Style the footer */
.footer {

  background-color: #777;
  padding: 10px;
  text-align: center;
  color: white;
}

.button {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  background-color: #008CBA; 
  color: black; 

}

.button1:hover {
  background-color: #04AA6D;
  color: white;
}

.button2 {
  background-color: #04AA6D; 
  color: black;
  border-radius: 50%;
}

.button2:hover {
  background-color: #008CBA;
  color: white;
}

/* Pejd gor */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 50px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
}

#myBtn:hover {
  background-color: #555;
 

 

