/*
 * Small additions on top of the theme (css/styles.css, which includes
 * Bootstrap and the Start Bootstrap "Resume" theme).
 */

/* Orange last name on the About page */
.highlight {
    color: #bd5d38;
}

/* Headline under the name on the About page */
.headline {
    color: #fff;
    font-size: 1.75rem;
}

/* Optional note under a company name on the Experience page */
.job-note {
    font-style: italic;
}

/* Current page in the sidebar menu */
#sideNav .router-link-exact-active {
    color: #fff !important;
}

/* ---- Skill icons: name label on hover (or tap/focus) ---- */
.dev-icons .skill {
    position: relative;
    cursor: default;
    transition: color 0.2s ease;
}
.dev-icons .skill:hover,
.dev-icons .skill:focus {
    color: #bd5d38;
    outline: none;
}
/* Logo files (.svg): drawn in the current text color, sized like a font icon */
.dev-icons .skill-logo {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: no-repeat center / contain;
    mask: no-repeat center / contain;
}
/* The label bubble + its little arrow */
.dev-icons .skill::after,
.dev-icons .skill::before {
    position: absolute;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.dev-icons .skill::after {
    content: attr(data-name);
    bottom: 100%;
    transform: translate(-50%, 4px);
    padding: 0.15rem 0.6rem;
    border-radius: 0.25rem;
    background-color: #bd5d38;
    color: #fff;
    font-family: "Saira Extra Condensed", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 2;
}
.dev-icons .skill::before {
    content: "";
    bottom: 100%;
    transform: translate(-50%, 4px);
    margin-bottom: -10px;
    border: 5px solid transparent;
    border-top-color: #bd5d38;
    z-index: 2;
}
.dev-icons .skill:hover::after,
.dev-icons .skill:focus::after,
.dev-icons .skill:hover::before,
.dev-icons .skill:focus::before {
    opacity: 1;
    transform: translate(-50%, -6px);
}

/* ---- Page transitions (used by AnimationPage in js/site.js) ---- */
.fade-enter-active,
.fade-leave-active {
    transition-duration: 0.3s;
    transition-property: height, opacity;
    transition-timing-function: ease;
    overflow: hidden;
}
.fade-enter,
.fade-leave-active {
    opacity: 0;
}
.slide-left-enter-active,
.slide-left-leave-active,
.slide-right-enter-active,
.slide-right-leave-active {
    transition-duration: 0.5s;
    transition-property: height, opacity, transform;
    transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1);
    overflow: hidden;
}
.slide-left-enter,
.slide-right-leave-active {
    opacity: 0;
    transform: translate(2em, 0);
}
.slide-left-leave-active,
.slide-right-enter {
    opacity: 0;
    transform: translate(-2em, 0);
}
