.button{
  position: absolute;
  z-index: 1;
  right: 0;
}
.blog-text img {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.blog {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: left;
  text-align: left;
}
.blog-post{
  background-color: rgb(240, 243, 255);
  margin: 30px 250px;
  padding: 70px;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: row;

  color: rgb(6, 17, 60);
  border-radius: 10px;
}

.blog-post img {
  border-radius: 15px;
  width: 400px;
  height: auto;
}
.blog-post h1 {
  font-size: 30px;
  padding: 20px;
  text-align: left;
  line-height: 30px;
}

.blog-post p {
  font-size: 15px;
  padding: 0 20px;
  text-align: left;
  line-height: 17px;
  margin-bottom: 20px;
}

.vise{
  width: 200px;
  height: 40px;
  border: none;
  margin-left: 20px;
  color: rgb(240, 243, 255);
  background-color: rgb(6, 17, 60);
  border-radius: 10px;

}

.vise:hover{
	background-color:rgb(21, 245, 186);
	transition: all ease 0.3s;
  color: rgb(6, 17, 60);
}
.blog-prvo {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: left;
  align-items: center;
}

.blog-text{
  background-color:  rgb(6, 17, 60, 0.9);
  width: 80%;
  height: 100%;
  position: relative;
  margin-left: 10%;
  top: 30px;
  margin-top: -530px;
  margin-bottom: 50px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  color: rgb(240, 243, 255);
  font-size: 15px;
  padding: 10px 70px;
  border-radius: 15px;
}

.blog-text h4 {
  font-size: 18px;
}

.blog-text p b {
  font-size: 18px;
}

.dugme button{
  background-color: rgb(240, 243, 255, 0.5);
  color: rgb(6, 17, 60);
  padding: 10px 18px;
  border: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 50%;
  float: right;
  margin-bottom: 10px;

}
.dugme i {
  font-size: 30px;

}



@media only screen and (max-width:1400px){
  .blog-post{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 10px 10px;

  }
  .vise{
    position: relative;
  }
  .blog-text{
    position: relative;
    display: flex;
    margin-top: -470px;
  }
}

@media only screen and (max-width:900px){
 
  .blog-post h1 {
    font-size: 25px;
    padding: 20px;
    line-height: 25px;
  }
  
  .blog-post p {
    font-size: 15px;
    padding: 0 20px;
    line-height: 15px;
    margin-bottom: 20px;
  }
  .blog-post{
    padding:  20px 10px;
  }
  .blog-text{
    margin-top: -370px;
  }
}
@media only screen and (max-width:800px){
 
  .blog-post{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

  }
  .blog-post img{
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    text-align: center;
  }
  .blog-prvo {
 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 50px;
   
  }
  
  .blog-post h1 {
    font-size: 25px;
    padding: 20px;
    text-align: center;
    line-height: 30px;
  }
  
  .blog-post p {
    font-size: 15px;
    padding: 0 20px;
    text-align: center;
    line-height: 17px;
    margin-bottom: 20px;
  }
  .blog-text{
    margin-top: 0;
    padding: 20px;
    width: 95%;
    margin-left: 3%;


  }
  .dugme button{
    padding: 5px 10px;
  
  }
  .dugme i {
    font-size: 20px;
  
  }

}

@media only screen and (max-width:600px){
  .blog{
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
  }
  .blog-prvo {
 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
   
  }
  .blog-post img{
    width: 400px;
  }
  .blog-text {
    margin-left: 1%;
    width: 95%;

 }
 .blog-post h1 {
  font-size: 24px;
  padding: 18px;

}
.blog-text h4 {
  font-size: 16px;
}

.blog-text p b {
  font-size: 16px;
}
}

@media only screen and (max-width:460px){
  .blog-post img{
    width: 250px;
  }
  .blog-text {
    margin-left: 0;
  }
  .dugme button{
    padding: 6px 10px 2px 10px;  
  }
  .dugme i {
    font-size: 16px;
  
  }
  .blog-post h1 {
    font-size: 22px;
    padding: 16px;
  
  }
  .blog-text h4 {
    font-size: 14px;
  }
  
  .blog-text p b {
    font-size: 14px;
  }
}