*{
margin: 0;
padding: 0;
border: 0;
}

#interface{
    position: relative;
    margin: auto;
    width: 100%;
    height: auto;
}

header{
    position: relative;
    display: flex;
    justify-content: center;
    margin: auto;
    width: 100%;
    height: 70px;
    background: linear-gradient(silver,black);
    
    
}


.img{
    position: relative;
    margin-left: 12px;
    margin-bottom: 10px;
    width: 32%;
    height: 80%;
}
#logo{
    position: relative;
    margin-left: 14px;
    height: 110px;
    z-index: 1;
    
}

    #texto{
        display: flex;
        justify-content: space-between;
        position: absolute;
        width: 100%;
        height: auto;
        color: rgb(65, 65, 194);
       
        
    }
img#veios{
    width: 100px;
    left:20px;
}
img#lokos{
    width: 100px;
    left:-17px;
}
/*------------------------------  main  ---------------------------------------------------*/



/*------------------------------------------------section Elenco----------------------------*/

#elenco img{
    margin: auto;
  width: 100%;

}

/*------------------------------------------------Section Histórico ----------------------------*/

section#historico{
    justify-content: center;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    background-image: url(./main/main.jpg);
    
    background-size: 100%;
}

#rank{

    position: relative;
    display: flex;
    justify-content: right;
    width: 350px;
    height: 400px;
    background-color: black;
    
}

.rank{
    width: 228px;
    padding: 1px;

}

#flyer{
    display: flex;
    justify-content: center;
    position: relative;
    width: 380px;
    height:400px;
    
    }

    #imgflyer{
        width: 420px;
        height: auto;
    }

    #artilheiro{
        font-size: 22px;
        position: absolute;
        top: 70px;
        left: 0px;  
        color: GOLD;
        -webkit-text-stroke-width: 0.3px;
        -webkit-text-stroke-color: rgb(20, 34, 231);
    }

    #assistencia{
        font-size: 22px;
        position: absolute;
        top: 70px;
        right: 30px;  
        color: rgb(12, 12, 12);
        -webkit-text-stroke-width: 0.5px;
        -webkit-text-stroke-color: rgb(203, 224, 8);
    }
    #defesaA{
        justify-content: center;
        position: relative;
        

    }
    #defesa{
        
        font-size: 22px;
        position: absolute;
        top: 70px;
        right: 60px;  
        color: rgb(12, 35, 240);
        -webkit-text-stroke-width: 0.5px;
        -webkit-text-stroke-color: rgba(8, 40, 224, 0.897);
    }
    .h3{
        margin-top: 10px;
        margin-bottom: 20px;
        font-size: 20px;
    }
    img.rank{
        width: 50%;

    }
/*--------------------------------------------------*/
#footer{background-image: url(./main/footerimg.png);
    justify-content: center;
    width: 100%;
    height: auto;
    
    background-size: 100%;
}
#craque{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10px;

}
#textocraque{
    color: aliceblue;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-right: 10px;
}
#imgcrack{
    width: 300px;
    
}
#linksfoto{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;

}
.textofoto{
color: azure;

}

#texto12{
    border: 1px solid gold;
    color: azure;
    margin-top: 40px;
    width: 100%;
    height: auto;
}

dialog::backdrop {
background-color: rgba(0, 0, 0, 0.316);
}
dialog{
    margin: auto;
    position: relaivo;
    background-position: 1px;
    border: nome;
    border-radius: 1rem;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.186);
    width: 80%;
    
}
#img{
    width: 100%;
    display: flex;
    justify-content: center;
}

#imgmiro{
    width: 100%;
}

#botao{
    margin-top: 10px;
    display: flex;
    justify-content: center;
    
}
button{
    margin-left: 20px;
    
}


.carousel-container {
    position: relative;
    width: 90%; /* Usa porcentagem para ser responsivo */
    max-width: 400px; /* Limita a largura em telas maiores */
    aspect-ratio: 400 / 70; /* Mantém a proporção largura/altura */
    overflow: hidden;
    border: 2px solid #ccc;
    margin: 20px auto;
    height: 100px;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-track img {
    width: 100%; /* A imagem ocupa 100% da largura do contêiner */
    height: auto; /* A altura se ajusta automaticamente para manter a proporção */
    flex-shrink: 0;
  }

  .carousel-prev,
  .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 8px; /* Padding menor */
    font-size: 16px; /* Fonte menor */
    z-index: 10;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }
  img.carr{
    width:100%;
    height: 100px;
  }

 #botaopatrocinio{
    margin: auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid black;
    margin-bottom: 10px;
 }
#pa{
    margin: auto;
    padding: 5px;
    border: 1px solid black;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: 10px;
}
body{
    background-image: url(./fundo.jpeg);
}








/* Campo de Jogo */




