@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Playwrite+IS:wght@100..400&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --Metales-alcalinos: 244, 67, 54;
    --Metales-alcalinotérreos: 255, 193, 7;
    --Metales: 255, 235, 59;
    --Metales-de-transición: 177, 255, 59;
    --Lantánidos: 59, 255, 235;
    --Metaloides: 59, 255, 137;
    --No-metales: 0, 153, 255;
    --Halógenos: 255, 59, 177;
    --Gases-nobles: 3, 169, 244;
    --Actínidos: 0, 150, 61;
    --gray: 165, 165, 165;
    --clr-Act: var(--No-metales);
    --header-height: 50px;
    --main-height: calc(100vh - var(--header-height));
}
*{
    scrollbar-width: thin;
    scrollbar-color: rgb(var(--clr-Act)) #000000;
}
*::-webkit-scrollbar{
    width: 10px;
}
*::-webkit-scrollbar-track{
    background: #000000;
}
*::-webkit-scrollbar-thumb{
    background-color: rgb(var(--clr-Act));
    border-radius: 10px;
    border: 1px none #000000;
}
body{
    background-color: #000000;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
header{
    height: var(--header-height);
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    border-bottom: 1px solid rgb(var(--clr-Act));
    display: flex;
    flex-direction: row;
    align-items: center;
}
#main{
    height: var(--main-height);
    width: 100vw;
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: 1;
    overflow: auto;
}
#model2d, #model3d{
    display: none;
    height: calc(100vh - var(--header-height));
    width: 100vw;
    position: fixed;
    top: var(--header-height);
    left: 0;
}
aside{
    width: 100vw;
    max-width: 400px;
    height: var(--main-height);
    position: fixed;
    top: var(--header-height);
    right: 0;
    border-left: 1px solid rgb(var(--clr-Act));
    z-index: 10;
    transform: translateX(400px);
    transition: all 200ms ease;
    background-color: #000000;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}
footer{
    height: 300px;
    width: 100vw;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    border-top: 1px solid rgb(var(--clr-Act));
    box-shadow: 0px -1px 20px 0px rgb(var(--clr-Act));
    transform: translateY(300px);
    border-radius: 10px 10px 0 0;
    transition: all 200ms ease;
    overflow-y: auto;
    overflow-x: hidden;
}
#optionsTable{
    width: calc(100vw - var(--header-height));
    height: var(--header-height);
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
}
#optionsTable button{
    height: var(--header-height);
    min-width: 150px;
}
#hamburgerButton{
    width: var(--header-height);
    height: var(--header-height);
}
.buttonStyle{
    border: 1px solid rgb(var(--clr-Act));
    background-color: #000000;
    color: rgb(var(--clr-Act));
    font-family: 'Orbitron', sans-serif;
    font-size: larger;
    transition: all 200ms ease;
}
.buttonStyle:hover{
    background-color: rgb(var(--clr-Act));
    color: #000000;
}
.buttonStyle:active{
    background-color: #000000;
    color: rgb(var(--clr-Act));
    transform: scale(0.95);
}
.hamburger{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    align-items: center;
}
.hamburger span{
    display: block;
    width: 90%;
    height: 4px;
    background-color: rgb(var(--clr-Act));
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1){
    transform: translateY(16px) rotate(45deg);
}
.hamburger.active span:nth-child(2){
    opacity: 0;
}
.hamburger.active span:nth-child(3){
    transform: translateY(-16px) rotate(-45deg);
}
#openFooter{
    position: fixed;
    bottom: 0;
    left: calc(50% - 50px);
    padding: 10px;z-index: 4;
}
#Tabla{
    margin: 200px;
}
#Tabla tr th{
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    color: rgb(var(--gray));
    transition: all 200ms ease;
    font-family: 'Orbitron', sans-serif;
    user-select: none;
}
#viewElement{
    width: 180px;
    height: 200px;
    box-shadow: 0px 0px 20px 1px rgb(var(--clr-Act));
    color: rgb(var(--clr-Act));
    background-color: rgba(var(--clr-Act), 0.3);
    font-family: "Orbitron", serif;
    position: fixed;
    top: calc(10px + var(--header-height));
    left: 10px;
    z-index: 5;
}
#headerElement{
    height: 80px;
    width: 100%;
    display: flex;
}
#hELeft{
    padding-left: 10px;
}
#hELeft, #hERight{
    width: 50%;
    height: 80px;
    display: flex;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
#footerElement{
    height: 120px;
    width: 100%;
    display: flex;
}
#fELeft{
    width: 70%;
    height: 120px;
}
#fERight{
    width: 30%;
    height: 120px;
}
#numeroAtomico{
    text-align: center;
    font-weight: bolder;
}
#simbolo{
    font-size: 40px;
    text-align: center;
}
#nombre, #configuraciónElectronica{
    font-size: 15px;
    text-align: left;
    padding-left: 5px;
}
#estadosDeOxidacion{
    display: flex;
    flex-direction: column;
    font-size: 10px;
}
.infoText, .titleInfo{
    color: rgb(var(--clr-Act));
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
}
.separe{
    width: 95%;
    height: 2px;
    margin: 20px 2.5%;
    border: 1px solid rgb(var(--clr-Act));
    box-shadow: 0px 0px 20px 6px rgb(var(--clr-Act));
}
footer label, footer input{
    color: rgb(var(--clr-Act));
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    display: block;
    width: 90%;
    margin: 10px 5%;
}
footer input{
    background-color: #000000;
    border: 1px solid rgb(var(--clr-Act));
    padding: 5px;
    margin-bottom: 20px;
}
#changeAtom{
    width: 80%;
    margin: 15px 10% 30px 10%;
    padding: 10px 0;
}
#modeloglb{
    width: 100%;
    height: 100%;
}