* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Play', sans-serif;
}
  
img {
  border: 0 none;
}

a {
  text-decoration: none;
  color: #ffffff;
  opacity: 1;
  transition: 0.5s;
}

a:hover {
  opacity:0.35;
}

#MainMenu {
  margin-top: 30px;
}

#MainMenu ul {
  font-size: 1.6em;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#MainMenu ul li {
  display: inline; 
  padding: 0 25px;
}

#MainMenu ul li a {
  text-decoration: none;
  height: 62px;
  line-height: 62px;
  color: #ffffff;
  opacity: 1;
  transition: 0.5s;
}

#MainMenu ul li a:hover {
  opacity:0.35;
}

.menuHappyTime {
position: relative;
top: -23px;
}

#textBlock {
  width:50%;
  text-align: left;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  min-height: 260px;
}

.gallery {
  width: 1060px;
  margin: 0 auto;
  padding: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.gallery > div {
  position: relative;
  float: left;
  padding: 5px;
}

.gallery > div > img {
  display: block;
  width: 200px;
  transition: .1s transform;
  transform: translateZ(0); /* hack */
}

.gallery > div:hover {
  z-index: 1;
}

.gallery > div:hover > img {
  transform: scale(1.7,1.7);
  transition: .3s transform;
}

.cf:before, .cf:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after {
  clear: both;
}
