h1 {
  font-family: 'Bungee', cursive;
  color: #E58C16;
}

/* Navbar Styles */
.navbar {
  background-color: #000000;
  font-family: 'bungee', sans-serif;
  padding-top: 16px;
  padding-bottom: 16px;
}

.navbar-brand {
  color: #ffffff !important;
  font-family: 'Kenia', sans-serif;
  transition: color 0.3s ease;
  font-size: 28px;
}

.navbar-brand:hover {
  color: #E58C16 !important;
}

.navbar a.nav-link {
  color: #fff !important;
  transition: color 0.3s ease, background-color 0.3s ease;
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 6px 18px !important;
  font-size: 16px;
}

.navbar a.nav-link:hover,
.navbar a.nav-link:focus {
  color: #000 !important;
  background-color: #E58C16;
  border-color: #E58C16;
}

.navbar-toggler {
  border-color: #fff;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* About Me Section */
.om-mig-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
  position: relative;
}

.text-circle {
  text-align: left;
  max-width: 400px;
  font-size: 18px;
  font-family: 'Roboto Condensed', sans-serif;
  color: #222121;
}

.mig-klatter-container {
  position: absolute;
  top: -100px;
  left: 20px;
  transform: translate(0, -50%);
  z-index: 2;
}

.mig-klatter-image {
  width: 800px;
  height: auto;
}

.custom-image {
  width: 500px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .om-mig-container {
    flex-direction: column;
  }

  .mig-klatter-container {
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    margin-bottom: 10px;
  }

  .mig-klatter-image {
    width: 100%;
    max-width: 500px;
  }

  .text-circle {
    max-width: 100%;
    text-align: center;
  }

  #om-mig .row {
    flex-direction: column;
    text-align: center;
  }

  .custom-image {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
  }
}

/* Footer Styles */
.custom-footer {
  font-family: 'Kenia', sans-serif;
  padding: 1rem 0;
  position: sticky;
  margin-bottom: 40px;
}

.custom-footer .footer-icon {
  vertical-align: middle;
  height: 20px;
  margin-right: 8px;
}

.custom-footer .footer-text {
  vertical-align: middle;
  font-size: 18px;
}

/* Contact links */
ul.list-unstyled a {
  color: inherit;
  text-decoration: none;
}

ul.list-unstyled a:hover {
  color: #E58C16;
  text-decoration: underline;
}

ul.list-unstyled {
  font-size: 1.2rem;
}

/* Headings */
h3 {
  font-family: kenia, sans-serif;
  font-size: 2.5rem;
  color: #000000;
  margin-top: 60px;
}

#om-mig h1 {
  margin-bottom: 10px;
}

/* Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('images/PaperBG.png');
  background-repeat: repeat;
  background-size: 50%;
  background-position: top left;
  opacity: 0.15;
  z-index: -1;
}


/* Contact entrance animation */
#om-mig .col-lg-8 > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#om-mig .col-lg-8 > *.contact-visible {
  opacity: 1;
  transform: translateY(0);
}


/* Navbar nav wrapper needs to be relative for the slider */
.navbar-nav {
  position: relative;
}

/* Remove the old active/hover background from individual links */
.navbar a.nav-link {
  color: #fff !important;
  border: none;
  border-radius: 30px;
  padding: 6px 18px !important;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.navbar a.nav-link:hover,
.navbar a.nav-link:focus {
  color: #000 !important;
  background: none;
}

.navbar a.nav-link.active {
  color: #000 !important;
}

/* The sliding pill */
.nav-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #E58C16;
  border-radius: 30px;
  transition: left 0.3s ease, width 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.navbar a.nav-link.active {
  color: #000 !important;
}

.navbar-nav:hover .nav-link.active:not(:hover) {
  color: #fff !important;
}