* {
    box-sizing: border-box;
}

body {
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
}

html {
    
}

a {
    color: white;
    text-decoration: none;
}

#top {
    width: 100%;
    min-height: 100vh;
    background-image: url(../img/cover.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

#top img {
    width: 100%;
    max-width: 500px;
    -webkit-animation: onload 1s;
    animation: onload 1s;
}

#top h1 {
    margin-top: 100px;
    color: #ff7748;
    font-size: 40px;
    font-weight: lighter;
    text-shadow: 0 1px 10px #e4e4ee;
    -webkit-animation: onload 1s;
    animation: onload 1s;
}

#ponudba {
    padding: 0px;
    background-image: url(../img/ponudba.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-color: #474f86;
    text-align: center;
    box-shadow: inset 0 -10px 25px -5px rgba(0,0,0,.25);
}

#ponudba h1 {
    margin: 0;
    padding: 50px 0 0 0;
    color: #ff9975;
    font-size: 30px;
    font-weight: normal;
}

#ponudba ul {
    padding: 50px 0 0 0;
    margin: 0;
    text-align: center;
}

#ponudba li {
    list-style-type: none;
    font-size: 20px;
    margin: 0px;
    padding: 35px;
    text-transform: uppercase;
    color: whitesmoke;
}

#ponudba li.bg-col-2 {
    background-color: rgba(0,0,0,0.15);
}

#ponudba a {
    color: #ff9c00;
    transition: color 0.15s;
}

#ponudba a:hover {
    color: #ffb54b;
}

#ponudba li h6.subtext {
    font-size: 15px;
    display: block;
    margin: 0;
    font-weight: normal;
}

#reference {
    padding-bottom: 50px;
    text-align: center;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#reference h1 {
    margin: 0;
    padding: 50px 0 25px 0;
    color: #474f86;
    font-size: 30px;
    font-weight: normal;
}

.ref-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.ref-wrapper img {
    filter: saturate(0.5);
    -webkit-filter: saturate(0.5);
    transition: filter 0.2s;
    width: 100%;
}

.ref-wrapper a {
    margin: 25px;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.ref-wrapper a:hover {
    opacity: 1;
}

.ref-wrapper a:hover img {
    filter: none;
    -webkit-filter: none;
}

#kontakt {
    background-color: #ff7748;
    padding: 15px;
    text-align: center;
}

#kontakt h1 {
    margin: 0;
    padding: 35px 10px 0 10px;
    color: whitesmoke;
    font-size: 30px;
    font-weight: normal;
}

#info {
    margin: 25px auto;
    width: 100%;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

#info a {
    display: inline-block;
    padding: 25px;
}

#info h3 {
    margin: 0;
    font-size: 25px;
    color: white;
    font-weight: normal;
}

footer {
    text-size-adjust: none;
    overflow: hidden;
    box-shadow: inset 0 10px 15px rgba(0,0,0,0.25);
    color: gray;
    font-size: 14px;
    padding: 25px;
    background-color: #313131;
    text-align: center;
}

footer h1 {
    margin: 0;
    font-size: 15px;
    color: Gainsboro;
    font-weight: normal;
}

footer div {
    margin: 0 5px;
    font-size: 14px;
    display: inline-block;
    color: gray;
    font-weight: lighter;
}

@media only screen and (max-width: 870px) {
    .ref-wrapper {
        flex-flow: column wrap;
    }
    
    .ref-wrapper a {
        margin: 35px;
    }
}

@-webkit-keyframes onload {
    from {
        -webkit-opacity: 0;
        opacity: 0;
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
    }
    
    to {
        -webkit-opacity: 1;
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes onload {
    from {
        -webkit-opacity: 0;
        opacity: 0;
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
    }
    
    to {
        -webkit-opacity: 1;
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}