:root {
    font-size: 1rem;
    font-family: sans-serif;
    
    --text-primary: rgb(255, 255, 255);
    --text-secondary: rgb(150, 150, 150);
    --text-accent: rgb(255, 8, 17);

    --bg-primary: rgb(19, 22, 27);

    --bg-transperent: rgba(0, 0, 0, 0.5);;

    --icon-primary: rgb(245, 245, 245);

    --link-color: rgb(23, 147, 209);
}
body {
    margin: 0;
    background-color: rgb(19, 22, 27);
}
.navbar {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    height: 100%;
    width: 80px;
    position: fixed;

    background: var(--bg-transperent);
    backdrop-filter: blur(10px);
    transition: 0.5s ease;
    z-index: 1;
}  
.navbar-ul {
    padding: 0;
    margin-top: -150%;
    margin-bottom: -150%;

    height: 4rem;
    width: 4rem;

    border-radius: 25%;
    transition: 0.4s ease-out;
}
.navbar-ul:hover {
    background: rgba(162, 161, 168, 0.2);
}
.textbox-d {
    display: none;
}
.navbar-ul:hover .textbox-d{
    position: absolute;
    display: inline-block;
    padding: 7px;
    border-radius: 10px;
    background: var(--bg-transperent);
    backdrop-filter: blur(2px);
    margin-left: 95%;
    margin-top: -41%;
}

.navbar-svg {
    display: block;
    margin: auto;
    margin-top: 21%;
    width: 38;
    height: 36;

    transition: ease-in;
}
#Home {
    fill: var(--icon-primary);
}
#Project {
    fill: var(--icon-primary);
}
#Fun {
    fill: var(--icon-primary);
}
#About {
    fill: var(--icon-primary);
}
.navbar-a {
    text-decoration: none;
    color: var(--text-primary);
}



.img1 {
    width: calc(100% - 80px);
    margin-left: 80px;
}
.img1 img{
    background-size: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.container {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
}
.container-box {
    width: calc(100% - 80px);
    height: 100%;
    margin-left: 80px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.box {
    background-color: var(--bg-transperent);
    backdrop-filter: blur(10px);
    flex: 1 0 200px;
    margin: 4%;
    border: 2px solid var(--text-secondary);
    font-size: 1.5rem;
    transition: 0.5s;
}
.box ul {
    padding-inline-start: 10px;
    display: grid;
    grid-template-columns: repeat(3, 75px);
    justify-items: center;
}
.box li {
    list-style: none;
    margin-bottom: 10px;
}
.box:hover {
    transform: scale(1.03);
}
.box p {
    text-align: center;
    color: lightgrey;
    text-shadow: 2px 2px 2px black;
    letter-spacing: 2px;
}
.box a{
    text-align: left;
    text-decoration: none;
    color: var(--text-accent);
}
.box svg {
    width: 3.5rem;
    height: 3.5rem;
    fill: rgb(220, 220, 220);
}

@media (max-width: 768px) {
    .navbar {
        height: 80px;
        width: 100%;
        flex-direction: row;
        bottom: 0;
    }
    .img1 {
        width: 100%;
        margin-left: 0px;
    }
    .box {
        margin: 2%;
        max-height: auto;
    }
    .container {
        height: 100%;
    }
    .container-box {
        width: 100%;
        height: calc(100% - 80px);
        margin-left: 0px;
        flex-direction: row;
    }
    .navbar-li {
        list-style: none;
    }
}
@media (max-height: 810px) {
    .container {
        height: 140%;
    }
    .box ul {
        grid-row: auto;
    }
}


.blur {
    position: absolute;
    width: calc(100% - 80px);
    height: 100%;
    top: 0;
    right: 0;
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}