/* ibm-plex-sans-300 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/ibm-plex-sans-v19-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ibm-plex-sans-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ibm-plex-sans-v19-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ibm-plex-sans-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/ibm-plex-sans-v19-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ibm-plex-sans-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/ibm-plex-sans-v19-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* SCROLLBAR */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #edf2f7;
  cursor: default;
}
::-webkit-scrollbar-thumb {
  background: #00d49b;
  cursor: default;
}
::-webkit-scrollbar-thumb:hover {
  background: #00d49b;
}
@keyframes rotate-center {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* RESET */
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
p,
ul,
ol {
  display: block;
  font-size: inherit;
}
h3 {
  color: #00d49b;
  font-size: 17px;
  line-height: 17px;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  /*image-rendering: -webkit-optimize-contrast;*/
}
a {
  color: inherit;
  transition: 0.3s;
  outline: 0;
  cursor: pointer;
  text-decoration: none;
}
body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  line-height: 17px;
  color: #4b4e5c;
  font-weight: 400;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh;
}
body.view-element-detail main #section-exercise {
  width: 25px;
}
body.view-element-detail main #section-sidebar {
  width: calc(100% - 1280px - 25px);
  padding-left: 35px;
  position: relative;
}
body.view-element-detail main #section-sidebar #sidebar {
  border-left: 1px solid #b4cade;
  padding: 25px;
  height: 100%;
  overflow-y: auto;
}
body.view-element-detail main #section-sidebar #sidebar-configurazione-elettronica {
  background-color: #1e2233;
  padding: 25px;
  width: calc(100% - 35px);
  height: 100%;
  overflow-y: auto;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
