* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.clear {
    clear: both;
}

.bottomBorderClass {
    border-bottom: 2px solid #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

html {
    background: #ccc url("../images/back2.jpg") no-repeat;
    background-size: cover;
}

body {
    /* background: rgb(255, 195, 173); */

    font-size: 1em;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;

}

section {
    padding: 1%;
    margin-top: 10px;
}

p {
    width: 50%;
    margin: auto auto;
    margin-bottom: 2px;
    padding: 5px 2px;
}

span {
    display: inline-block;
    padding-top: 2px;
    font-weight: bolder;
}

h2 {
    font-family: 'Patua One', cursive;
    font-size: 1.2em;
    letter-spacing: 1px;
    text-align: center;

}

/* ----------------Container Styling---------------- */
#container {
    width: 80%;
    /* border:1px solid #000; */
    background: rgba(21, 188, 230, 0.8);
    margin: auto auto;
    margin-top: 2%;
    padding: 1%;
}

/* ---------------Header styling-------------- */
header {
    width: 80%;
    margin: auto auto;
    text-align: center;
    /* background:rgba(33, 37, 64, 0.8); */
    height: 50px;
}

header h1 {
    font-size: 2.5em;
    font-family: 'Patua One', cursive;
    letter-spacing: 2px;
    color: #fff;
    font-weight: bolder;
    padding-top: 0.5%;
}

/* -------------Game Info Styling-------------------------- */
#gameInfo {
    width: 80%;
    margin: auto auto;
    margin-top: 15px;
    /* background: rgb(240, 42, 42); */
    color: #fff;
    font-size: 1.2em;
}

#gameInfo ul li {
    margin-top: 15px;
    padding: 5px 10px;
}

#gameInfo ul li:hover {
    color: rgb(27, 22, 48);
    cursor: pointer;
}

/* ----------------Number Section styling-------------------- */
#numberSection {
    width: 70%;
    overflow: auto;
    margin: auto auto;
    text-align: center;
    padding-left: 0;
    padding-right: 0;

}

.numberDisplay {
    height: 120px;

    border: 1px solid #000;
    box-shadow: inset -2px -2px 10px #000;
    color: #000;
    /* background: coral; */
}

#randomNumberDiv {
    width: 45%;
    float: left;

}

#resultDiv {
    float: right;
    width: 42%;

}

#resultDiv p:first-child {
    color: rgb(134, 4, 4);
    font-size: 1.2em;
    /* animation-name: example; */
    /* animation-duration: 4s; */
}

/* @keyframes example {
    from {background-color: red;}
    to {background-color: yellow;}
  } */


/* --------------totalScoreSection------------------------- */
#totalScoreSection {
    width: 30%;
    margin: auto auto;
    text-align: center;
}

/* ---------------------imgSection----------------------------- */
#imgSection {
    width: 80%;
    margin: auto auto;
    text-align: center;
}

#imgSection ul {
    width: 60%;
    margin: auto auto;
    padding:5px 0;
    border: 2px solid #000;
    box-shadow: inset -2px -2px 10px #000;
    border-radius: 5px;
}

#imgSection ul li {
    display: inline;
    /* border:1px solid #000; */
}

#imgSection img:hover {
    cursor: pointer;
    padding: 2px;
    border: 1px solid #000;
    background: #222;
    box-shadow: 1px 2px 5px #000;
    border-radius: 15px;
}


/* ----------------------------------------------------- */
@media only screen and (max-width:500px) {
    header h1 {
        font-size: 1.5em;
        padding-top: 3.5%;
    }

    .numberDisplay {
        height: 150px;
    }

    #resultDiv p:first-child {
        font-size: 0.8em;
    }
}