/* reset browser css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* main */
html, body {
    font-family: 'Segoe UI', 'Tahoma', 'Verdana', sans-serif;
    line-height: 1.7em;
    height: 100%;
    margin: 0;

}
a {
    color: #333;
    text-decoration: none;
}
h1, h2, h3 {
    padding-bottom: 20px;
}
/* content basic style */
.container {
    margin: auto;
    max-width: 1100px;
    padding: 0 20px;
    overflow: auto;
}
.text-primary {
    color: #f7c08a;
}
.btn {
    display: inline-block;
    font-size: 18px;
    background: #333;
    color: #fff;
    padding: 13px 20px;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #f7c08a;
    color: #333;
}
.btn-light {
    background: #f4f4f4;
    color: #333;
}
.bg-dark {
    background: #333;
    color: #fff;
}
.bg-light {
    background: #f4f4f4;
    color: #333;
}
.bg-primary {
    background: #f7c08a;
    color: #333;
}

/* navbar */
#navbar {
    background: #333;
    color: #fff;
    overflow: auto;
}
#navbar a {
    color: #fff;
}
#navbar ul {
    float: right;
    list-style: none;
}
#navbar ul li {
    float: left;
}
#navbar ul li a {
    display: block;
    padding: 20px;
    text-align: center;
}
#navbar ul li a:hover,
#navbar ul li a.current {
    background: #444;
    color: orange;
}
#navbar h1 {
    padding-top: 20px;
    float: left;
}

/* Showcase */
#showcase {
    background: url('../img/showcase.jpg') no-repeat center center/cover;
    height: 600px;
}
#showcase .showcase-content {
    color: #fff;
    text-align: center;
    padding-top: 170px;
}
#showcase .showcase-content h1 {
    font-size: 60px;
    line-height: 1.2em;
}
#showcase .showcase-content p {
    padding-bottom: 20px;
    line-height: 1.7em;
}

/* info */
#info {
    height: 400px;
    flex: 1 0 auto; /* Võtab ülejäänud kõrguse, footer jääb alla */
}
#info .info-content {
    float: right;
    width: 50%;
    height: 100%;
    text-align: center;
    padding: 50px 30px;
    overflow: hidden;
}
#info .info-content p {
    padding-bottom: 30px;
}
#info .info-img {
    float: left;
    width: 50%;
    background: url('../img/photo-1.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100%;
}
#features {
    display: flex;
}
/* features */
#features .box {
    padding: 50px;
    text-align: center;
    flex: 1;
}
#features .box i {
    margin-bottom: 10px;
}

/* footer */
footer {
    text-align: center;
    padding: 20px;
    background: #444;
    color: #fff;
    flex-shrink: 0; /* Footer ei vähene, jääb alati alla */
}

/* clear */
.clear {
    clear: both;
}
