@font-face {
    font-family: 'Din Pro';
    src:    url('../font/DINPro400.otf') format('opentype')
}

* {
    font-family: 'Din Pro';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #FFF;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

button {
    text-shadow: 0 0 15px #a1e4fe;
    box-shadow: 0 0 15px 0px #a1e4fe;
    border: 3px solid #DFF7FF;
    font-size: 2rem;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

h1 {
    font-size: 3rem;
    font-weight: bolder;
    text-transform: uppercase;

}

h2 {
    font-size: 2rem;
    font-weight: bolder;
    text-transform: uppercase;
}

#img-panasonic {
    position: fixed;
    top: 20px;
    right: 60px;
    width: 8%;
}

/* === INDEX === */
#body-index {
    background-image: url('../img/bg-index.jpg');
}

#body-index button {
    background-color: #00000000;
    position: fixed;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%);
}

/* === CADASTRO === */
#body-cadastro {
    background-image: url('../img/bg-main.png');
}

#body-cadastro #form {
    box-shadow: 0 0 20px #000;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: .5rem;
    border: 1px solid #616161;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); 
}

#body-cadastro #form p {
    margin-top: 2rem;
}

#body-cadastro #form input {
    margin: .2rem 0 2rem 0;
    height: 3rem;
    width: 80%;
    display: inline;
    padding: 1rem;
    font-size: 1.5rem;
    border-radius: 5px;
    border: none;
    color: #000;
}

#body-cadastro #form button {
    background-color: #FFF;
    border: 1px solid #000;
    color: #000;
}

/* === REGRAS === */
#body-regras {
    background-image: url('../img/bg-main.png');
    width: 100%;
}

#body-regras #container-regras {
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#body-regras #container-regras div {
    width: 40%;
}

#body-regras #container-regras #box-lista {
    padding: 3rem 2rem;
    border-radius: .5rem;
    border: 1px solid #616161;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); 
}

#body-regras #container-regras #box-lista .regras {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#body-regras #container-regras #box-lista .regras div {
    width: 50%;
    background-color: #2d2d2d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #FFF;
    border-radius: .2rem;
    padding: 1rem;
    margin: 1rem .5rem 2.5rem .5rem;
}

#body-regras #container-regras #box-lista ul {
    padding: 0 0 0 2rem;
    margin: 1rem 0;
}

#body-regras #container-regras #box-lista li {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;

}

#body-regras #container-regras #box-lista button {
    background-color: #000;
    margin: 2rem 0 0 0;
}

#body-regras #container-regras #box-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

#body-regras #container-regras #box-image img {
    height: 40rem;
}

/* === JOGO === */
#body-jogo {
    background-image: url('../img/bg-main.png');
}

#body-jogo #tempo {
    font-size: 2rem;
    font-weight: bold;
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translate(-50%);
    background-color: #000;
    border-radius: 10px;
    padding: .5rem 1.5rem
}


/* === GAME OVER === */
#body-gameover {
    background-image: url('../img/bg-main.png');
}

#body-gameover #container-gameover {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    width: 100%;
    padding: 0 7rem;
}

#body-gameover #container-gameover div {
    width: 70%;
}

#body-gameover #container-gameover #ranking {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: scale(1.5);
}

#body-gameover #container-gameover #ranking h1 {
    text-align: center;
    text-shadow: 0 0 15px #000;
    margin: 0 0 .5rem 0;
}

#body-gameover #container-gameover table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 20px 0;
}

#body-gameover #container-gameover table thead {
    background-color: #f2f2f2;
    font-weight: bold;
}
  
#body-gameover #container-gameover table th {
    color:#000;
    text-align: center;
    padding: 12px;
    text-align: center;
    border: 1px solid #ccc;
}
  
#body-gameover #container-gameover table td {
    padding: 12px;
    text-align: center;
    background-color: #000;
    border: 1px solid #ccc;
}
  
#body-gameover #container-gameover table td:first-child {
    font-weight: bold;
}
  
#body-gameover #container-gameover table tbody tr:first-child td {
    border-top: none;
}
  
#body-gameover #container-gameover table tbody tr:last-child td {
    border-bottom: none;
}

#body-gameover #container-gameover #restart {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
}

#body-gameover #container-gameover #restart h1 {
    font-size: 5rem;
    text-shadow: 0 0 15px #000;

}

#body-gameover #container-gameover #restart p {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 15px #000;
}

#body-gameover #container-gameover #restart .spans {
    background-color: #000;
    border-radius: 5px;
    padding: .2rem .5rem;
    font-weight: bold;
}

#body-gameover #container-gameover #restart button {
    margin: 4rem 0;
    background-color: #000000;
}

/* === RANKING === */
#body-ranking {
    background-image: url('../img/bg-main.png');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#body-ranking .container-ranking {
    width: 85%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px solid #616161;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); 
    border-radius: 2rem;
}

#body-ranking .container-ranking .podium {
    height: 60%;
    width: 100%;
    background-color: #001526;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#body-ranking .container-ranking .podium h1 {
    font-size: 5rem;
    margin: 0 0 4rem 0;
}


#body-ranking .container-ranking .podium .prisegter {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#body-ranking .container-ranking .podium .prisegter div {
    width: 30%;
    height: 20rem;
    color: #000 !important;
}

#body-ranking .container-ranking .podium .prisegter .pri {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: scale(1.7);
}

#body-ranking .container-ranking .podium .prisegter .pri .crown {
    width: 40%;
}

#body-ranking .container-ranking .podium .prisegter .segter {
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    transform: scale(1.4);
}

#body-ranking .container-ranking .classificacao {
    height: 60%;
    width: 100%;
}

#body-ranking .container-ranking .classificacao .posicao {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 1.5rem;
    padding: 1rem 2rem;
    background-color: #FFF;
    border-radius: 1rem;
}

#body-ranking .container-ranking .classificacao .posicao h2 {
    font-size: 2rem !important;
    color: #001526 !important;

}

#body-ranking .img-panasonic {
    width: 30%;
    margin: 1rem 0 0 0;
}

/* === REGRAS ESTÁTICCAS === */

#body-regras-est {
    background-image: url('../img/bg-main.png');
    width: 100vw;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#body-regras-est #container-regras {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#body-regras-est #container-regras div {
    width: 90%;
}

#body-regras-est #container-regras #box-lista {
    padding: 3rem 2rem;
    border-radius: .5rem;
    border: 1px solid #616161;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); 
}

#body-regras-est #container-regras #box-lista h1 {
    font-size: 5rem;
    margin: 1.5rem 0;

}

#body-regras-est #container-regras #box-lista .regras {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem
}

#body-regras-est #container-regras #box-lista .regras div {
    height: 12vh;
    width: 45%;
    background-color: #2d2d2d;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border: 1px solid #FFF;
    border-radius: .2rem;
    padding: 1rem;
    margin: 1rem .5rem 2.5rem .5rem;
}

#body-regras-est #container-regras #box-lista .regras div h2 {
    font-size: 2rem;
    text-align: center;
}

#body-regras-est #container-regras #box-lista .regras div p {
    font-size: 2rem;
}


#body-regras-est #container-regras #box-lista ul {
    padding: 0 0 0 2rem;
    margin: 1rem 0;
    list-style: none;
}

#body-regras-est #container-regras #box-lista li {
    font-size: 2.5rem;
    margin: 0 0 2rem 0;

}

#body-regras-est #container-regras #box-lista button {
    background-color: #000;
    margin: 2rem 0 0 0;
}

#body-regras-est #container-regras #box-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

#body-regras-est #container-regras #box-image img {
    height: 40rem;
}