@charset "UTF-8";

@font-face {
    font-family: 'pf';
    src: url('fontes/TarocaRegular.ttf') format('truetype');
}
@font-face {
    font-family: 'maior';
    src: url('fontes/GinTest-Regular.otf') format('truetype');
}
@font-face {
    font-family: 'menor';
    src: url('fontes/Sabon.ttf') format('truetype');
}

@media only screen and (max-width: 768px) {
    header {
        word-wrap: break-word !important;
    }
    aside {
        position: static !important;
        width: 200px !important;
        height: 80px !important;
        line-height: 1.2 !important;
        margin: auto;
        margin-top: 20px;
    }
    aside br {
        display: none;
    }
}

@media only screen and (max-width: 992px) {
    body {
        background-position: left bottom !important;
    }
    aside {
        top: 10% !important;
        right: 1.5% !important;
    }
}

@media only screen and (max-width: 1300px) {
    aside {
        top: 10% !important;
    }
    body {
        background-position: 0% 0% !important;
    }
}

@media only screen and (max-height: 360px) and (max-width: 960px) {
    aside {
        top: 27% !important;
    }
}

@media only screen and (min-height: 361px) and (max-height: 720px) and (min-width: 769px) and (max-width: 960px){
    aside {
        top: 14% !important;
    }
    body {
        background-position: 20% !important;
    }
}

@media only screen and (min-height: 721px) and (max-height: 1080px) and (max-width: 960px) {
    main {
        margin-top: 30vh !important; /* Ajuste esse valor para alinhar melhor */
    }
}

@media only screen and (max-height: 360px) and (max-width: 1440px) {
    aside {
        top: 30vh !important;
    }
}

@media only screen and (min-height: 1080px) and (max-width: 1440px) {
    aside {
        top: 10% !important;
    }
    body {
        background-position: 20% !important;
    }
}

@media only screen and (max-height: 360px) and (max-width: 1920px) {
    aside {
        top: 30% !important;
        right: 20% !important;
    }
}

@media only screen and (min-height: 1080px) and (max-width: 1920px) {
    aside {
        top: 10% !important;
        right: 20% !important;
    }
}

:root {
    --vermelho: #4f0807;
    --amarelo: #e8c696;
    --beje: #efece7;
    --azul: #02256e;
    --verde: #627862;
    --marrom: #573a30;
}

html, body {
    overflow-x: hidden;
    margin: 0 auto;
}

h1 {
    padding: 7px;
    margin: 0 auto;
}

header, section#titulocassino {
    font-family: 'pf';
    color: var(--vermelho);
    text-shadow: 
    1px 1px 0 var(--amarelo),   /* Sombra para baixo-direita */
    -1px -1px 0 var(--amarelo),  /* Sombra para cima-esquerda */
    1px -1px 0 var(--amarelo),   /* Sombra para cima-direita */
    -1px 1px 0 var(--amarelo);   /* Sombra para baixo-esquerda */
    background-color: var(--beje);
    border: 3px solid var(--vermelho);
    border-radius: 10px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.404);
    text-align: center;
    width: 600px;
    max-width: 90%;
    margin: 22px auto;
}

.botao-p {
    font-family: 'pf';
    color: var(--vermelho);
    text-shadow: 
    1px 1px 0 var(--amarelo),   /* Sombra para baixo-direita */
    -1px -1px 0 var(--amarelo),  /* Sombra para cima-esquerda */
    1px -1px 0 var(--amarelo),   /* Sombra para cima-direita */
    -1px 1px 0 var(--amarelo);   /* Sombra para baixo-esquerda */
    background-color: var(--beje);
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

body {
    background-image: url('imagens/bg-esmeralda.png');
    background-size: cover;
    background-color: var(--beje);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

main, section#cassino {
    background-color: var(--beje);
    width: 500px;
    max-width: 70%;
    text-align: center;
    margin: auto;
    border: 3px solid var(--vermelho);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.404);
    border-radius: 10px;
}

select, input {
    height: 25px;
    text-align: center;
    color: var(--vermelho);
    font-weight: bold;
    font-size: 1.1em;
    background-color: var(--beje);
    border-radius: 5px;
    font-family: 'maior';
    border: 2px solid var(--vermelho);
    padding-top: 0px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.404);
}

select, input {
    margin-top: 0px;
}

select:hover, input:hover {
    background-color: rgb(150, 150, 150);
}

option {
    font-weight: bold;
}

input#Gerar, select {
    width: 75px;
}

select#dificuldade {
    width: 100px;
}

span#instrução {
    font-family: 'maior';
    color: var(--vermelho);
}

div {
    padding: 15px;
}

div#resultado {
    font-family: 'menor';
}

footer {
    background-color: var(--beje);
    text-align: center;
    width: 500px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.404);
    max-width: 80%;
    border: 3px solid var(--vermelho);
    font-family: 'menor';
    padding: 5px 0px 5px 0px;
}

footer > p, footer > h3 {
    margin: 0 auto;
}

h3 {
    font-family: 'maior';
    color: var(--vermelho);
}

aside {
    position: absolute;
    top: 15%;
    right: 10%;
    background-color: var(--beje);
    border: 3px solid var(--vermelho);
    border-radius: 10px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.404);
    width: 100px;
    height: 200px;
    font-family: "maior";
    text-align: center;
    padding: 10px;
    line-height: 1.6;
    color: var(--vermelho);
}

span#idraro {
    color: #0c1466;
    font-weight: bold;
}

span#idincomum {
    color: #c45500;
    font-weight: bold;
}

input[type="checkbox"] {
    accent-color: var(--vermelho);
    transform: scale(1.2);
    cursor: pointer;
    outline: none;
    box-shadow: none;
    vertical-align: middle;
}

div#escolhas {
    margin: auto;
    text-align: center;
    padding-top: 0px;
}

div#botõesmágicos {
    font-family: "maior";
    color: var(--vermelho);
}

section#titulocassino > h1 {
    font-size: 2em;
}

section#titulocassino, #cassino {
    display: none
}

div#resultadomagia {
    font-size: 1.2em;
}

section#secreto {
    display: none;
    position: absolute;
    top: 50%;
    right: 10%;
    background-color: var(--beje);
    border: 3px solid var(--vermelho);
    border-radius: 10px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.404);
    width: 100px;
    height: 100px;
    font-family: "maior";
    text-align: center;
    padding: 10px;
    line-height: 1.6;
    color: var(--vermelho);
}

input[type="text"] {
    width: 90px;
    margin-bottom: 3px;
    font-family: "menor";
    font-size: 0.8em;
    color: black;
}