@import url(reset.css);
@import url(fontello.css);
@import url('https://fonts.googleapis.com/css?family=Squada+One');
@import url('https://fonts.googleapis.com/css?family=Arya&subset=latin-ext');
 
body {
    color: #000;
    text-align: center;
    }
.wizytowka {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
    padding: 10px;
    background: #FFF url('../img/mooning.png');
    border-radius: 25px;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);*/
/*    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);*/
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    opacity: 0.7;
    
    font-family: 'Arya', sans-serif;
    font-size: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.dcontact {
    display: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    margin-top: 10px;
    background: #FFF url('../img/mooning.png');
    border-radius: 25px;
    min-width: 160px;
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    padding: 12px 16px;
    line-height: 1.6;
    z-index: 1;
}

.vcard:hover .dropdown-content {
    display: block;
}
.mail:hover .dropdown-content {
    display: block;
}

.daimos {
    max-width: 300px;
    padding: 10px;
    background: #FFF url('../img/fg.png');
   
    font-family: 'Arya', sans-serif;
    font-family: 'Amatic SC', cursive;
    font-size: 20px;
}

header {
    margin-bottom: 30px;
    text-align: center;
 }
main {
    max-width: 550px;
    margin: 0 auto;
    padding: 10px;
    line-height: 1.7;
    text-align: left;
}

h2 {
    font-family: 'Squada One', cursive;
    font-size: 80px;
   }
h1 {
    margin-bottom: 30px;
    padding: 10px;
    font-size: 30px;
}

a:link {
    color: #000;
}
a:visited {
    color: #000;
}

    

footer {
    margin-top: 20px;
    padding: 30px;
}
.contact {
    
    text-align: center;
}

.vcard {
    float: left;
    width: 33%;
}
.mail {
    float: left;
    width: 33%;
}
.phone {
    float: left;
    width: 33%;
}

video#bgvid { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(../img/fg.png);
    background-size: cover; 
}


@media all and (max-width:830px) {
    
    body {
        background: #fff url('../img/bg.png');
    }

    .wizytowka {
        max-width: 95%;
    }
    
    .vcard {
        display: none;
    }

    .mail {
        display: none;
    }
    
    .phone {
        display: none;
    }
    
    .dcontact {
        display: inline;
    }

    video {
        display: none;
    }
    
}

@media all and (max-width:560px) {
 
    .wizytowka {
        margin-top: 10px;
        padding: 1px;
        max-width: 95%;
        font-size: 25px;
        text-align: center;
}
h2 {
        font-family: 'Squada One', cursive;
        font-size: 80px;
   }
h1 {
    margin-bottom: 30px;
    padding: 10px;
    font-size: 30px;
}
}