/* ========= INFORMATION ============================
	- document:  WP Coder!
	- author:    Dmytro Lobov 
	- url:       https://wow-estore.com/
==================================================== */
.box1{background-image: url(https://tinovelti.com.ua/wp-content/uploads/2021/05/Avtorizovannyj-firmennyj.jpg);
  background-size: cover;
  background-position: top;
  transition: all 0.5s ease;
	  box-shadow: 0 0 0 2000px rgba(0,0,0, 0.7) inset;
	height:350px;}

.box1:hover{
  background-position: bottom;
	box-shadow: 0 0 0 2000px rgba(9,81,113, 0.6) inset;
	 }
/**/
.text1{position:relative;
top: 50px;
color:#fff;
font-size:28px;
text-align:center;
padding:0 10px;	
transition: all 0.5s ease;	
}
.box1:hover .text1 {top:70px}

.btnz{opacity:0;
	transition: all 0.5s ease;
	top:200px;
margin:0 auto;
}
.box1:hover .btnz {opacity:1;
position:relative;
top:100px;
}


/**/
/*кнопка but*/

.btnz {
  position: relative;
  width: 200px;
  line-height: 30px;
  text-align: center;
	padding-top:4px;

}

.btnz::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  width: 1px;
  height: 80px;
  margin: auto;
  background: #fff;
  visibility: hidden;
  opacity: 0;
}

.btnz:hover::before {
  -webkit-animation: sword .5s;
          animation: sword .5s;
}

@-webkit-keyframes sword {
  0% {top: -100px; visibility: hidden; opacity: 0;}
  20% {visibility: visible; opacity: 1;}
  100% {top: 100px; visibility: hidden; opacity: 0;}
}

@keyframes sword {
  0% {top: -100px; visibility: hidden; opacity: 0;}
  20% {visibility: visible; opacity: 1;}
  100% {top: 100px; visibility: hidden; opacity: 0;}
}

.btnz a {
  display: block;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.btnz a::before,
.btnz a::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 38px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transition: all .5s 0s;
  transition: all .5s 0s;
}

.btnz a::before {
  left: 0;
  border-left: 1px solid #fff;
}

.btnz a::after {
  right: 0;
  border-right: 1px solid #fff;
}

.btnz a:hover::before {
  left: -20px;
  -webkit-transition: all .5s .2s;
  transition: all .5s .2s;
  opacity: 0;
}

.btnz a:hover::after {
  right: -20px;
  -webkit-transition: all .5s .2s;
  transition: all .5s .2s;
  opacity: 0;
}
