@font-face {
    font-family: 'Inter Thin';
    src: url("{% static 'fonts/Inter-Regular.otf' %}") format('otf');
    font-weight: normal;
}

#nav_area { /*Creates a flex container for l,r and c bar*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    top: 0;
    position: sticky;
    background: linear-gradient(to bottom, #f9fafb, #f4f6f6);
}

#support { /*Creates a flex container for support footer*/
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    margin-top: 0;
    border-top: 1px solid #ccc;
    width: 100%;
    /*position: sticky;*/
    bottom: 0;
    /*background-color: white;*/
    background: linear-gradient(to bottom, #f9fafb, #f4f6f6);
    flex-shrink: 0;
}

.right_support_area {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-right: 0.525rem;
    padding: 0;
}

.right_support_area a:hover {
    color: rgb(95, 95, 95);
    transition-timing-function: ease-out;
    transition: 0.2s;
}

#about_support ul {
    display: flex;
    margin-bottom: 0px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#about_support li {
    position: relative;
}

#about_support li:first-child::after {
    /*content: "";*/
    position: absolute;
    /*right: -10px;*/
    top: 0;
    bottom: 0;
    /*width: 2px;*/
    background-color: black;
}

#about_support li:nth-child(2) {
    padding-left: 1rem;  /* adjust as needed */
}

#about_support li {
    margin-bottom: 1.25rem;
}

#contact ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

#portfolio a {
    font-size: 1em;
    margin-bottom: 0px;
}

#contact p {
    font-size: 1em;
    margin-bottom: 0px;
    text-align: center;
}
/* Dark theme colors
:root {
    --bg-color: white;
    --text-color: black;
    --post-color: #f9f9f9;
}*/


body.dark {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --post-color: #1e1e1e;
}

body {
    --bg-color: white;
    --text-color: black;
    --post-color: #f9f9f9;

    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    font-family: 'Inter Thin', sans-serif;
    min-height: 100vh; /* this and two bottom properties are footer staying at its place*/
    display: flex;
    flex-direction: column;
}

/* Inverts the color of the toggle button */
body.dark .theme_toggle img {
    filter: invert(1);
}

/* Makes lists horizontal */
.left_nav_bar ul,
.right_nav_bar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px /* spacing between items */
}

/*Physical center of the Logo*/
.center_nav_bar {
    margin: 0 0 0 4.525rem;
}

.left_nav_bar li,
/*.center_nav_bar li{
    display: inline-block;
}*/
/* General style for right_nav_bar list items */
.right_nav_bar li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left_nav_bar a:hover {
    color: rgb(95, 95, 95);
    transition-timing-function: ease-out;
    transition: 0.2s;
}

/*New hover line effect*/
.left_nav_bar li{
    font-size: 1rem;
    color: #000;
    position: relative;
}

.left_nav_bar li:after,
.left_nav_bar li:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #4A5D23, #70543E);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.left_nav_bar li:before {
    top: -5px;
    transform-origin: left;
}

.left_nav_bar li:hover::after,
.left_nav_bar li:hover::before {
    transform: scaleX(1);
}

/*Logo font*/
/*.center_nav_bar a {
    font-size: 32px;
    font-style: oblique;
    font-weight: 700;
    font: "Cloister Black";

}*/

/* Language Switcher Styling */
#language_switcher {
    padding: 1px 8px;
    font-size: 14px;
    background-color: transparent;
    border-style: none;
    cursor: pointer;
    text-align: center;
}

/* Theme Toggle Icon Styling */
.theme_toggle img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px; /* adjust as needed */
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}
/*Makes language button pop while hovered on*/
.theme_toggle img:hover {
    transform: scale(1.1);
}

/*Removes un underline form link tabs*/
.left_nav_bar a,
.right_support_area a {
    text-decoration: none;
    color: inherit;
}

.left_support_area {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-left: 0.525rem;
    margin-top: 7rem;
}

.left_support_area p {
    margin: 0;
}

@media (max-width: 930px) {
    #support {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 530px) {

    #nav_area {
        flex-direction: column;
        align-items: center;
    }

    .left_nav_bar,
    .right_nav_bar,
    .center_nav_bar {
        margin: 0;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .left_nav_bar ul,
    .right_nav_bar ul {
        justify-content: center;
        width: 100%;
    }

    .center_nav_bar {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
}