body{
    background-color: DodgerBlue;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}
.container {
    padding: 10px;
}
.flex-container {
    display: flex;
    flex-wrap: nowrap;
}
.text-muted {
    font-size: 10px;
    color: #333;
    font-weight: bold;
    text-align: center;
}
.text-muted-weight {
    font-size: 10px;
    color: #333;
    font-weight: bold;
    text-align: center;
}

main{
    margin: 0 auto;
    width: 72%;
}
.legend{
    width: 80%;
}
.pageHeading{
    margin-top: 10px;
    font-size: 1.5em;
}

.flex-container > div > .text-muted {
    line-height: 0;
    margin-top: -10px;
}

.flex-container > div > .text-muted-weight {
    line-height: 0;
    margin-top: 12px;
}

.table-numbers{
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

.table-numbers:hover{
    cursor: pointer;
}
.number{
    border-left: solid 1px #fff;
    border-right: solid 1px #fff;
    width: 70px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

.flex-container > div {
    border: solid 1px #ccc;
    width: 70px;
    text-align: center;
    height: 70px;
    font-size: 20px;
    color: #333;
}

.row{
    display: inline-block;
    padding: 20px;
}

.row  input, label{
    margin-top: 15px;
}

.flex-container > div:hover, .flex-container > div:hover > div{
    cursor: pointer;
    background-color: transparent;
    color: white;
}

.reactive-nonmetals {
    background-color: #6BFF6E;
}
.alkali-metals{
    background-color: #FBD562;
}
.alkali-earth-metals{
    background-color: #FEFF6E;
}
.post-transition-metal{
    background-color: #93E4A2;
}

.metalloids{
    background-color: #5fbf6f;
}
.transition-metals{
    background-color: #E4CACA;
}

.noble-gases{
    background-color: #94D7FF;
}

.actinoids{
    background-color: #F0C6E2;
}
.lanthanoids{
    background-color: #FAC7AC;
}
.unknown{
    background-color: #f1f1f1;
}
.hide{
    visibility: hidden;
}
.margin-top-20{
    margin-top: 20px;
}

.element-content{
    margin-top: 10px;
    margin-bottom: 14px;
}

.element-number {
    font-size: 9px;
    position: relative;
    top: 3px;
}




/**************** Media Queries ******************/
@media screen and (max-width: 1400px) {

    main {
        width: 100%;
    }
    /*.text-muted-weight, .text-muted{*/
    /*    font-size: 8px;*/
    /*}*/
}

@media screen and (max-width: 1038px) {
    .flex-container > div {
        font-size: 14px;
    }
}

@media screen and (max-width: 965px) {
    .flex-container > div {
        width: 50px;
    }
    .text-muted, .text-muted-weight {
        font-size: 8px;
    }
}

@media screen and (max-width: 850px) {
    .flex-container > div {
        font-size: 11px;
        width: 40px;
    }
}
