body {
  font-family: sans-serif;
  padding: 0;
  margin: 0;
  background-color: #f01d1d;
}
h1 {
  color: white;
}

#logo {
  float: left;
}

@media only screen and (min-width: 1240px)
.Header__inner {
    width: 1240px;
}
@media only screen and (min-width: 992px)
.Header__inner {
    width: 992px;
}
@media only screen and (min-width: 768px)
header {
    width: 768px;
}
header {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    background-color: white;
}

header::after {
  content: '';
  display: table;
  clear: both;
}

nav {
  position: relative;
  text-align: center;  
}

nav ul {
  list-style: none;
  //margin: auto;
  padding: 0;
  //padding-top: 2px;
}

nav li {
  display: inline-block;
  margin-left: 20%;
  padding-top: 5px;
  position: relative;
}

nav a {
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  font-size: 20px;
}
nav a:hover {
  color: #d11f34;
}
nav a::before {
  content: '';
  display: block;
  height: 3px;
  background-color: #d11f34;
  
  position: absolute;
  bottom: 40px;
  width: 0%;
  
  transition: all ease-in-out 250ms;
}

nav a:hover::before {
  width: 80%;
  left: 10%
}
#active {
  color: #d11f34; 
}
main {
  height: 44vw;
  width: 60%;
  margin: auto;
  padding-top: 7%;
}

h2 {
  color: white;
  text-transform: uppercase;
}

footer {
  margin: auto;
  width: 100%;
  height: 8vw;
  border-top: 3px solid black;
  background-color: white;
}

#paticka {
  font-size: 15px;
  padding: 3%;
  font-weight: bold;
  float: left;
}
#paticka-vlevo {
  padding: 3%;
  font-size: 15px;
  font-weight: bold;
  text-align: right;
}

  .button {
    background-color: white; /* Green */
    border: none;
    color: #d11f34;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
  }





