body {
    margin: 0;
    font-family: 'Comfortaa', cursive;
}

.masthead {
    height: 100vh;
    min-height: 500px;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#txt-type > .txt {
    border-right: 0.2rem solid #dc3545;
}

.navbar-brand {
    font-family: 'Permanent Marker', cursive!important;
}

.nav-link:hover {
    color: #dc3545!important;
    font-weight: bold;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #dc3545!important;
    font-weight: bold;
}

.shadow-brand {
    text-shadow: 0.5px 0.5px 2.5px #000000;
}

.shadow-title {
    text-shadow: 1px 1px 3px #000000;
}

h1 {
    font-size: 5em; 
    font-family: 'Permanent Marker', cursive;
}

h2 {
    font-size: 2.5em;
    font-family: 'Permanent Marker', cursive;
}

.h2 {
    font-size: 2.5em;
    font-family: 'Permanent Marker', cursive;
}

.fa-code {
    font-size: 3em;
}

.fa-wordpress {
    font-size: 3em;
}

.fa-chart-line {
    font-size: 3em;
}

.fa-mobile-alt {
    font-size: 3em;
}

.fa-linkedin {
    font-size: 2.5em;
}

.fa-github-square {
    font-size: 2.5em;
}

.grey-lighten-1 {
    background-color: #bdbdbd; 
}

.grey-lighten-2 {
    background-color: #e0e0e0;
}

.red {
    color: #dc3545;
}

ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}

ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #dc3545;
    left: 17px;
    width: 25px;
    height: 25px;
    z-index: 400;
}

.footer-contact, .footer-nav, .footer-link {
    font-family: 'Permanent Marker', cursive!important;
    color: #dc3545;
}

.skills-logo {
    height: 80px;
    width: 80px;
}

.card {
    opacity: 1;
    transition: .5s ease;
    backface-visibility: hidden;
}

.card-img-overlay {
    transition: .5s ease;
    opacity: 0;
}

.card:hover img {
    opacity: 0.3;
}

.card:hover .card-img-overlay {
    opacity: 1;
}

.carousel-control-prev-icon {
    height: 25px;
    width: 25px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f00' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    height: 25px;
    width: 25px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f00' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.badge-javascript {
    background-color: #F7DF1E;
    color: white;
}

.badge-bootstrap {
    background-color: #563d7c;
    color: white;
}

.badge-php {
    background-color: #4F5B93;
    color: white;
}

.badge-html {
    background-color: #EE6535;
    color: white;
}

.badge-css {
    background-color: #379AD6;
    color: white;
}

.badge-doctrine {
    background-color: #F0BA11;
    color: white;
}

.badge-twig {
    background-color: #8FDE05;
    color: white;
}

@media screen and (max-width: 768px) {

    h1 {
        font-size: 4em; 
    }

    .h2 {
        font-size: 2em;
    }

    ul.timeline {
        padding: 15px;
    }

    ul.timeline:before {
        left: 0px;
        width: 0px;
        height: 0%;
    }

    ul.timeline > li {
        margin: 0px 0;
        padding-left: 0px;
    }

    ul.timeline > li:before {
        border: 0px solid #dc3545;
        left: 0px;
        width: 0px;
        height: 0px;
    }

    ul.timeline-skill {
        padding: 15px;
    }

}