@font-face {
    font-family: 'FontHome';
    src: url('/assets/fonts/MarkerFelt.ttc');
}

.font-home {
    font-family: 'FontHome', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

/* menu bar */
.menu {
    position: fixed;
    top: 30px;
    left: 20px;
    z-index: 100;
}
.menu-bar {
    position: relative;
    width: 60px;
    height: 60px;
}

.group-btn-menu div {
    border: none;
    cursor: pointer;
}

.group-btn-menu {
    top: 100px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    padding: 10px 10px 0;

}

/* nút chính */
.main-btn {
    width: 200px;
    cursor: pointer;
    color: #fff;
    position: absolute;
    z-index: 2;
    animation: zoomPulse 3s ease-in-out infinite;
    
}

@keyframes zoomPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); } /* phồng lên */
  100% { transform: scale(1); }   /* về lại */
}

/* các nút con */
.menu-bar .item {
    /* position: absolute; */
    color: white;
    opacity: 0;
    transform: translate(0, 0);
    transition: all 0.3s ease;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
}

.menu-bar .item a {
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.menu-bar .item a:hover {
    color: #ED0B7B;
}

.menu-bar:hover .group-btn-menu {
    display: flex;
    background: #96084d;
}

/* hover bung ra */
.menu-bar:hover .item {
    opacity: 1;
}

.item1 { transition-delay: 0.05s; position: relative; z-index: 20 !important; }
.item2 { transition-delay: 0.1s; }
.item3 { transition-delay: 0.15s; }
.item4 { transition-delay: 2s; }

/* responsive */
@media (max-width: 992px) {
    .main-btn {
        width: 150px;
    }

.group-btn-menu{ 
    left: 0;
    top: 80px;
}

}

@media (max-width: 576px) {
    .menu {
        position: fixed;
        top: 10px;
        left: 4px;
    }

    .menu-bar .item a {
        font-size: 1rem;
    }
}

@media (max-width: 414px) {
    .main-btn {
        width: 110px;
    }

    .group-btn-menu{ 
    top: 60px;
}

}
