* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}
.canvas {
    width: 100%;
    height: 611px;
}

.position {
    display: flex;
    flex-direction: column;
    background: rgb(39, 21, 21);
}

#timer {
    background-color: black; 
    width: 100px; 
    height: 50px; 
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 4px solid white;
    font-family: 'Press Start 2P', cursive;
}

.life {
    position: absolute; 
    display: flex; 
    width: 100%; 
    align-items: center; 
    padding: 20px;
}

.psaude {
    position: relative; 
    width: 100%;
    display: flex; 
    justify-content: flex-end;
    border-top: 4px solid white;
    border-left: 4px solid white;
    border-bottom: 4px solid white;
}

#saude1 {
    position: absolute; 
    background: #818CF8; 
    top: 0; 
    right: 0; 
    bottom: 0; 
    width: 100%;
}

.bsaude {
    position: relative;
    width: 100%;
    border-top: 4px solid white;
    border-bottom: 4px solid white;
    border-right: 4px solid white;
}

#saude2 {
    position: absolute;
    background: #818cf8;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#resultado {
    position: absolute; 
    color: rgb(56 60 47);
    display: flex; 
    align-items: center; 
    justify-content: center;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 25px;
}

.reset {
    width: 8%;
    position: absolute;
    top: 40%;
    left: 35%;
    right: 35%;
    display: none;
}

/* Inicio Menu Central */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: rgb(39, 21, 21);
    width:100%;
    height: 70px;
}

.audio {
    display: flex;
}

.container-audio {
    display: flex;
    width: 503px;
    align-items: center;
    justify-content: flex-end;
}


.menu2 {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-family: 'Bree Serif', serif;
    transition: .4s;
}

.menu2:hover {
    color: yellow;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 0;
}

.menu li a {
    display: block;
    padding: 10px;
    margin-right: 50px;
}

.logo2 {
    max-width: 70px;
    display: block;
    margin-left: 50px;
    padding: 6px;
}

/* Fim do Menu */

/* Inicio Section One */

.section-one {
    width: 100%;
}

.container-one {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}

#about{
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    background-image: linear-gradient(to bottom, #251613, #140f0e, #462c26 );
    
}

#img-seta {
    width: 35px;
    height: auto;
    margin-left: 9rem;
    margin-right: 9rem;
}

#img-sprite {
    width: 200px;
    height: 140px;
}

#container-sprite {
    display: flex;
    justify-content: space-between;
    background-color: #462c26;
    padding: 10px 0 30px 0;
}

#container-rengoku {
    display: flex;
   justify-content: space-between; 
}

#rengoku {
    max-width: 370px;
    width: 100%;
    color: white;
    font-size: 20px;
    margin-top: 30px;
}

#container-link {
    display: flex;
    justify-content: space-between;
}

#link {
    max-width: 423px;
    width: 100%;
    color: white;
    font-size: 20px;
    margin-top: 30px;
}

b {
    color: rgba(248, 39, 39, 0.897);
}

a {
    text-decoration: none;
    color: green;
}

/* Fim Section One */

/* Inicio do Pop-Up */
.container-inst {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.p1 {
    display: flex;
    width: 260px;
    justify-content: center;
}

.p2 {
    display: flex;
    width: 260px;
    justify-content: center;
}

pre {
    display: flex;
    justify-content: center;
    font-size: 25px;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
}

.popup-wrapper {
    display: none;
    background-color: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popup {
    font-family: Arial;
    text-align: center;
    width: 100%;
    max-width: 560px;
    margin: 15% auto;
    height: 100%;
    max-height: 250px;
    padding: 20px;
    background: white;
    position: relative;
}

.popup a {
    color: white;
    cursor: pointer;
    padding: 6px 10px;
    text-decoration: none;
    background: crimson;
}

.container-player {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;

}

#p1, #multi, #p2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 114px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 22px;
}

#p1:hover, #multi:hover, #p2:hover {
    background-color: rgb(207, 85, 85);
    transition: .4s;
}

.popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

/* Fim do Pop-Up */

/* Inicio do Rodapé */

.footer {
    width: 100%;
    background-color: #241a1b;
}

.container-footer {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 10px 0;
}

.contato-creditos {
    color: white;
    font-family: 'Quando', serif;
    font-size: 20px;
    padding: 10px 0;
}

.icons {
    display: flex;
    gap: 25px;
}

#icons-a {
    text-decoration: none;
    display: block;
    color: rgb(255, 255, 255);
    font-size: 15.2061px;
    transition: ease-in-out 0.3s;
}

.gitHub {
    background-image: url(../img/page/logo-github.svg);
}

.linkdIn {
    background-image: url(../img/page/logo-linkedin.svg);
}

.link1, .link2 {
    height: 52px;
    width: 52px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: 0.7s;
}

.gitHub:hover {
    transform: rotate(-360deg);
}

.linkdIn:hover {
    transform: rotate(360deg);
}

.opacity {
    transition: ease-in-out 0.3s;
}

.opacity:hover {
    opacity: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* Final do Rodapé */

/* Inicio da Navegação Pagina Inicial Para Celular */

@media screen and (max-width: 820px) {
    * {
        font-size: 20px;
    }

    #about{
        display: flex;
        justify-content: space-between;
        width: 600px;
    }
    
}