.hover-rotate {
  overflow: hidden;
  margin: 8px;
  min-width: 240px;
  max-width: 320px;
  width: 100%;
}

.hover-rotate img {
  transition: all 0.3s;
  box-sizing: border-box;
  max-width: 100%;
}

.hover-rotate:hover img {
  transform: scale(1.3) rotate(5deg);
}

/* 
*/

.animated-border-button-main {
  background-color: #43a9c9;
  border: none;
  color: #ffffff;
  outline: none;
  padding: 12px 40px 10px;
  position: relative;
}

.animated-border-button-main:before,
.animated-border-button-main:after {
  border: 0 solid transparent;
  transition: all 0.3s;
  content: '';
  height: 0;
  position: absolute;
  width: 24px;
}

.animated-border-button-main:before {
  border-top: 2px solid #43a9c9;
  right: 0;
  top: -4px;
}

.animated-border-button-main:after {
  border-bottom: 2px solid #43a9c9;
  bottom: -4px;
  left: 0;
}

.animated-border-button-main:hover:before,
.animated-border-button-main:hover:after {
  width: 100%;
}

.animated-border-button {
  background-color: #6778bb;
  border: none;
  color: #ffffff;
  outline: none;
  padding: 12px 40px 10px;
  position: relative;
}

.animated-border-button:before,
.animated-border-button:after {
  border: 0 solid transparent;
  transition: all 0.3s;
  content: '';
  height: 0;
  position: absolute;
  width: 24px;
}

.animated-border-button:before {
  border-top: 2px solid #6778bb;
  right: 0;
  top: -4px;
}

.animated-border-button:after {
  border-bottom: 2px solid #6778bb;
  bottom: -4px;
  left: 0;
}

.animated-border-button:hover:before,
.animated-border-button:hover:after {
  width: 100%;
}