* {
    margin: 0;
    padding: 0;
    background-origin: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #212121;
    transition: .5s;
}

h1 {
    color: aliceblue;
}

.trilho {
    width: 380px;
    height: 150px;
    background-color: #4d4d4d;
    border-radius: 150px;
    position: relative;
    cursor: pointer;
}

.trilho .indicador {
    width: 150px;
    height: 150px;
    background-color: #000;
    border-radius: 50%;
    transform: scale(.9);
    position: absolute;
    left: 0;
    transition: .5s;
}

.trilho.dark {
    background-color: #9d9797;
}

.trilho.dark .indicador {
    left: 230px;
    background-color: #ffff;
}

body.dark {
    background-color: #d1cfcf;
}

body.dark h1 {
    color: #000;
}

@media screen and (max-width: 500px) {



    body {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: center;

    }


    h1 {
        font-size: 25px;
        height: 50px;

    }

    .trilho {

        width: 380px;
        height: 150px;
        position: relative;

    }

    


}