.navabar-cont {
    width: 100vw;
    height: 100px;
    background-color: #1d1d1d;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}
.navbar-pre-cont {
    width: 80%;
    display: flex;
    justify-content: space-between;
    padding: 10px 30px;
    align-items: center;
}
.link-item {
    color: white;
    text-decoration: none;
}
.pre-logo-div {
    height: 87px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-img {
    width: 60%;
    height: 60%;
    cursor: pointer;
}
.ul-list-cont {
    display: flex;
    gap: 25px;
    align-items: center;
    height: 35px;
}
.link-item:hover {
    color: #ee3643;
}
.task-bar {
    background-color: transparent;
    color: white;
    border: 3px solid white;
    border-radius: 30px;
}
.h2 {
    @media (max-width: 768px) {
        position: fixed;
        top: -90px;
        left: -180px;
    }
}
.h5 {
    position: fixed;
    top: -220px;
    left: -220px;
    @media (max-width: 768px) {
        top: -28vh;
        left: -33vw;
    }
}
.h5 .big {
    position: fixed;
    top: -220px;
    left: -380px;
    @media (max-width: 768px) {
        top: -28vh;
        left: -33vw;
    }
}
svg {
    width: 15px;
    height: 15px;
}
/* Apply transitions for color changes */
.list-item .link-item,
.list-item .link-item-sub {
    text-decoration: none;
    font-size: 17px !important;
    display: inline-block;
    color: white;
    transition: color 0.3s ease-in-out;
}

.list-item .link-item svg path {
    fill: white;
    transition: fill 0.3s ease-in-out;
}

/* Apply hover effect */
.link-item:hover {
    color: #ee3643;
}

.list-item {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    @media (max-width: 992px) {
        gap: 0px;
    }
}

.sub-menu {
    width: 113px;
    height: 230px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #1d1d1d;
    position: fixed;
    top: 60px;
    transform: translateX(calc(100% - 113px));

    /* Hide the submenu by default */
    visibility: hidden;
    opacity: 0; /* Start with zero opacity */
    transition: opacity 0.3s ease-in-out; /* Apply transition */
}
.sub-menu:hover {
    visibility: visible;
    opacity: 1; /* Show with full opacity */
}

.list-item:hover .sub-menu {
    visibility: visible;
    opacity: 1; /* Show with full opacity */
    animation: from-top 0.5s ease-in-out; /* Apply keyframes animation */
}

.sub-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 17px;
    transition: color 0.3s ease-in-out;
}
@keyframes from-top {
    0% {
        transform: translateY(-6px);
        opacity: 0;
    }
    50% {
        transform: translateY(-3px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.sublist {
    display: none;
    width: fit-content;
    height: 250px;
    padding: 10px 15px;
    background-color: transparent;
    border: 1 px solid transparent;
}
.navmob-active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10000;
}
.rotate {
    transform: rotate(180deg);
}
.pointer-submenu {
    cursor: pointer;
}
