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

html {
    height: 100%;
}

body {
    background-image: url('../.github/images/wallpaper.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    overflow: hidden;
    
}

.conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

[racer] {
    position: relative;
    background-color: gray;
    border-left: 20px;
    border-right: 20px;
    border-top: 0;
    border-bottom: 0;
    border-style: double;
    border-color: white;
    outline: 20px solid black;
    height: 100%;
    width: 500px;
    overflow: hidden;
}

.car-player {
    position: absolute;
    width: 15%;
    right: 200px
}

.car-enemy {
    position: absolute;
    width: 15%;
    transform: rotate(180deg);
    z-index: 0;
}

.faixa {
    position: absolute;
    background-color: #fff;
    width: 20px;
    height: 120px;
    left: calc(100% / 2);
}

.triangulo-para-direita {
    position: absolute;
    width: 0;
    bottom: 30px;
    right: 30px;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 40px solid #ABA8B2;
    z-index: 100;
}

.triangulo-para-esquerda {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-right: 40px solid #ABA8B2;
    z-index: 100;
}

.triangulo-para-direita:active{
    border-left: 40px solid yellow;
}

.triangulo-para-esquerda:active{
    border-right: 40px solid yellow;
}

.recomecar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: rgb(128, 128, 128, 0.60);
}

.recomecar img {
    background-color: yellowgreen;
    padding: 5px;
    border: 1px solid #000;
    border-radius: 20px;
    cursor: pointer;
    z-index: 100;
}


@media (min-width:320px) {

    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    [racer] {
        width: 300px;
    }
}

@media (min-width:600px) {

    /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
    [racer] {
        width: 400px;
    }
}

@media (min-width:1025px) {

    /* big landscape tablets, laptops, and desktops */
    [racer] {
        width: 500px;
    }
}