/*==========>
Buttons
<========== */
.bye_btn {
    all: unset;
    background-color: var(--ternary);
    color: var(--ternary-text);
    width: 200px;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s;
}

.float_icon_box {
    position: fixed;
    z-index: 10;
    bottom: 4%;
    right: 3%;

    .float-icon{
        font-size: 2rem;
        width: 50px;
        background-color: green;
        color: white;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }
}




/*==========>
Sections
<========== */


/*==========> navbar <========== */
#navbar {
    height: 85px;
    max-height: 85px;
    margin: 0 auto;
    padding: 20px 1rem;
    position: fixed;
    transform: translate(-50%);
    z-index: 10;
    top: 0;
    left: 50%;
    background-color: var(--primary-bg);

    .main_menu {
        li {
            a {
                font-size: 18px;
                color: var(--primary-text);
                transition: all 0.4s;

                &:hover {
                    color: var(--ternary);
                }
            }

            .active {
                color: var(--ternary);
                font-weight: 600;
            }
        }
    }

    #side_menu_toggler {
        color: var(--primary-text);
        font-size: 25px;
        margin-right: 1rem;
        cursor: pointer;
        position: relative;
        z-index: 10;
    }


    /* navbar for smaller devices */
    @media (width < 768px) {
        /* height: 100px;
        max-height: 100px;
        padding: 35px 1rem; */
        align-items: center;

        #nav_logo {
            aspect-ratio: 1 / 1;
            width: 40px;
            height: 40px;
        }

        #side_menu_toggler {
            /* font-size: 25px; */
        }

    }

}

/* Side menu of navbar */
/* Outside of the navbar beacuse of it's z-index effect */
#side_menu {
    width: 45%;
    max-width: 500px;
    height: 100%;
    overflow-y: auto;
    padding-top: 120px;
    padding-left: 2rem;
    position: fixed;
    z-index: 9;
    top: 0;
    bottom: 0;
    right: -100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;

    background-color: var(--primary-bg);

    li {
        a {
            color: var(--secondary-text);
            font-size: 18px;
            font-weight: 500;

            &:hover {
                color: var(--ternary);
            }
        }

        .active {
            color: var(--ternary);
            font-weight: 600;
        }
    }

    @media (width < 768px) {
        width: 60%;
    }
}

.side_menu_active {
    right: 0 !important;
    opacity: 1 !important;
}


/*==========> footer_section <========== */
#footer {
    margin-top: 60px;

    .footer_container {
        background-color: var(--ternary);
        padding: 2rem 1rem;
    }

    p {
        color: var(--ternary-text);
    }
}