@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;
    background-image: url('img/bg-equipetotal.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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;
}

.sobre-projeto {
    padding: 80px;
    text-align: center;
    max-wheight: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.sobre-projeto h2 {
    width: 600px;
    height: 73px;
    background: url('img/image 26.png') no-repeat center center;
    background-size: contain;
    text-indent: -9999px;
    margin: 0 auto 20px;
    max-width: 100%;
}

/* Estilizando o conteúdo do texto na parte 'sobre o projeto' */
.sobre-projeto-conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    margin: 0 2.5cm;
}

.texto {
    text-align: left;
}

.texto p {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 0.7cm;
    font-weight: bold;
}

.sobre-projeto-conteudo video {
    width: 1400px;
    max-width: 100%;
    height: 210px;
    max-height: 90%;
    align-self: center;
    border-radius: 15px;
}

.sobre-equipe {
    text-align: center; /* Centraliza o conteúdo dentro do div */
    margin: 0px; /* Adiciona uma margem em cima e embaixo */
    max-width: 100%;
}

.titulo-imagem {
    width: 600px; /* Limita a largura máxima da imagem */
    height: auto; /* Mantém a proporção da imagem */
    margin-bottom: 20px; /* Espaço abaixo da imagem */
    max-width: 100%;
} 

.sobre-equipe2 {
    text-align: center; /* Centraliza o conteúdo dentro do div */
    margin: 0px; /* Adiciona uma margem em cima e embaixo */
}

.titulo-imagem2 {
    width: 500px%; /* Limita a largura máxima da imagem */
    max-width: 100%;
    height: auto; /* Mantém a proporção da imagem */
    margin-bottom: 20px; /* Espaço abaixo da imagem */
} 
  
  .carousel {
    display: flex;
    padding: 0px;
    align-items: center;
    justify-content: center;
    min-height: fit-content; /*margem de cima e baixo do carrossel*/
    overflow: hidden; /* Impede que o conteúdo exceda a área do carrossel */
    scroll-behavior: smooth; /* Adiciona uma rolagem suave */
  }
  .wrapper {
    max-width: 1920px;
    max-height: fit-content;
    position: relative;
    padding: 80px;
  }
  .wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.1s linear;
  }
  .wrapper i:active{
    transform: translateY(-50%) scale(0.85);
  }
  .wrapper i:first-child{
    left: 0px;
  }
  .wrapper i:last-child{
    right: -22px;
  }
  .wrapper .carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 6) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    height: 300px; /* Altura ajustada ao conteúdo */
    flex-grow: 0;
  }

  .wrapper .carousel img {
    height: 100%; /* Ajustar o conteúdo para preencher a altura do carrossel */
    object-fit: cover; /* Ajusta a imagem para cobrir o espaço */
}
  .carousel::-webkit-scrollbar {
    display: none;
  }
  .carousel.no-transition {
    scroll-behavior: auto;
  }
  .carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .carousel.dragging .card {
    cursor: grab;
    user-select: none;
  }
  .carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .carousel .card {
    scroll-snap-align: start;
    height: 342px;
    list-style: none;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
  }
  .carousel .card .img {
    background: #ffffff;
    height: 148px;
    width: 148px;
    border-radius: 50%;
  }
  .card .img img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2DA2D0;
  }
  .carousel .card h2 {
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    margin: 30px 0 5px;
    color:#fff
  }
  .carousel .card span {
    color: #6A6D78;
    font-size: 1.31rem;
  }
  
  .ul .carousel {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}
  
  @media screen and (max-width: 900px) {
    .wrapper .carousel {
      grid-auto-columns: calc((100% / 2) - 9px);
    }
  }
  
  @media screen and (max-width: 600px) {
    .wrapper .carousel {
      grid-auto-columns: 100%;
    }
  }

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 */
    max-width: 100%;
}

@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;
    }
}

@media (max-width: 768px) {
    .sobre-projeto {
        padding: 40px 20px; /* Ajustar o padding para telas pequenas */
    }
    
    .sobre-projeto-conteudo {
        flex-direction: column; /* Empilha o conteúdo em telas menores */
    }
    
    .sobre-projeto-conteudo video {
        width: 100%; /* Deixa o vídeo responsivo */
    }
}

@media (max-width: 480px) {
    .sobre-projeto h2, .section h2 {
        font-size: 1.4rem; /* Reduz o tamanho dos títulos */
    }

    .texto p {
        font-size: 14px; /* Diminui o texto para melhor leitura em telas pequenas */
    }
}

.sobre-projeto-conteudo video, 
.slider .banner-content .logo-image,
.carousel img {
    max-width: 100%; /* Responsivo */
}