body {
    background-image: url('fundoaaa.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    margin: 0;
    position: relative;
    
}
img.aprincipal, img.quarto, img.reinodasfabulas, img.dispositivo, img.tyler, img.caixa, img.beco, img.trilhasementes, img.cereais, img.labirinto {
    position: absolute;
    top: 50px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 1200px; 
}
img.portao, img.reino, img.chao{
    position: absolute;
    top: 50px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 1200px; 
}

.container {
    position: relative;
    overflow-y: auto;
    width: 51%;
    margin: 0 auto;
}

.content {
    width: 10; 
    padding: 100px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.8); 
    border-radius: 20px;
    margin-top: 570px; 
    padding-top: 50px;
}
    h1{
    color: white; 
    font-family: Calibri;
}

p {
    color: white; 
    font-family: Calibri;
    font-size: 18px;
}

h1 {
    color: #189bed;
}
h2 {
    color: white;
    font-family: Calibri;
}
h3 {
    color: #189bed;
    font-family: Calibri;
}

.jogar-btn {
    display: inline-block;
    background-color:#189edb;
    color: white;
    padding: 15px 30px;
    font-size: 20px;
    font-family: Calibri, sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;

    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}



.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.game-button {
    background: rgba(255, 99, 71, 1);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;

    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.game-button:hover {
    background: rgba(255, 69, 0, 1);
}


.music-frame {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: none; 
    width: auto;
    height: auto;
    background: transparent;
}


.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

#playPauseBtn {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}


#progressBar {
    width: 100px;
    height: 5px;
    background: rgba(255, 69, 0, 1);
    border-radius: 5px;
    outline: none;
}

#currentTime, #duration {
    font-size: 14px;
    color: white;
}


.music-player button {
    background: none;
    border: none;
    color: rgb(255, 253, 253);
    font-size: 24px;
    cursor: pointer;
}

.music-player input[type="range"] {
    flex-grow: 1;
    cursor: pointer;
}

/* formatação do botão da ficha*/
.fab
{
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.fab button
{
    cursor: pointer;
    width: 55px;
    height: 55px;
    border-radius: 30px;
    background-color: #f00;
    border: none;
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.3rem;
    color: white;
}

.fab button.main
{
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 30px;
    background-color: #000;
    right: 0;
    bottom: 0;
    z-index: 20;
}

.fab button.main:before
{
    content: 'ficha';
}

.fab button.main:active,
.fab button.main:focus {
    outline: none;
    background-color: #ed1d24;
}

.fab button.main:active:before,
.fab button.main:focus:before {
    content: '';
}

/* dados para camada da ficha de personagem */
.modalVisual {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modalConteudo {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 800px;
}

#txtImg {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.fechar {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

