/* Timeline custom component */
.timeline-card {
  position: relative;
  margin-left: 16px; }

.timeline-card:before {
  content: '';
  display: inline-block;
  position: absolute;
  background-color: #fff;
  border-radius: 100%;
  width: 24px;
  height: 24px;
  top: 16px;
  left: -12px;
  border: 5px solid;
  z-index: 2; }

.timeline-body {
  border-left: 2px solid #E6E9ED; }

.timeline-card-primary:before {
  border-color: var(--bs-primary); }

.timeline-card-info:before {
  border-color: var(--bs-info); }

.timeline-card-secondary:before {
  border-color: var(--bs-secondary); }

.timeline-card-success:before {
  border-color: var(--bs-teal); }

html {
  scroll-behavior: smooth; }

html, body {
  overflow-x: hidden; 
  margin-top: 20px; }



/* Add a black background color to the top navigation */
.topnav {
  background-color: #4a4a4a;
  height: 45px;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  margin: 0;
  padding: 0;
  text-align: center;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 3px 10px 0 rgba(0, 0, 0, 0.3);
}

.topnav li {
  display: inline; }

/* Style the links inside the navigation bar */
.topnav a {
  display: inline-block;
  color: #e0e0e0;
  opacity: 1;
  text-align: center;
  margin: auto;
  padding: 10px 10px;
  text-shadow: 1px 1px 2px #000000;
  font-size: 15px;
}




/* Change the color of links on hover */
.topnav a:hover {
  background-color: #b08500;
  text-shadow: none;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #ededed;
  opacity: 1;
  padding: 10px 20px 10px 22px;
  box-shadow: 2px 0 2px 2px rgba(0, 0, 0, 0.6), -2px 0 2px 2px rgba(0, 0, 0, 0.6);
}

.topnav a.active:hover {
  background-color: #ffffff;
  opacity: 1;
  padding: 10px 20px 10px 22px;
  box-shadow: 4px 0 2px 2px rgba(0, 0, 0, 0.6), -4px 0 2px 2px rgba(0, 0, 0, 0.6);
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}




#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #b08500; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#myBtn:hover {
  background-color: #4a4a4a; /* Add a dark-grey background on hover */
}


.container {
  max-width: 1140px; }

.resume-container {
  background-position: center center; }

.site-title {
  font-size: 1.25rem;
  line-height: 2.5rem; }

a.anchor {
    display: block;
    position: relative;
    top: -60px;
    visibility: hidden;
}


.nav-link {
  padding: 0;
  font-size: 1rem;
  line-height: 2.5rem;
  color: #000000;
  opacity: 0.8; }

.nav-link2 {
  padding: 0;
  font-size: 1.35rem;
  line-height: 1rem;
  color: #000000;
  opacity: 0.8;
  margin-left: .25rem;
  margin-right: .75rem; }

.header-bio {
  text-shadow: 1px 1px 2px #000000; }

.header-sub {
  color: #b08500;
  opacity: 1;
  font-size: 1.25rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000000; }


.header-social .nav-link {
  font-size: 1.25rem; }

.nav-link:hover,
.nav-link:focus {
  color: #b08500;
  opacity: 1; }

.nav-item + .nav-item {
  margin-left: 1rem; }

.cover {
  height: 500px; 
}


.bgimg > img {
  z-index: 0;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  width: 100%;
  min-height: 100%;
  top: 10%;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

}



.lesson-link a {


}


.lesson-link a:hover {
  text-decoration: underline;

}






.progress-bar {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px; }

.text-small {
  font-size: 0.85rem; }

.text-teal {
  color: var(--bs-teal); }

footer a:not(.nav-link) {
  color: inherit;
  border-bottom: 1px dashed;
  text-decoration: none;
  cursor: pointer; }

@media (min-width: 48em) {
  .site-title {
    float: left; }
  .site-nav {
    float: right; } }



/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 1112px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav li {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1112px) {
  .topnav.responsive {
    position: fixed;
    height: 100%; }
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive li {
    float: none;
    display: block;
    text-align: right;
    padding-right: 35px;
  }

}


@media (max-width: 800px) {
  .bgimg > img {
      z-index: 0;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  width: 100%;
  min-height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
}



@media (max-width: 767px) {
  /* disable animations on mobile */
  [data-aos] {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important; }
  .p-5 {
    padding: 2.5rem 2rem !important; }
  .portfolio-section .m-5 {
    margin: 2rem 0 1rem !important; }
  .portfolio-reverse {
    flex-direction: column-reverse; }
  .portfolio-reverse .text-end {
    text-align: start !important; } }

@media print {
  [data-aos] {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important; }
  body.bg-light {
    background-color: #fff !important; }
  .container {
    width: auto;
    max-width: 100%;
    padding: 0; }
  .cover {
    height: 400px;
    margin-bottom: 1.5rem; }
  .cover > img {
    display: none; }
  .shadow-1-strong {
    box-shadow: none !important; }
  .resume-container > .my-5 {
    margin: 0 !important; }
  .my-5.p-5 {
    padding: 1.5rem 0 !important; }
  .about-section {
    padding: 0 !important; }
  .skills-section,
  .work-experience-section,
  .education-section,
  .portfolio-section,
  .reference-section,
  .contact-section {
    padding: 0 !important; }
  .page-break {
    padding-top: 0rem;
    page-break-before: always; } 
  .page-space {
    padding-top: 2rem; } 
  .page-space2 {
    padding-top: 1rem; } }
