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

body {
    background-color: rgba(223, 230, 233, 0.9);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.top-bar {
    background: rgba(60, 64, 198, 1.0);
}

.icon-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-left: 20px;
}

.icon-menu__bar {
    background: white;
    width: 30px;
    height: 4px;
    border-radius: 2px;
    position: relative;
}

.icon-menu__bar::after, .icon-menu__bar:before {
    content: '';
    position: absolute;
    display: block;
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: white;
    top: -.5em;
}

.menu__item {
    padding: 1em;
    list-style: none;
    font-weight: bold;
    border-bottom: 1px solid rgba(45, 52, 54, 1.0);
    transition-duration: 0.2s;
    text-transform: uppercase;
    cursor: pointer;
}

.menu__item:hover {
    background: #fff;
}

.menu__item:hover .menu__link {
    color: rgba(45, 52, 54, 1.0);
}

.menu__link {
    color: white;
    font-size: 0.8rem;
    text-decoration: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
}

.icon-menu__bar::after {
    top: .5em;
}

.menu {
    background: rgba(45, 52, 54, 1.0);
    transform: translateX(-100%);
    transition-duration: 0.3s;
    height: 0;
}

/* Aplicar con javascript o react */

.menu--show {
    transition-duration: 0.3s;
    transform: translate(0);
    background: rgba(45, 52, 54, 1.0);
}

.range {
    margin-left: 20px;
}

.gray {
    color: gray;
}

@media screen and (min-width: 768px) {
    .menu {
        display: flex;
        justify-content: space-evenly;
        transform: translate(0);
    }
    .menu__item:hover {
        background: rgb(157, 171, 175);
    }
    .menu__item:hover .menu__link {
        color: white;
    }
    .menu--show {
        display: flex;
        justify-content: space-evenly;
        transform: translate(0);
    }
    .menu__link {
        -webkit-user-select: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        -ms-user-select: none;
        display: flex;
        text-align: center;
        font-size: 1rem;
    }
    .menu__item {
        border-bottom: none;
    }
    .top-bar {
        display: none;
    }
}

@media screen and (max-width: 518px) {
    .range {
        display: block;
        margin-top: 10px;
        margin-left: 0px;
    }
}

.graphic {
    display: flex;
    justify-content: center;
    justify-items: center;
}

.bar {
    display: inline-flex;
    text-align: center;
    justify-content: center;
    justify-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
    font-size: .8rem;
    transition-duration: 0.2s;
}

.bar-red {
    display: inline-flex;
    text-align: center;
    justify-content: center;
    justify-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
    font-size: .8rem;
}

.hide {
    display: none;
}

#bodyContainer {
    width: 100%;
    height: 100%;
    text-align: center;
    transition-duration: 0.3s;
}

.arrayElement {
    padding-top: 7px;
    font-family: sans-serif;
    font-weight: 700;
    display: inline-block;
}

input[type='range'], input[type='range']::-webkit-slider-runnable-track, input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type='range']:focus {
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    margin-top: -9px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    background-color: #777;
    width: 20px;
    height: 20px;
    border: 3px solid #333;
    border-radius: 50%;
    margin-top: -9px;
  }

  input[type=range]::-moz-range-thumb {
    background-color: #777;
    width: 15px;
    height: 15px;
    border: 3px solid #333;
    border-radius: 50%;
  }
  
  input[type=range]::-ms-thumb {
    background-color: #777;
    width: 20px;
    height: 20px;
    border: 3px solid #333;
    border-radius: 50%;
  }
  
  input[type=range]::-webkit-slider-runnable-track {
    background-color: #777;
    height: 3px;
  }
  