.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 19px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
    border: 1px solid var(--theme-accent);
    z-index: 2;
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 3px;
    bottom: 2px;
    background-color: var(--theme-accent);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switcher {
    display: flex;
    align-items: center;
}

.switcher-theme-name {
    background: none;
    outline: none;
    border: none;
    color: var(--theme-main);
    font-size: 16px;
    line-height: 24px;
    font-family: 'Montserrat', sans-serif;
}

