body{
    display: flex;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
    background-image: linear-gradient(to bottom right,red,blue);
    padding: 10px;
    color: white;
    font-family: cursive;
    font-size: 20px;
}
#container{
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px;
    border-radius: 10px;
    text-align: center;
    width: 1000px;
    max-height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
}
#container::-webkit-scrollbar{
    background-color: black;
    width: 5px;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb{
   background-color: white;
   border-radius: 5px;
}
p.font-effect-neon{
    font-family: "Audiowide";
    font-size: 30px;
    margin: 0px;
    text-align: center;
    animation: logo;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes logo {
    10%{
        transition: all ease 2s;
        transform: scale(1.15) ;
    }
    30%{
        transform: translateX(-80px);
    }
    60%{
        transform: translateX(60px);
    }
    100%{
        letter-spacing: 20px;
    }
}
.rows,.cols{
    margin: 2px;
}
.rows p{
    margin: 0;
}
.numofrows{
    position: relative;
    width: 50px;
    height: 25px;
    border-radius: 40px;
    border:  2px solid rgba(255, 255, 255, 0.2);
    transition: 0.5s;
    background-color: black;
    margin: 5px auto;

}
.numofrows:hover{
    width: 75px;
    border:  2px solid rgba(255, 255, 255, 0.2);
}
.numofrows .next{
    position: absolute;
    top: 50%;
    right: 30px;
    display: block;
    width: 12px;
    height: 12px;
    border: solid white;
    border-top: 2px;
    border-left: 2px;
    cursor: pointer;
    right: 10px;
    opacity: 0;
    transform: translateY(-50%) rotate(315deg);
    transition: 0.5s;
}
.numofrows:hover .next{
    opacity: 1;
}
.numofrows .prev{
    position: absolute;
    top: 50%;
    right: 30px;
    display: block;
    width: 12px;
    height: 12px;
    border: solid white;
    border-top: 2px;
    border-left: 2px;
    left: 10px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%) rotate(135deg);
    transition: 0.5s;
}
.numofrows:hover .prev{
    opacity: 1;
}
#box {
    color: white;
    position: absolute;
    font-family: cursive;
    font-size: 20px;
    text-align: center;
    right: 20px;
    top: 0px;
    transition: 0.5s;
    user-select: none;
}
#boxcols{
    color: white;
    position: absolute;
    font-family: cursive;
    font-size: 20px;
    text-align: center;
    right: 20px;
    top: 0px;
    transition: 0.5s;
    user-select: none;
}
.numofrows:hover #box {
    transform: translateX(-12px);
}
.numofrows:hover #boxcols {
    transform: translateX(-12px);
}
.submitorder {
    background-color: white;
    border: 0;
    width: 200px;
    font-family: cursive;
    background-color: black;
    color: white;
    border-radius: 10px;
    margin: 5px;
    cursor: pointer;
}
.submitorder:hover{
    background-color: white;
    color: black;
}
p{
    margin: 0px;
}
#matricbtns {
    background-color: white;
    border: 0;
    width: fit-content;
    font-family: cursive;
    background-color: black;
    color: white;
    border-radius: 10px;
    margin: 2.5px;
    padding: 2.5px;
    text-decoration: none;
}
#matricbtns:hover{
    background-color: white;
    color: black;
}
#backbtn {
    background-color: white;
    border: 0;
    width: fit-content;
    font-family: cursive;
    background-color: black;
    color: white;
    border-radius: 10px;
    margin: 2.5px;
    padding: 2.5px;
    text-decoration: none;
}
#backbtn:hover{
    background-color: white;
    color: black;
}
.operations button{
    background-color: white;
    border: 0;
    width: 100px;
    font-family: cursive;
    background-color: black;
    color: white;
    border-radius: 10px;
    margin: 5px;
}
.operations button:hover{
    background-color: white;
    color: black;
}
#footerbtn{
    background-color: black;
    color: white;
    border: 0;
    text-decoration: none;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 5px;
    font-family: cursive;
    transition: all ease 0.5s;
}
#footerbtn:hover{
    background-color: white;
    color: black;
    transform: scale(1.15);
}
/*Matrix styliing*/
#matrixa{
    border: 2px solid;
    border-radius: 5px;
    padding: 5px;
}
#matrixb{
    border: 2px solid;
    border-radius:5px ;
    padding: 5px;
}
.onetoone{
    display: none;
}
.live1{
    display: grid;
}
#onetoone{
    border-radius: 5px;
    border: 4px solid white;
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
.onetotwo{
    display: none;
}
.live2{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#onetotwo{
    border-radius: 5px;
    border: 4px solid white;
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
.onetothree{
    display: none;
}
.live3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
#onetothree{
    border-radius: 5px;
    border: 4px solid white;
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
.twotoone{
    display: none;
}
.live21{
    display: grid;
    grid-template-rows: 1fr 1fr;
}
#twotoone{
    border-radius: 5px;
    border: 4px solid white;
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
.twototwo{
    display: none;
}
.live22{
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}
#twototwo{
    border-radius: 5px;
    border: 4px solid white;
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
.twotothree{
    display: none;
}
.live23{
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}
#twotothree{
    border-radius: 5px;
    border: 4px solid rgb(255, 255, 255);
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
.threetoone{
    display: none;
}
.live31{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}
#threetoone{
    border-radius: 5px;
    border: 4px solid ;
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
.threetotwo{
    display: none;
}
.live32{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr ;
}
#threetotwo{
    border-radius: 5px;
    border: 4px solid ;
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
.threetothree{
    display: none;
}
.live33{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}
#threetothree{
    border-radius: 5px;
    border: 4px solid ;
    border-bottom: 0;
    border-top: 0;
    width: fit-content;
}
#num{
    background-color: rgb(66, 66, 66);
    border: 0;
    color: white;
    font-size: 18px;
    margin: 5px;
    width: fit-content;
} 


