@import url('https://fonts.googleapis.com/css?family=Titan+One');
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

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

*:focus,
*:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    height: 100vh;
    font-family: "Poppins", sans-serif;
    place-items: center;
    background: rgb(65, 65, 233);
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.container {
    display: block;
    width: 80%;
    max-width: 1000px;
    height: 158px;
    top: 13%;
    left: 50%;
}

#heading {
    border-radius: 30px;
    background: #fff;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    font-family: 'Titan One', cursive;
    font-weight: 700;
    flex-flow: row wrap;
    align-content: center;
    justify-content: center
}

#heading span {
    width: 100%;
    position: relative;
}

#heading span:before {
    background: linear-gradient(45deg, #fc5c7d, #6a82fb, #fc5c7d);
    width: 99%;
    height: 100%;
    margin-left: 2px;
    border-radius: 25px;
    display: block;
    position: absolute;
    content: "";
    mix-blend-mode: screen;
}

/* placeholder for last result input box  */
::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    text-align: center;
    text-transform: capitalize;
    font-size: 1rem;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #fff;
    text-align: center;
    text-transform: capitalize;
    font-size: 1rem;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #fff;
    text-align: center;
    text-transform: capitalize;
    font-size: 1rem;
}

/* end here  */

.maindiv {
    height: 560px;
    width: 364px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255);
}

.previous_result {
    display: flex;
    justify-content: space-around;
    margin-top: 8px;
}

.resultdata {
    border-radius: 5px;
    padding: 3px;
    font-size: 19px;
    width: 200px;
    overflow: hidden;
}

form {
    width: 100%;
    margin: 28px auto;
}

.group {
    position: relative;
}

input {
    background: none;
    color: black;
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #c6c6c6;
}

input:focus {
    outline: none;
}

.container2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 0.1fr 0.1fr 0.1fr 1fr 1fr;
    gap: 8px 12px;
    grid-auto-flow: row;
    grid-template-areas:
        ". . . ."
        ". . . ."
        ". . . ."
        ". . . ."
        ". . . .";
}

#starton {
    font-size: 20px;
}

.backImg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -3px;
}

.wrapper {
    display: inline-flex;
    list-style: none;
}

.wrapper .icon {
    position: relative;
    background: #ffffff;
    border-radius: 50%;
    padding: 15px;
    margin: 10px;
    width: 50px;
    height: 50px;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
    top: -38px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .button__icon:hover,
.wrapper .button__icon:hover .tooltip,
.wrapper .button__icon:hover .tooltip::before {
    background: #1877F2 !important;
    color: #ffffff;
}

.digitbgcolor {
    background: #7dbae3 !important;
}

.startbgcolor {
    background: #bae4a9 !important;
}

.equalbgcolor {
    background: #51cc82 !important;
}

.symbolbgcolor {
    background: #e95ee2 !important;
}

.git-down {
    position: absolute;
    bottom: 0;
    left: 0;
}

.me2 {
    width: 40px;
}

.un-selectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}