/*
	General styles
*/
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #212222;
    color: #FFF;
    font-size: 15px;
    overflow-x: hidden;
    font-family: sofia-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body,
html {
    height: 100%
}

.subtitle {
    font-family: sofia-pro, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #CFAB54;
    font-size: 18px;
    letter-spacing: .2px;
}

h1,
h2,
h3,
h4 {
    font-family: bookmania, serif;
    font-weight: 400;
    font-style: normal;
}

h1 {
    line-height: 55px;
    font-size: 55px;
}

h2 {
    font-size: 20px;
}

a,
a:visited {
    text-decoration: none;
    color: #CFAB54;
}

a:hover {
    text-decoration: underline;
}

.touchonly {
    display: none;
}

html.touch .touchonly {
    display: block;
}

.noselect,
.noselect * {
    user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
}

.doselect,
.doselect *:not(.noselect) {
    user-select: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

#title {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon-scroll,
.icon-scroll:before {
    position: absolute;
    left: 50%;
}

.icon-scroll {
    width: 40px;
    height: 70px;
    margin-left: -20px;
    bottom: 20px;
    margin-top: -35px;
    border-radius: 25px;
}

.icon-scroll:before {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    margin-left: -4px;
    top: 8px;
    border-radius: 4px;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-name: scroll;
}

@keyframes scroll {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(46px);
    }
}

#pinContainer {
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

#slideContainer {
    width: 600%;
    /* to contain 4 panels, each with 100% of window width */
    height: 100%;
}

.panel {
    height: 100vh;
    width: 16.66666666%;
    /* relative to parent -> 25% of 400% = 100% of window width */
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    background-color: #ccc;
}

.panel a {
    font-family: sofia-pro, sans-serif;
    font-weight: 700;
    font-style: normal;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: transparent;
    color: #CFAB54;
    border: 2px solid #CFAB54;
    border-radius: 5px;
    padding: 5px 15px 10px 15px;
    cursor: pointer;
    display: inline-block;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.panel a:hover {
    color: #2D2D2D;
    text-decoration: none;
}

.panel a:after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    height: 100%;
    width: 0;
    top: 0;
    left: 0;
    background: #CFAB54;
}

.panel a:hover:after,
.panel heightactive:after {
    width: 100%;
}

#investice {
    background-image: url('../img/investice.jpg');
}
#online-obchodovani {
    background-image: url('../img/online-obchodovani.jpg');
}
#nemovitosti {
    background-image: url('../img/nemovitosti.jpg');
}
#developerske-projekty {
    background-image: url('../img/developerske-projekty.jpg');
}
#investicni-sberatelstvi {
    background-image: url('../img/investicni-sberatelstvi.jpg');
}
#poradenstvi-v-oblasti-ucetnictvi {
    background-image: url('../img/poradenstvi-v-oblasti-ucetnictvi.jpg');
}

#kontakt {
    padding: 50px 0px;
    display: flex;
    justify-content: center;
}