body {
  margin: 0;
  background: #000; 
}
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: url('../images/aaltosoft-poster.jpg') no-repeat;
  background-size: cover;
  transition: 1s opacity;
}
.stopfade { 
   opacity: .5;
}

video#bgvid {
    transition: 1s opacity;
}


#aaltosoft { 
  font-family: Agenda-Light, Agenda Light, Agenda, Arial Narrow, sans-serif;
  font-weight:100; 
  background: rgba(0,0,0,0.3);
  color: white;
  padding: 2rem;
  /*margin:2rem;*/
  margin-top: 3em;
  margin-left: auto;
  margin-right: 3em;
  width: 30%;
  /*float: right;*/
  font-size: 1.2rem;
  min-width: 320px;
}
h1 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-top: 0;
  letter-spacing: .3rem;
  text-align: center;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.larger {
  font-size: larger;
}

#aaltosoft 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;
}
#aaltosoft button:hover { 
   background: rgba(0,0,0,0.5);
}

a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  background:rgba(0,0,0,0.5);
  padding: .5rem;
  transition: .6s background; 
}
a:hover{
  background:rgba(0,0,0,0.9);
}

a.nostyle {
  display: inline !important;
  background:none !important;
}
a nostyle:hover {
  background: none !important;
}

/*
@media screen and (max-width: 500px) { 
  div{width:70%;} 
}
@media screen and (max-device-width: 800px) {
  html { background: url(../images/aaltosoft-poster.jpg) #000 no-repeat center center fixed; }
  #bgvid { display: none; }
}*/

hr.slash {
  height: 6px;
  background: url(../images/slash.png) repeat-x 0 0;
    border: 0;
}
