
.main-container{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    height: 90%;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: none;
	background-color: transparent;
}

.main-container .player_div{
    display: flex;
	flex-direction: row;
    box-sizing: border-box; /* inclui padding e borda na largura e altura do item */
    flex-wrap: wrap;
    width: 90%;
    height: 45%;
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 1px solid #FFF;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    background-image: transparent;
    position: relative; /* Needed for absolute positioning of the overlay */
}
.main-container .player_div::before { /* Use ::before pseudo-element for the overlay */
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 20%, transparent); /* Adjust opacity (0.7) as needed */
    /* The higher the first rgba value, the darker the bottom part of the gradient */
}
.main-container .player_div > * { /* Ensure content is above the overlay */
    position: relative; /* Elements inside the player_div will be on top of the overlay */
    z-index: 1; /* Ensure content is above the overlay */
}

.player_div .count{
    height: 70%;
}
.player_div .leader_data{
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 30%;
    margin: 0px;
    padding: 5px;
    align-items: center;
    background-color: rgba(0, 0, 0,0.5); /* cor de fundo (ajuste conforme necessário) */
}

.player_div .leader_data .left{
    display: flex; /* Alinha leader-img e aspects lado a lado */
    flex-direction: row;
    align-items: center;
    height: 100%;
    width: 70%;
}

.player_div .leader_data .leader-img{
    display: flex;
    box-sizing: border-box;
    padding: 5px;
	border-radius: 50%; /* Define o formato circular */
	overflow: hidden; /* Garante que a imagem não ultrapasse o círculo */
	border: 2px solid #FFF;
	background-color: #FFF;
    background-image: none;
    background-repeat: no-repeat;
    background-size: 400%;
	background-position: -40px -25px; /* left top */
	width: auto;
    min-width: 70px;
	height: 80%;
}
.player_div .leader_data .leader-img:hover{
    border-color: #F00;
    cursor: pointer;
}
.player_div .leader_data .aspects{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    height: 100%;
    min-width: 30px;
    justify-content: center;
}
.player_div .leader_data .aspects .aspects-img{
    position: relative;
    display: flex;
    flex: 1;
    float:left;
    width: 100%;
    height: auto;
    margin: 2px;
    margin-right: 5px;
    min-width: 10px;
    min-height: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 3;
}

/* MENU de SELEÇÂO */
.player_div .select_base_leader{
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	justify-items: center;
}
.player_div .select_base_leader select{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	flex: 1;
}
.player_div .select_base_leader button {
	display: flex;
	margin: 2px;
    padding: 5px;
    width: 50%;
	height: 20px;
	flex: 1;
	flex-wrap: wrap;
    border: none;
    border-radius: 15px; /* Borda arredondada */
    background-color: #30475E; /* Cor de fundo do botão */
    color: #F5F7F8; /* Cor do texto do botão */
    font-size: 2dvh; /* Tamanho da fonte */
    font-weight: 300;
    cursor: pointer; /* Muda o cursor para indicar que é clicável */
	justify-content: center;
	align-self: center;
	line-height: 20px;
	transform: none;
}
.player_div .select_base_leader button:hover {
    background-color: darkred; /* Muda a cor de fundo ao passar o mouse */
}

#player_1{
    transform: rotate(180deg);
}