﻿/*.menu {
    cursor: pointer;
    margin: 0% !important;
    padding: 2% !important;
    transition: transform 0.3s;
}
.menu:hover {*/
    /*background-color: white;*/
    /*border-radius: 10px;
    transform: scale(1.3);
}
.menu image {
    width: 50%;
}*/
.menu {
    cursor: pointer;
    margin: 8px;
    padding: 16px;
    width: 110px; /* Kích thước ô */
    height: 110px;
    border-radius: 20px; /* Bo góc */
    background: rgba(0, 180, 255, 0.1); /* Xanh nhạt trong suốt 15% */
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

    .menu:hover {
        transform: scale(1.2);
        background: rgba(0, 180, 255, 0.25);
    }

    .menu img {
        width: 45%;
        height: auto;
        margin-bottom: 8px;
    }

    .menu p {
        font-size: 14px;
        font-weight: 500;
        margin: 0;
        color: #000;
    }
/*nut nhan*/
.dendo:hover {
    background-color: red !important;
}

.denvang:hover {
    background-color: chocolate !important;
}

.denxanh:hover {
    background-color: green !important;
}
/*nut phone*/
label.switch {
    text-align: left;
    width: 60px;
    height: calc(60px / 2);
    border-radius: 20px;
    background-color: #4ed164;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

    label.switch > span {
        display: block;
        width: 100%;
        height: 100%;
    }

    label.switch > input[type="checkbox"] {
        opacity: 0;
        position: absolute;
    }

    label.switch > span:before, label.switch > span:after {
        content: "";
        cursor: pointer;
        position: absolute;
    }

    label.switch > input[type="checkbox"]:focus ~ span {
        box-shadow: 0 0 0 4px #43b556;
    }

    label.switch > input[type="checkbox"]:checked:focus ~ span {
        box-shadow: 0 0 0 4px #fff;
    }

    label.switch > span {
        border-radius: 60px;
    }

        label.switch > span:before {
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            background-color: #f1f1f1;
            border-radius: 20px;
            transition: opacity .2s ease-out .1s, transform .2s ease-out .1s;
            transform: scale(1);
            opacity: 1;
        }

        label.switch > span:after {
            top: 50%;
            z-index: 3;
            transition: transform .4s cubic-bezier(0.44,-0.12, 0.07, 1.15);
            width: calc(60px / 2);
            height: calc(60px / 2);
            transform: translate3d(0, -50%, 0);
            background-color: #fff;
            border-radius: 100%;
            box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
        }


    label.switch > input[type="checkbox"]:checked ~ span:before {
        transform: scale(0);
        opacity: .7;
    }

    label.switch > input[type="checkbox"]:checked ~ span:after {
        transform: translate3d(100%, -50%, 0);
    }