html {
    margin: 0px;
    height: 100%;
    width: 100%;

    overflow: hidden;

    user-select: none;
}

body {
    margin: 0px;
    min-height: 100%;
    width: 100%;

    overflow: hidden;

    background-color: #24273f;
    
    display: flex;
    flex-direction: column;
}

body::-webkit-scrollbar {
    width: 0;
}

#count {
    color: aliceblue;

    font-size: 30px;
    font-family: 'Courier New', Courier, monospace;

    
    justify-self: start;
    align-self: center;
}


#backface, #frontface {
    position: absolute;
    bottom: 0;
    /* left: 39%; */
    
    justify-self: end;
    align-self: center;
}

#sword {
    width: 120px;
    height: 350px;
    
    position: absolute;
    bottom: 40px;
    
    cursor: pointer;
    
    transform-origin: bottom center;
    
    justify-self: start;
    align-self: center;
    
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}


footer {
    position: absolute;
    bottom: 0px;
    width: 150%;
    height: 120px;
    left: -60px;
    
    background-image: url('./img/bricks.png');
    background-repeat: repeat;
    background-size: 70px 70px;

    transform: skewX(-40deg);
    transform: skewY(30px);
    
    z-index: -1;
    
    margin-top: 6px;
    
    mix-blend-mode: normal;
}


.mainContainer {
    display: flex;
    flex-direction: column;
    
    align-items: center;
    justify-content: center;
    
    position: absolute;
    top: -60px;
    left: 0px;
    
    width: 100%;
    height: 110%;
    
    overflow: hidden;
    
    backdrop-filter: blur(10px);
    
    z-index: 2;
    
    cursor: pointer;
}

.MainTextContainer {
    display: flex;
    flex-direction: row;
    
    align-items: center;
    justify-content: center;
    
    top: 0px;
    left: 0px;
    
    overflow: hidden;
    
    z-index: 2;
}

.mainText {
    font-size: 4em;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    color: aliceblue;
}

.first {
    margin-right: 60px;
}

.second {
    transform: rotate(-45deg);
    color: red;
}

.third {
    transform: rotate(-45deg);
    color: aliceblue;
}

.mainInfo {
    
    align-self: center;
    justify-self: center;
    
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    font-size: 2em;
    color: aliceblue;
}


#infoBox {
    display: none;

    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    font-size: 2em;
    color: aliceblue;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 50%;
    left: 50%;
    
    width: 100%;
    height: 110%;
    
    z-index: 3;
    
    backdrop-filter: blur(3px);
    
    cursor: pointer;

    transform: translate(-50%, -50%);
}

/* ANIMATIONS */

@keyframes swordPullOut {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-150px);
    }
}

@keyframes swordPullIn {
    0% {
        transform: translateY(-150px);
    }
    100% {
        transform: translateY(0px);
    }
}



/* MEDIA QUERY */

@media (max-height: 440px) {
    #count {
        align-self: start;
        margin-left: 10px;
    }
}

@media (max-width: 900px) {
    .mainText {
        font-size: 2em;
    }

    .first {
        margin-right: 20px;
    }

    .mainInfo {
        font-size: 1em;
    }
}
