html {
    font-family: Arvo, sans-serif;
    background-color: #232946;
    padding: 0;
    margin: 0;
    color: white;
    overflow-x: hidden;
}

body {
    padding: 0;
    margin: 0;
}

header {
    text-align: center;
    margin-top: 2%;
    font-size: 1.3em;
    position: relative;
    margin-bottom: 2%;
}

h1 {
    vertical-align: center;
}

/* Number method */

.method {
    text-align: center;
    justify-content: center;
    display: flex;
    margin: 50px 0;
}

.method h2 {
    opacity: 0.5;
    text-decoration: none;
}

.active-method {
    opacity: 1 !important;
    text-decoration: underline !important;
}

/* Switch */

.switch {
    position: relative;
    margin: 20px;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: all .4s;
    border-radius: 50px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50px;
}

.slider:before:after {
    content: 'test';
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(27px);
    -ms-transform: translateX(27px);
    transform: translateX(27px);
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-track {
    background: #dbbdbf;
    border-radius: 25px;
}

::-webkit-scrollbar-thumb {
    background: #db8888;
    border-radius: 25px;
}

.keys {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.key {
    border: 3px solid black;
    border-radius: 15px;
    margin: 1rem;
    font-size: 1.5rem;
    padding: 1rem .5rem;
    transition: all .07s ease;
    width: 10rem;
    text-align: center;
    color: white;
    background-color: #39426e;
    box-shadow: 10px 10px 10px black;
    transition: all .5s;
    position: relative;
    min-width: 20px;
}

.key:hover {
    background-color: #eebbc3;
    color: black;
}

.active {
    background-color: #eebbc3;
    transform: scale(1.1);
    box-shadow: 5px 5px 5px black;
    color: black;
}

.hide {
    opacity: 0;
}

@keyframes zooming {
    0% {
    transform: scale(1);
    }
    50%  {
    transform: scale(1.2);
    }
    100% {
    transform: scale(1);
    }
}

.hand {
    height: 100px;
    animation: zooming 2s infinite;
    transition: all .8s;
    z-index: 5;
    position: absolute;
    opacity: 0.5;
}

.pad-hand {
    height: 100px;
    animation: zooming 2s infinite;
    transition: all .8s;
    z-index: 5;
    position: absolute;
    opacity: 0.5;
    bottom: 50px;
    right: 50px;
}

.show {
    text-align: center;
    margin: auto;
    font-size: 5em;
    margin-top: 50px;
    transition: all .1s;
}

.numbers {
    width: 80%;
    margin: auto;
}
