html,
body {
  margin: 0;
  height: 100%;
  background: #eee;
  font-family: arial;
  position: relative;
}
h1 {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 9999;
  color: #fff;
}
.bg {
  height: 100%;
}

.bg .row {
  height: 50%;
  display: flex;
}
.bg .col {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.content {
  z-index: 2;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu {
  display: flex;
  background: #fff;
  width: 480px;
  height: 300px;
}

.menu .logo {
  display: block;
  width: 240px;
  background: url('./img/logo.png') no-repeat center;
}
.menu ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  list-style: none;
}

.menu ul a {
  line-height: 1em;
  color: #515151;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  padding: 10px 15px;
  display: block;
}

.menu ul a:hover{
  background: #f2f2f2;
}


.tour {
  display: none;
  background: #f2f2f2;
  z-index: 3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tour.visible {
  display: block;
}

.tour iframe {
  height: 100%;
  width: 100%;
  border: none;
}

.tour > button {
  font-size: 18px;
  padding: .5em 1em;
  text-transform: uppercase;
  background: rgba(0,0,0,.5);
  position: absolute;
  bottom: 1em;
  left: 1em;
  border: none;
  color: white;
  outline: none;
  cursor: pointer;
}

.tour > button:hover {
  background: #000;
}

.gallery {
  font-size: 18px;
  flex-direction: column;
  justify-content: center;
  display: none;
  background: #ededed;
  z-index: 3;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery.visible {
  display: flex;
}

.gallery .header {
  color: #515151;
  text-align: center;
  text-transform: uppercase;
}

.gallery .slider {
  position: relative;
  height: 400px;
  margin: 5% auto;
  max-width: 900px;
}

.gallery .slider .frame {
  height: 100%;
  overflow: hidden;
}

.gallery .tape {
  position: relative;
  transition: left.5s ease;
  height: 100%;
  display: flex;
}

.gallery .slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.gallery .slide .row {
  display: flex;
}

.btn {
  position: absolute;
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 15px;
  border-radius: 100%;
  border: 1px solid;
  top: 50%;
  margin-top: -15px;
  background: transparent;
  outline: none;
}

.btn:hover {
  color: #f00;
  background: rgba(255, 0, 0, .1);
}

.btn.left {
  left: -40px;
}

.btn.right {
  left: auto;
  right: -40px;
}

.gallery .btn.close {
  top: 100px;
  right: 100px;
}

.gallery .slide .col {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px;
}


.gallery .slide img {
  max-width: 100%;
}

.footer img {
  display: block;
  margin: auto;
}


.photo {
  font-size: 18px;
  flex-direction: column;
  justify-content: center;
  display: none;
  background: #ededed;
  z-index: 4;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.photo .wrapper {
  position: relative;
  width: 100%;
  max-width: 50%;
  margin: auto;
}

.photo .wrapper img {
  display: block;
  width: 100%;
}

.photo.visible {
  display: flex;
}

.photo .btn.close {
  top: -40px;
  right: 0;
  left: auto;
}
