/* Nút liên hệ chính + chữ "Liên hệ" */
.contact-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
}


.contact-text:hover {
    background-color: #0056b3;
}

/* Nút liên hệ chính */
.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: blink 0.8s infinite alternate; /* Hiệu ứng nhấp nháy */
    transition: background-color 0.3s ease;
}

/* Biểu tượng trong nút chính */
.contact-button img {
    width: 30px;
    height: 30px;
}

/* Hiệu ứng nhấp nháy xanh - đỏ */
@keyframes blink {
    0% { background-color: #ffff66; } /* Xanh dương */
    50% { background-color: #ffccff; } /* Đỏ */
    100% { background-color: #00aa00; } /* Xanh dương */
}

/* Menu liên hệ */
.contact-menu {
    position: fixed;
    bottom: 90px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Khi menu mở */
.contact-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Nút trong menu */
.contact-item {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* Hiệu ứng rung nhẹ khi hover */
.contact-item:hover {
    transform: scale(1.1) rotate(5deg);
}
/* Overlay nền mờ */
.modal {
    display: none; /* Mặc định ẩn */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: flex-start; /* Đưa hộp thoại lên trên */
    padding-top: 10vh; /* Cách trên một khoảng */
}

/* Nội dung hộp thoại */
.modal-content {
    background-color: white;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Tiêu đề */
h2 {
    margin-top: 0;
}

/* Nút đóng (X) */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Nhóm nút */
.button-group {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

/* Nút đóng */
.close-btn {
    padding: 10px 15px;
    border: none;
    background-color: #ccc;
    color: black;
    border-radius: 5px;
    cursor: pointer;
}

/* Nút tắt thông báo */
.hide-60m {
    padding: 10px 15px;
    border: none;
    background-color: #ff4d4d;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}