/* General styles */ 
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Utility classes */
.link {
    text-decoration: none;
}
.link:hover {
    text-decoration: none;
}
.red-link:hover {
    color: #f05f40;
}
.dark-link {
    color: #333;
    font-weight: bold;
}
.dark-link:hover {
    color: #333;
}
.black-link {
    color: #212529;
}
.black-link:hover {
    color: #f05f40;
}
.separator {
    max-width: 50px;
    border-width: 3px;
    border-radius: 6px;
}
.red-separator {
    border-color: #f05f40;
}
.img-frame {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    padding: 5px;
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.fa-space-left {
    margin-left: 8px;
}
.fa-space-right {
    margin-right: 8px;
}
.scroll-adjust {
    padding-top: 56px;
    margin-top: -56px;
}

/* Header styles */
.navbar {
    padding-left: 10%;
    padding-right: 10%; 
    background-color: #fff;
    border-top: 5px solid #f05f40;
    -webkit-box-shadow: 0 2px 4px #555;
            box-shadow: 0 2px 4px #555;
    color: #333;
}
#logo-img {
    display: inline-block;
    width: 20%;
}
#navbar-logo {
    position: fixed;
    top: 10px;
    color: #333;
    font-family: 'Yellowtail', cursive;
    font-size: 30px;
}
#navbar-logo:hover {
    color: #f05f40;
    text-decoration: none;
}
.nav-link {
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(51,51,51, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

#navbar_toggler {
    display: none;
}

#navbar_toggler:focus {
    outline: none;
}

#navbar_container {
    width: 100%;
}

#navbar_container .navbar-nav {
    justify-content: flex-end;
}

#navbar_container.opened {
    opacity: 1;
    visibility: visible;
}

/* Introduction section styles */
#introduction {
    padding-top: 200px;
    height: 650px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.2)), to(rgba(255,255,255,0.2))), url('../images/computer-code-editor.jpg');
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('../images/computer-code-editor.jpg');
    background: -o-linear-gradient(top, rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('../images/computer-code-editor.jpg');
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url('../images/computer-code-editor.jpg');
    background-size: cover;
    background-position: bottom;
}
#name-title {
    color: #333;
    font-size: 100px;
    font-family: 'Yellowtail', cursive;
}
#post-title {
    color: #444;
    font-size: 30px;
}
#light-background {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 2px;
    border-top: 5px solid #f05f40;
    background: #fff;
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}

/* About section styles */
#about-section {
    background-color: #f05f40;
    color: #fff;
    padding: 50px 0;
}
#about-image {
    height: auto; 
    width: 200px;
}
#about-text {
    padding: 0 30px;
    display: flex;
}
#about-text p {
    margin: auto;
}

/* Professional Skills section styles */
#skills-section {
    background-color: #333;
    color: #fff;
    padding: 50px;
}
#skills-list {
    margin-top: 50px;
    padding: 20px 20px 10px 20px;
    color: #333;
      background-color: #fff;
      border-radius: 2px;
    border-top: 5px solid #f05f40;
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.rounded-list {
    padding: 0;
}
.rounded-list li {
    position: relative;
    background-color: #eee;
    padding: 8px 8px 8px 32px;
    margin: 10px 0;
    border-radius: 2px;
    list-style-type: none;
    transition: background-color .3s ease;
    box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.3);
}
.rounded-list li:hover {
    background-color: #f05f40;
    color: #fff;
}
.rounded-list li:before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
      position: absolute; 
      top: -2px;
      left: -10px;
      background: #f05f40;
      border: 5px solid #fff;
      border-radius: 32px;
      line-height: 23px;
      height: 32px;
    width: 32px;
    text-align: center;
    color: #fff;
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.skills-list-title {
    padding-bottom: 10px;
    font-size: 25px;
    font-weight: bold;
}
#skills-charts {
    padding-left: 50px;
}
.skills-chart{
    padding: 20px 20px 20px 10px;
    margin-top: 50px;
    border-radius: 2px;
    border-top: 5px solid #f05f40;
      background-color: #fff;
      color: #333;
}
.skills-chart p{
    margin-bottom: 3px;
}
.bar{
      height: 25px;
      margin: 0 auto 10px auto;
      background-color: #ddd;
    box-shadow: 0px 2px 6px 0px rgba(0,0,0,0.3);
}

