* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Anton", sans-serif;
    background: black;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: relative;
}

a {
    text-decoration: none;
    color: red;
}

.geral {
    width: 100%;
    padding: 3px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.colunas {
    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btnNome {
    width: 100%;
    height: 100px;
    background: none;
    color: white;
    font-size: 60px;
    border: none;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
}

.placar {
    font-size: 100px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0.8;
}

.quedaEsq {
    font-size: 30px;
    align-self: flex-start;
    margin-left: 68px;
    line-height: 0.8;
}

.quedaDir {
    font-size: 30px;
    align-self: flex-end;
    margin-right: 68px;
    line-height: 0.8;
}


.btnAdd {
    width: 50%;
    height: 80px;
    font-size: 30px;
    margin-top: 30px;
    background: greenyellow;
    border: 2px solid white;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.1s;
}

.btnAdd:active{
    transform: scale(0.95);
}

.btnRemove1 {
    width: 30%;
    height: 40px;
    font-size: 20px;
    margin: 24px auto 20px;
    background: red;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.1s;
}

.btnRemove1:active{
    transform: scale(0.95);
}

.truco {
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

.btnTruco {
    padding-top: 15px;
    padding-bottom: 15px;
    width: 70%;
    font-size: 16px;
    background: black;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.1s;
}

.btnTruco:active{
    transform: scale(0.95);
}

.return {
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-top: 30px;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reiniciar {
    width: 100%;
    max-width: 600px;
    margin: 10px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.btnZerar {
    width: 40%;
    padding: 14px;
    font-size: 10px;
    background: black;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 20px;
    transition: 0.1s;
}

.btnZerar:active{
    transform: scale(0.95);
}

.fundo {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.alteraNome {
    background: white;
    width: 90%;
    height: 200px;
    border-radius: 10px;
    position: absolute;
    z-index: 1;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

    
.alteraNome h2 {
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 10px;

}

.alteraNome input {
    width: 90%;
    height: 40px;
    padding: 20px;
    border: 2px solid black;
    border-radius: 5px;
}

.altNome {
    display: flex;
    gap: 10px;
}

.altNome button {
    padding: 12px 47px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    color: white
}

#btnCancelar{
    background: rgb(250, 0, 0);
    transition: 0.1s;
}

#btnCancelar:active{
    transform: scale(0.95);
}

#btnAlterar{
    background: black;
    transition: 0.1s;
}

#btnAlterar:active{
    transform: scale(0.95);
}

@media (max-width: 414px) {
    .placar {
        margin-top: 50px;
    }

    .quedaDir {
        margin-bottom: 50px;
    }

    .quedaEsq {
        margin-bottom: 50px;
    }

    .btnRemove1 {
        margin-top: 30px;
    }

    .btnTruco {
        margin-top: 10px;
    }

    .reiniciar {
        margin-top: 10px;
    }
}