@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic&display=swap');

* {
    font-size: 12pt;
    font-family: 'Nanum Gothic', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgb(245, 245, 250);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

#shade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9997;
    background-color: #000;
    opacity: 0.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

input[type="checkbox"] {
    position: relative;
    -webkit-appearance: none;
        -moz-appearance: none;
            appearance: none;
    width: 24px;
    height: calc( 24px / 2 );
    background-color: #eee;
    border-radius: calc( 24px / 2 );
    outline: none;
    transition: background 450ms ease;
    box-shadow: 0 0 0 2px #dbdbdb;
}
input[type="checkbox"]:before, input[type="checkbox"]:after {
    position: absolute;
    display: block;
    content: "";
    border-radius: 100%;
    transition: background 450ms ease, -webkit-transform 450ms ease;
    transition: background 450ms ease, transform 450ms ease;
    transition: background 450ms ease, transform 450ms ease, -webkit-transform 450ms ease;
}
input[type="checkbox"]:before {
    width: calc( 24px / 2 );
    height: calc( 24px / 2 );
    background-color: #bbb;
}
input[type="checkbox"]:checked:before {
    background-color: #6584e6;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
}

.fl-left {
    float: left;
}

.fl-right {
    float: right;
}