html {
    position: relative;
}
/*ajust the scoll from nav links*/
body * {
    scroll-margin-top: 5rem;
}

@media (min-width: 768px) {
    html {
    }
}

a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

    a:hover {
        color: rgb(82, 82, 82);
    }
/*Titles for each view section*/
.text-title {
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
/*space section used between partial views*/
.spaceGradient {
    background: linear-gradient(180deg, rgba(2,3,23,1) 0%, rgba(1,15,134,0.1658788515406162) 50%, rgba(2,3,23,1) 100%);
    min-height: 250px;
}

/*nav*/
.nav-tag {
    z-index: 1030;
    max-width: 900px;
    left: 50%;
    transform: translate(-50%);
    position: fixed;
    width: 100%;
    top: 20px;
    background-color: rgb(255, 255, 255, 0.80);
    color: black;
    border-radius: 50px 50px;
}

.nav-ul {
    display: flex;
    margin: 10px;
}

.nav-li-right {
    margin: 5px;
    margin-left: auto;
}

.nav-li {
    margin: 5px;
}

/*nav responsive*/
#check {
    display: none;
}

.checkbtn {
    font-size: 20px;
    color: black;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .checkbtn {
        display: block;
        order: 1;
        margin-right: 20px;
        padding: 10px;
    }

    .nav-li-right {
        margin-left: 0;
    }

    .nav-ul {
        position: fixed;
        top: 50px;
        right: -100%;
        background-color: none;
        width: 100%;
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s;
    }

    .nav-li .nav-li-right {
        margin: 20px 0;
    }

    ul li a {
        font-size: 20px;
    }

    #check:checked ~ ul {
        right: 0;
        background-color: white;
    }
}
