


.periodic-table {
    color: #fff;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto
}

@media (max-width:991.98px) {
    .periodic-table {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        padding-top: 30px
    }
}

@media (max-width:767.98px) {
    .periodic-table {
        padding-top: 20px;
        padding-bottom: 40px;
    }
}

.periodic-table.hovered .group {
    background-color: #ffffff46
}

.periodic-table .group {
    background-color: #fff;
    padding: 6px
}

@media (max-width:767.98px) {
    .periodic-table .group {
        padding: 4px
    }
}

.periodic-table .group .square {
    background-color: #612166;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 103px;
    height: 103px;
    margin-bottom: 6px;
    position: relative
}

.periodic-table .group .square:before {
    content: "";
    position: absolute;
    left: -6px;
    top: -6px;
    bottom: -6px;
    right: -6px;
    border: 6px solid #fff;
    display: block;
    z-index: 99;
    opacity: 0
}

.periodic-table .group .square.active:before {
    content: "";
    opacity: 1
}

.periodic-table .group .square.dim {
    position: relative
}

.periodic-table .group .square.dim a {
    opacity: .3
}

@media (max-width:767.98px) {
    .periodic-table .group .square {
        width: 70px;
        height: 70px;
        margin-bottom: 4px
    }
}
/* ul:hover a {
    color: #CCC;
  }
  ul:hover a:hover {
    color: #000;
    box-shadow: 0 2px 0 0 currentcolor;
  } */
.periodic-table .group .square a {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 100;
    opacity: 1;
    -webkit-transition: opacity .4s ease;
    -o-transition: opacity .4s ease;
    transition: opacity .4s ease
}

.periodic-table .group .square a .title {
    font-size: 2.8375rem;
    font-weight: 700;
    line-height: 58px;
    margin-bottom: 4px;
    color: #fff;
    margin-top: 12px
}

@media (max-width:767.98px) {
    .periodic-table .group .square a .title {
        font-size: 2.25rem;
        line-height: 44px;
        margin-top: 5px;
        margin-bottom: 0
    }
}

.periodic-table .group .square a .link-title {
    font-size: .6875rem;
    line-height: 13px;
    color: #54c8e8;
    font-weight: 700
}

@media (max-width:767.98px) {
    .periodic-table .group .square a .link-title {
        font-size: .5625rem
    }
}

.periodic-table .group .square a .categ {
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 36px;
    color: #fff
}

@media (max-width:767.98px) {
    .periodic-table .group .square a .categ {
        font-size: 1.0625rem;
        line-height: 21px
    }
}

.periodic-table .group .square a .categ+.link-title {
    font-size: 1.3125rem;
    line-height: 25px
}

@media (max-width:767.98px) {
    .periodic-table .group .square a .categ+.link-title {
        font-size: .75rem;
        line-height: 14px
    }
}

.periodic-table .group .square:last-child {
    margin-bottom: 0
}

.periodic-table .group:nth-child(1) {
    height: 50%;
    padding-right: 0
}

.periodic-table .group:nth-child(2) {
    height: 70%;
    padding-right: 0
}

.periodic-table .group:nth-child(4) {
    -ms-flex-item-align: center;
    align-self: center;
    padding-left: 0
}

.periodic-table .info {
    position: absolute;
    bottom: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

@media (max-width:767.98px) {
    .periodic-table .info {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }
}

.periodic-table .info img {
    width: 18px;
    height: 24px;
    margin-right: 10px
}

@media (max-width:767.98px) {
    .periodic-table .info img {
        margin-right: 0;
        margin-bottom: 15px
    }
}

.periodic-table .info p {
    margin-bottom: 0;
    font-size: 1rem
}

@media (max-width:767.98px) {
    .periodic-table .info p {
        width: 65%
    }
}
.periodic-table .group .square a:hover {
    background: #fff;
    color: #612166
   
}
.periodic-table .group .squar  {
    transition: 1s !important;
    -webkit-transition: 1s ;
    -moz-transition: 1s !important;
    -ms-transition: 1s !important;
    -o-transition: 1s !important;
    -webkit-transition: 1s !important;
}
.periodic-table .group .square a:hover .title,
.periodic-table .group .square a:hover .categ,
.periodic-table .group .square a:hover .link-title {
    color: #612166;
    text-decoration: none;
}
.periodic-table .group .square a:hover  {
    text-decoration: none !important;
}