body {
  margin: 0;
  background: #000; 
}
  video#bgvid {
  position: fixed; right: 0; bottom: 0;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto; z-index: -100;
  background: url(apercuweb.jpg) no-repeat;
  background-size: cover;
}
/*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('//demosthenes.info/assets/images/polina.jpg') no-repeat;
  background-size: cover;
  transition: 1s opacity;
}
*/
.stopfade { 
   opacity: .5;
}

img.transparent {
    opacity: 0.6;
}
img.transparent:hover {
    opacity: 1; // no point in going higher than 1 here
}

#Connexions { 
  font-family: Agenda-Light, Agenda Light, Agenda, Arial Narrow, sans-serif;
  font-weight:100; 
  background: rgba(0,0,0,0.3);
  color: white;
  padding: 1rem;
  width: 50%;
  margin:2rem;
  float: right;
  font-size: 1rem;
}
  img {
	max-width: 100%;
	height: auto;
}
#Liens { 
  font-family: Agenda-Light, Agenda Light, Agenda, Arial Narrow, sans-serif;
  font-weight:100; 
  background: rgba(0,0,0,0.3);
  color: white;
  padding: 1rem;
  width: 33%;
  margin:2rem;
  float: left;
  font-size: 1rem;
}

h1 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-top: 0;
  letter-spacing: .3rem;
}

span {
  font-size: 0.4rem;
  margin-top: 0;
}

h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-top: 0;
  letter-spacing: .3rem;
}
#Connexions 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;
}
#Connexions button:hover { 
   background: rgba(0,0,0,0.5);
}

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

.floating-box {
    display: inline-block;
    width: 150px;
    height: 75px;
    margin: 10px;
    border: 3px solid #73AD21;  
}

.after-box {
    border: 3px solid red; 
}

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