.dropdown-menu {
    position: relative;
    max-width: 100%;
    text-align: center;
    user-select: none;
    z-index: 5;

    [type="checkbox"]:checked,
    [type="checkbox"]:not(:checked) {
        position: absolute;
        left: -9999px;
        opacity: 0;
        pointer-events: none;
    }
    .dark-light:checked + label,
    .dark-light:not(:checked) + label {
        position: fixed;
        top: 40px;
        right: 40px;
        z-index: 20000;
        display: block;
        border-radius: 50%;
        width: 46px;
        height: 46px;
        cursor: pointer;
        transition: all 200ms linear;
        box-shadow: 0 0 25px rgba(255, 235, 167, 0.45);
    }
    .dark-light:checked + label {
        transform: rotate(360deg);
    }
    .dark-light:checked + label:after,

    .dark-light:checked + label:after {
        opacity: 1;
    }
    .dark-light:checked + label:before,
    .dark-light:not(:checked) + label:before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: 1;
        display: block;
        border-radius: 50%;
        width: 46px;
        height: 46px;
        background-color: #48dbfb;
        background-image: url("https://assets.codepen.io/1462889/sun.svg");
        background-size: 25px 25px;
        background-repeat: no-repeat;
        background-position: center;
        transition: all 200ms linear;
    }
    .dark-light:checked + label:before {
        background-color: #000;
    }
    .dark-light:checked ~ .light-back {
        opacity: 1;
    }
    .dropdown:checked + label,
    .dropdown:not(:checked) + label {
        position: relative;
        font-size: 15px;
        line-height: 2;
        height: 50px;
        transition: all 200ms linear;
        border-radius: 4px;
        letter-spacing: 1px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: none;
        cursor: pointer;
        color: white;
    }
    .dark-light:checked ~ .sec-center .for-dropdown {
        color: #ffeba7;
    }
    .dropdown:checked + label:before,
    .dropdown:not(:checked) + label:before {
        position: fixed;
        top: 0;
        left: 0;
        content: "";
        width: 100%;
        height: 100%;
        z-index: -1;
        cursor: auto;
        pointer-events: none;
    }
    .dropdown:checked + label:before {
        pointer-events: auto;
    }
    .dropdown:not(:checked) + label .uil {
        font-size: 24px;
        margin-left: 10px;
        transition: transform 200ms linear;
    }
    .dropdown:checked + label .uil {
        transform: rotate(180deg);
        font-size: 24px;
        margin-left: 10px;
        transition: transform 200ms linear;
    }
    .dropdown + label .uil {
        transform: rotate(90deg);
    }
    .section-dropdown {
        position: absolute;
        padding: 5px;
        background-color: #111;
        left: 0;
        width: 100%;
        border-radius: 4px;
        display: block;
        box-shadow: 0 14px 35px 0 rgba(9, 9, 12, 0.4);
        z-index: 2;
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
        transition: all 200ms linear;
    }
    .dark-light:checked ~ .sec-center .section-dropdown {
        background-color: #fff;
        box-shadow: 0 14px 35px 0 rgba(9, 9, 12, 0.15);
    }
    .dropdown:checked ~ .section-dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .section-dropdown:before {
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 20px;
        content: "";
        display: block;
        z-index: 1;
    }
    .section-dropdown:after {
        position: absolute;
        top: -7px;
        left: 30px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #111;
        content: "";
        display: block;
        z-index: 2;
        transition: all 200ms linear;
    }
    .dark-light:checked ~ .sec-center .section-dropdown:after {
        border-bottom: 8px solid #fff;
    }

    .option {
        position: relative;
        color: #fff;
        transition: all 200ms linear;
        font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 15px;
        border-radius: 2px;
        padding: 5px 0;
        padding-left: 20px;
        padding-right: 15px;
        margin: 2px 0;
        text-align: left;
        text-decoration: none;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
        -moz-align-items: center;
        -ms-align-items: center;
        align-items: center;
        justify-content: space-between;
        -ms-flex-pack: distribute;

        &:hover {
            cursor: pointer;
            color: #102770;
            background-color: #ffeba7;
        }
    }
    .dark-light:checked ~ .sec-center .section-dropdown .option {
        color: #102770;
    }
    .dark-light:checked ~ .sec-center .section-dropdown .option {
        &:hover {
            color: #ffeba7;
            background-color: #102770;
        }
    }
    .option .uil {
        font-size: 22px;
    }
    .dropdown-sub:checked + label,
    .dropdown-sub:not(:checked) + label {
        position: relative;
        color: #fff;
        transition: all 200ms linear;
        font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 15px;
        border-radius: 2px;
        padding: 5px 0;
        padding-left: 20px;
        padding-right: 15px;
        text-align: left;
        text-decoration: none;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
        -moz-align-items: center;
        -ms-align-items: center;
        align-items: center;
        justify-content: space-between;
        -ms-flex-pack: distribute;
        cursor: pointer;
    }
    .dropdown-sub:checked + label .uil,
    .dropdown-sub:not(:checked) + label .uil {
        font-size: 22px;
    }
    .dropdown-sub:not(:checked) + label .uil {
        transition: transform 200ms linear;
    }
    .dropdown-sub:checked + label .uil {
        transform: rotate(135deg);
        transition: transform 200ms linear;
    }
    .dropdown-sub:checked + label:hover,
    .dropdown-sub:not(:checked) + label:hover {
        color: #102770;
        background-color: #ffeba7;
    }
    .dark-light:checked ~ .sec-center .section-dropdown .for-dropdown-sub {
        color: #102770;
    }
    .dark-light:checked
        ~ .sec-center
        .section-dropdown
        .for-dropdown-sub:hover {
        color: #ffeba7;
        background-color: #102770;
    }

    .section-dropdown-sub {
        position: relative;
        display: block;
        width: 100%;
        pointer-events: none;
        opacity: 0;
        max-height: 0;
        padding-left: 10px;
        padding-right: 3px;
        overflow: hidden;
        transition: all 200ms linear;
    }

    .logo {
        position: fixed;
        top: 50px;
        left: 40px;
        display: block;
        z-index: 11000000;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        transition: all 250ms linear;
    }
    .logo:hover {
        background-color: transparent;
    }
    .logo img {
        height: 26px;
        width: auto;
        display: block;
        transition: all 200ms linear;
    }
    .dark-light:checked ~ .logo img {
        filter: brightness(10%);
    }
}
