div {
    text-align: left;
}

.borda_naometais { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(167, 248, 167);
}

.borda_alcalinos { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(234, 189, 83);
}

.borda_terrosos { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(255, 255, 111);
}

.borda_transição { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(255, 141, 141);
}

.borda_semi { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(110, 209, 169);
}

.borda_outros { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(201, 201, 201);
}

.borda_nobre { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(47, 128, 200);
}

.borda_halogenio { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(137, 212, 212);
}

.borda_lantanideos { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(129, 198, 210);
}

.borda_actinidios { border: solid;
width: 5%;
height: 7vh;
text-align: center;
border-radius: 10px;
background-color: rgb(229, 143, 183);
}

* {
    margin: 0;
}

table {
    height:  100vh;
    width: 100%;
}

table {
    margin: 0;
}
td{

    transition: 1.5;
}
td:hover{
    cursor: pointer;
    transform: scale(1.07);
}

.legenda-periodica {
    display: flex;
    justify-content: space-around; 
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.legenda-coluna {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legenda-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.quadrado {
    width: 25px;
    height: 25px;
    margin-right: 12px;
    display: inline-block;
}
