*{
    margin: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

:root {
    --firstColor: rgb(255, 255, 255);
    --secondColor: rgb(8, 0, 80);
}

body{
    background-image: linear-gradient(90deg, yellow, orange);
    width: 100% - 18px;
}

.periodic-table{
    margin: 0px;
    margin: 10px;
}

header h1{
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: center;
    color: white;
    background-color: var(--secondColor);    
}

label{
    justify-content: center;
    text-align: center;
    display: flex;
    color: black;
    font-size: large;
}

.option-select{
    justify-content: center;
    text-align: center;

}

.elemData{
    height: 30px;
    background-color: blue;
    font-size: larger;
    text-align: center;
    color: white;
    font-weight: bold;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    padding: 3px;
}

#chemElements-id{
    height: 30px;
    font-size: larger;
}

.elementDetails{
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr);
    overflow-wrap: normal;
    gap: 20px;
    margin-top: 30px;
}

#footer-id{
    background-color: var(--secondColor);
    color: white;
    width: 100% - 18px;
    height: 80px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    font-size: larger;
}