/* Core Styles */
html {
    --perma-dark:#020803;
    --perma-light:#f7fdf8;
}

html[data-theme="dark"] {
    --text: #EEFBF0;
    --alt-text: #041106;
    --background: #020803;
    --neutral: #455755;
    --primary: #2DB931;
    --secondary: #1C6373;
    --accent: #5F407D;
    --action: #EC469C;
    --alert: #BF4D4E;
}

html[data-theme="light"] {
    --text: #041106;
    --alt-text: #EEFBF0; 
    --background: #f7fdf8;
    --nuetral: #95ACAA;
    --primary: #46d24b;
    --secondary: #8cd3e3;
    --accent: #A284BF;
    --action: #B91369;
    --alert: #B04041;
}

body {
    margin:0;
    background-color: var(--background);
    color: var(--text);
}

/* Navbar Styles */
.navbar {
    display:flex;
    align-items: center;
    padding: 0.5rem;
}

.navbar-brand {
    margin-right:1em;
    width: 3em;
}

.nav-link {
    margin-right: 1em;
    text-decoration: none;
    color: var(--action);
    font-size: 1em;
}

.brand-primary {
  fill: var(--action);
}

.brand-secondary {
  fill: var(--text);
}

/* Navabar Toggle */
  
.navbar-toggle {
    width:2em;
    display: none;
    cursor: pointer;
}

.navbar-toggle svg {
    fill: var(--text);
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: calc(100% - 2rem);
        padding: 0em 1em 1em 1em;
        position: absolute;
        left:0;
        top: 5em;
        z-index: 1;
    }

    .nav-item {
        margin: 0;
    }

    .navbar-toggle {
        display: block;
    }
}

/* Theme Switcher Styling */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    position: absolute;
    right:0;
    margin-right: 1em;
  }
  .theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
  }
  
  .theme-switch input {
    display:none;
  }
  
  .slider {
    background-color: var(--background);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
  }
  
  .slider:before {
    background-color: var(--text);
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
  }
  
  input:checked + .slider {
    background-color: var(--background);
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
