
  .label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: whitesmoke;
    border: solid 2px black;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  
  .theme-selector .label:before {
    content: "light";
    font-size: 10px;
    z-index: 100;
    margin: 4px;
  }
  
  .theme-selector .label:after {
    content: "dark";
    font-size: 10px;
    z-index: 100;
    margin: 4px;
  }

  .lan-selector .label:before {
    content: "it";
    font-size: 10px;
    z-index: 100;
    margin: 4px;
  }
  
  .lan-selector .label:after {
    content: "en";
    font-size: 10px;
    z-index: 100;
    margin: 4px;
  }
  
  .label-text {
    margin-left: 16px;
  }
  
  .toggle {
    isolation: isolate;
    position: relative;
    height: 30px;
    width: 60px;
    border-radius: 15px;
    border-color: #272727;
    overflow: hidden;
  }
  
  .toggle-state {
    display: none;
  }
  
  .indicator {
    height: 100%;
    width: 200%;
    background: #ecf0f3;
    border-radius: 15px;
    transform: translate3d(-75%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.85, 0.05, 0.18, 1.35);
  }
  
  .toggle-state:checked ~ .indicator {
    transform: translate3d(25%, 0, 0);
    background:  #272727;
  }

  @media only screen and (max-width: 768px) {
	  .label {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        color: #394a56;
        border: solid 1px black;
      }
      
      .label:before {
        content: "light";
        font-size: 10px;
        z-index: 100;
        margin-right: 4px;
      }
      
      .label:after {
        content: "dark";
        font-size: 10px;
        z-index: 100;
        margin-left: 4px;
      }
      
      .label-text {
        margin-left: 10px;
      }
      
      .toggle {
        isolation: isolate;
        position: relative;
        height: 25px;
        width: 40px;
        border-radius: 15px;
        border-color: #272727;
        overflow: hidden;
      }

      .indicator {
        height: 80%;
        width: 200%;
        background: #ecf0f3;
        border-radius: 5px;
        transform: translate3d(-75%, 0, 0);
        transition: transform 0.4s cubic-bezier(0.85, 0.05, 0.18, 1.35);
      }
  }