main {
    display: grid;
    grid-template-rows: 80% 10% 10%;
    grid-template-columns: 100%;
    justify-items: center;
    align-items: center;
}

.Ampel {
    grid-row: 1/2;
    grid-column: 1/2;
    display: grid;
    grid-template-rows: 33,33% 33,33% 33,33%;
    grid-template-columns: 100%;
    justify-items: center;
    align-items: center;
    height: 30em;
    width: 10em;
    background-color: rgb(19, 18, 18);
    border-radius: 1em;
    border: 0.2em solid grey;
}

.btn {
    background-color: rgba(100, 10, 200, 0.2);
    height: 2em;
    width: 8em;
    text-align: center;
    line-height: 0.9em;
    padding: 0.5em;
    margin: 0.5em;
    border: 0.15em solid rgba(100, 10, 200, 0.2);
    border-radius: 0.4em;
    cursor: pointer;
}

.btn:hover {
    background-color: rgba(100, 10, 200, 0.3);
}

.point {
    height: 8em;
    width: 8em;
    border-radius: 7em;
    border: 0.15em solid grey;
}

.off {
    background-image: radial-gradient(grey, rgb(53, 53, 53));
}

.onRed {background-image: radial-gradient(red, rgb(87, 0, 0));}
.onYellow {background-image: radial-gradient(yellow, rgb(85, 85, 0));}
.onGreen {background-image: radial-gradient(green, rgb(0, 59, 0));}

@media screen and (max-width: 600px) {

    .Ampel {
        height: 60em;
        width: 20em;
        border: 0.4em solid grey;
        border-radius: 2em;
    }

    .point {
        height: 16em;
        width: 16em;
        border-radius: 16em;
        border: 0.3em solid grey;
    }
    
}