@font-face {
    font-family: 'Exan';
    src: url('/font/Exan-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Centauri';
    src: url('/font/Centauri.ttf') format('truetype');
}

body {
  margin: 0;
  background: #000; 
  font-family: 'Exan', Arial, sans-serif;
}

video { 
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  transition: 1s opacity;
}

.stopfade { 
  opacity: .5;
}

#polina { 
  font-family: 'Exan', Agenda-Light, Agenda Light, Agenda, Arial Narrow, sans-serif;
  font-weight: 100; 
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 2rem;
  width: 33%;
  margin: 2rem;
  float: right;
  font-size: 1.2rem;
}

h1 {
  font-family: 'Centauri', Arial, sans-serif;
  font-size: 2rem;
  margin-top: 0;
  text-align: center;
  letter-spacing: .3rem;
}

h2 {
  font-size: 1.5rem;
}

#polina ul {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0;
}

#polina ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

#polina ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: #ffd700;
  font-size: 0.8rem;
}

#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(0,0,0,0.5);
}

a {
  color: #80ced6;
  text-decoration: none;
}

a:hover {
  color: #5baabf;
  text-decoration: underline;
}

@media screen and (max-width: 500px) { 
  div { width: 70%; } 
}

@media screen and (max-device-width: 800px) {
  #bgvid { display: none; }
}
