h1.name {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0;
    display: inline-block;
}
.name-slave {
    font-size: .8rem;
    margin: 0;
    opacity: .5;
    display: inline-block;
    line-height: 0;
}
.name-slave p:nth-of-type(2) {
    letter-spacing: 10%;
}

.navigation {
    margin-top: 3%;

    width: 100%;
    height: 2%;

    display: flex;
    flex-direction: row;
    gap: 1%;

    position: relative;
    border: 2px dashed transparent;
    transition: border-color 0.5s ease;
}

.navigation a {
    position: relative;
    padding-bottom: 2px;
    text-decoration: none;
}

.navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navigation a:hover {
    color: #33bbff;
}

.navigation a:hover::after {
    transform: scaleX(1);
}

.email {
    margin-inline-start: auto;
    opacity: 0.7;
    font-style: italic;
}

.email::before {
    content: attr(data-user) " \0040";
}

.email::after {
    content: attr(data-domain);
}

/* ----MOBILE VIEW---- */
@media only screen and (max-width: 767px) {
    h1.name {
        font-size: 3.5rem;
        font-weight: 900;
        margin: 0;
        display: inline-block;
    }
    .name-slave {
        font-size: .8rem;
        margin: 0;
        opacity: .5;
        display: inline-block;
        line-height: 0;
    }
    .name-slave p:nth-of-type(2) {
        letter-spacing: 10%;
    }

    .navigation {
        margin-top: 3%;

        width: 100%;
        height: 2%;

        display: flex;
        flex-direction: row;
        justify-content: space-around;

        position: relative;
        border: 2px dashed transparent;
        transition: border-color 0.5s ease;
    }

    .email {
        display: none;
    }
}