body {
  margin: 0;
  background: #000; 
}
@media screen and (max-device-width: 480px) and (orientation: portrait){
  video {
    display:none
    }
}

@media only screen and (max-width: 800px) {
  body {
    background:url(video/bg.jpg);
    background-size: cover;
    height: 100%;
    width: 100%;
    margin: 0px;
  }
  .bgvid {
  	display: none;
  }
}
video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);

  background-size: cover;
  transition: 1s opacity;
}
.stopfade { 
   opacity: .5;
}
a:hover{
  color:burlywood;

}
#polina { 
  font-family: Agenda-Light, Agenda Light, Agenda, Arial Narrow, sans-serif;
  font-weight:100; 
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 2rem;
  width: 50%;
  margin:2rem;
  float: right;
  font-size: 1.1rem;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

}

h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-top: 0;
  letter-spacing: .3rem;
}
#polina button { 
  display: block;
  width: 80%;
  padding: .4rem;
  border: none; 
  margin: 1rem auto; 
  font-size: 1.3rem;
  background: rgba(255,255,255,0.23);
  color: #fff;
  border-radius: 3px; 
  cursor: pointer;
  transition: .3s background;
}
#polina button:hover { 
   background: rgba(168,132,61,0.5);
}

a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  transition: .6s background; 
}

@media screen and (max-width: 500px) { 
  div{width:70%;} 
}
@media screen and (max-device-width: 800px) {
  html { }
  #bgvid { display: none; }
}
#logok {
  height: auto;
  width: 100%;
  margin-top: 50px;
}
#logok2:hover {
  transform: scale(1.5, 1.5);
  transition: 0.3s ease;
    cursor: pointer;
  
}