#game-container{
    text-align: center;
}
#field {
    /* ... (Estilos mantidos) ... */
    width: 100%;
    height: 250px; 
   background-image: url(../jogo/campo1.jpg);
   background-repeat: no-repeat;
   background-position: center;
   background-size: 100%;
    border: 5px solid #fff;
    border-radius: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Gol, Bola, Jogador (Estilos mantidos) */
#goal {
    font-size: 70px; 
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; 
    text-align: center;
}

#ball {
    font-size: 35px;
    position: absolute;
    bottom: 35px; 
    left: 50%;
    /* O deslocamento X do chute é: -150% (Esquerda) e 50% (Direita) */
    transform: translateX(-50%);
    transition: transform 0.5s ease-in-out;
    z-index: 15; 
}

#player {
    font-size: 40px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Goleiro (Estilos mantidos) */
#keeper {
    font-size: 40px; 
    position: absolute;
    top: 65px; 
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s ease-out; 
    z-index: 10;
}

/* CLASSES DE MOVIMENTO RESTRINGIDO DO GOLEIRO */
#keeper.save-left {
    /* Limitado ao mesmo deslocamento X da bola no chute esquerdo */
    transform: translateX(-150%); 
}
#keeper.save-center {
    transform: translateX(-50%); /* Posição inicial (centro) */
}
#keeper.save-right {
    /* Limitado ao mesmo deslocamento X da bola no chute direito */
    transform: translateX(50%); 
}


  
  /* Media query para telas menores (ex: celulares) */
  @media (max-width: 450px) {
    .carousel-prev,
    .carousel-next {
      padding: 5px;
      font-size: 14px;
    }
  }
/* ... (Seções body, #game-container, h1, #score-board, #selection-area, .select-player, .select-keeper mantidas) ... */
body{
    background-image: url(./fundo.jpeg);
}

/* Campo de Jogo */


/* Gol, Bola, Jogador (Estilos mantidos) */
#goal {
    font-size: 70px; 
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; 
    text-align: center;
}

#ball {
    font-size: 35px;
    position: absolute;
    bottom: 35px; 
    left: 50%;
    /* O deslocamento X do chute é: -150% (Esquerda) e 50% (Direita) */
    transform: translateX(-50%);
    transition: transform 0.5s ease-in-out;
    z-index: 15; 
}

#player {
    font-size: 40px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Goleiro (Estilos mantidos) */
#keeper {
    font-size: 40px; 
    position: absolute;
    top: 65px; 
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s ease-out; 
    z-index: 10;
}

/* CLASSES DE MOVIMENTO RESTRINGIDO DO GOLEIRO */
#keeper.save-left {
    /* Limitado ao mesmo deslocamento X da bola no chute esquerdo */
    transform: translateX(-150%); 
}
#keeper.save-center {
    transform: translateX(-50%); /* Posição inicial (centro) */
}
#keeper.save-right {
    /* Limitado ao mesmo deslocamento X da bola no chute direito */
    transform: translateX(50%); 
}


  
  /* Media query para telas menores (ex: celulares) */
  @media (max-width: 450px) {
    .carousel-prev,
    .carousel-next {
      padding: 5px;
      font-size: 14px;
    }
  }
/* ... (Seções body, #game-container, h1, #score-board, #selection-area, .select-player, .select-keeper mantidas) ... */
body{
    background-image: url(./fundo.jpeg);
}

/* Campo de Jogo */


/* Gol, Bola, Jogador (Estilos mantidos) */
#goal {
    font-size: 70px; 
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; 
    text-align: center;
}

#ball {
    font-size: 22px;
    position: absolute;
    bottom: 35px; 
    left: 50%;
    /* O deslocamento X do chute é: -150% (Esquerda) e 50% (Direita) */
    transform: translateX(-50%);
    transition: transform 0.5s ease-in-out;
    z-index: 15; 
}

#player {
    font-size: 40px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Goleiro (Estilos mantidos) */
#keeper {
    font-size: 40px; 
    position: absolute;
    top: 65px; 
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s ease-out; 
    z-index: 10;
}

/* CLASSES DE MOVIMENTO RESTRINGIDO DO GOLEIRO */
#keeper.save-left {
    /* Limitado ao mesmo deslocamento X da bola no chute esquerdo */
    transform: translateX(-150%); 
}
#keeper.save-center {
    transform: translateX(-50%); /* Posição inicial (centro) */
}
#keeper.save-right {
    /* Limitado ao mesmo deslocamento X da bola no chute direito */
    transform: translateX(50%); 
}

/* ... (Restante do CSS mantido) ... */

 #field {
    /* ... (Estilos mantidos) ... */
    width: 100%;
    height: 250px; 
   background-image: url(../campo1.jpg);
   background-repeat: no-repeat;
    background-position: center;
    border: 5px solid #fff;
    border-radius: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
  }
