* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Segoe UI", "Tahoma", "Verdana", sans-serif;
  line-height: 1.7em;
}

.text-primary {
  color: #f7c08a;
}

.btn {
  display: inline-block;
  font-size: 18px;
  background: #997676;
  color: #fff;
  padding: 13px 20px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #f7c08a;
  color: #333;
}

a {
  color: #333;
  text-decoration: none;
}

h1,
h2,
h3 {
  padding-bottom: 20px;
}

.container {
  margin: auto;
  max-width: 1100px;
  padding: 0 20px;
  overflow: auto;
}

.bg-dark {
  background-color: #333;
  color: #fff;
}

.bg-light {
  background-color: #f4f4f4;
  color: #333;
}

.bg-primary {
  background-color: #f7c08a;
  color: #333;
}

.py-30 {
  padding: 30px;
}

/* Navbar */
#navbar {
  background-color: #333;
  color: #fff;
}

#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-color: #444;
  color: #f7c08a;
}

#navbar h1 {
  padding-top: 20px;
  float: left;
}

/* Showcase */
#showcase {
  background: url("../img/showcase.jpg") no-repeat center center/cover;
  height: 600px;
}

#showcase .container {
  color: #fff;
  text-align: center;
  padding-top: 170px;
}

#showcase .container h1 {
  font-size: 60px;
  line-height: 1.2em;
}

#showcase .container p {
  font-size: 20px;
  line-height: 1.7em;
}

#info {
  height: 400px;
}

#info .info-content {
  float: right;
  width: 50%;
  text-align: center;
  padding: 50px 30px;
}

#info .info-img {
  float: left;
  width: 50%;
  background: url("../img/photo-1.jpg") no-repeat;
  min-height: 100%;
}

#features .box {
  float: left;
  width: 33.3%;
  padding: 50px;
  text-align: center;
}

#testimonials {
  height: 600px;
  background: url("../img/test-bg.jpg") no-repeat center center/cover;
}

#testimonials h2 {
  color: #fff;
  text-align: center;
}

#testimonials .testimonial {
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 5px;
  opacity: 0.9;
}

#testimonials .testimonial img {
  width: 70px;
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

/* Kontakti vorm */
#contact-form .form-group {
  margin-bottom: 20px;
}

#contact-form .form-group label {
  display: block;
  margin-bottom: 5px;
}

#contact-form .form-group input,
#contact-form .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
}

#contact-form .form-group textarea {
  height: 200px;
}

#contact-form .form-group input:focus,
#contact-form .form-group textarea:focus {
  outline: none;
  border-color: #f7c08a;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #444;
  color: #fff;
}

/* Mobiilivaade */
@media screen and (max-width: 500px) {
  #navbar h1 {
    float: none;
    text-align: center;
  }

  #navbar ul,
  #navbar ul li {
    float: none;
  }

  #navbar ul li a {
    padding: 5px;
    border-bottom: #444 dotted 1px;
  }

  #showcase {
    height: 100%;
  }

  #showcase .showcase-content {
    padding-top: 70px;
    padding-bottom: 30px;
  }

  #info {
    height: 500px;
  }

  #info .info-img {
    display: none;
  }

  #info .info-content {
    float: none;
    width: 100%;
  }

  #features .box {
    float: none;
    width: 100%;
  }

  #about-info .info-left,
  #about-info .info-right {
    float: none;
    width: 100%;
  }

  #about-info .info-right {
    margin-top: 30px;
  }

  #about-info .info-left h1 {
    text-align: center;
  }

  #contact-form h1,
  #contact-form p {
    text-align: center;
  }

  #contact-info .box {
    float: none;
    width: 100%;
    border-bottom: #444 dotted 1px;
  }
}