body.view-element-detail main #section-sidebar #sidebar-configurazione-elettronica.is-visible {
  opacity: 1;
  pointer-events: all;
}
body.view-exercise-detail main #section-sidebar {
  width: 25px;
}
body.view-exercise-detail main #section-exercise {
  width: calc(100% - 1280px - 50px);
  position: relative;
}
body.view-exercise-detail main #section-exercise #exercise {
  background-color: #edf2f7;
  height: 100%;
  overflow-y: auto;
}
/* ATOMS */
b,
strong {
  font-weight: 700;
}
p:not(:last-child) {
  margin-bottom: 25px;
}
sup {
  font-size: 75%;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #00d49b;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
  outline: 0;
  border: 1px solid #00d49b;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  font-size: 14px;
  line-height: 14px;
  padding: 0 14px;
  border-radius: 999px;
  height: 35px;
}
.btn img,
.btn svg {
  height: 17px;
  width: auto;
}
.btn:hover {
  border: 1px solid #1e2233;
  background-color: #1e2233;
}
.btn.btn-gray {
  background-color: #4b4e5c;
  border: 1px solid #4b4e5c;
}
.btn.btn-gray svg {
  stroke: #00d49b;
  transition: 0.2s;
}
.btn.btn-gray:hover {
  color: #1e2233;
  background-color: #00d49b;
  border: 1px solid #00d49b;
}
.btn.btn-gray:hover svg {
  stroke: #1e2233;
}
.btn.btn-white {
  color: #1e2233;
}
.btn.btn-white:hover {
  color: #fff;
}
.btn.btn-green {
  color: #1e2233;
  background-color: #00d49b;
}
.btn.btn-green:hover {
  background-color: #1e2233;
  color: #00d49b;
}
.btn.btn-important {
  border: 1px solid transparent;
  font-weight: 700;
  padding: 0 25px;
  font-size: 16px;
  line-height: 16px;
}
.btn span + svg {
  margin-left: 10px;
}
.btn svg + span {
  margin-left: 10px;
}
.btn span + img {
  margin-left: 10px;
}
.btn img + span {
  margin-left: 10px;
}
/* HELPER */
.t-left {
  text-align: left;
}
.t-right {
  text-align: right;
}
.t-center {
  text-align: center;
}
.t-white {
  color: #fff;
}
.t-orange {
  color: #f08f5b;
}
.t-lime {
  color: #88bd31;
}
.t-turchese {
  color: #20afe3;
}
.t-lavanda {
  color: #d755e0;
}
[hidden],
.hidden {
  display: none !important;
}
/* GRAPHIC */
::-webkit-input-placeholder {
  color: #ccc;
}
:-moz-placeholder {
  color: #ccc;
}
::-moz-placeholder {
  color: #ccc;
}
:-ms-input-placeholder {
  color: #ccc;
}
/* FORM */
input {
  font-family: inherit;
  font-size: 16px;
  line-height: 16px;
  background: #4b4e5c;
  border: none;
  border-radius: 999px;
  font-style: normal;
  padding: 0 15px;
  width: 100%;
  height: 35px;
  transition: 0.3s;
  color: #fff;
  outline: none;
  /* Stile generale per l'elemento */
}
input[type="range"] {
  -webkit-appearance: none;
  /* Rimuove lo stile predefinito */
  appearance: none;
  background: none;
  border-radius: 5px;
  outline: none;
  padding: 0;
  width: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: linear-gradient(to right, #27b1e3 0%, #5ec49b 25%, #f7e363 50%, #f39056 75%, #e8635d 100%);
  border-radius: 5px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* Necessario per browser Webkit */
  appearance: none;
  width: 24px;
  height: 24px;
  background: #00d49b url('../img/icon-double-arrows.svg') no-repeat center center;
  background-size: 16px auto;
  border-radius: 50%;
  /* Cursore rotondo */
  cursor: pointer;
  margin-top: -8px;
}
/* MODAL */
html.modal-overflow {
  overflow: hidden;
  touch-action: none;
}
html.modal-overflow body {
  overflow: hidden;
  touch-action: none;
}
#modal_container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  transition: 0.6s;
  opacity: 0;
  visibility: hidden;
}
#modal_container.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}
#modal_container.is-visible #modal_window {
  opacity: 1;
  transform: translate(0, 0);
}
#modal_container #modal_window {
  border-radius: 25px;
  background: #fff;
  width: 100vw;
  max-width: 300px;
  max-height: 90vh;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  text-align: center;
  transform: translate(0, -20px);
  opacity: 0;
  transition: opacity 0s 0s, transform 0.3s 0s;
}
#modal_container #modal_window.is-template-modal {
  max-width: 500px;
}
#modal_container #modal_content {
  padding: 35px 25px 0 25px;
  max-height: calc( 90vh - 85px);
  text-align: center;
}
#modal_container #modal_actions {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
#modal_container .modal-exercise .exercise-title {
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}
#modal_container .modal-exercise .exercise-subtitle {
  font-size: 17px;
  line-height: 17px;
  font-weight: 700;
  margin-bottom: 25px;
}
#modal_container .modal-exercise .exercise-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.container {
  max-width: 1280px;
  width: 100%;
  margin: auto;
}
/* COLS */
.cols {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cols .col {
  flex: 1;
}
/* HEADER */
header {
  border-bottom: 3px solid #00d49b;
}
header .main-menu {
  width: 100%;
  background-color: #1e2233;
}
header .main-menu .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
header .main-menu .container .menu {
  display: flex;
  align-items: center;
  gap: 50px;
}
header .main-menu .container .menu a {
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 20px;
}
header .main-menu .container .menu a.is-open {
  color: #00d49b;
}
header .main-menu .container form {
  width: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: auto;
  gap: 15px;
}
header .main-menu .container form a img {
  height: 40px;
}
header .submenu {
  background-color: #edf2f7;
  height: 0;
  overflow: hidden;
  transition: 0.2s;
}
header .submenu .container {
  display: flex;
  align-items: center;
  gap: 35px;
}
header .submenu .container a {
  height: 50px;
  display: flex;
  align-items: center;
}
header .submenu .container a.is-active {
  color: #00d49b;
  font-weight: 700;
}
header .submenu.is-visible {
  height: 50px;
}
.section-contextual {
  background-color: #edf2f7;
  padding: 0;
  height: 0;
  overflow: hidden;
}
.section-contextual.is-visible {
  padding: 25px 0 15px 0;
  height: auto;
  overflow: visible;
}
.section-contextual.contextual-massa-atomica img {
  max-width: 360px;
}
.section-contextual.contextual-energia-di-prima-ionizzazione img {
  max-width: 360px;
}
.section-contextual.contextual-punti-di-fusione img {
  max-width: 360px;
}
.section-contextual.contextual-elettronegativita img {
  max-width: 360px;
}
.section-contextual.contextual-densita img {
  max-width: 360px;
}
.section-contextual.contextual-numeri-di-ossidazione img {
  max-width: 360px;
}
.section-contextual.contextual-temperatura .temperatura-slider {
  display: flex;
  align-items: center;
  gap: 5px;
}
.section-contextual.contextual-temperatura .temperatura-slider .temperatura-value {
  background-color: #fff;
  border-radius: 999px;
  width: 75px;
  padding: 8px 10px;
  text-align: center;
  margin-left: 15px;
}
.section-contextual.contextual-temperatura img {
  max-width: 400px;
}
/* MAIN */
main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
main #section-exercise {
  width: calc((100% - 1280px) / 2);
  height: calc(100dvh - 75px - 60px);
  transition: 0.3s;
}
main #section-periodic-table {
  width: 1310px;
  transition: 0.3s;
  padding: 25px 15px 15px 15px;
}
main #section-sidebar {
  width: calc((100% - 1280px) / 2);
  height: calc(100dvh - 75px - 60px);
  transition: 0.3s;
}
#periodic-table {
  width: 1280px;
  display: grid;
  grid-template-columns: 27px repeat(18, 1fr);
  gap: 3px;
  position: relative;
}
#periodic-table:before {
  content: "Gruppi";
  position: absolute;
  font-size: 10px;
  line-height: 10px;
  font-weight: 700;
  left: 30px;
  top: -17px;
  color: gray;
}
#periodic-table .groupName,
#periodic-table .rowName {
  background-color: #dae4f0;
  border-radius: 5px;
  padding: 3px;
  text-align: center;
  font-size: 11px;
  line-height: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#periodic-table .groupName {
  margin-bottom: 8px;
}
#periodic-table .rowName {
  margin-right: 8px;
}
#periodic-table .element {
  border-radius: 7px;
  padding: 7px 0 5px 5px;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s;
  cursor: pointer;
}
#periodic-table .element .element-number {
  font-size: 10px;
  line-height: 10px;
}
#periodic-table .element .element-symbol {
  font-size: 30px;
  line-height: 30px;
  margin-top: auto;
  font-weight: 500;
}
#periodic-table .element .element-name {
  margin-top: 3px;
  font-size: 10px;
  line-height: 10px;
}
#periodic-table .element.is-massa-atomica {
  color: #fff;
  padding: 5px 0 7px 5px;
  cursor: default;
}
#periodic-table .element.is-massa-atomica .element-symbol {
  margin-top: 0;
  font-size: 25px;
  line-height: 25px;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-2 {
  background-color: #ffb12b;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-3 {
  background-color: #f78c34;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-4 {
  background-color: #fa7867;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-5 {
  background-color: #f26387;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-6 {
  background-color: #ed5fc3;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-7 {
  background-color: #d666de;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-8 {
  background-color: #a071cf;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-9 {
  background-color: #d666de;
}
#periodic-table .element.is-massa-atomica.is-massa-atomica-10 {
  background-color: #a071cf;
}
#periodic-table .element.is-massa-atomica .element-massa {
  font-size: 13px;
  line-height: 13px;
  font-weight: 700;
}
#periodic-table .element.is-energia-di-prima-ionizzazione,
#periodic-table .element.is-punti-di-fusione,
#periodic-table .element.is-elettronegativita,
#periodic-table .element.is-densita,
#periodic-table .element.is-numeri-di-ossidazione {
  color: #fff;
  padding: 5px 0 7px 5px;
  cursor: default;
  background-color: #a4b2c7;
}
#periodic-table .element.is-energia-di-prima-ionizzazione .element-symbol,
#periodic-table .element.is-punti-di-fusione .element-symbol,
#periodic-table .element.is-elettronegativita .element-symbol,
#periodic-table .element.is-densita .element-symbol,
#periodic-table .element.is-numeri-di-ossidazione .element-symbol {
  margin-top: 0;
  font-size: 25px;
  line-height: 25px;
}
#periodic-table .element.is-energia-di-prima-ionizzazione .element-value,
#periodic-table .element.is-punti-di-fusione .element-value,
#periodic-table .element.is-elettronegativita .element-value,
#periodic-table .element.is-densita .element-value,
#periodic-table .element.is-numeri-di-ossidazione .element-value {
  font-size: 13px;
  line-height: 13px;
  font-weight: 700;
}
#periodic-table .element.is-temperatura {
  color: #fff;
  cursor: default;
  background-color: #a4b2c7;
}
#periodic-table .element.is-temperatura.is-gas {
  background-color: #f9c367;
}
#periodic-table .element.is-temperatura.is-liquido {
  background-color: #df77e6;
}
#periodic-table .element.is-temperatura.is-solido {
  background-color: #9fca5a;
}
#periodic-table .element.is-numeri-di-ossidazione {
  transition: 0.3s;
  cursor: pointer;
  opacity: 0.6;
}
#periodic-table .element.is-numeri-di-ossidazione:hover {
  opacity: 0.8;
}
#periodic-table .element.is-numeri-di-ossidazione.is-active {
  opacity: 1;
}
#periodic-table .branch {
  background: transparent no-repeat top left;
  background-size: cover;
}
#periodic-table.is-abbina-i-simboli .element {
  justify-content: flex-start;
}
#periodic-table.is-abbina-i-simboli .element .element-symbol {
  margin-top: 3px;
}
#periodic-table-legenda {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px;
  height: 27px;
}
#periodic-table-legenda .legenda-item {
  font-size: 13px;
  line-height: 13px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
}
#periodic-table-legenda .legenda-description {
  margin-top: 15px;
  display: none;
}
#periodic-table-legenda .legenda-description.is-active {
  display: block;
}
/* DETAIL */
.element-detail {
  font-size: 15px;
  line-height: 23px;
  color: #5d6172;
  position: relative;
}
.element-detail b {
  color: #000;
}
.element-detail .element-detail-name {
  font-size: 30px;
  line-height: 30px;
}
.element-detail .element-detail-image {
  width: 100%;
  height: 200px;
}
.element-detail .element-detail-image model-viewer {
  width: 100%;
  height: 100%;
}
.element-detail .element-detail-configurazione-elettronica {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.element-detail .element-detail-info {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 25px 0;
}
.element-detail .element-detail-info .element-detail-brick {
  aspect-ratio: 1;
  width: 115px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}
.element-detail .element-detail-info .element-detail-brick .element-detail-symbol {
  font-size: 50px;
  line-height: 50px;
  margin: auto 0 3px 0;
  transform: translateX(-3px);
  font-weight: 500;
}
.element-detail .element-detail-close {
  position: absolute;
  top: 5px;
  right: 0;
  cursor: pointer;
}
.element-detail .element-detail-close:hover {
  opacity: 0.7;
}
.element-accordion-item {
  margin: 0 -25px;
}
.element-accordion-item .element-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-top: 1px solid #c7c9d1;
  padding: 15px 20px;
  gap: 10px;
}
.element-accordion-item .element-accordion-header .element-accordion-close {
  transition: 0.2s;
}
.element-accordion-item .element-accordion-header .element-accordion-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #000;
  margin: 0 auto 0 0;
}
.element-accordion-item .element-accordion-header img {
  height: 20px;
  width: auto;
}
.element-accordion-item .element-accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  opacity: 0;
}
.element-accordion-item .element-accordion-content .element-image {
  margin-bottom: 5px;
}
.element-accordion-item .element-accordion-content .element-image-dida:not(:last-child) {
  margin-bottom: 25px;
}
.element-accordion-item .element-accordion-content .element-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.element-accordion-item .element-accordion-content .element-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.element-accordion-item.is-open {
  background-color: #edf2f7;
}
.element-accordion-item.is-open .element-accordion-header .element-accordion-close {
  transform: rotate(45deg);
}
.element-accordion-item.is-open .element-accordion-content {
  max-height: 1024px;
  padding: 0 25px 25px 25px;
  opacity: 1;
}
/* CONFIGURAZIONE ELETTRONICA */
.element-configurazione-elettronica {
  font-size: 13px;
  line-height: 22px;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  height: auto;
}
.element-configurazione-elettronica .element-configurazione-elettronica-title {
  color: #00d49b;
  font-weight: 700;
}
.element-configurazione-elettronica .element-configurazione-elettronica-name {
  font-size: 30px;
  line-height: 30px;
  margin-bottom: 15px;
}
.element-configurazione-elettronica .element-configurazione-elettronica-name small {
  font-size: 20px;
  line-height: 20px;
  display: inline-block;
  margin-left: 10px;
}
.element-configurazione-elettronica .element-configurazione-elettronica-plain {
  font-size: 17px;
  line-height: 22px;
}
.element-configurazione-elettronica .element-configurazione-elettronica-plain sup {
  font-size: 10px;
  line-height: 10px;
}
.element-configurazione-elettronica .element-configurazione-elettronica-close {
  position: absolute;
  top: 5px;
  right: 0;
  cursor: pointer;
  width: 24px;
  height: auto;
}
.element-configurazione-elettronica .element-configurazione-elettronica-close:hover {
  opacity: 0.7;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom {
  position: relative;
  width: 375px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 10px auto;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .shell {
  border: 1px solid #aaa;
  /* Solo bordi colorati */
  border-radius: 50%;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: none;
  /* Rimuove lo sfondo */
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .shell[data-shell="1"] {
  animation: rotate-center 10s linear infinite both;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .shell[data-shell="2"] {
  animation: rotate-center 15s linear infinite both;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .shell[data-shell="3"] {
  animation: rotate-center 20s linear infinite both;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .shell[data-shell="4"] {
  animation: rotate-center 25s linear infinite both;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .shell[data-shell="5"] {
  animation: rotate-center 30s linear infinite both;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .shell[data-shell="6"] {
  animation: rotate-center 35s linear infinite both;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .shell[data-shell="7"] {
  animation: rotate-center 40s linear infinite both;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .electron {
  position: absolute;
  width: 10px;
  /* Aumenta la dimensione */
  height: 10px;
  /* Aumenta la dimensione */
  line-height: 20px;
  /* Allinea il testo verticalmente */
  text-align: center;
  /* Allinea il testo orizzontalmente */
  font-size: 12px;
  /* Dimensione del testo */
  font-weight: bold;
  /* Testo in grassetto */
  color: white;
  /* Colore del testo */
  border-radius: 50%;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .electron.s {
  background-color: #f08f5b;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .electron.p {
  background-color: #88bd31;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .electron.d {
  background-color: #20afe3;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom .electron.f {
  background-color: #d755e0;
}
.element-configurazione-elettronica #element-configurazione-elettronica-atom:after {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: #b4cade;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: auto 0 15px 0;
  gap: 15px;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale .ce-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 1px;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale .ce-row .ce-cell-name {
  padding-right: 2px;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale .ce-row .ce-cell {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background-color: #fff;
  opacity: 0.5;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale .ce-row .ce-cell.has-1-electron {
  background-image: url('../img/icon-electron-1.svg');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale .ce-row .ce-cell.has-2-electrons {
  background-image: url('../img/icon-electron-2.svg');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale.ce-orbitale-s .ce-cell {
  background-color: #f08f5b;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale.ce-orbitale-p {
  transform: translateY(-15px);
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale.ce-orbitale-p .ce-cell {
  background-color: #88bd31;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale.ce-orbitale-d {
  transform: translateY(-10px);
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale.ce-orbitale-d .ce-cell {
  background-color: #20afe3;
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale.ce-orbitale-f {
  transform: translateY(-5px);
}
.element-configurazione-elettronica .element-configurazione-elettronica-grid .ce-orbitale.ce-orbitale-f .ce-cell {
  background-color: #d755e0;
}
.element-configurazione-elettronica .element-configurazione-elettronica-ctas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.is-metalli-alcalini {
  color: #5b5eff;
  background-color: #f2f2ff;
}
.is-metalli-alcalini:hover,
.is-metalli-alcalini.is-active {
  color: #fff;
  background-color: #5b5eff;
}
.description-metalli-alcalini b {
  color: #5b5eff;
}
.is-metalli-alcalino-terrosi {
  color: #88bd31;
  background-color: #f6faee;
}
.is-metalli-alcalino-terrosi:hover,
.is-metalli-alcalino-terrosi.is-active {
  color: #fff;
  background-color: #88bd31;
}
.description-metalli-alcalino-terrosi b {
  color: #88bd31;
}
.is-lantanidi {
  color: #d755e0;
  background-color: #fcf1fc;
}
.is-lantanidi:hover,
.is-lantanidi.is-active {
  color: #fff;
  background-color: #d755e0;
}
.description-lantanidi b {
  color: #d755e0;
}
.is-attinidi {
  color: #f7b440;
  background-color: #fef9f0;
}
.is-attinidi:hover,
.is-attinidi.is-active {
  color: #fff;
  background-color: #f7b440;
}
.description-attinidi b {
  color: #f7b440;
}
.is-metalli-di-transizione {
  color: #e8625d;
  background-color: #fdf3f2;
}
.is-metalli-di-transizione:hover,
.is-metalli-di-transizione.is-active {
  color: #fff;
  background-color: #e8625d;
}
.description-metalli-di-transizione b {
  color: #e8625d;
}
.is-metalli-di-post-transizione {
  color: #9156f0;
  background-color: #f6f1fe;
}
.is-metalli-di-post-transizione:hover,
.is-metalli-di-post-transizione.is-active {
  color: #fff;
  background-color: #9156f0;
}
.description-metalli-di-post-transizione b {
  color: #9156f0;
}
.is-semimetalli {
  color: #f08f5b;
  background-color: #fef6f2;
}
.is-semimetalli:hover,
.is-semimetalli.is-active {
  color: #fff;
  background-color: #f08f5b;
}
.description-semimetalli b {
  color: #f08f5b;
}
.is-non-metalli-reattivi {
  color: #299e83;
  background-color: #eef7f5;
}
.is-non-metalli-reattivi:hover,
.is-non-metalli-reattivi.is-active {
  color: #fff;
  background-color: #299e83;
}
.description-non-metalli-reattivi b {
  color: #299e83;
}
.is-gas-nobili {
  color: #20afe8;
  background-color: #edf9fd;
}
.is-gas-nobili:hover,
.is-gas-nobili.is-active {
  color: #fff;
  background-color: #20afe8;
}
.description-gas-nobili b {
  color: #20afe8;
}
.is-proprieta-sconosciute {
  color: #4a669a;
  background-color: #f0f3f6;
}
.is-proprieta-sconosciute:hover,
.is-proprieta-sconosciute.is-active {
  color: #fff;
  background-color: #4a669a;
}
/* NUMERI DI OSSIDAZIONE */
#detail-num-ossidazione {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 25px;
}
#detail-num-ossidazione h3 {
  text-transform: capitalize;
}
/* ESERCIZI */
#exercise {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#exercise .exercise-header {
  background-color: #dae4f0;
  padding: 35px 25px;
  font-size: 18px;
  line-height: 22px;
}
#exercise .exercise-ctas {
  background-color: #dae4f0;
  padding: 0 25px 25px 25px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}
#exercise .exercise-body {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
#exercise .exercise-element {
  width: auto;
  height: 225px;
  aspect-ratio: 1;
  border-radius: 10px;
  background-color: #1e2233;
  color: #fff;
  padding: 15px;
  position: relative;
  font-size: 18px;
  line-height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
#exercise .exercise-element .exercise-element-question {
  font-size: 85px;
  line-height: 85px;
  font-weight: 500;
}
#exercise .exercise-element .exercise-element-name {
  font-size: 25px;
  line-height: 25px;
  font-weight: 700;
}
#exercise .exercise-element .exercise-element-distribuzione-elettronica {
  position: absolute;
  margin: auto;
  top: 17px;
  right: 17px;
  text-align: right;
}
#exercise .exercise-image {
  width: 400px;
  height: 400px;
  border-radius: 20px;
  background: #1e2233 no-repeat center center;
  background-size: cover;
}
#exercise .exercise-feedback {
  width: 100%;
  height: 100%;
  background-color: #1e2233;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#exercise .exercise-feedback img {
  width: 100px;
  height: auto;
}
#exercise .exercise-feedback .btn {
  margin-top: 50px;
}
#exercise .exercise-feedback .exercise-solution {
  margin-top: 25px;
  padding: 0 15px;
  text-align: center;
}
#exercise .exercise-feedback.feedback-correct {
  background-color: #81c250;
}
#exercise .exercise-feedback.feedback-wrong {
  background-color: #e76c63;
}
#exercise .exercise-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
#exercise .exercise-footer .exercise-result {
  width: 50%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #1e2233;
  color: #fff;
}
#exercise .exercise-footer .exercise-result.exercise-result-correct {
  background-color: #81c250;
}
#exercise .exercise-footer .exercise-result.exercise-result-wrong {
  background-color: #e76c63;
}
#exercise .exercise-footer .exercise-result .exercise-result-nr {
  font-size: 30px;
  line-height: 30px;
  font-weight: 500;
}
/* FOOTER */
footer {
  height: 60px;
  padding: 15px 30px;
  width: 100%;
  background-color: #dae4f0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
footer .logo {
  width: 40px;
}
@media (max-width: 1440px) {
  body.view-element-detail main #section-exercise {
    width: 0;
  }
  body.view-element-detail main #section-sidebar {
    width: 600px;
    padding-left: 0;
  }
  body.view-element-detail main #section-sidebar #sidebar-configurazione-elettronica {
    width: 100%;
  }
  body.view-exercise-detail main #section-exercise {
    width: 600px;
    padding-right: 0;
  }
  body.view-exercise-detail main #section-periodic-table {
    margin-left: 600px;
  }
  body.view-exercise-detail main #section-sidebar {
    width: 0;
  }
  header .main-menu .container .menu a {
    font-size: 16px;
    line-height: 16px;
  }
  main {
    display: block;
    overflow-x: auto;
  }
  main #section-exercise,
  main #section-sidebar {
    position: fixed !important;
    top: 0;
    width: 0;
    height: 100vh;
    background-color: #fff;
    z-index: 10;
  }
  main #section-exercise {
    left: 0;
  }
  main #section-sidebar {
    right: 0;
  }
  main #section-periodic-table {
    margin: auto;
  }
}
@media (max-width: 1280px) {
  .container {
    padding: 0 15px;
  }
}
@media (max-width: 1024px) {
  header .submenu-tavole-tematiche {
    overflow-x: auto;
  }
  header .submenu-tavole-tematiche .container {
    width: 1280px;
  }
  body.view-element-detail main #section-sidebar {
    width: 450px;
  }
  body.view-exercise-detail main #section-exercise {
    width: 450px;
  }
  body.view-exercise-detail main #section-periodic-table {
    margin-left: 450px;
  }
}
@media (max-width: 1023px) {
  ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
  }
  .container {
    padding: 0 10px;
  }
  .cols {
    gap: 10px;
  }
  .cols .col {
    flex: none;
    width: 100%;
  }
  header .main-menu .container {
    height: 50px;
  }
  header .main-menu .container .menu {
    gap: 20px;
  }
  header .main-menu .container .menu a {
    font-size: 14px;
    line-height: 14px;
  }
  header .main-menu .container form {
    width: 175px;
    gap: 5px;
  }
  header .main-menu .container input {
    font-size: 14px;
    line-height: 14px;
  }
  header .submenu .container {
    gap: 25px;
  }
  header .submenu .container a {
    height: 30px;
  }
  header .submenu.is-visible {
    height: 30px;
  }
  header .submenu-tavole-tematiche .container {
    width: 1100px;
  }
  body {
    font-size: 14px;
    line-height: 16px;
    height: auto;
  }
  body .view-element-detail main #section-sidebar #sidebar {
    padding: 15px;
  }
  body.view-exercise-detail main #section-exercise {
    width: 325px;
  }
  body.view-exercise-detail main #section-periodic-table {
    margin-left: 325px;
  }
  .element-detail {
    font-size: 14px;
    line-height: 22px;
  }
  #exercise .exercise-header {
    padding: 10px 10px;
    font-size: 14px;
    line-height: 16px;
  }
  #exercise .exercise-ctas {
    padding: 0 10px 10px 10px;
  }
  #exercise .exercise-element {
    height: 90%;
  }
  #exercise .exercise-image {
    width: 90%;
    height: 90%;
  }
  #exercise .exercise-feedback img {
    width: 50px;
  }
  #exercise .exercise-feedback .exercise-solution {
    font-size: 16px;
    margin: 15px 0;
  }
  #exercise .exercise-feedback .btn {
    margin-top: 5px;
  }
  #exercise .exercise-footer .exercise-result {
    padding: 5px;
  }
  #exercise .exercise-footer .exercise-result .exercise-result-nr {
    font-size: 25px;
    line-height: 25px;
  }
  #periodic-table {
    width: 1130px;
  }
  #periodic-table .element .element-symbol {
    font-size: 23px !important;
    line-height: 23px !important;
  }
  #periodic-table .element .element-name {
    font-size: 8px;
    line-height: 8px;
  }
  #periodic-table .element.is-massa-atomica .element-massa {
    font-size: 10px;
    line-height: 10px;
    font-weight: 500;
  }
  #periodic-table .element.is-energia-di-prima-ionizzazione .element-value,
  #periodic-table .element.is-punti-di-fusione .element-value,
  #periodic-table .element.is-elettronegativita .element-value,
  #periodic-table .element.is-densita .element-value,
  #periodic-table .element.is-numeri-di-ossidazione .element-value {
    font-size: 10px;
    line-height: 10px;
    font-weight: 500;
  }
  main #section-periodic-table {
    width: 1150px;
    padding: 25px 10px 10px 10px;
  }
  .section-contextual.is-visible {
    padding: 10px 0 10px 0;
    height: auto;
    overflow: visible;
  }
  footer {
    height: 32px;
    padding: 5px 10px;
  }
  footer .logo {
    width: 30px;
  }
}
