body {
    margin:0px;
    overflow:hidden;
    font-family: 'Kalam', sans-serif;
    font-size:1em;
    background-color:black;
}

img {
    pointer-events: none;
}

a {
    color:white;
    text-decoration: none;
}

.social{
    bottom:0;
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social .bubble{
    text-align:center;
    padding-top: .5em;
    padding-bottom: .5em;
    z-index: 3;
}

.social a{
    padding: 0.25em;
    display:inline-block;
}
.social img{
    width:25px;
    vertical-align: middle;
}

.social a .twitter{
    background-color:rgb(64, 162, 228);
}

.social a .youtube{
    background-color:rgb(228, 64, 64);
}

.titleLogo{
    height:100%;
    animation: pulsateAnimation 10s ease 0s infinite normal both;
}
.titleLogoContainer {
    z-index: 2;
    position: absolute;
    width: 100%;
    height:20%;
    top: 10%;
    text-align:center;
}

@keyframes pulsateAnimation {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

.nnNekomewAndDoll{
    z-index:2;
    width: 100%;
    margin-top:10%;
}

.nnCornerMonster {
    position:absolute;
    max-width: 20%;
}

.nekomewsNightmares.gameSection{
    animation: backgroundAnimation 80s linear infinite;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-image: url(img/nn/background.png);
}
@keyframes backgroundAnimation {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100vw 0%;
  }
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    z-index: 1;
    -webkit-box-shadow: inset 0px 0px 100px 10px #000000; 
    box-shadow: inset 0px 0px 100px 10px #000000;
}

.nekomewsNightmares .overlay {
    background-color: rgb(231 35 255 / 13%);
}
.nekomewsPottyTrouble .overlay {
    background-color: rgb(255 136 0 / 10%);
}

.storeLinks{
    height: 28px;
    text-align: center;
    z-index: 2;
    position: absolute;
    bottom: 15%;
    
    display: flex;
    margin-left: 25%;
    width: 50%;
    justify-content: space-evenly;
    align-items: center;
}
.storeLinks a {
    height: 100%;
}
.storeLinks img {
    height: 100%;
}

.middleNekomew{
    /* Don't block click */
    pointer-events: none;
    bottom: -10px;
    width: 100%;
    height: 30%;
    position: absolute;
    text-align: center;
    z-index: 2;
}

.middleNekomew img {
    height: 100%;
}

.nekomewsPottyTrouble.gameSection{
    background-color:black;
    background-position: center;
    background-size: cover;
    background-position-x: 40%;
    background-image: url(img/npt/background.png);
}

.gameSection{
    display:block;
    position:relative;
    height:100%;
    float:left;
    display: flex;
    align-items: center;
    overflow: hidden;
    
}

.hideIfMobile{
    opacity:1;
    transition: opacity .5s;
}

.nekomewsNightmaresMonsters {
    position: absolute;
    margin-top: 10%;
}
.nekomewsPottyTroubleFlare {
    z-index: 2;
    width: 65%;
    position: absolute;
    animation: backgroundPulsateAnimationNPT 3s ease-in-out 0s infinite normal both;
}

.nekomewsNightmaresGlow {
    width:100%;
    position: absolute;
    margin-top:10%;
    
    animation: backgroundPulsateAnimation 10s ease-in-out 0s infinite normal both;
}

@keyframes backgroundPulsateAnimation {
	0% {
        transform:scale(1);
        opacity:1;
	}
	15% {
        transform:scale(1.5);
	}
	30% {
        transform:scale(1.3);
        opacity:0.5;
	}
	40% {
        transform:scale(1.5);
	}
	60% {
        transform:scale(1.2);
	}
	80% {
        transform:scale(1.5);
	}
	100% {
        transform:scale(1);
        opacity:1;
	}
}
@keyframes backgroundPulsateAnimationNPT {
	0% {
        transform:scale(1.3);
        opacity:0.5;
	}
	15% {
        transform:scale(1.5);
	}
	30% {
        transform:scale(1.3);
        opacity:0.2;
	}
	40% {
        transform:scale(1.5);
	}
	60% {
        transform:scale(1.4);
	}
	80% {
        transform:scale(1.5);
	}
	100% {
        transform:scale(1.3);
        opacity:0.5;
	}
}

/* Desktop */
@media only screen and (min-width: 800px) {
    .social {
        margin-top:1em;
    }
    .bubble{
        bottom:0;
        border-radius: 1em;
        padding-right:1em;
        padding-left:1em;
/*
        -webkit-box-shadow: inset 0px 0px 17px 1px #8f8f8f;
        box-shadow: inset 0px 0px 17px 1px #8f8f8f;
        background-color: rgb(46 0 72 / 57%);*/
    }
    .hideIfMobile{
      opacity:1;
    }
    .gameSection {
        width:50%;
    }
    .nekomewsNightmaresMonsters {
        right: 25%;
        max-width: 59vh;
    }
}
  
/* Mobile */
@media only screen and (max-width: 800px) {
    .social {
        height: 100%;
        justify-content: center;
    }
    .bubble{
        width: 100%;
        border-radius: 0em;
        display: flex;
        justify-content: space-evenly;
    }
    .hideIfMobile{
      opacity:0;
    }
    .gameSection{
        width:100%;
        height:50%;
    }
    .nekomewsNightmaresMonsters {
        right: 25%;
        bottom: 15%;
        max-width: 50%;
    }
}