/* removing initial margin and making height 100% */
html, body  {
    margin: 0;
    height: 100%;
    touch-action: manipulation;
}

/* page Styles */

#header {
    padding: 1% 2%;
}

#header > a {
    text-decoration: none;
}

#K  {
    font-size: 250%;
    font-weight: 600;
    color: #c40000;
    font-family: 'Luckiest Guy', cursive;
}

#ODE  {
    font-size: 150%;
    font-weight: 300;
    color: #ffae00;
    font-family: 'Luckiest Guy', cursive;
}

#banner {
    height: 60%;
    background-image: url("./assects/banner.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#bannerText {
    position: absolute;
    background: rgba(255, 255, 255, 0.596);
    width: 25%;
    left: 10%;
    bottom: 10%;
    padding: 2%;
    border-radius: 3%;
    text-align: center;
    font-size: 180%;
    font-weight: 600;
    box-shadow: 5px 5px #888888b6;
    font-family: 'Solway', serif;
}

#bannerText > i:nth-of-type(1) {
    color: #ed0020;
}

#bannerText > i:nth-of-type(2) {
    color: rgb(88, 50, 50);
}

#bannerText > a > i {
    padding: 0 5px;
    font-size: 300%;
    margin-top: 20px;
    background-image: linear-gradient(to right, #000428, #0568be);
    color:transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.smallText  {
    font-size: 70% !important;
    font-weight: 100;
    color: rgb(66, 66, 66);
    font-family: 'Patrick Hand', cursive;
}

/* styles for game body */
#gameBaner{
    text-align: center;
    background: cornflowerblue;
    color: white;
    padding: 20px;
    font-family: 'Delius Unicase', cursive;
}

.gameBody   {
    margin: 2% 15%;
    position: relative;
    height: 40%;
    border-bottom: 3px solid;
    outline: none !important;
    overflow: hidden;
}

#gameMario {
    position: absolute;
    bottom: 1px;
    left: 0;
}

#cover  {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 40%;
    z-index: 10;
}

.cartain    {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.678);
    z-index: 5;
    position: absolute;
}

#gameStart  {
    padding: 2% 3%;
    background: rgba(0, 0, 146, 0.589);
    color: white;
    border-radius: 10px;
    cursor: pointer;
}

.marioPipe  {
    position: absolute;
    width: 40px;
    bottom: 0;
    right: 5%;
}

#gameScore  {
    position: absolute;
    right: 0;
    padding: .5% 3%;
    background: rgb(0, 10, 68);
    color: white;
    border-radius: 10px;
}

.clouds {
    position: absolute;
    top: 20%;
    width: 150px;
    right: 30%;
}

#oneCloud {
    width: 80px;
    top: 45%;
    right: 60%;
}

.birds  {
    position: absolute;
    width: 50px;
    top: 35%;
    right: -20%;
}

#birdTwo    {
    top: 55%;
}


/* styles for body Options */
#bodyOptions    {
    padding: 5% 10%;
}

.bodyOptionsBody    {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bodyOptionsBody > a > img  {
    width: 100%;
}

/* style for footer */
#footer {
    padding: 2% 5%;
    background: rgb(4, 1, 19);
}

.footerCol  {
    text-align: center;
    display: inline-block;
    width: 18.6%;
    vertical-align: top;
    margin: 0 3% 2% 3%;
}

.footerCol > a  {
    text-decoration:  none;
}

.footerText {
    color: white;
    font-family: 'Patrick Hand', cursive;
    margin-top: 10px;
}

.footerHeader   {
    margin: 10px 0;
    color: white;
    font-size: 150% !important;
    font-family: 'Acme', sans-serif;
    transition: 300ms;
}

.pHeader:hover {
    color: #c20000;
}

.footerSubText  {
    margin-bottom: 2px;
    font-family: 'Patrick Hand', cursive;
    transition: 300ms;
}

.footerSubText > a  {
    text-decoration: none;
    color: white;
    transition: 400ms;
}

.footerCol2 > a:hover   {
    color: #0fd600  ;
}

.eHeader:hover    {
    color: #0009ba;
}

.footerCol3 > a:hover   {
    color: #00dde0;
}

.cHeader:hover  {
    color: #ff00ea;
}

.footerCol4 > a:hover {
    color: #f2ff00;
}

#makerFooter    {
    font-family: 'Delius Unicase', cursive;
    text-align: center;
    padding: 1% 5%;
    background: #000127;
    color: #9c9c9c;
    font-size: 80%;
}

#makerFooter > i:nth-of-type(1) {
    color: #ed0020;
}

#makerFooter > i:nth-of-type(2) {
    color: rgb(88, 50, 50);
}


/* for medium devices */
@media only screen and (max-width: 1100px) {
    #bannerText {
        width: 35%;
    }

    #bannerText > a > i     {
        margin-top: 0;
    }

    .bodyOptionsBody > a > img  {
        width: 50%;
    }

    .footerCol {
        width: 43.6%;
    }
}

/* for mobile screen landscape mode */
@media only screen and (max-width : 800px)  and (orientation : landscape) {
    .gameBody {
        margin: 2% 1%;
        height: 60%;
    }
}

/* for mobile screen */
@media only screen and (max-width: 800px) {
    #header {
        padding-top: 2%;
    }

    #K  {
        font-size: 180%;
    }
    
    #ODE  {
        font-size: 130%;
    }

    #banner {
        height: 70%;
    }

    #bannerText {
        width: 70%;
        left: 15%;
        font-size: 1.5rem;
    }

    .bodyOptionsCol {
        margin-bottom: 5%;
    }

    .bodyOptionsBody > a > img  {
        width: 30%;
    }

    .gameBody {
        margin: 2% 1%;
        height: 30%;
    }

    #gameMario  {
        height: 40px;
    }

    .marioPipe  {
        height: 35px;
    }

    .clouds {
        width: 80px;
    }

    #oneCloud   {
        width: 60px;
    }

    .birds  {
        width: 30px;
    }

    .footerCol {
        width: 94%;
    }
}


/* for very small devices */
@media only screen and (max-width: 400px){
    #bannerText {
        font-size: 140%;
    }
}