body{
	font-family: 'Arial';
	font-size: 18px;
	background-image: url(poker_background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    margin: 0px auto;
}
header{
    background: linear-gradient(to bottom, #000, #fff);
    margin: 0px auto;
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    position: relative;
    z-index: 10;

}
h1{
    margin: 0px;
    text-align: center;
    font-size: 70px;
    padding: 30px 0px;;
    font-style: italic;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 5px -1px 0 #000, -1px 1px 0 #000, 5px 5px 0 #000;
}
.fyraass{
    width: 200px;
    height: 100px;
    margin: -30px 30px;
}

div.content{
    width: 90%;
    margin: 0px auto;
    box-sizing: border-box;
}

.spade{
    width: 22px;
    height: 50px;
    background-image: url(FyraAss/FyraAss.svg);
    background-size: cover;
    background-position: -6.5px;
    margin: 0px 0px -35px -40px;
}
.spade2{
    width: 22px;
    height: 50px;
    background-image: url(FyraAss/FyraAss.svg);
    background-size: cover;
    background-position: -6.5px;
    margin: 20px 0px -20px 20px;
}
.heart{
    width: 22px;
    height: 50px;
    background-image: url(FyraAss/FyraAss.svg);
    background-size: cover;
    background-position: 28px;
    margin: 0px 0px -35px -40px;
}
.heart2{
    width: 22px;
    height: 50px;
    background-image: url(FyraAss/FyraAss.svg);
    background-size: cover;
    background-position: 28px;
    margin: 20px 0px -20px 20px;
}
.clover{
    width: 22px;
    height: 50px;
    background-image: url(FyraAss/FyraAss.svg);
    background-size: cover;
    background-position: -28.5px;
    margin: 0px 0px -35px -40px;
}
.clover2{
    width: 22px;
    height: 50px;
    background-image: url(FyraAss/FyraAss.svg);
    background-size: cover;
    background-position: -28.5px;
    margin: 20px 0px -20px 20px;
}
.diamond{
    width: 22px;
    height: 50px;
    background-image: url(FyraAss/FyraAss.svg);
    background-size: cover;
    background-position: 50px;
    margin: 0px 0px -35px -40px;
}
.diamond2{
    width: 22px;
    height: 50px;
    background-image: url(FyraAss/FyraAss.svg);
    background-size: cover;
    background-position: 50px;
    margin: 20px 0px -20px 20px;
}

nav{    
    background-color: rgba(255, 255, 255, 0.5);
    transition: margin-top 0.8s;
    position: relative;
    margin-top: -278px;
    z-index: 5;
}
nav a{
    text-decoration: none;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    padding: 10px 0px 10px 20%;
    display: block;
    border-bottom: 1px solid #fff;
    margin: 0px 0px 10px
}
nav a:hover{
    background-color: rgba(255, 255, 255, 0.6);
}
.active{
     background-color: rgba(255, 255, 255, 0.6);
}
#active{
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
    padding: 20px;
    cursor: pointer;
    margin: 0px auto;
    text-align: center;
}

nav.open{
    margin-top: 0;
}

main .content{
    margin: 50px auto;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
}

h2{
    margin: -40px 60px 20px;
}

p.info{
    margin: 20px 20px 40px;
    text-align: justify;
}
.lank{
    color: #000;
    margin: -40px 20px 30px;;
    text-decoration: none;
}
.lank:hover{
    text-decoration: underline;
}

ul{
    margin: 20px 0px 20px 40px;
}
li{
    margin: 0px 10px 15px;
}
footer .content{
    margin: 50px auto;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
}
footer p{
    margin: 5px 20px;
    font-size: 15px;
}

img {
    width: 50%;
    margin: 20px 25%;
    border-radius: 10%;
}
.meny{
    width: 30px;
    margin: -5px 20px
}

.spaderA{
    width: 50px;
    margin: -17px 40px;
    position: relative;
    transform: rotateZ(-45deg);
}
.hjarterA{
    width: 50px;
    margin: 0px -50px;
    position: relative;
    transform: rotateZ(-15deg);
}
.kloverA{
    width: 50px;
    margin: 0px 40px;
    position: relative;
    transform: rotateZ(15deg);
}
.ruterA{
    width: 50px;
    margin: -17px -50px;
    position: relative;
    transform: rotateZ(45deg);
}

@media screen and (min-width: 1000px){
    div.content{
        width: 50%
    }
}

.coin{
    width: 200px;
    height: 200px;
    margin: 50px auto 100px;
    transform-style: preserve-3d;
    cursor: pointer;

}
.cText{
    text-align: center;
    margin: 40% 0px;
    font-size: 30px;
    color: #fff;
    text-transform: uppercase;
}

.coin div{
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    border-radius: 50%;
    backface-visibility: hidden;
    position: absolute;
}

.coin .heads{
    background: #f00;
}
.coin .tails{
    background: #000;
    transform: rotateY(-180deg);
}

.animate-heads{
    animation: flipHeads 3s;
    animation-fill-mode: forwards;
}
.animate-tails{
    animation: flipTails 3s;
    animation-fill-mode: forwards;
}
.animate-heads2{
    animation: flipHeads2 3s;
    animation-fill-mode: forwards;
}
.animate-tails2{
    animation: flipTails2 3s;
    animation-fill-mode: forwards;
}

@keyframes flipHeads{
    from{
        transform: rotateY(0deg);
    }to{
        transform: rotateY(1800deg);
    }
}
@keyframes flipHeads2{
    from{
        transform: rotateY(0deg);
    }to{
        transform: rotateY(2160deg);
    }
}
@keyframes flipTails{
    from{
        transform: rotateY(180deg);
    }to{
        transform: rotateY(1980deg);
    }
}
@keyframes flipTails2{
    from{
        transform: rotateY(180deg);
    }to{
        transform: rotateY(2340deg);
    }
}



