@import url('https://fonts.googleapis.com/css2?family=Germania+One&family=Pirata+One&display=swap');

:root {
    --cor-texto: #ffffff;
    --cor-texto-secundario: #000000;
    --cor-hover: #ffb217;
    --font-primaria: "Pirata One", sans-serif;
    --font-secundaria: "Germania One", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.esconder {
    display: none;
}

.conteudo {
    background-image: url(../../game_assets/index/fundo.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.conteudo_cabecalho {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.conteudo_cabecalho_logo {
    width: 35%;
}

.conteudo_opcao {
    width: 18%;
    transition: transform 0.3s ease;
    justify-self: center;
}

.conteudo_opcao:hover {
    transform: scale(1.1);
}

.conteudo_opcao_imagem {
    position: relative;
    margin-bottom: 2rem;
}

.conteudo_opcao_imagem img {
    display: block;
    width: 100%;
}

.conteudo_opcao_imagem_texto {
    position: absolute;
    top: 41%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    text-align: center;
    font-family: var(--font-primaria);
    text-decoration: none;
    color: var(--cor-texto);
}

.conteudo_opcao_imagem_texto:hover {
    color: var(--cor-hover);
}

@media (min-width: 481px) and (max-width: 992px) {
    .conteudo_cabecalho_logo {
        width: 45%;
    }

    .conteudo_opcoes_container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
        margin-top: 1rem;
    }

    .conteudo_opcao {
        width: 32%;
        margin: 0 auto;
    }

    .conteudo_opcao_imagem_texto {
        font-size: 2.2rem;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .conteudo_cabecalho_logo {
        width: 50%;
    }

    .conteudo_opcao {
        width: 28%;
    }
}

@media (max-height: 500px) and (orientation: landscape) {

    .conteudo {
        flex-direction: column;
        justify-content: flex-start; 
        align-items: center;
        padding-top: 2vh; 
        padding-bottom: 0;
        gap: 0.5rem;
    }

    .conteudo_cabecalho {
        width: 100%;
        padding-top: 0;
        margin-bottom: 0;
        justify-content: center;
    }

    .conteudo_cabecalho_logo {
        width: auto;
        max-height: 45vh; 
        object-fit: contain;
    }

    .conteudo_opcoes_container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 1rem;
        margin-top: 0;
        margin-bottom: 2vh; 
    }

    .conteudo_opcao {
        width: 18%;
        max-width: 150px;
        margin: 0;
    }

    .conteudo_opcao_imagem {
        margin-bottom: 0;
        display: flex;
        justify-content: center;
    }

    .conteudo_opcao_imagem img {
        max-height: 26vh;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .conteudo_opcao_imagem_texto {
        font-size: clamp(1.1rem, 3.5vh, 2rem);
        width: 100%;
    }
}

#aviso-orientacao {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; 
    z-index: 99999;
    background-color: #0a1621;
    display: none; 
}

#aviso-orientacao img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

@media screen and (orientation: portrait) {
    #aviso-orientacao {
        display: block; 
    }
}