@font-face {
    font-family: carton;
    src: url(fonts/Carton_Six.ttf);
}
@font-face {
    font-family: madeinfinity;
    src: url(fonts/MADEINFINITYPersonalUse-Regular.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: madeinfinity;
    background-color: #2186AB;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

header {
    background-color: #000;
    padding: 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 150px;
}

nav {
    flex-grow: 1;
    text-align: center;
}

.menu {
    list-style-type: none;
    display: flex;
    justify-content: right;
}

.menu li {
    margin: 0 15px;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
}

.menu li a:hover {
    color: #2DA2D0;
}

.play-now-button {
    background-color: #0000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.play-now-button i {
    margin-left: 10px; 
}

.play-now-button:hover {
    background-color: #2DA2D0;
}

/* Estilos para dispositivos móveis */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}


/* Responsividade para telas menores */
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        width: 100%;
        padding: 0;
    }

    .menu li {
        margin: 15px 0;
        text-align: center;
    }

    .menu-icon {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
    }

    /* Mostrar o menu quando clicado */
    .menu.show {
        display: flex;
    }
}

.slider {
    width: 1920px;
    max-width: 100vw;
    height: 800px;
    position: relative;
    overflow: hidden;
}

.slider .list {
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}

.slider .list img {
    width: 1920px;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
}

.slider .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slider .banner-content .logo-image {
    width: 380px; 
    height: auto; 
    margin-bottom: 20px; /* Espaço entre a logo e o texto */
}

.slider .banner-content .conquest-text {
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 32px; 
    font-weight: regular;
    font-family: carton;
    margin-bottom: 20px; /* Espaço entre o texto e o botão */
}

.slider .banner-button {
    background-color: #2DA2D0;
    box-shadow: 0px 0px 5px rgb(146, 143, 143);
    color: #fff;
    padding: 13px 40px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border-radius: 16px;
    transition: background-color 0.3s;
    font-family: madeinfinity;
    font-size: 16px;
}

.slider .banner-button:hover {
    background-color: #125b75;
}

.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
    display: flex; /* Flexbox para centralizar o ícone */
    justify-content: center;
    align-items: center;
    font-size: 24px; /* Tamanho do ícone */
    cursor: pointer;
}

.slider .buttons button i {
    pointer-events: none; /* Evitar que o ícone interfira no clique */
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}

.slider .dots li.active {
    width: 30px;
}


.glossario {
    text-align: center;
    background-image: url('img/bg-glossario.png');
    padding-top: 80px;
    padding-bottom: 80px;
    margin-bottom: 80px;
    margin-top: 50px;
    max-width: 1920px;
    max-height: fit-content;
    margin: 0;
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 8px dashed white; /* Linha pontilhada superior */
    border-bottom: 8px dashed white; /* Linha pontilhada inferior */
}


.glossario-titulo {
    max-width: 100%; /* A imagem não excede o tamanho do contêiner */
    height: auto; /* Mantém a proporção da imagem */
}

