<!DOCTYPE html>

<style>

body {margin:0;}

.container {
  position: relative;
  width: 50%;
  display: inline-block;
  cursor: pointer;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 253px;
  width: 380px;
  opacity: 0;
  transition: .5s ease;
  background-color: #000000;
}

.container:hover .overlay {
  opacity: 0.8;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.img {
  display: block;
  width: 100%;
  height: auto;
}

svg#circle {
  height: 250px;
  width: 250px;
}
g circle {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  stroke-linecap: butt;
  -webkit-transition: all 2s ease-out;
  -moz-transition: all 2s ease-out;
  -ms-transition: all 2s ease-out;
  -o-transition: all 2s ease-out;
  transition: all 2s ease-out;
}
g:hover circle {
  fill: #ffc363;
  stroke-dashoffset: 0;
  stroke-dasharray: 700;
  stroke-width: 3;
}
text {
  fill: white;
  font-size: 24px;
}
a:hover text {
  fill: black;
}

</style>

