@import url('https://fonts.googleapis.com/css?family=Nunito:400,700');

body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
}

#page-container {
  position: relative;
  min-height: 100vh;
}
#content-wrap {
  padding-bottom: 2.5rem;    /* Footer height */
}

.banner {
    text-align: center;
    font-size: 5em;
    line-height: 2em;
    color: #66CDAA;
}

/* Link */
.navbar-default .navbar-nav > li > a {
    color: #458B74;
    font-size: 90%;
    transition: 0.5s;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #66CDAA;
    background-color: #E7E7E7;
    font-size: 105%;
    font-weight: bold;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #2F4F4F;
    background-color: #E7E7E7;
    font-weight: bold;
}

.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;  
}

.navbar .navbar-collapse {
  text-align: center;
}

.content {
    width: 80%;
    margin-top: 5em;
    margin-bottom: 5em;
    padding: 2em 9em;
    background-color: #FAFAFA;
    border-radius: 4em;
}

.content h1 {
    margin-bottom: 1em;
}

.content p {
    font-size: 150%;
}

.content a {
    text-decoration: underline;
    font-weight: bold;
    color: #033;
    transition: 0.5s;
}

.content a:hover {
    color: #9A9A9A;
}

.content g {
    color: #0C0;
}

.content r {
    color: red;
}

.home img {
    float: right;
    width: 25rem;
    height: auto;
    margin-left: 1rem;
}

.card img {
    width: auto;
    height: 10rem;
    margin: 0 0.3rem;
    border-radius: 3px;
}

.kontakt img {
    float: right;
    width: 25rem;
    height: auto;
    border-radius: 5px;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5rem;            /* Footer height */
    display: block;
    background-color: #BDBFC1;
}

#footer ul {
    line-height: 5rem;
    text-align: center;
    font-weight: bold;
}

#footer ul li {
    color: #FFFFFF;
    display: inline;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 120%;    
}

#footer ul li a {
    color: #FFFFFF;
    text-decoration: none;
    transition: 0.5s;
}

#footer ul li a:hover {
    color: #000000;
    font-size: 120%;
}

@media (max-width: 1280px) {
    .banner {
    font-size: 4em;
    line-height: 1.7em;
    }
    
    .content {
    width: 85%;
    padding: 2em 7em;
    border-radius: 3em;
    }
    
    .content h1{
        font-size: 170%;
    }
    
    .content p {
    font-size: 125%;
    }
    
    .home img {
    width: 20rem;
    }
    
    .card img {
    height: 7rem;
    }
    
    .content h3 {
        font-size: 150%;
    }
    
    .kontakt img {
    width: 20rem;
    }
    
    #footer {
    height: 4rem;
    }

    #footer ul {
        line-height: 4rem;
    }

    #footer ul li {
        padding: 0.4rem 0.7rem;
        font-size: 115%;    
    }
    
    #footer ul li a:hover {
    font-size: 115%;
    }
}

@media (max-width: 1024px) {
    .banner {
    font-size: 3em;
    line-height: 1.7em;
    }
    
    .navbar-default .navbar-nav > li > a {
    font-size: 80%;
    }
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        font-size: 95%;
    }
    
    .content {
    width: 85%;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 1.5em 6em;
    border-radius: 2.5em;
    }
    
    .content h1{
        font-size: 150%;
    }
    
    .content p {
    font-size: 90%;
    }
    
    .home img {
    width: 13rem;
    }
    
    .card img {
    height: 6rem;
    }
    
    .content h3 {
        font-size: 135%;
    }
    
    .kontakt img {
    width: 13rem;
    }
    
    .table td {
        font-size: 80%;
    }
    
    #footer {
    height: 2.7rem;
    }

    #footer ul {
        line-height: 2.7rem;
    }

    #footer ul li {
        padding: 0.3rem 0.5rem;
        font-size: 100%;    
    }
    
    #footer ul li a:hover {
    font-size: 100%;
    }
}

@media (max-width: 768px) {
    .banner {
    font-size: 2rem;
    line-height: 5rem;
    }
    
    .content {
    width: 95%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    }
    
    .content h1{
        font-size: 90%;
    }
    
    .content p {
    font-size: 80%;
    }
    
    .home img {
    width: 10rem;
    }
    
    .none {
        display: none;
    }
    
    .card img {
    height: 4rem;
    }
    
    .content h3 {
        font-size: 90%;
    }
    
    .kontakt img {
    width: 8rem;
    }
    
    .table td {
        font-size: 60%;
    }
    
    #footer {
    height: 2rem;
    }

    #footer ul {
        line-height: 1.7rem;
    }

    #footer ul li {
        margin: 0.1rem;
        font-size: 70%;    
    }
}


