/* Estilos responsivos para diferentes tamanhos de tela */
@media (max-width: 1200px) {
    .glossario-titulo {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .glossario-titulo {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .glossario-titulo {
        max-width: 80%;
    }
}

/* Estilo do box cinza atrás dos botões */
.box-botoes {
    background-color: #D3D3D3;
    padding: 20px;
    display: inline-block;
    text-align: left;
    margin-bottom: 0; /* Certifique-se de que não há margem inferior no box-botoes */
    max-width: 1200px;
    margin-top: 50px;
}

.botao-glossario {
    display: inline-block;
    margin: 0px; /* Remover margens entre os botões */
    padding: 0 10px; /* Remover o espaçamento superior e inferior, mantendo apenas o horizontal */
    background-color: #FFFFFF;
    color: #333;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    font-size: 18px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: regular;
    font-family: carton;
    font-display: regular;
    line-height: 40px; /* Ajuste de altura para manter os botões com tamanho uniforme */
    -webkit-font-smoothing: antialiased;
}

.botao-glossario:hover {
    background-color: #151122;
    color: #FFFFFF;
}

#descricao-container {
    max-width: 1200px;
    margin: 0 auto; /* Centraliza o container */
    padding-top: 0; /* Remove qualquer padding superior */
    margin-top: -5px; /* Remove o espaçamento entre o box cinza e o box roxo */
}

.descricao {
    background-color: #151122;
    color: #FFFFFF;
    padding: 20px;
    display: none;
    font-size: 18px;
    line-height: 1.6;
    margin: 0; /* Remove qualquer margem ao redor do box de descrição */
    font-family: madeinfinity;
    line-height: 1.7em;
    font-size: 16px;
}

.descricao p {
    margin: 0;
}

.container {
    width: 100%;
    max-width: full; /* Ajuste para melhor responsividade */
    height: auto;
    background-image: url('img/bg-form.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.contact-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-family: carton;
}

.contact-header h2 {
    font-family: carton;
    font-size: 42px;
    line-height: 1.2;
    font-weight: normal;
}

.form-container {
    width: 100%;
    max-width: 800px;
    background-color: #FFFFFF;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: carton;
    align-content: center;
}

form h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-family: carton;
    text-align: left;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 48%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #EBEBEB;
    background-color: #EBEBEB;
    border-radius: 8px;
    font-size: 16px;
    font-family: madeinfinity;
}

.form-group textarea {
    width: 100%;
    resize: none;
}

.form-group button {
    font-family: madeinfinity;
    width: 150px;
    height: 45px;
    background-color: #2186AB;
    box-shadow: 0px 0px 5px rgb(146, 143, 143);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    float: right;
    margin-left: auto;
}

.form-group button:hover {
    background-color: #125b75;
}

.games-section {
    width: 100%;
    max-width: full; /* Ajuste para melhor responsividade */
    height: auto;
    background-image: url('img/bg-jogos.png');
    background-size: cover;
    background-position: top center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.games-section h1 {
    font-family: 'Carton Six', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: normal;
    color: white;
    margin-bottom: 40px;
}

.games-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.game-card {
    background-color: #1E1E1E;
    border-radius: 15px;
    padding: 0;
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background-image: url('img/fundodegr.png');
    background-size: cover;
    background-position: center;
}

.game-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.game-card h3 {
    margin: 15px 20px 10px 20px; 
    font-size: 18px;
    color: #FFFFFF;
}

.game-card p {
    font-size: 14px;
    text-align: left;
    margin: 10px 20px; 
    color: #D3D3D3;
    flex-grow: 1;
}

.games-section button { /* Remover o ponto antes de button */
    background-color: white;
    border: none;
    color: #2186AB;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 20px; 
    align-self: center;
    font-family: madeinfinity;
    text-transform: uppercase;
}

.games-section button:hover { /* Remover o ponto antes de button */
    background-color: #1c2658;
}

.containerperso {
    padding-top: 80px;
    padding-bottom: 90px;
    background-image: url("img/fundoods.png");
    background-size: cover;
    background-position: center;
    text-align: center;
}

.areasperso {
    padding-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    justify-items: center;
}


    .perso {
        display: grid;
        grid-template-areas:
            "imagem"
            "info"
            "botao";
        padding-top: 15px;
        width: 280px;
        height: 520px;
        background-color: transparent;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        border-radius: 10px dotted;
        justify-items: center; /* Centraliza horizontalmente os itens */
        align-items: center;   /* Centraliza verticalmente os itens */
    }


    .person1, .person2, .person3 {
        grid-area: imagem;
        width: 93px;
        height: 237px;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
        justify-self: center; /* Centraliza horizontalmente a imagem */
        align-self: center;   /* Centraliza verticalmente a imagem */
    }

.info {
    grid-area: info;
    margin-top: 10px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    font-size: 14pt;
}

.boton {
    grid-area: botao;
    margin-bottom: 20px;
    cursor: pointer;
    height: 30px;
    width: 120px;
    border: 1px white solid;
    border-radius: 10px;
    background-color: #151122;
    color: white;
    box-shadow: 0px 0px 5px 0px rgba(221, 221, 221, 0.96);
    transition: transform 0.3s, opacity 0.3s ease-in-out; /* Adiciona transição de opacidade */
    opacity: 0; /* Inicialmente invisível */
    font-family: madeinfinity;
}
.boton:hover {
    background-color: #211b36;
    transform: scale(1.1);
}

.passeo {
    padding-bottom: 20px;
    color: #FFFFFF;
    font-size: 15pt;
    margin: 0;
    font-family: madeinfinity;
}

.preazul {
    font-family: carton; 
    padding-top: 50px;
    color: white;
    font-size: 40pt;
    margin: 0;
}

.azul {
    color: #2DA2D0;
}

.perso:hover {
    background-color: #151122;
    transform: scale(1.2);
    border-radius: 2%;
    box-shadow: 0px 0px 5px 5px rgba(221, 221, 221, 0.96);
}

.perso:hover .info {
    opacity: 1;
}
.perso:hover .boton {
    opacity: 1; /* Faz o botão aparecer */
}

.tituloinfo {
    font-family: carton; 
    font-size: 18pt;
}

.textoinfo {
    font-family: madeinfinity;
    font-size: 14pt;
}


footer {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    background-color: #151122;
    padding-bottom: 80px; /* Cor de fundo semelhante à imagem */
    padding-top: 80px;
}

.containerfooter {
    display: flex;
    justify-content: space-between; /* Espaça as seções horizontalmente */
    width: 90%;
    max-width: 1200px; /* Limita a largura máxima do container */
    flex-wrap: wrap; /* Permite quebrar em várias linhas se necessário */
}

.section {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 20px 20px; /* Espaço lateral entre as seções */
}

.section h2 {
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: normal;
    letter-spacing: 1px;
    text-align: left; /* Alinha os títulos à esquerda */
    font-family: carton;
    color: white;
}

.section-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Espaço entre as logos */
}

.section img {
    max-height: 80px; /* Limita a altura máxima das logos */
    width: auto; /* Garante que a largura seja ajustada proporcionalmente */
}

@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Em telas pequenas, empilha as seções verticalmente */
        align-items: center;
    }

    .section {
        margin-bottom: 40px;
    }

    .section-logos {
        flex-wrap: wrap; /* Permite que as logos quebrem de linha em telas pequenas */
        justify-content: center;
    }
}