.bar-inner{
    position: relative;
    height: 100%;
    width: 90%;
      background-color: #f05f40;
      border-radius: 2px;
}
.bar-inner::after{
    position: absolute;
    right: 5px;
    content: attr(data-percent);
    line-height: 25px;
    color: #fff;
    font-weight: 700;
}
.bar-75 {
    width: 75%;
}
.bar-70 {
    width: 70%;
}
.bar-65 {
    width: 65%;
}
.bar-60 {
    width: 60%;
}
.bar-55 {
    width: 55%;
}
.bar-50 {
    width: 50%;
}
.bar-40 {
    width: 40%;
}
.bar-30 {
    width: 30%;
}
.bar-20 {
    width: 20%;
}

/* Experiences section styles */
#experiences-section {
    background-color: #ddd;
    padding-top: 50px;
}
.section-title {
    font-size: 50px;
    font-family: 'Yellowtail', cursive;
    display: inline-block;
}
.light-ribbon {
    display: inline-block;
    border: 12px solid #fff;
    border-radius: 2px;
     width: 40px;
}
.dark-ribbon {
    display: inline-block;
    border: 12px solid #333;
    border-radius: 2px;
     width: 40px;
}
.ribbon-left {
    border-right: 0;
    border-left: 12px solid transparent;  
    margin-right: 13px;
}
.ribbon-right {
    border-left: 0;  
    border-right: 12px solid transparent;
     margin-left: 13px;
}
.timeline {
    list-style: none;
    position: relative;
    min-width: 100%;
    margin-top: 50px;
    margin-bottom: 100px;
    padding: 0;
}
.timeline:before {
    top: 0;
      bottom: 0;
      position: absolute;
      content: " ";
      width: 10px;
      background-color: #333;
      left: 50%;
      margin-left: -10px;
      -webkit-transform: skew(0deg, -30deg);
    -ms-transform: skew(0deg, -30deg);
    transform: skew(0deg, -30deg);
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.timeline:after {
    top: 0;
      bottom: 0;
      position: absolute;
      content: " ";
      width: 10px;
      background-color: #333;
      left: 50%;
      margin-left: 0px;
    -webkit-transform: skew(0deg, 30deg);
    -ms-transform: skew(0deg, 30deg);
    transform: skew(0deg, 30deg);
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.timeline li:before, .timeline li:after {
  content: " ";
  display: table;
}
.timeline li:after {
  clear: both;
}
.timeline li:before, .timeline li:after {
  content: " ";
  display: table;
}
.timeline li {
      margin-bottom: 25px;
      position: relative;
      padding-left: 50px;
}
.timeline li .timeline-panel {
      width: calc(50% - 60px);
      float: left;
     background: #fff;
      border-top: 5px solid #f05f40;
      padding: 15px;
      position: relative;
      border-radius: 2px;
       -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
               box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.timeline li .timeline-panel p {
    margin-bottom: 3px;
}
.timeline li .timeline-panel:before {
  position: absolute;
  top: 26px;
  right: -15px;
  display: inline-block;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  content: " ";
}
.timeline li .timeline-panel:after {
  position: absolute;
  top: 27px;
  right: -14px;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  content: " ";
}
.timeline li.timeline-inverted {
    padding-left: 0;
    padding-right: 50px;
}
.timeline li.timeline-inverted .timeline-panel {
  float: right;
}
.timeline li.timeline-inverted .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline li.timeline-inverted .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline li .tl-circ {
    position: absolute;
    top: 26px;
    left: 50%;
    text-align: center;
    background: #333;
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin-left: -16px;
    border: 3px solid #fff;
     border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    z-index: 99;
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.timeline li .tl-circ-current {
    border-color: #f05f40;
}

/* Portfolio section styles */
#portfolio-section {
    background-color: #f05f40;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 20px;
}
#project-gallery {
    padding: 50px 40px 0 40px;
    margin: 0;
}
.thumbnail-frame:hover .project-description {
    visibility: visible;
    opacity: 1;
}
.project-description {
    margin: 5px 0 5px 5px;
    padding: 10px;
    position: absolute;
    top: 0px;
    left: 0;
    height: 360px;
    width: calc(100% - 10px);
    background-color: rgba(0,0,0,0.8);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0s, opacity 0.2s linear;
    -o-transition: visibility 0s, opacity 0.2s linear;
    transition: visibility 0s, opacity 0.2s linear;
}
.thumbnail {
    margin-bottom: 30px;
}
.thumbnail-frame {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    padding: 5px;
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
            box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
}
.thumbnail-img {
    height: 360px;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 50%;
       object-position: 50%;
}
.visit-button {
    padding: 10px;
    background-color: #f05f40;
    border-radius: 3px;
    color: #fff;
}
.visit-button:hover {
    text-decoration: none;
    text-shadow: 2px 2px #444;
    color: #fff;
}
.project-description-title {
    font-size: 22px;
}
.project-description-text {
    font-style: italic;
    color: #ddd;
}
.category-separator {
    position: relative;
    font-size: 15px;
}
.category-separator:before {
    content: " ";
    position: absolute;
    border-bottom: 1px solid #ddd;
    width: 25%;   
    height: 13px;
    display: inline;
    margin-left: calc(-25% - 8px);
}
.category-separator:after {
    content: " ";
    position: absolute;
    border-bottom: 1px solid #ddd;
    width: 25%;   
    height: 13px;
    display: inline;
    margin-left: 8px;
}
.tags-list {
    line-height: 35px;
}
.tag {
    padding: 5px;
    background-color: #f05f40;
    border-radius: 5px;
}
.github-link {
    padding-left: 10px;
}
#resume-download {
    padding: 25px 40px 25px 40px;
}
#pdf-logo {
    width: 75px;
}

