@import url(https://fonts.googleapis.com/css?family=Open+Sans);
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f9f9f9;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

h2 {
  color: #c55;
  padding: 50px 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.8rem;
}

.eventcons{
  
  background-position: center center;
  position: relative;
  margin: auto;
  width: 250px;
  height: 250px;
 
  
  cursor: pointer;
  overflow: hidden;
}
.eventcons:hover .overlay {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.eventcons:hover span {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: transform .5s ease, opacity 1.3s ease;
  transition: transform .5s ease, opacity 1.3s ease;
}
.cor{
    margin-left:-19px;
    color:white;
}
.soc{
    color:white;
}
.first{
    float: left;
    margin-left: 216px;
    width: 351px;
    height: 301px;
}
.second{
float: right;
    margin-top: 0px;
    margin-right: 182px;
    width: 351px;
    height: 301px;
    }
.eventcons .overlay {
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  margin: auto;
  width: 0px;
  height: 0px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  
  opacity: 0;
  -webkit-transition: .4s ease;
  transition: .4s ease;
}
.eventcons span {
  color: #fff;
  text-align: center;
  position: absolute;
  margin: auto;
  width: 200px;
  height: 30px;
  line-height: 30px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: transform .5s ease, opacity .7s ease;
  transition: transform .5s ease, opacity .7s ease;
}
