@font-face {
  font-family: Aller;
  src: url('https://zbornik.sk/assets/allerbd.ttf') format('truetype'),
       url('https://zbornik.sk/assets/allerbd-webfont.woff2') format('woff2'),
         url('https://zbornik.sk/assets/allerbd-webfont.woff') format('woff');
}

html {
  font-family: 'Times New Roman', serif;
  font-size: 62.5%;
}

body {
  max-width: 42em;
  margin: 1em auto;
  color: #616161;
  background: #fff;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.618;
  letter-spacing: .01em;
  transition: 0.3s all;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-family: 'Helvetica', sans-serif;
  font-weight: 300;
  line-height: 1.1;
  word-wrap: break-word;
}

h1 {
  font-size: 4em;
  font-weight: bold;
  margin-right: 0.5em;
}

h2 {
  font-size: 1.80em;
}

h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1.15em;
}

h6 {
  font-size: 1em;
}

small, sub, sup {
  font-size: 75%;
}

p {
  text-align: justify;
}

p+p {
  text-indent: 0;
}

hr {
  border: 0;
  border-bottom: 1px dotted #dadada;
}

a {
  border: 0;
  color: #c4151c;
  text-decoration: none;
}

.navbrand li a {
  font-family: 'Helvetica';
  font-variant: all-small-caps;
  display: inline-block;
  padding: 0.6em;
  font-size: 1.1em;
}

a:hover {
  color: #b89881;
  border: none;
  transition: 0.3s all;
}

ul {
  padding-left: 0em;
}

.navbrand ul {
  padding-left: 0em;
  text-align: center;
  margin: 2.3em 0;
}


li {
  margin: 0 0.4em;
  display: inline-block;
}

blockquote {
  margin-left: 1.5em;
  padding-left: 1em;
  border-left: 3px solid #2c8898;
  font-style: italic;
}

img {
  max-width: 100%;
  height: auto;
}

pre {
  margin-bottom: 2.5rem;
  overflow-y: hidden;
  border-left: 0.3rem solid #9b4dca;
  background: #f4f5f6;
}

pre>code {
  display: block;
  padding: 1rem 1.5rem;
  border-radius: 0;
  white-space: pre;
}

code {
  margin: 0 .2rem;
  padding: .2rem .5rem;
  border-radius: .4rem;
  background: #f4f5f6;
  font-size: 86%;
  white-space: nowrap;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: justify;
}

td, th {
  padding: 0.5em;
  border-bottom: 1px solid #f1f1f1;
}

textarea {
  width: 100%;
}

.button, button, input[type="button"], input[type="reset"], input[type="submit"] {
  display: inline-block;
  box-sizing: border-box;
  color: #fff;
  border: 1px solid #791db1;
  border-bottom: 3px solid #791db1;
  background-color: #9b4dca;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 400;
  line-height: 3rem;
  letter-spacing: .1rem;
  white-space: nowrap;
  cursor: pointer;
  font-family: 'Helvetica';
}

.button[disabled], button[disabled], input[type="button"][disabled], input[type="reset"][disabled], input[type="submit"][disabled] {
  opacity: .5;
  cursor: default;
}

.button:focus, .button:hover, button:focus, button:hover, input[type="button"]:focus, input[type="button"]:hover, input[type="reset"]:focus, input[type="reset"]:hover, input[type="submit"]:focus, input[type="submit"]:hover {
  color: #f9f9f9;
  border: 1px solid #4f5961;
  background-color: #606c76;
  outline: 0;
  transition: 0.2s all;
}

input[type], select, textarea {
  box-sizing: border-box;
  color: #4a4a4a;
  border: 1px solid #f1f1f1;
  background-color: transparent;
  box-shadow: none;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 3rem;
  letter-spacing: .1rem;
}

input[type]:focus, select:focus, textarea:focus {
  border: 1px solid #dadada;
  outline: 0;
  transition: 0.2s all;
}

fieldset, legend {
  display: block;
  margin-bottom: .5rem;
}

label {
  display: inline-block;
  margin-right: 1.6rem;
  margin-bottom: .5rem;
}

input[type="checkbox"]+label, input[type="radio"]+label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .1rem;
}

.clearfix:after {
  content: ' ';
  display: table;
  clear: both;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.navbrand {
  width: 100%;
  text-align: center;
}

.navbrand h1 {
  display: inline-block;
}


.footer {
  margin: 4rem 0;
}

.headerlogo {
  display:inline;
  max-width:40%;
}

@media (max-width: 684px) {
  body {
    font-size: 1.53rem;
    margin: 0.8em;
  }
  .navbrand {
    text-align: center;
  }
  h1 { 
    margin-right: 0;
  }
  ul {
    padding-left: 0;
  }
.headerlogo {
  display:inline;
  max-width:70%;
}

}

@media (max-width: 382px) {
  body {
    font-size: 1.35rem;
    margin: 0.8em;
  }
  .navbrand {
    text-align: center;
  }
  h1 { 
    margin-right: 0;
  }
  ul {
    padding-left: 0;
  }
.headerlogo {
  display:inline;
  max-width:100%;
}

}
