body, * {
    user-select: none;  
    cursor: default;    
}

#nav li a, 
#nav li {
    position: relative;
    cursor: pointer;
}
#nav li::after,
#nav li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 3px;
    background-color: #1A56DB;
    transition: width 0.3s ease;
    border-radius: 10px;
}
#nav li:hover::after,
#nav li a:hover::after {
    width: 100%;
}
.relative img {
    width: 50%;    
    height: 370px;  
    display: block;
    margin: 0 auto;
    object-fit: cover;
}