body{
    display: flex;
    position: relative;
    background-color: var(--cor1); 
    font-family: var(--fonte);
}
#btnAbrirJanelaPacotes{
    right: 3%;
}
main{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 90%;
    padding: 2%;
}
#botoesMain{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 70%;
    padding: 2%;
}
.btnMain{
    width: 28%;
    height: 5vh;
    font-size: 17px;
    background: linear-gradient(var(--cor3), var(--cor4));
    color: white;
    border: 0;
    border-radius: 6px;
}
.btnMain:hover{
    filter: brightness(0.9);
    transform: scale(1.01);
}
#timesDiv{
    border-top: 1px solid gray;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 80%;
    margin-top: 2%;
    padding-top: 2%;
    color: white;
    row-gap: 25px;
    column-gap: 25px;
}
.cardTime{
    width: 90%;
    margin: 3%;
    background-color: var(--cor2);
    border-radius: 12px;
    padding: 2%;
    box-shadow: 5px 5px 5px rgba(87, 87, 87, 0.185);
}
.tituloCard{
    padding: 2%;    
    width: 96%;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.jogadoresTabela{
    padding: 2%;
    width: 96%;
}
.jogadoresTabela tr{
    height: 3vh;
}
.botoesCard{
    display: flex;
    justify-content: space-around;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 3%;
}
.botoesCard button{
    width: 35%;
    height: 4vh;
    color: white;
    border: 0;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.botoesCard button:hover{
    filter: brightness(0.9);
    transform: scale(1.05);
}
.editarBtn{
    background: linear-gradient(rgb(55, 108, 255), rgb(45, 45, 230));
}
.deletarBtn{
    background: linear-gradient(rgb(190, 37, 37), rgb(179, 13, 13));
}
#janela-modal{
    display: none;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background-color: #63636380;
    backdrop-filter: blur(10px);
    z-index: 999;
}
.divJanela{
    display: none;
    flex-direction: column;
    align-items: center;
    width: 50%;
    box-shadow: 0 20px 60px #00000040;
    background-color: var(--cor1);
    color: white;
    border: 6px solid var(--cor2);
    border-radius: 12px;
    padding: 2%;
    gap: 16px;
    position: relative;
}
.btnSairJanela{
    border: 0;
    background-color: #00000000;
    color: white;
    font-size: 18px;
    position: absolute;
    right: 5%;
    top: 3vh;
}
#nomeTimeDiv{
    display: flex;
    width: 70%;
    justify-content: space-around;
}
#nomeTime-formulario{
    width: 60%;
}
#coresDiv{
    display: flex;
    justify-content: space-around;
    width: 100%;
}
#cor1Div, #cor2Div{
    display: flex;
    width: 15%;
    justify-content: space-between;
}
#jogadoresTabela{
    width: 100%;
    border-top: 1px solid gray;
    padding-top: 2%;
}
#jogadoresTabela tr{
    height: 4.5vh;
}
#jogadoresTabela td{
    text-align: center;
}
select{
    background-color: #00000000;
    color: white;
    border: 0;
    border-bottom: 1px solid var(--cor3);
    font-size: 14px;
    padding-bottom: 1%;
}
select option{
    color: black;
}
input{
    border: 1px solid var(--cor3);
    background-color: #00000000;
    border-radius: 4px;
    padding: 1.5%;
    color: white;
    font-size: 14px;
}
input[type="color"]{
    border: 0;
}
#transferenciaDiv{
    gap: 2.5rem;
}
.transferPai{
    display: flex;
    justify-content: space-around;
    width: 80%;
}
.transferFilho{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
}
.nomePlayer{
    width: 100%;
}
.overPlayer{
    width: 40%;
}
#btnConfirmar-formulario, #btnTransferir{
    width: 30%;
    height: 5vh;
    color: white;
    border: 0;
    font-size: 15px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    background: linear-gradient(rgb(13, 170, 26), rgb(11, 131, 21));
}
#btnConfirmar-formulario:hover, #btnTransferir:hover{
    filter: brightness(0.9);
    transform: scale(1.01); 
}

@media (max-width: 550px) {
    .btnMain{
        width: 40%;
        height: 4vh;
        font-size: 15px;
    }
    main{
        padding: 5% 2%;
    }
    .btnMain{
        height: 5.3vh;
        font-size: 12px;
    }
    #timesDiv{
        grid-template-columns: repeat(1, 1fr);
        margin-top: 5%;
    }
    .divJanela{
        width: 100%;
        padding: 5% 2%;
    }
    #cor1Div, #cor2Div{
        width: 30%;
    }
    #nomeTh{
        width: 60%;
    }
    #overTh{
        width: 25%;
    }
}