/* rgb(190, 216, 186) */

.container {
    background-color: rgb(190, 216, 186);
    height: 80vh; /*Use 100% of the viewport height*/
    max-width: 75%; /*Adjust the maximum width as needed*/
    border: 2px solid white;
    border-radius: 100px;
    padding: 3%;
}

body {
    background-color:black;
    height: 100vh; /* Set body height to 100% of viewport height */
    margin: 0; /* Remove default margin */
    display: flex;
    justify-content: center; /* Center child horizontally */
    align-items: center; /* Center child vertically */
  }

.container table{
    text-align: center;
}

td input[type="number"]{
    text-align: center;
}

input[type="number"] {
    display: inline-flex;
    text-align: center;
    width: 65%; /* Full width by default */
    /* max-width: 300px; */
    padding: 1%; 
    border: 1px solid #ccc; /* Border style */
    border-radius: 55px; /* Border radius */ 
    margin-top: 10px;
    margin-bottom:10px ;
  }


.btn{
    margin: 10px;
}

#resHeading, #resAppending{
    padding: 1%;
}


input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    /* Firefox */
    input[type=number] {
      -moz-appearance: textfield;
    }


/* Change Button color on hovering */
.btn:hover {
    color: #02568a;
    border-radius: 20px;
    background-color: rgb(153, 238, 190);
    border: 2px solid black;
  }
label{
    margin-bottom: 0%;
}

.btn {
    /* width: 150px; */
    text-transform: uppercase;
    /* padding: 9px 20px; */
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid black;
    /* height: 40px; */
    color: black;
    font-size: medium;
    background-color: rgb(153, 238, 190);
    font-weight: 900;
    text-align: center;
    margin: 10px;
  }





/* --------------MEDIA QUERIES------------*/

/*-------------chat gpt media------------------*/

/* Media query for typical smartphones */
@media (max-width: 575.98px) {
    .container {
        margin: 0 10px; /* Adjust the margin for small screens */
        border-radius: 30px;
        height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    input[type="number"]{
        width: 100%;
    }

    #colStake{
        text-align: center !important;
        margin: auto;
    }
    body {
        background-color:black;
        height: 100vh; /* Set body height to 100% of viewport height */
        margin: 0; /* Remove default margin */
        display: flex;
        justify-content: center; /* Center child horizontally */
        align-items: center; /* Center child vertically */
      }
}

/* Media query for larger smartphones */
@media (min-width: 576px) and (max-width: 768px) {
    .container {
        margin: 0 20px; /* Adjust the margin for medium-sized screens */
        border-radius: 30px;
        height: 70vh;
    }
}

/* Media query for landscape orientation on smartphones */
@media (max-width: 991.98px) and (orientation: landscape) {
    .container {
        margin: 0 0px; /* Adjust the margin for landscape orientation */
        border-radius: 30px;
        height: 80vh;
        padding: 25% 5%;
        line-height:1.2;
        letter-spacing: -0.5px;
        word-spacing: -1px;
    }
    body {
        padding: 5%; /* Adjust as needed */
        margin: 5%; /* Adjust as needed */
        overflow:auto;
    }
}

/*---------------------------------------------------------------*/


/*-------------------------for desktop-------------------------*/
@media (min-width: 769px) {
    .container {
    background-color: rgb(190, 216, 186);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /*Use 100% of the viewport height*/
    max-width: 65%; /*Adjust the maximum width as needed*/
    border: 2px solid white;
    border-radius: 100px;
    /* padding: 10%; */
}

body {
    background-color:black;
    height: 100vh; /* Set body height to 100% of viewport height */
    margin: 0; /* Remove default margin */
    display: flex;
    justify-content: center; /* Center child horizontally */
    align-items: center; /* Center child vertically */
  }

.container table{
    text-align: center;
}

td input[type="number"]{
    text-align: center;
}

.table td{
    text-align: center;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
    margin: 0%;
    padding: 0px;
    width: 0vh !important;

}

.table th{
    text-align: center;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
    margin: 0%;
    padding: 0%;
    width: 0vh !important;
    max-width: 150px !important;
}

input[type="number"] {
    display: inline-flex;
    text-align: center;
    width: 75%; /* Full width by default */
    /* max-width: 300px; */
    padding: 10px; 
    border: 1px solid #ccc; /* Border style */
    border-radius: 55px; /* Border radius */ 
    margin-top: 10px;
    margin-bottom:10px ;
  }

.btn{
    margin: 10px;
}

#resHeading {
   padding: 1%;
   margin-right: 1%;
}
 
    
    /* CSS rules for desktop */
    .mobile-only {
        display: none;
    }

}





/*---------------------For mobile screens------------------------*/
/* Mobile styles */
@media (max-width: 768px) {
    html{
        height: 100%;
        margin: 0; /* Remove default margin */
        padding: 0%;
    }
    body {
        background-color:black;
        height: 100vh; /* Set body height to 100% of viewport height */
        height: 100%;
        margin: 0; /* Remove default margin */
        padding: 0%;
        display: flex;
        justify-content: center; /* Center child horizontally */
        align-items: center; /* Center child vertically */
        overflow-y: hidden;
        overflow-x: hidden;
      }

    .container{
        margin: 0%;
        overflow-y:auto;
        overflow-x: hidden !important;
        height: 80%;
      }
    .mobile-only{
        display: flex;
        justify-content: center;
        text-align: center;
        margin: 0 0px; /* Adjust the margin for small screens */
        border-radius: 30px;
        /* height: 75vh; */
        overflow-x: hidden !important;
    }
    input[type="number"]{
        width: 100%;
    }

    #colStake{
        text-align: center !important;
        margin: auto;
        font-weight: bold;
    }

    .resHeading{
        font-weight: bold;
    }
    /* CSS rules for mobile */
    #desktop-only {
        display: none;
    }
}
