/* Main header background */
.main-header {
    /* background-color: #121212; */
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.header-logo {
    max-width: 100px;
    transform: rotate(1.5deg);
    margin-right: auto;
    margin-left: auto;
    transition: transform 0.3s ease;
    position: relative;
}

.header-logo:hover {
    transform: scale(1.1);
}

/* Menu styling */
.menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    position: relative;
}

/* Button Container Styling */
.buttons-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
}

.buttons-menu li {
    padding: 10px 20px;
    border-radius: 12px;
    position: relative;
}

.buttons-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 10px 20px;
    background-color: transparent;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease-out;
}

/* Expanding Border Hover Effect */
.glow-on-hover {
    position: relative;
    letter-spacing: 0;
}

.glow-on-hover:hover {
    letter-spacing: 3px;
    /* Increase letter spacing on hover for subtle effect */
    transition: letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother easing for letter-spacing */
}

.glow-on-hover:before,
.glow-on-hover:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0);
    /* Start transparent */
    transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms ease-out;
}

.glow-on-hover:before {
    top: 0;
}

.glow-on-hover:after {
    bottom: 0;
}

.glow-on-hover:hover:before,
.glow-on-hover:hover:after {
    width: 70%;
    /* Expands the border to 70% of the button's width */
    background-color: #fff;
    /* Changes border color to white on hover */
}