/*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;
}

a {
    color: #333;
    text-decoration: none;
}

h1, h2, h3 {
    padding-bottom: 20px;
}

/* content basic style */
.container {
    margin: auto;
    max-width: 1100px;
    padding: 0 20px; /* kui ei toimi, siis tagasi ainult 0 */
    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: #f4c08a;
    color: #333;
}

.py-30 {
    padding:30px 0;
}

/* 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: #f7c08a;
}

#navbar h1 {
    padding-top: 20px;
    float: left;
}

/* showcase */
#showcase {
    background: url("../Veebileht/pildid/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;
    margin-bottom: 0; /* Remove bottom margin */
}

#info .info-content {
    float: right;
    width: 50%;
    height: 100%;
    text-align: center;
    padding: 50px 0; 
    overflow: hidden;
}

#info .info-content p {
    padding-bottom: 30px;
}

#info .info-img {
    float: left;
    width: 50%;
    background: url("../Veebileht/pildid/photo-1.jpg") no-repeat;
    min-height: 100%;
}

/* features */
#features {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 0; 
}

#features .box {
    flex: 1;
    padding: 20px; 
    text-align: center;
}

#feature .box i{
    margin-bottom:10px;
}

/* footer */
footer {
    text-align:center;
    padding:20px;
    background:#444;
    color: #fff;
}

/* clear */
.clear {
    clear:both;
}

/* about */
#about-info .info-left {
    float:left;
    width:50%;
    min-height:100%;
}

#about-info .info-right{
    float:right;
    width:50%;
    min-height:100%;
}

#about-info .info-right img{
    display:block;
    margin: auto;
    width: 70%;
    border-radius: 50%;
}

/*testimonials*/
#testimonials {
    height:600px;
    background:url("../Veebileht/pildid/test-bg.jpg") no-repeat center center/cover;
}

#testimonials h2{
    color: #fff;
    text-align:center;
}

#testimonials .testimonial{
    padding:20px;
    margin-bottom: 40px;
    border-margin: 5px;
    opacity: 0.9;
}

#testimonials .testimonial img{
    width:70px;
    float: left;
    margin-right:20px;
    border-radius:50%;
}
/* contact */
#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;
}
#contact-info .box {
    float:left;
    width: 33.3%;
    padding:50px;
    text-align:center;
}
#contact-info .box {
    float:left;
    width:33.3%;
    padding:50px;
    text-align:center;
}
#contact-info .box i {
    margin-bottom:10px;
}