a{
    text-decoration: none;
}
img{
    max-width: 100%;
}
.clearfix::after{
    content:"";
    display: block;
    clear: both;
}
h1, h2{
    color: #868585;
    font-size: 25px;
    line-height: 1.5;
    margin: 10px 0 15px;
}
h1{
	font-size:30px;
}
h2{
	color: #008c99;
}
h3{
    font-size: 22px;
    color: #fdd31d;
    line-height: 20px;
    margin: 10px 0 15px;
}
p{
    color: #a4a4a4;
    font-size: 14px;
    line-height: 1.3;
}
.container{
    width: 85%;
    margin: 0 auto;
}
body{
    font-family: 'Open Sans', sans-serif;
}
/* end generlani opisi */
.logo, .nav{
    display: inline-block;
}
.hed .container{
    width: 60%;
}
.logo{
    margin-right: 40%;
}
.logo h1{
    color: white;
}
.hed{
    background-color: #f2c917;
    padding: 10px 0;
    
}
.nav a{
    margin-right: 30px;
    color: #bb1e27;
    font-weight: 800;
}
.nav a:hover{
    color: #008c99;
}
.header{
    width:400px;
	margin:200px auto;
	text-align:center;
}
.header h1{
    color: white;
    font-weight: 800;
}
.header img{
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.header h2{
    background-color: #fdd31d;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    display: block;
    width: 150px;
    margin: auto;
    text-align: center;
}
.header h2:hover{
    background-color: #008c99;
}
.hero{
    background: url(../images/hero-section.jpg) no-repeat;
    padding: 20px 0 100px;
    background-size: cover;
}
.hero a{
   background-color: #008c99;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    display: block;
    width: 100px;
    border: 1px solid #008c99;
    text-align: center;
}
.hero a:hover{
    background-color: transparent;
    color: #008c99;
}
.hero p{
    color: white;
}
.hero .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero .container div{
    flex-basis: 45%;
}
.kutija{
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 30px auto;
}
.nasi{
    text-align: center;
   
}
.box{
    flex-basis: 30%;
}
.box a{
    display: block;
    width: 120px;
    background: #bb1e27;;
    border: 1px solid #bb1e27;;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    margin-top: 10px;
    margin: auto;
}
.box a:hover{
    background: #fff;
    color: #e16c6c;
}

.learning{
    text-align: center;
    padding: 40px 0;
}
.learn{
	display:inline-block;
	width:24%;
}
.learn img{
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.set{
    width: 25%;
    text-align: center;
    margin: 20px 40px;
	display:inline-block;
}
.section{
    background: #008c99 url(../images/cloud-bg.png);
    padding: 78px 0;
}

.section h3, .section p{
    color: #fff;
}
.section i{
    background: #fff;
    color: #5c5c5c;
    padding: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    font-size: 20px;
}
.section i:hover{
    background: #fdd31d;
}
.footer{
    background: #008c99;
    padding: 10px 0;
	text-align:center;
}
.footer p{
    color: #fff;
    font-size: 25px;
}
.footer a{
    color: #fff;
    font-size: 25px;
	margin-right:10px;
}
.footer_top{
    background: url(../images/product_bg.png);
    padding: 65px 0;
	text-align:center;
}


.add{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.add div{
    flex-basis: 40%;
}
.add p{
    font-size: 20px;
    color: black;
    margin: 40px 0;
}
.add h2{
    font-size: 30px;
    color: #bb1e27;
}
.add a{
    background-color: #fdd31d;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.add a:hover{
    background-color: #008c99;
}
.add .zas{
    background-color: #008c99;
}
.add .zas:hover{
    background-color: #fdd31d;
}

@media(max-width:992px){
	.header img:not(:nth-child(2)){
		display:none;
    }
    .footer_top .container, .section .container, .sbox, .learning, .popust .container  {
       flex-direction: column;
    }
    .follow{
        float: none;
        width: auto;
    }
}