/*
 Copyright (C) 2017 Jan-Dirk van Dingenen
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

@import url('https://fonts.googleapis.com/css?family=Kavoon|Raleway'); 

html {
    color: #4e4a4a;
    background-color: #f0f0f0;
    font-family: 'Raleway', sans-serif;   
    
}

body {
    margin: 0;
    background-image: url(img/wyvern.png);
    background-position: center 10px;
    background-repeat: no-repeat;
}

header {
    background: rgba(247, 240, 240, 0.9);
    position: sticky;
    top: 0px;
    left: 0px;
    height: 75px;
    box-shadow: 0px 2px 15px rgba(0,0,0,0.3);
    text-align: center;
    line-height: 75px;
    font-size: 34px;
    z-index:5;
    background-image: url(img/wyvern.png);
    background-position: center 10px;
    background-repeat: no-repeat;
}

header span {    
    font-size: 150%;
}

header span {
    font-family: 'Kavoon', cursive;
    color: #3f1861;
    background: linear-gradient(to bottom, rgb(169, 110, 245) 0%,rgb(23, 15, 58) 100%); 
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;   
}

header #contact {
    position: absolute;
    right: 20px;
    top: 0px;
    font-size: 16px;
    color: #64419d;
    font-weight: bold;
    cursor: pointer;
}

header #contact:hover {
    text-decoration:underline;
}

#mail {
    border: solid 1px #a0a0a0;
    border-radius: 10px;
    box-shadow: 7px 7px 25px 5px rgba(0,0,0,0.5);
    box-shadow: 0 0 70px 6px #f0f0f0;
    background-color: #f0f0f0;
    padding: 20px 30px;
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    z-index: 102;
}

#mail #contactClose {
    cursor: pointer;
    position: absolute;
    top: -20px;
    right: -20px;
    padding: 10px 14px;
    border-radius: 50px;
    background-color: #e9e8e9;
    box-shadow: 1px -1px 1px #a0a0a0;
}

#mail #contactClose:hover {
    color:#64419d;
    background-color: #DED8D8;
}

#mail td.veldkop {
    color: #6b46a6;
}

#mail .invoer {
    color: #4e4a4a;
    padding: 5px;
    border-radius: 4px;
    border: solid 1px #afa7a7;
    outline-color: #392563;
    width: 100%;
}

#mail input.knop {
    cursor: pointer;
    border-radius: 25px;
    border: 1px solid rgba(0,0,0,0.4);
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.5), 0 0 1px 1px rgba(255,255,255,0.8), 0 0 0 6px rgba(0,0,0,0.06), 0 0 0 3px rgba(0,0,0,0.1);
    background: rgb(115, 75, 173);
    background: linear-gradient(to top, rgb(115, 75, 173) 0%,rgb(57, 37, 99) 100%);
    font-size: 12px;
    font-weight: 800;
    flex-wrap: nowrap;
    text-transform: uppercase;
    outline: none;
    padding: 5px 20px;
    float: right;
    margin-top: 20px;
    color: rgba(255,255,255,0.85);
}

#mail input.knop:hover {
    background: rgb(102,142,0);
    background: linear-gradient(to bottom, rgb(115, 75, 173) 0%,rgb(57, 37, 99) 100%);
}

header #sort {
    position: absolute;
    left: 15px;
    top: 15px;
    background: #fff;
    padding: 9px 7px 4px 7px;
    border-radius: 3px;
    z-index: 100;
}

header #sort>input {
    display: block;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 0px;
    left: 3px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

header #sort span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #4e4a4a;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: all 0.5s;
}

header #sort #menu {
    position: absolute;
    width: 300px;
    margin: -55px 0 0 -25px;
    padding-top: 35px;
    padding-left: 20px;
    background: #fdfdfd;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: all 0.5s;
    box-shadow: 0px 2px 15px rgba(0,0,0,0.3);
    border-radius: 0 0 10px 0;
    font-size: 16px;
    text-align: left;
    line-height: normal;
    padding-bottom: 10px;
}

header #sort>input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(13px, -2px);
}

header #sort>input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

header #sort>input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, 11px);
}

header #sort>input:checked ~ div#menu {
    transform: none;
}

footer {
    height: 400px;
    width: 100%;
    background-size: contain;
    background-position: top;
    background-color: rgb(247, 240, 240);
    box-shadow: 0px -2px 15px 0px rgb(255, 255, 0);
    border-radius: 25% 25% 0px 0px;
    margin-top: 250px;
    position: relative;
    display: flex;
    justify-content: center;
}

footer .footerTitle {
    color: #64419d;
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}
footer li {
    line-height: 200%;    
}

footer li a {
    color: rgb(78, 74, 74)
}


footer img.footerDeco{
    position: absolute;
    bottom: 20px;
    z-index: 2;
    right: 30px;
    filter: drop-shadow(1px 1px 3px #ff0);
    height: calc(400px + 20vh);
}

footer #footerContent {
    padding: 100px;
    height: 280px;
    overflow: hidden;
    overflow-wrap: normal;
    display: inline-block;
    margin-right: 400px;
    padding-bottom: 0px;
}

#starsUnderlay {
    background-color: #f0f0f0;
    background-image: url('/kinetic/img/bg.jpg');
    opacity:0;
    position:fixed;
    top:0px;
    z-index:-1;
    height:100vh;
    width:100%;
}

footer #spaceLane {
    width: 100%;
    position: absolute;
    bottom: 310px;
    overflow: hidden;
    height: 340px;
    z-index: -1;
}

#spaceLane .spaceship {
    background-image: url(img/spaceship1.png);
    width: 90px;
    height: 43px;
    background-repeat: no-repeat;
    right: 0px;
    position: absolute;
    top: 34px;
    transform: translate(100%,0);
    animation: engine 100ms infinite;
    transition: all 1s linear;
    background-size: cover;
}

#spaceLane .spaceship#spaceship2 {
    top: 143px;
    transform: translate(calc(100% + 60px),0);    
}

@keyframes engine {
    0% {background-image: url(img/spaceship1.png);}
    50% {background-image: url(img/spaceship2.png);}
    100% {background-image: url(img/spaceship1.png);}
}

#spaceLane #starbase {
    background-image: url(img/starbase.png);
    width: 300px;
    height: 247px;
    background-repeat: no-repeat;
    left: 170px;
    position: absolute;
    top: -150px;
    background-size: cover;
    transform: scale(0);    
}

#spaceLane #starbase.animateStarBase {
    transition: all 4s linear;
    top : 250px;
    left: 970px;
    transform: scale(1);
}

#menu #menuTitle {
    text-align: center;
    margin-top: 0;
}

#menu .sortOption {
    margin-top: 10px;
    margin-bottom: 10px;
}

.sortTitle {
    color: #6b46a6;
}

.sortSet {
    margin-left: 40px;
}

h3 {
    color: #64419d;
}

main {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    grid-column-gap: 0px;
    margin: 10px;
    margin-top: 20px;
    position: absolute;
    top: 100px;
    left: 0px;
    width: calc(100% - 20px);
}

main .introduction {
    padding: 10px;
    padding-top: 75px;
    color: #948e8e;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 1px;
    height: 310px;
    position:relative;
}

main .introduction #announcement {
    color: #000;
    position: absolute;
    top: 0;
    font-weight: 900;
    font-size: 18px;
    padding: 10px;
    left: -10%;
    background-color: #ed0000;
    border-radius: 4px;
    box-shadow: 0 0 10px #000;
    border: solid 1px #000;
    width: 110%;
    display:none;
}

main .introduction #announcement a {
    color: #fff;
}

main .decoLeft {
    background-repeat: no-repeat;
    background-position: 50% bottom;
    background-size: contain;
}

main .decoRight {
    background-repeat: no-repeat;
    background-position: 50% bottom;
    background-size: contain;
}

main .decoRight.img0 {
    background-image: url(img/king.png);
}

main .decoRight.img1 {
    background-image: url(img/alien.png);
}

main .decoRight.img2 {
    background-image: url(img/queen.png);
}

main .decoRight.img3 {
    background-image: url(img/rascal.png);
}

main .decoRight.img4 {
    background-image: url(img/emeraldcat.png);
}

main .decoLeft.img0 {
    background-image: url(img/warrior.png);
}

main .decoLeft.img1 {
    background-image: url(img/madscientist.png);
}

main .decoLeft.img2 {
    background-image: url(img/cyborg.png);
}

main .decoLeft.img3 {
    background-image: url(img/djinn.png);
}

main .decoLeft.img4 {
    background-image: url(img/angryvillager.png);
}

div#overlay {
    display:none;
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
    background: rgba(10,0,10,0.4);
    height: 100vh;
    z-index: 101;
}

nav {
    background-color: rgba(247, 240, 240, 0.95);
    width: 76vw;
    box-shadow: 0 2px 15px 0 rgba(0,0,0,.2);
    border-radius: 32px;
    min-height: calc(100vw - 100px);
    margin-left: 11vw;
    margin-top: 30px;
    padding-top: 450px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: calc(20vw + 60px + 2vw);
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.oldLink {
    position: absolute;
    bottom: 40px;
    left: 200px;
    z-index: 2;
    color: #64419d; 
}

.oldLink a {
    color: rgb(78, 74, 74);       
}

#footerContent a:hover {
    text-decoration:none;
    font-weight: bold;
}

section {
    width: 34vw;
    margin:2vw;
    padding-bottom: 60px;
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.3);
    position: relative;
    overflow: hidden;
    background: #fff;
    height: 20vw;
}

section .back {
    background-repeat: no-repeat;
    background-size: cover;
    width: 34vw;
    height:20vw;    
}

section a {
    text-decoration: none;
    color:#4e4a4a;
}

section .description a:hover {
    text-decoration: underline;
}

section .gameTitle {
    width: 100%;
    position: absolute;
    top: 100%;
    z-index: 2;
    background: #fff;
    color: #64419d;
    transition: all 0.25s ease-out;
    transform: translate(0 , -60px);
}

section .gameTitle h4 {
    margin: 0;
    line-height: 60px;
    padding-left: 2vw;
    font-size: 18px;
}

section .gameTitle a h4 {
    color: #64419d;
}

section .gameTitle .description {
    color: rgba(78, 74, 74, 0);
    background: #fff;
    font-size: 13px;
    line-height: 20px;
    padding-right: 2vw;
    transition-delay: 0.25s;
    transition: all 1s;
    padding-left: 2vw;
    padding-bottom:1vw;
}

section .gameTitle .protagonist {
    position: absolute;
    right: 0px;
    top: 0px;
    height: auto;
    transform: translate(-10%,-8vw);
}

section .gameTitle .protagonist img {
    object-fit: contain;
    height: 10vw;
}

section:hover .gameTitle {
    transform: translate(0 , calc(-100% - 1vw));
}

section:hover .gameTitle .description {
    color: rgba(78, 74, 74, 1);
}

section:hover .back {
    filter: blur(3px);
}
section:hover .gameTitle .protagonist img {
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.5));
}

section.ioc .back {
    background-image: url(img/ioc.jpg);
}

section.stacked .back {
    background-image: url(img/stacked.jpg);
}

section.platform2 .back { 
    background-image: url(img/platform2.jpg);
}

section.platform2 .gameTitle .protagonist {
    top: 25px;
}

section.platform2:hover .gameTitle .protagonist img {
    filter:unset;
}

section.critterherders .back {
    background-image: url(img/critterherders.jpg);
}

section.thebook .back {
    background-image: url(img/book.jpg);
}

section.demonsbane .back {
    background-image: url(img/demonsbane.jpg);
}

section.aog .back {
    background-image: url(img/aog.jpg);
}

section.clonelab .back {
    background-image: url(img/clonelab.jpg);
}

section.mall .back {
    background-image: url(img/mymall.jpg);
}

section.loop .back {
    background-image: url(img/loop.jpg);
}

section.werewolf .back {
    background-image: url(img/nightwerewolf.jpg);
}

section.puzzlefactory .back {
    background-image: url(img/puzzlefactory.jpg);
}

section.rollwrite .back {
    background-image: url(img/rollwrite.jpg);
}

section.aoc .back {
    background-image: url(img/aoc.jpg);
}

section.eila .back {
    background-image: url(img/eila.jpg);
}

section.simplyCity .back {
    background-image: url(img/simplyCity.jpg);
}

section.traffinc .back {
    background-image: url(img/traffinc.jpg);
}

section.crypteriordesigner .back {
    background-image: url(img/crypteriorDesigner.jpg);
}

section.notredame .back {
    background-image: url(img/notredameHome.jpg);
}
    
section.tribal5 .back {
    background-image: url(img/five.jpg);
}

section.bullshit .back {
    background-image: url(img/bullshit.jpg);
}

section.rojo .back {
    background-image: url(img/rojo.jpg);
}

section.dreamdice .back {
    background-image: url(img/dreamdice.jpg);
}

section.bananas .back {
    background-image: url(img/bananas.jpg);
}

section.doomsday .back {
    background-image: url(img/DNN.jpg);
}

section.aztecards .back {
    background-image: url(img/aztecards.jpg);
}

section.monsterlab .back {
    background-image: url(img/monsterlab.jpg);
}

section.chemists .back { 
    background-image: url(img/chemists.jpg);
}

section.puzzler .back { 
    background-image: url(img/puzzler.jpg);
}

.puzzler .protagonist img {
    box-shadow: 3px 3px 7px rgba(0,0,0,0.5);
}

section.travellers .back { 
    background-image: url(img/travellers.jpg);
}

section.platform .back { 
    background-image: url(img/platform.jpg);
}

section.platform .gameTitle .protagonist {
    top: 25px;
}

section.platform:hover .gameTitle .protagonist img {
    filter:unset;
}

section.hellracer .back { 
    background-image: url(img/hellracers.jpg);
}

section.hellracer .gameTitle .protagonist {
    right: 25px;
}

section.outbreak .back { 
    background-image: url(img/outbreak.jpg);
}

section.octa .back { 
    background-image: url(img/octa.jpg);
}

section.dreadlord .back { 
    background-image: url(img/dreadlord.jpg);
}

section.acquire .back { 
    background-image: url(img/acquire.jpg);
}

section.spellcrafters .back { 
    background-image: url(img/spellcrafters.jpg);
}

section.pizzaracer .back { 
    background-image: url(img/pizzaracer.jpg);
}

section.heist .back { 
    background-image: url(img/heist.jpg);
}

section.iaz .back { 
    background-image: url(img/iaz.jpg);
}

section.dizzydigger .back { 
    background-image: url(img/dizzydigger.jpg);
}

section.worldbreaker .back { 
    background-image: url(img/worldbreaker.jpg);
}

section.planetdice .back { 
    background-image: url(img/planetdice.jpg);
}

section.conquest .back { 
    background-image: url(img/conquest.jpg);
}

section.starhauler .back { 
    background-image: url(img/starhauler.jpg);
}

section.starhauler .gameTitle .protagonist img {
    height: 9vw;
}

section.starhauler .gameTitle .protagonist {
    transform: translate(-10%,-6vw);
}


section.aoc .gameTitle .protagonist img {
    height: 15vw;
    position: relative;
    top: -4vw;
    left: 4vw;
}

section.aog .gameTitle .protagonist img {
    height: 15vw;
    position: relative;
    top: -4vw;
}

section.eila .gameTitle .protagonist img {
    height: 15vw;
    position: relative;
    top: -4vw;
}

section.puzzlefactory .gameTitle .protagonist img {
    position: relative;
    top: 4vh;
}

section.aog:hover .gameTitle .protagonist img {
    filter: drop-shadow(1vw 4vw 1vw rgba(0,0,0,0.4));
}

section.beta:after {
    content: "BETA";
    position: absolute;
    top: 20px;
    left: 10px;
    color: #d00;
    font-weight: 900;
    font-size: 50px;
    font-family: 'Kavoon', cursive;
    transform: rotate(-24deg);
    filter: drop-shadow(0px 0px 1px #a00);
    background: linear-gradient(to bottom, rgb(175, 31, 0) 0%,rgb(249, 144, 73) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}