.scroll-box {
    z-index: 999;
    position: fixed;
    bottom: -100px;
    right: 25px;
    width: 45px;
    height: 45px;
    /* background-color: var(--upArrow); */
    background-color: #3e3e3e;
    border: none;
    border-radius: 10px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    transition: bottom 0.3s;
    overflow: hidden;
    box-shadow: 0px 0px 10px 1px #30303020;
}
.scroll-box img{
    width: 100%;
}
.scroll-box.show {
    bottom: 20px;
}

nav {
    width: 100%;
    height: fit-content;
    padding: 20px 10%;
    /* background-color: var(--nav-color); */
    background-color: transparent;
    /* box-shadow: 0 0 30px 0px #59595924; */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: background-color 0.4s ease,
    box-shadow 0.4s ease;
}
/* When scrolled */
nav.scrolled {
    background-color: var(--bg-color);
}

nav .navMenu {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
    position: relative;
}

nav .navMenu li a {
    text-decoration: none;
    color: var(--nav-text);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav .navMenu li a img{
    width: 32px;
    transform: rotateZ(270deg);
}
nav .navMenu li .title{
    background-color: transparent;
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    letter-spacing: 1px;
    word-spacing: 5px;
}
nav .navMenu li .navButtons {
    list-style-type: none;
    width: fit-content;
    height: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 20px;
    position: relative;
}
.darkModeBody {
    width: 65px;
    height: 30px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}
.darkModeBody .innerModeDiv {
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: 0.5s ease;
    transform: translateX(0%);
}

.darkModeBody .lightBtn,
.darkModeBody .darkBtn {
    padding: 0 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 66px;
}

.darkModeBody .lightBtn {
    color: rgb(255, 255, 0);
    background-color: #00b7ff;
}
.darkModeBody .lightBtn img,
.darkModeBody .darkBtn img{
    width: 25px;
}

.darkModeBody .darkBtn {
    color: rgb(255, 255, 255);
    background-color: #303030;
    justify-content: flex-end;
}

.portfolioBtn {
    background-image: linear-gradient(144deg, #8830c7, #3a24c5 50%, #00acb9);
    /* background-color: rgb(209, 250, 4); */
    border: 0;
    border-radius: 8px;
    color: #FFFFFF !important;
    /* color: #0022ff !important; */
    display: flex;
    font-size: 16px;
    justify-content: center;
    width: fit-content;
    padding: 3px;
    touch-action: manipulation;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: bolder;
}
.portfolioBtn:hover{
    background-image: linear-gradient(144deg, #6d06b7, #1c04b8 50%, #007780);
}