/* HTML */

html {
    font-size: 14px;
}

/* Navbar */

.navbar {
    padding: 10px 1rem;
    background-color: transparent !important;
    transition: all 0.3s;
}

.navbar.navbar-shrink {
    background-color: rgba(10, 10, 10, 0.7) !important;
    transition: all 0.3s;
}

.navbar a {
    padding: 8px 12px !important;
    border-bottom: 3px solid transparent;
    margin: 5px 0;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    color: #e7e7e7 !important;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
}

.navbar a:hover {
    color: #e65a50 !important;
}

.navbar .active > a {
    background-color: transparent !important;
    border-bottom-color: #e65a50;
}

.code {
    font-family: Consolas, "courier new", serif !important;
}

a.brand > img {
    max-width: 70px;
}

/* Hide burger menu on larger screens */
.navbar-toggler {
    display: none;
}

/*  Sections */

section {
    background-color: #e7e7e7;
    /*font-family: 'Roboto', sans-serif;*/
}

section img {
    width: 100%; /* max width */
    /*background-color: #303030;*/
}

section > div {
    padding: 30px !important;
}

section > div + div {
    padding-top: 0 !important;
}

section > div p {
    margin-bottom: 4rem;
}


a.link {
    color: #cd000a !important;
}

a.link:hover, a.link:focus {
    color: #8B0000 !important;
}

#author {
    display: block;
    width: 12.5rem;
    height: 14rem;
    margin: 3rem auto;
    box-shadow: 4px 4px 16px #000000;
    transform: rotate(12deg);
    border: 6px solid #FFFFFF;
    /*-webkit-border-radius: 50%;*/
    /*-moz-border-radius: 50%;*/
    /*border-radius: 50%;*/
}

#home {
    /*background: url("images/background_1.jpg") no-repeat;*/
    /*background-size: contain;*/
    /*width: 100%;*/
    /*height: 0;*/
    /*padding: 0 !important;*/
    /*padding-top: 66.66% !important;*/
}

#navbar-placeholder {
    display: block;
    width: 100%;
    height: 70px;
    background-color: #000000;
}

#about {
    /*background: url("images/background_2.jpg") no-repeat;*/
    /*background-size: contain;*/
    /*width: 100%;*/
    /*height: 0;*/
    /*padding: 0 !important;*/
    /*padding-top: 46.42% !important;*/

    /*font-family: Helvetica, Arial, Lucida, sans-serif;*/
    /*font-size: 16px;*/
    /*text-align: center;*/
}

#about p {
}

#portfolio {
}

#contact {
}

#last {
}

body {
    /*background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpi2r9//38gYGAEESAAEGAAasgJOgzOKCoAAAAASUVORK5CYII=);*/
}

/* Utility */
/* Scroll to top button */

#scroll-to-top {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    z-index: 100;
    background: rgb(219, 219, 219);
    border: 1px solid rgb(200, 200, 200);

    box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.25) !important;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;

    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#scroll-to-top i {
    position: relative;
    top: 13px;
    /*left: 17px;*/
    font-size: 20px;
    font-weight: bolder;
    color: #eb0000;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#scroll-to-top:hover {
    background: #c8c8c8;
}

#scroll-to-top:hover i {
    /*top: 5px;*/
}

/* Skill bar */

#skill-bar-container {
    max-width: 100%;
    margin: 1rem 0;
}

.skill-bar {
    /*position: relative;*/
    margin: 10px;
}

.skill-bar-filled {
    height: 100%;
    width: 0;
}

.skill-bar-head {
    font-size: 13px;
    margin-bottom: 3px;
}

.skill-bar-title {
    font-weight: 600;
    /*letter-spacing: 1px;*/
    margin-right: 12px;
}

.skill-bar-right {
    font-weight: 700;
    float: right;
}

.skill-bar-progress, .skill-bar-progress .empty-bar {
    height: 10px;
    overflow: hidden;
    background-color: #FFFFFF;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.skill-bar-progress .empty-bar {
    width: 0;
    background: #FF0000;
    transition: width 0.8s ease;
}

/* Footer */

footer {
    position: relative;
    padding: 4rem 0 9rem 0;
    /*border-top: 2px solid #e65a50;*/
    background-color: #303030;
    color: #e7e7e7;
    box-shadow: 0 -3px 8px #000000;
}

footer .category-name {
    padding: 8px 0;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: bolder;
}

footer .mail > a {
    padding: 4px;
    font-family: Arial, sans-serif;
    font-size: larger;
    font-variant: small-caps;
    letter-spacing: 2px;
    text-decoration: none;
    color: #e7e7e7;
}

footer .mail > a:hover, footer .mail > a:focus {
    text-decoration: none;
    color: #e65a50;
}

/* Social */

.btn {
    border-width: 2px;
}

.btn.focus, .btn:focus, .btn:hover {
    color: #e7e7e7;
    text-decoration: none;
}

.btn-social {
    padding: 15px;
    margin: 5px 2px;
    font-size: 25px;
    width: 60px;
    height: 60px;
    /*border-radius: 50%;*/
    text-decoration: none;

    color: #e7e7e7;
    border: 3px solid #e7e7e7;
}

.btn-social:hover {
    /*background-color: #e7e7e7;*/
    /*color: #e65a50;*/
    border-color: #e65a50;
    /*box-shadow: 0px 0px 50px #e65a50;*/
}

.copyright {
    padding: 1.5rem 0 !important;
    background-color: #202020;
    color: #fff !important;
    /*border-top: 2px solid rgba(255, 255, 255, 0.15);*/
}

/* Mobile devices */

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
        border: none;
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
        border: none;
    }

    .toggler-bars {
        color: #FFFFFF;
    }

    .navbar-collapse {
        background-color: transparent; /* Transparent background for mobile menu */
    }

    .navbar-nav {
        flex-direction: column; /* Stack menu items vertically */
        align-items: stretch; /* Stretch the menu items to take full width */
    }

    .nav-link {
        border-bottom: 1px solid transparent; /* Initial border for each nav-link */
        padding: 10px 15px;
        text-align: right; /* Align text to the right */
        width: 100%; /* Make sure the clickable area takes the full width */
    }

    .navbar a:hover {
        color: #e7e7e7 !important;
    }

    .navbar .active > a {
        color: #e65a50 !important;
    }

    #navbar-placeholder {
        display: none;
    }
}