/* Contact section styles */
#contact-section {
    background-color: #333;
    color: #fff;
    padding: 50px 40px 50px 40px;
}
#contact-title {
    padding-bottom: 50px;
}
.btn-red {
    background-color: #f05f40;
    color: #fff;
    font-weight: bold;
    border-radius: 3px;
}
.footer-icon {
    color: #aaa;
    font-size: 30px;
    margin-right: 10px; 
}
.footer-icon:hover {
    color: #888;
}


@media all and (max-width: 442px)
{
    #nikoniko .tags-list {
        margin-bottom: 0px;
    }
    #nikoniko .project-description-text, 
    #nikoniko .mg-b-8 {
        margin-bottom: 8px;
    }
}

@media all and (max-width: 466px)
{
    body {
        font-size: 14px;
    }
    #name-title {
        font-size: 60px;
    }
    #post-title {
        font-size: 25px;
    }
    #about-text {
        padding-left: 15px;
        padding-right: 15px;
    }
    #about-text-title {
        font-size: 40px;
    }
    .section-title {
        font-size: 35px;
    }
}

@media all and (max-width: 639px)
{
    #project-gallery {
        padding: 50px 15px 0 15px;
    }
}

@media all and (max-width: 767px)
{
    #navbar_toggler {
        display: block;
    }

    #navbar_container {
        position: fixed;
        top: 51px;
        left: 0;
        background: #fff;
        width: 100vw;
        padding: 5px;
        transition: all ease .4s;
        opacity: 0;
        visibility: hidden;    
    }

    #navbar_container .navbar-nav {
        padding: 0 8%;
    }

    .nav-item {
        border-top: 1px solid #ccc;
    }
    #about-text {
        padding-top: 50px;
    }
    .timeline li {
        padding-left: 25px;
    }
    .timeline li.timeline-inverted {
        padding-right: 25px;
    }
    .timeline:before {
        left: auto;
        right: 35px;
    }
    .timeline:after {
        left: auto;
        right: 25px;
    }
    .timeline li .tl-circ {
        left: auto;
        right: 18px;
    }
    .timeline li .timeline-panel {
        width: calc(100% - 70px);
    }
    #contact-form {
        padding-bottom: 25px;
    }
    #contact-section {
        padding: 50px 10px;
    }
    #project-gallery {
        padding: 50px 10px 0 10px;
    }
}

@media all and (min-width: 768px) and (max-width: 900px)
{
    #about-image-div {
        -webkit-box-pack: start !important;
            -ms-flex-pack: start !important;
                justify-content: flex-start !important;
    }
}

@media all and (max-width: 930px)
{
    #skills-charts {
        padding-left: 15px;
    }
}
@media all and (max-width: 1100px)
{
    #skills-section {
        padding: 50px 10px;
    }
}