@charset "utf-8";
/* CSS Document */
.box1 {
  position: relative;
  width: 100%;
}
.header {
width:100%;
background:#CCCCCC;
}
.footer {
width:100%;
background:#666666;
color:#FFFFFF;

}
h1 {
font-size:3rem;
color:#FF0000;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease;
}

.box1:hover .overlay {
  display: block;
  background: rgba(0, 0, 0, .3);
}

.img_pos {
  position: absolute;
  width:100%;
  left: 0;
}

.title {
  position: absolute;
  width: 100%;
  left: 0;
  top: 120px;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  z-index: 1;
  transition: top .5s ease;
  background:#CE0000;
  padding:10px 0;
}

.box1:hover .title {
  top: 90px;
}

.button {
  position: absolute;
  width: 500px;
  left:0;
  top: 180px;
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease;
}

.button a {
  width: 200px;
  padding: 12px 48px;
  text-align: center;
  color: white;
  border: solid 2px white;
  z-index: 1;
  background:#000;
  font-weight:700;
}

.box1:hover .button {
  opacity: 1;
}
