body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: darkslategray;
    background-color: black;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    color: lightgray;
    text-align: center;
}

.box {
    border: 3px solid rgba(32, 35, 49, 0.654);
    border-radius: 10px;
    width: 75%;
    background-color: rgba(32, 35, 49, 0.654);
    padding: 10px;
}

.box-title {
    color: lightgray;
    margin: 5px;
}

.box a {
    position: relative;
    text-decoration: none;
    color: grey;
    background: linear-gradient(90deg, grey 50%, lightgray 50%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.4s ease;

    /* transition: color 0.3s ease; */
}

/* .box a:hover {
    color: grey;
} */

.box a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #58a6ff;
    transition: width 0.3s ease-in-out;
}

.box a:hover::after {
    width: 100%;
}

.box a:hover {
    background-position: 100% 0%;
    /* color: lightgray; */
}