@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
    background-color: #212121;     
    font-family: 'Roboto', sans-serif;
}

.row {
    padding: 0;
    margin: 0;
}

/* Title */
.title-main {
    background-color: #551272;
    color: #ffffff;
    padding: 1rem;
}

.title-main h3 {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
}

.title-main p {
    font-size: 1.25rem;
    text-align: center;
}

.title-main img {
    border-radius: 50%;
    max-height: 140px;
    margin-top: 2rem;
}

.title-main .title-main-text {
    padding: 2rem;
}

.title-secondary {
    background-color: #821DAE;
}

.title-secondary h4 {
    color: #ffffff;
    width: 75%;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    margin-bottom: 0;
}

.section {
    color: #ffffff;
    margin-bottom: 3rem;
}

.section h1 {
    font-size: 2rem;
    padding: 2rem;
}

.section a {
    text-decoration: none;
    color: inherit;
}

.heading-underline {
    width: 90%;
    height: 1px;
    background-color: #a1a1a1;
    margin: 0 auto 2rem;
}

/* Timeline holder */
ul.timeline {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

 /* Timeline vertical line */
ul.timeline:before {
    content: ' ';
    background: #007bff;
    display: inline-block;
    position: absolute;
    left: 16px;
    width: 4px;
    height: 100%;
    z-index: 400;
    border-radius: 1rem;
}

li.timeline-item {
    margin: 20px 0;
    background-color: #323232;
    color: #ffffff;
}

li.timeline-item span, li.timeline-item h5 {
    color: #C0C0C0;
}

/* Timeline item arrow */
.timeline-arrow {
    border-top: 0.5rem solid transparent;
    border-right: 0.5rem solid #323232;
    border-bottom: 0.5rem solid transparent;
    display: block;
    position: absolute;
    left: 2rem;
}

/* Timeline item circle marker */
li.timeline-item::before {
    content: ' ';
    background: #ddd;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #fff;
    left: 11px;
    width: 14px;
    height: 14px;
    z-index: 400;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

li.timeline-item ul {
    list-style-type: disc;
}

/* Examples */
.card {
    margin: 1rem auto;
    background-color: #323232;
    color: #ffffff;
    max-width: 500px;
    min-height: 95%;
}

.card .tags {
    padding-bottom: 20px;
}

.card a {
    font-size: 2rem;
    padding-left: 1rem;
}

.card a:hover {
    color: #0056B3;
}

.image-popup {
    cursor: pointer;
    width: 100%;
    height: 100%;
    transition: all 100ms linear;
}

.image-popup:hover {
    transform: scale(105%);
}

#image-modal-container {
    display: none; /*flex*/
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

#image-modal-container.visible {
    display: flex;
}

#image-modal-container div {
    padding: 0;
}

#image-modal {
    cursor: pointer;
}

.fillwidth {
    width: 95vw;
    height: auto;
}

.fillheight {
    height: 95vh;
    width: auto;
}

.example .example-download {
    text-decoration: none;
    font-size: 5rem;
    color: inherit;
    padding: 1rem 0;
}

/* Skills */
.skills {
    margin-bottom: 6rem;
}

.skill img {
    max-height: 100px;
    color: #ffffff;
}

.skill h3 {
    font-size: 2rem;
    padding: 1rem;
}

.subskill {
    margin-top: 2rem;
}

.subskill img {
    max-height: 80px;
}

.subskill h3 {
    font-size: 2rem;
    padding: 1rem;
}

/* CV */
.section-cv {
    margin-top: 7rem;
    margin-bottom: 5rem;
}
.section-cv h1 {
    color: #ffffff;
    font-size: 3rem;
}
.section-cv a {
    color: #ffffff;
    font-size: 6rem;
}

.section-cv a:hover {
    color: #0056B3;
}

.section-cv svg {
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: #323232;
    color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

footer a {
    text-decoration: none;
    font-size: 2rem;
    color: inherit;
    padding: 1rem;
}

footer a:hover {
    text-decoration: none;
}

footer p {
    margin-top: .5rem;
}

/* Media Queries */
/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

@media (min-width: 0px) {
    .offer a {
        font-size: 4rem;
    }
}

@media (min-width: 768px) {
    .title-main img {
        margin-top: 0;
    }
    .title-main h3 {
        font-size: 3.5rem;
        text-align: left;
    }
    .title-main p {
        font-size: 1.75rem;
        text-align: left;
    }
    .title-secondary h4 {
        width: 50%;
    }
    .heading-underline {
        width: 75%;
    }
    .skills {
        padding: 0 6rem;
        margin-right: 0rem;
    }
    .image-popup:hover {
        transform: scale(110%);
    }
    .card {
        max-width: 18rem;
    }
}

@media (min-width: 992px) {
    .title-main h3 {
        font-size: 4rem;
    }
    .title-main p {
        font-size: 2rem;
    }
    .title-main img {
        max-height: 180px;
    }
    .skill img {
        max-height: 140px;
    }
    .subskill img {
        max-height: 100px;
    }
}

@media (min-width: 1200px) {
    .title-main h3 {
        font-size: 6rem;
    }
    .title-main p {
        font-size: 3rem;
    }
    .skills {
        padding: 0 10rem;
    }
}

@media (min-width: 1400px) {
    .examples {
        padding-left: 8rem;
        padding-right: 8rem;
    }
    .skills {
        padding: 0 20rem;
    }
}
