@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: 'Lato', sans-serif;
}

header.hero {
    padding-top: 5rem;
}

h1.identity {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 0;
}

h1.identity strong {
    font-weight: bold;
}

p.contact {
    font-weight: 300;
    font-size: 1.25rem;
    margin-left: .5rem;
}

.badge.job-title {
    color: #4A8FE1;
    background-color: #D8E6F7;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 25px;
    position: absolute;
    margin-left: 1.5rem;
    margin-top: .5rem;
}

h2 {
    margin-bottom: 1rem;
}

.specialization {
    background-color: #EDEFF6;
    border: none;
    padding: 1rem;
    margin-bottom: .375rem;
}

.specialization div.logo {
    margin-bottom: 1rem;
}

.card-link {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: .375rem;
    transition: background .5s;
}

.card-link:hover {
    background: rgba(0, 0, 0, .1);
}

.achievement {
    background-color: #EDEFF6;
    border: none;
    color: #5A6999;
    padding: 2rem;
    margin-bottom: .375rem;
}

.achievement .large {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
}

.achievement .plus {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    position: absolute;
}

.achievement .info {
    font-weight: bold;
    font-size: 1.35rem;
}

.wrapper {
    max-width: 1100px;
    margin: auto;
}

.skill-item {
    padding-left: 3.5em;
}

.skill-item h3 {
    color: #5A6999;
}

.skill-item i {
    display: block;
    position: absolute;
    margin-left: -2.5em;
    color: #396fad;
    background-color: #D8E6F7;;
    padding: .25em;
    border-radius: 6px;
    width: 32px;
    height: 32px;
}

.skill-item i::before {
    position: absolute;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    top: 0;
    left: 0;
}

.skill-item a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.timeline {
    max-width: 97%;
    margin: auto;
}

.timeline-item {
    border-top: 2px solid #EDEFF6;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item .year {
    display: block;
    position: absolute;
    top: -.8rem;
    left: -1rem;
    background-color: #D8E6F7;
    color: #5A6999;
    padding: 0.35rem;
    font-size: .75rem;
    line-height: .75rem;
    border-radius: 10px;
    text-align: center;
    outline: 10px solid white;
}

.timeline-item .year-end {
    left: inherit;
    right: -1.1rem;
}

.timeline-content {
    margin-top: 1.5rem;
}

.timeline-content h3 {
    color: #5A6999;
}

.job-description {
    padding: .1rem;
}

.fs-5-5 {
    font-size: 1.15rem !important;
}

.contact-card {
    border: none;
    background-color: #EDEFF6;
    padding: 1rem;
    margin-bottom: 5rem;
}

.contact-card input,
.contact-card textarea {
    border: none;
    padding: .75rem 1rem;
}

.timeline-content h3 a {
    text-decoration: none;
    color: #5A6999;
}

::placeholder {
    color: gray !important;
}

button.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    padding: 0;
    width: 2rem;
    height: 2rem;
}

img.basic-logo {
    position: absolute;
    margin-left: -2.5em;
    width: 32px;
    height: 32px;
}

.associate-to a {
    text-decoration: none;
    color: #5A6999;
}

.identity .profile {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.alt-link {
    color: #5A6999;
}

@media (max-width: 768px) {
    h1.identity {
        font-size: 3rem;
    }

    .badge.job-title {
        font-size: 1rem;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
    }

    .contact-card {
        margin-bottom: 2rem;
    }

    .achievement {
        padding: 1rem;
    }

    .achievement .large {
        font-size: 4rem;
        font-weight: 300;
        line-height: 1;
    }

    .achievement .info {
        font-size: 1.2rem;
    }

    .achievement .details {
        font-size: .9rem;
    }

    .specialization .card-link {
        display: none;
    }

    .specialization img {
        filter: grayscale(1);
    }

    .identity .profile {
        width: 200px;
        height: 200px;
        display: block;
        margin: 1.5rem auto;
    }

    p.contact {
        margin-left: .25rem;
    }
}
