@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
    /*Colors*/
    --color-1: #191819;
    --text-color: #f0f0f0;
    --accent-color: #c2185b;

    /*Values*/
    --border-size: 315px;
}
*{
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
html{
    font-size: 12pt;
    font-family: Helvetica, Arial, sans-serif;
}

h2 {
    margin-bottom: 16px;
    font-size: larger;
}

p {
    margin-bottom: 12px;
}

a {
    color: var(--accent-color);
}

ul {
    list-style-position: outside;
    padding-left: 1.2em;

}
li {
    margin-bottom: 12px;
    padding-left: 0.5em;

}

.emoji {
    font-size: 20pt;
    padding-right: 0.5em;
}

.logo {
    margin: 20px 0px 30px 30px;
}

nav{
    height: 70px;
    background-color: var(--color-1);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid #363a40;
    box-shadow: 12px 0 5px rgba(0, 0, 0, 0.25);
    font-weight: bold;
}
.links-container{
    flex-direction: column;
    align-items: flex-start;

    height: 100%; /* Full height */
    overflow-y: auto; /* Enable vertical scroll */
    scrollbar-width: none;          /* Firefox */

    position: fixed;
    top: 0;
    z-index: 999;
    width: var(--border-size);
    left: 0;

    background-color: var(--color-1);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.25);
    transition: 0.18s ease-out;
    border-right: 1px solid #262929;

}
.search-container {

    --search-active: #858585;
    --search-inactive: #696969FF;

    /*width: max-content;*/
    display: flex;
    align-items: center;
    flex-direction: row;
    color: var(--search-inactive);

    border-radius: 40px;
    height: auto;
    margin: 17px 17px 34px 17px;
    padding: 10px 20px;
    text-decoration: none;
    border: 0.8px solid var(--search-inactive);
    box-sizing: border-box;
    transition: color 0.3s ease, background-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.04);
    justify-content: flex-start;
    width: 90%;
}

.search-container:focus-within {
    color: var(--search-active);
    border-color: var(--search-active);
    background-color: rgba(255, 255, 255, 0.08);
}

.search-container svg {
    border-right: 1px solid;
    border-color: inherit;
    padding-right: 12px;
}

.search-input {
    border: none;
    font-size: 14pt;
    padding: 0;
    margin-left: 12px;
    outline: none;
    background-color: transparent;
    color: dimgray;
    width: 75%;
}
nav a {

    margin: 17px 17px 17px 17px;
    padding: 15px;
    padding-left: 25px;

    border-radius: 50px;
    height: auto;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    border: 0.8px solid transparent;
    box-sizing: border-box;
    transition: color 0.3s ease, background-color 0.3s ease;

    width: 90%;
    justify-content: flex-start;
}

nav a:hover {
    color: #fbabca;
    /*border-color: #c5859e;*/
    background-color: #252525;
}

nav a.active {
    color: white;
    border-color: #c5859e;
    background-color: var(--accent-color);
}

nav .home-link{
    margin-right: auto;
}
nav svg{
    fill: var(--text-color);
}
#sidebar-active{
    display: none;
}
.open-sidebar-button, .close-sidebar-button{
    display: none;
}

.nav-title {
    color: var(--text-color);
    font-size: 1.3rem;
    flex-grow: 1;
    text-align: center;
    display: block;
    margin-right: 15%;
    font-weight: inherit;
}

#app {
    flex: 1;
    padding: 2em;
    line-height: 1.5;
    overflow-x: hidden; /* Prevent any content overflow */
    margin-left: var(--border-size);
    padding-right: 5em;
    padding-left: 5em;
}

/* Default Section Styling */

.bottom-navigation {
    --button-color: var(--color-1);
    --button-color-1: #c5859e;
    --button-color-2: #c6c6c6;
    --button-color-hover-1: #252525;
    --button-color-hover-2: #919191;

    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;

    width: 100vw;
    margin-bottom: 2em;

}

/* Page indicator */
.bottom-navigation #page-indicator {
    padding: 1rem 2rem;
    text-align: center;
    font-weight: bold;
}

/* Shared base button styles */
.bottom-navigation button {
    border-radius: 50px;
    border: 1px solid var(--button-color);
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s, box-shadow 0.3s ease;
    cursor: pointer;
    max-width: 200px;
    text-align: center;
}

/* NEXT button specific */
.bottom-navigation #next-button {
    background: var(--button-color);
    color: white;
}

/* BACK button specific */
.bottom-navigation #back-button {
    background: transparent;
    color: var(--button-color);
}

/* Disabled state for both */
.bottom-navigation #next-button.inactive {
    background: var(--button-color-2);
    border-color: var(--button-color-2);
    cursor: not-allowed;
    color: white;
}

.bottom-navigation #back-button.inactive {
    color: var(--button-color-2);
    border-color: var(--button-color-2);
    cursor: not-allowed;
}

/* Hover only when active */
.bottom-navigation #next-button:hover:not(.inactive) {
    background-color: var(--button-color-hover-1);
    color: #fbabca;

}
.bottom-navigation #back-button:hover:not(.inactive) {
    border-color: var(--button-color-hover-1);
    color: var(--button-color-hover-1);
}



section {
    flex: 1;
    line-height: 1.55;
    background: #ffffff;
    border: 1px solid rgba(228, 228, 228, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s, box-shadow 0.3s ease;
    position: relative;
    color: var(--color-1);
}

section.warning {
    background: #ffe1e1;
    border: 1px solid rgba(234, 157, 157, 0.8);
}

section.description {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s, box-shadow 0.3s ease;
    position: relative;
}


@media(max-width: 600px){
    .nav {
        position: sticky;
        top: 0;
        z-index: 997;
    }
    .nav-title {
        display: block;
    }

    .nav-footer {
        display: block;
    }

    .nav-header {
        display: flex !important;
        padding-bottom: 5%;
    }


    .links-container{
        flex-direction: column;
        align-items: flex-start;

        height: 100%; /* Full height */
        overflow-y: auto; /* Enable vertical scroll */
        scrollbar-width: none;          /* Firefox */

        position: fixed;
        top: 0;
        left: -100%;
        z-index: 999;
        width: var(--border-size);

        background-color: var(--color-1);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.25);
        transition: 0.18s ease-out;
        border-right: 1px solid #2f3547;

    }

    .links-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .open-sidebar-button, .close-sidebar-button{
        display: flex;
        box-sizing: border-box;
        padding: 20px;
    }

    .close-sidebar-button {
        padding-top: 38px;
    }

    #sidebar-active:checked ~ .links-container{
        left: 0;
    }
    #sidebar-active:checked ~ #overlay{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 998;
    }

    #app {
        padding: 2em;
        line-height: 1.5;
        overflow-x: hidden;
        margin-left: 0;
        margin-right: 0;
    }


}