/* Estilos Responsivos */
@media (max-width: 1024px) {
    .games-container {
        gap: 15px;
    }

    .game-card {
        width: 220px;
    }

    .games-section h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .games-container {
        flex-direction: column;
        align-items: center;
    }

    .game-card {
        width: 240px;
        margin-bottom: 20px;
    }

    .games-section h1 {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .game-card {
        width: 90%;
    }

    button {
        width: 100%;
        padding: 15px;
    }

    .games-section h1 {
        font-size: 1.4em;
    }
}

/* Responsividade */
@media (max-width: 1200px) {
    .container {
        padding: 10px;
    }

    .contact-header h2 {
        font-size: 36px;
    }

    .form-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-header h2 {
        font-size: 30px;
    }

    .form-group input, .form-group textarea {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group button {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .contact-header h2 {
        font-size: 24px;
    }

    .form-container {
        padding: 15px;
    }

    form h3 {
        font-size: 18px;
    }

    .form-group button {
        font-size: 16px;
        height: 40px;
    }
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .botao-glossario {
        display: block; /* Cada botão ocupará uma linha */
        width: 100%; /* O botão ocupará 100% da largura do box */
        margin-bottom: 5px; /* Adiciona espaço entre os botões */
        text-align: center; /* Centraliza o texto do botão */
        font-size: 18px; /* Aumenta o tamanho da fonte para melhor visualização no mobile */
    }

    #descricao-container button {
        font-size: 18px; /* Tamanho do texto um pouco maior no mobile */
    }

    .container {
        display: block; /* Empilha os elementos no mobile */
    }

    .box-botoes{ 
        width: 100%; /* Ambos ocupam 100% da largura da tela */
        text-align: center; /* Centraliza o conteúdo no mobile também */
    } 
    
    
    .descricao-container {
        width: 100%; /* Ambos ocupam 100% da largura da tela */
        text-align: center; /* Centraliza o conteúdo no mobile também */
}

@media screen and (max-width: 768px) {
    .slider {
        height: 400px;
    }

    .slider .banner-content .conquest-text {
        font-size: 18px;
    }

    .slider .banner-content .logo-image {
        width: 100px;
    }

    .slider .banner-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

