

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Mukta;
    text-align: center;
    
    
}

h1{
 font-size: 50px;
 color: #f3efa1;
 margin-top: 20px;
 margin-left: 40px;
}

h2{
  font-size: 30px;
  color: #f3efa1;
  margin-left: -500px;
  margin-top: 10px;
}

#intro {
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100vh;
    background-image: url(./img/svg/introBa.svg);
    margin-top: -20px;
}

.board {
    display: flex;
    justify-content: center;
    flex-flow: row nowrap;
    visibility: hidden;
}

.displayAnswer {
    margin-top: 5%;
    padding: 0px 30px;
}

.lines {
    margin-top: 40px;
    margin-left: 8px;
    width: 50px;
    height: 50px;
    position: absolute;
}

.letters {
    margin-top: 10%;
    width: 50px;
    height: 50px;
    padding-top: 10px;
    margin-bottom: -70px;
    margin-left: 15%;
}

.keyPad {
    display: grid;
    grid-gap: 5%;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    margin-top: 10%;
    margin-left: 25%;
    padding-bottom: 20px;
    width: 50%;
}

.keys {
    width: 80px;
    height: 80px;
    padding: 5px;
    cursor: pointer;
    visibility: hidden;
}

#btn {
    cursor: pointer;
    width: 120px;
    height: auto;
    margin-left: 65%;
    margin-top: -150px;
}

.btnStyle {
    cursor: pointer;
    padding: 0 50px 0 0;
    width: 200px;
    height: auto;
    margin-left: 54%;
    margin-top: -145px;
}

.category {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    width: 100%;
    margin-top: -15%;

}

.catStyle {
    cursor: pointer;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    position: relative;
    top: -280px;
    left: 50px;
}

.catStyle img {
    width: 50%;
    height: auto;
    padding: 0 100px 0 0;
}

body {
    background-image: url(./img/svg/background.svg);
    background-size: cover;
}

/* Mobile Screen */




@media only screen and (max-width: 820px) {
    body {
        background-image: url(./img/svg/backtablet.svg);
        background-size: cover;
        
    }
   
    h1{
        font-size: 60px;
        color: #f3efa1;
        margin-top: 100px;
       }

       #intro {
        position: fixed;
        z-index: 1;
        width: 100%;
        height: 100vh;
        background-image: url(./img/svg/introTab.svg);
        margin-top: -100px;
        
    }

       .keyPad {
        display: grid;
        grid-gap: 2%;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        margin-top: 40%;
        margin-left: 18%;
        padding-bottom: 20px;
        width: 70%;
    }

    #btn {
        cursor: pointer;
        width: 80px;
        height: auto;
        margin-left: 80%;
        
    }

    .btnStyle {
        cursor: pointer;
        padding: 0 50px 0 0;
        width: 180px;
        height: auto;
        margin-left: 60%;
        margin-top: -100px;
    }

     .lines {
        margin-top: 130px;
        margin-left: 20px;
        width: 50px;
        height: 50px;
        position: absolute;
    }

    .letters {
        width: 60px;
        height: 60px;
        padding-top: 10px;
        margin-left: 20%;
        margin-bottom: -150px;
        
    }

   

}


@media only screen and (max-width: 414px) {

    body {
        background-image: url(./img/svg/backgroundMobile.svg);
        background-size: cover;
        
    }

    body img {
        width: 100%;
        height: auto;
    }

    #intro {
        position: fixed;
        z-index: 1;
        width: 100%;
        height: auto;
        background-image: url(./img/svg/introMobile.svg);
        margin-top: -100px;
    }

    h1{
        font-size: 30px;
        color: #f3efa1;
        margin-left: -2%;
       }
       
       h2{
         font-size: 20px;
         color: #f3efa1;
         margin-left: -3%;
       }

       .keyPad {
        display: grid;
        grid-gap: 2%;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        margin-top: 30%;
        margin-left: 15%;
        padding-bottom: 20px;
        width: 70%;
    }

    .keys {
        width: 45px;
        height: 45px;
        padding: 5px;
        cursor: pointer;
        visibility: hidden;
    }

    .lines {
        margin-top: 38%;
        margin-left: 2%;
        width: 20px;
        height: 20px;
        position: absolute;
    }

    .letters {
        width: 35px;
        height: 35px;
       margin-left: -1%;
       margin-top: -30%;
       
        
    }

    .displayAnswer {
        margin-top: 15%;
        padding: 0px 5px;
    }

    #btn {
        cursor: pointer;
        width: 80px;
        height: auto;
        margin-left: 70%;
        margin-top: -10%;
    }
    
    .btnStyle {
        cursor: pointer;
        width: 160px;
        height: auto;
        margin-left: 40%;
        
    }

    .catStyle {
        cursor: pointer;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        position: relative;
        top: -280px;
        left: 70px;
    }

    .catStyle img {
        width: 50%;
        height: auto;
       margin-left: -12%;
    }
	
}


