/* General */
* {
    margin: 0;
    padding: 0;
 }
 :root {
     --dark-faded: rgba(0, 0, 0, .95);
     --background: rgb(white)
 }
 
 /* ---------------------------------------------------------------------------*/
 
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Sofia Sans", sans-serif;
}
.background{
    position:fixed;
    z-index: 1;
    min-width: 100vw;
    min-height: 100vh; 
    overflow: hidden;
}
    /* ButtonTransition */
a,.btn {
   transition: all 250ms ease;
}
    /* Desktop Nav */ 
nav {
    z-index: 300;
    position: relative;
    background-color: rgb(38, 32, 30);
}
nav, 
.nav-links {
    position: relative;
    display: flex;
    z-index: 300;
}
nav {
    padding-left: 3%;
    padding-right: 3%;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
    z-index: 300;
}
.nav-links {
    z-index: 300;
    align-items: center;
    gap: 2rem;
    list-style: none;
    font-size: 1.3rem;
    font-weight: 300;
}
.kristianyo-color{
    color: rgb(165, 202, 204);
}
.kristianyo-color:hover{
    color: rgb(255, 215, 104);
}
.nav-links-links {
    color: rgb(165, 202, 204);
}
a {
    text-decoration: none;
}
.name-description {
    font-size: small;
    font-weight: 200;
}
.nav-links a:hover {
    color: rgb(32, 141, 225);
    text-decoration: underline .30rem; 
    text-underline-offset: .4rem;
    font-weight: 400;
    color: rgb(165, 202, 204);
    text-decoration-color: rgb(255, 191, 0);
}
.kris-yo {
    font-size: 1.7rem;
    font-weight: 750;
    color:rgb(165, 202, 204) ;
    /* color: rgb(102, 47, 10) */
}
.kris-yo:hover {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-optical-sizing: auto;
    font-style: normal;
}
 /* Mobile Nav */
 
#mobile-nav {
    z-index: 300;
    display: none;
}
.mobile-menu {
    z-index: 300;
    position: relative;
    display: inline-block;
}
.menu-icon {
    z-index: 300;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}
.menu-icon span {
    z-index: 300;
    display: flex;
    width: 100%;
    height: 2px;
    background-color: rgb(165, 202, 204);
    transition: all 0.3 ease-in-out;
}
 
.menu-links {
    position: absolute;
    z-index: 300;
    top: 100%;
    right: 0;
    background-color: rgb(38, 32, 30);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}
 
.menu-links a {
    z-index: 300;
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: rgb(165, 202, 204);
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}
 
.menu-links li {
    list-style: none;
}
.menu-links.open {
    max-height: 300px;
}
.menu-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}
.menu-icon.open span:nth-child(2) {
    opacity: 0;
}
.menu-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}
.menu-icon span:first-child {
    transform: none;
}
.menu-icon span:first-child {
    opacity: 1;
}
.menu-icon span:first-child {
    transform: none;
}
.justified{
    position: relative;
}