/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Global Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body Styling */
html,
body {
    display: grid;
    height: 100%;
    place-items: center;
    background: #1e1d1d;
    /* Dark background color */
}

/* Navigation Menu Wrapper */
.wrapper {
    position: relative;
    height: 120px;
    width: 620px;
}

/* Navigation Menu Items */
.wrapper ul {
    display: flex;
    justify-content: space-between;
    transform: translateY(-100px);
    /* Adjust position of menu items */
}

.wrapper ul li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Button Styling */
.light-button button.bt {
    position: relative;
    height: 200px;
    display: flex;
    align-items: flex-end;
    outline: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Button Content Holder Styling */
.light-button button.bt .button-holder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #0a0a0a;
    /* Dark background color for button */
    border-radius: 5px;
    color: #1c1b1b;
    transition: 300ms;
    /* Smooth transition effect */
    outline: #1c1b1b 2px solid;
    /* Initial outline color and thickness */
    outline-offset: 20;
    /* Offset outline from button */
    font-weight: 500;
}

/* Icon Styling */
.light-button button.bt .button-holder a {
    font-size: 40px;
    color: #1c1b1b;
    transition: 300ms;
    /* Smooth transition effect */
}

/* Text Label Styling */
.light-button button.bt .button-holder p {
    font-size: 16px;
    letter-spacing: 0.6px;
}

/* Light Holder Styling */
.light-button button.bt .light-holder {
    position: absolute;
    height: 200px;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Light Dot (not used in current CSS) */
.light-button button.bt .light-holder .dot {
    position: absolute;
    top: 0;
    width: 10px;
    height: 10px;
    background: #0a0a0a;
    border-radius: 50%;
    z-index: 2;
}

/* Light Effect Styling */
.light-button button.bt .light-holder .light {
    position: absolute;
    top: 0;
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 25% 100%, 75% 100%);
    background: transparent;
}

/* Light Effect on Hover */
.light-button button.bt:hover .button-holder a {
    color: rgb(21, 249, 0);
    /* Change icon color on hover */
}

.light-button button.bt:hover .button-holder {
    color: rgb(21, 249, 0);
    /* Change text color on hover */
    outline: rgb(21, 249, 0) 2px solid;
    /* Change outline color on hover */
    outline-offset: 2px;
    /* Adjust outline offset on hover */
}

.light-button button.bt:hover .light-holder .light {
    background: rgb(255, 255, 255);
    /* White background for light effect on hover */
    background: linear-gradient(180deg,
            rgb(21, 249, 0) 0%,
            rgba(255, 255, 255, 0) 75%,
            rgba(255, 255, 255, 0) 100%);
    /* Linear gradient for glowing effect */
}

/* Tablet styles - reduce by 30% */
@media (max-width: 1024px) and (min-width: 768px) {
    .wrapper {
        width: 434px;
        height: 84px;
    }

    .wrapper ul {
        transform: translateY(-70px);
    }

    .light-button button.bt {
        height: 140px;
    }

    .light-button button.bt .button-holder {
        width: 70px;
        height: 70px;
    }

    .light-button button.bt .button-holder a {
        font-size: 28px;
    }

    .light-button button.bt .button-holder p {
        font-size: 11px;
    }

    .light-button button.bt .light-holder {
        width: 70px;
        height: 140px;
    }

    .light-button button.bt .light-holder .light {
        width: 140px;
        height: 140px;
    }
}

/* Mobile styles - reduce by 50% */
@media (max-width: 767px) {
    .wrapper {
        width: 310px;
        height: 60px;
    }

    .wrapper ul {
        transform: translateY(-50px);
    }

    .light-button button.bt {
        height: 100px;
    }

    .light-button button.bt .button-holder {
        width: 50px;
        height: 50px;
    }

    .light-button button.bt .button-holder a {
        font-size: 20px;
    }

    .light-button button.bt .button-holder p {
        font-size: 8px;
    }

    .light-button button.bt .light-holder {
        width: 50px;
        height: 100px;
    }

    .light-button button.bt .light-holder .light {
        width: 100px;
        height: 100px;
    }
}