#section-periodic-table {
    height: 100lvh;
    width: 100vw;
    top: 0;
    left: 0;
}

#section-periodic-table .container
{
    width: 1125px;
    left: calc(50vw - 1125px / 2);
}

#section-periodic-table .element img
{
    height: auto;
}

/* Desktop */
#section-periodic-table .level-1
{
    width: 100px;
}
#section-periodic-table .level-2
{
    width: 180px;
}
#section-periodic-table .level-3
{
    width: 270px;
}
#section-periodic-table .level-4
{
    width: 470px;
}

#section-periodic-table .arsenic :nth-child(1)
{
    right: -320px;
    top: 2lvh;
}
#section-periodic-table .arsenic :nth-child(2)
{
    left: -110px;
    top: 70lvh;
}
#section-periodic-table .arsenic :nth-child(3)
{
    left: -1310px;
    top: 96lvh;
}

#section-periodic-table .silver :nth-child(1)
{
    right: 80px;
    top: -12lvh;
}
#section-periodic-table .silver :nth-child(2)
{
    left: -2020px;
    top: 14lvh;
}

#section-periodic-table .iridium :nth-child(1)
{
    left: -300px;
    top: 1lvh;
}
#section-periodic-table .iridium :nth-child(2)
{
    right: -360px;
    top: 91lvh;
}
#section-periodic-table .iridium :nth-child(3)
{
    right: -1760px;
    top: 21lvh;
}
#section-periodic-table .iridium :nth-child(4)
{
    right: -1560px;
    top: 99lvh;
}

#section-periodic-table .potassium :nth-child(1)
{
    right: -265px;
    top: 21lvh;
}
#section-periodic-table .potassium :nth-child(2)
{
    left: -665px;
    top: 14lvh;
}

#section-periodic-table .radium :nth-child(1)
{
    top: 38lvh;
    left: 435px;
}
#section-periodic-table .radium :nth-child(2)
{
    top: 166lvh;
    left: -285px;
}
#section-periodic-table .radium :nth-child(3)
{
    top: 203lvh;
    right: -1485px;
}

#section-periodic-table .sodium :nth-child(1)
{
    top: 11lvh;
    right: 445px;
}
#section-periodic-table .sodium :nth-child(2)
{
    top: 87lvh;
    left: -215px;
}

#section-periodic-table .selenium :nth-child(1)
{
    top: 67lvh;
    right: 200px;
}

#section-periodic-table .hafnium :nth-child(1)
{
    top: 10lvh;
    left: -185px;
}
#section-periodic-table .hafnium :nth-child(2)
{
    top: 158lvh;
    right: -15px;
}

#section-periodic-table .calcium :nth-child(1)
{
    top: -8lvh;
    left: 140px;
}
#section-periodic-table .calcium :nth-child(2)
{
    top: 103lvh;
    left: -860px;
}
#section-periodic-table .calcium :nth-child(3)
{
    top: 94lvh;
    right: -1060px;
}

#section-periodic-table .francium :nth-child(1)
{
    top: 52lvh;
    right: -30px;
}
#section-periodic-table .francium :nth-child(2)
{
    top: 181lvh;
    left: -1630px;
}

#section-periodic-table .scandium :nth-child(1)
{
    top: 28lvh;
    left: -15px;
}
#section-periodic-table .scandium :nth-child(2)
{
    top: 172lvh;
    right: -715px;
}

#section-periodic-table .glapix :nth-child(1)
{
    top: 50lvh;
    left: -50px;
    margin-top: 90lvh;
    transform: translateY(-50%) scale(0.8);
    /* filter: drop-shadow(6px 6px 7px #898989); */
}

#section-periodic-table .tablet.mobile.glapix :nth-child(1) {
    width: min(100vw, 40lvh);
    top: 30lvh;
    left: 50%;
    margin-left: max(-50vw, -20lvh);
}

#section-periodic-table .text
{
    position: absolute;
    top: 50lvh;
    transform-origin: top left;
    transform: translateY(-50%) scale(0.7);
    left: 500px;
    width: 625px;
}
#section-periodic-table .tablet.mobile.text
{
    position: absolute;
    top: 53lvh;
    transform-origin: top;
    transform: translateX(-50%) scale(0.7);
    left: 50%;
    width: 625px;
}
#section-periodic-table .text p:nth-of-type(1)
{
    background: -webkit-linear-gradient(left, #102e47 , #2e5276);
    background: -o-linear-gradient(right, #102e47 , #2e5276);
    background: -moz-linear-gradient(right, #102e47 , #2e5276);
    background: linear-gradient(to right, #102e47 , #2e5276); 
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}
#section-periodic-table .tablet.mobile.text p:nth-of-type(1)
{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
#section-periodic-table .desktop.text p:nth-of-type(2)
{
    margin-bottom: 15px;
    padding-right: 0;
    margin-right: 0;
    margin-left: auto;
}
#section-periodic-table .tablet.mobile.text p:nth-of-type(2)
{
    margin-bottom: 15px;
    margin-top: 15px;
    margin-right: auto;
    margin-left: auto;
}
#section-periodic-table .text p:nth-of-type(3)
{
    margin-bottom: 0;
}
#section-periodic-table .tablet.mobile.text p:nth-of-type(3)
{
    text-align: center;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}
#section-periodic-table .text .special
{
    color: #184a73;
}

@media screen and (max-width: 750px)
{
    #section-periodic-table .element:not(.glapix):not(.selenium)
    {
        transform: translateX(-100px);
    }
    #section-periodic-table .selenium
    {
        transform: translateX(-30px);
    }
}

@media screen and (max-width: 640px)
{
    .h-mobile
    {
        display: none !important;
    }
}