#toggle-mode{
    display: table;
    width: 100%;
}

div.btn-container{
    width: 100%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}


.btn-color-mode-switch{
    display: inline-block;
    margin: 0;
    position: relative;
    width: 70%;
}

.btn-color-mode-switch > label.btn-color-mode-switch-inner{
    margin: 10px;
    width: 100%;
    height: 70px;
    background-color: rgba(250, 252, 175, 0.3);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-around;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    color: #FFFFFF;
    font-family: din-round,sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .8px;
    line-height: 20px;
    outline: none;
    padding: 13px 16px;
    text-transform: uppercase;
}


.btn-color-mode-switch > label.btn-color-mode-switch-inner:before{
    content: "";
    height: 100%;
    width: 55%;
    background: #1CB0F6;
    border-radius: 16px;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px -2px #111;
    padding: 5px 0px;
}

.btn-color-mode-switch > label.btn-color-mode-switch-inner:after {
    content: "";
    background-clip: padding-box;
    background-color: #1CB0F6;
    border: solid transparent;
    border-radius: 16px;
    border-width: 0 0 4px;
    bottom: -4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

label.btn-color-mode-switch-inner div{
    z-index: 1;
}


.btn-color-mode-switch input[type="checkbox"]{
    opacity: 0;
}

.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:before{
    content: "";
    left: 45%;
}

