html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: #1e3a8a;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e3a8a;
}

h1 {
  text-align: center;
}

.hero {
  position: relative;
  background-image: url("img/tlo_top.png");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: right;
}

.hero-text {
  background-color: rgba(255, 255, 255, 0.75);
  padding: 1rem;
  margin-bottom: 2rem;
  margin-right: 2rem;
  border-radius: 0.5rem;
  text-align: right;
}

.hero-text h1 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-text h2 {
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
}

.navigationBar {
  height: 8vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1e3a8a;
}

.navigation ul {
  margin-top: 15px;
  list-style: none;
  display: flex;
  gap: 50px;
}

.navigation li {
  margin: 0;
  padding: 0;
}

.navigation a {
  text-decoration: none;
  color: aliceblue;
  font-size: 20px;
  font-weight: 400;
  transition: color 0.3s ease;
  cursor: pointer;
}

.navigation a:hover {
  color: rgb(86, 86, 178);
}


.hamburger,
.mobileMenu {
  display: none;
}

@media (max-width: 768px) {
  .navigation {
    display: none;
  }

  .hamburger,
  .closeMenu {
    position: absolute;
    top: 15px;
    right: 20px;
    display: block;
  }

  .hamburger .openMenu,
  .closeMenu {
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: transparent;
  }

  .openMenu svg,
  .closeMenu svg {
    width: 32px;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 41, 41, 0.5);
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 100;
  }

  .activeOverlay {
    visibility: visible;
  }

  .mobileMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 55%;
    height: 100vh;
    background-color: #1e3a8a;
    padding: 20px;
    z-index: 110;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
  }

  .activeMobileMenu {
    right: 0;
  }

  .mobileMenu .closeMenu {
    align-self: flex-end;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 40px;
  }

  .mobileMenu ul {
    list-style: none;
    margin-top: 170px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .mobileMenu li a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 550;
    color: aliceblue;
    transition: color 0.3s ease;
  }

  .mobileMenu li a:hover {
    color: rgb(86, 86, 178);
  }

  .hero {
    background-image: url("img/mobile.jpg");
    height: 60vh;
  }
}

.profile-img {
  height: 150px;
  border-radius: 50%;
}

#aboutMe,
#projects,
#cv {
  color: #1e3a8a;
}

#aboutMe p,
#aboutMe li,
#projects p,
#projects li,
#projects .card-text,
#cv p,
#cv li,
#cv .accordion-body {
  color: #1e3a8a;
}

.text-body-secondary,
.text-body-emphasis {
  color: #1e3a8a !important;
}

.btn-cv {
  background-color: #1e3a8a !important;
  border-color: #1e3a8a !important;
  color: #ffffff !important;
}

.btn-cv:hover {
  background-color: #163270 !important;
  border-color: #163270 !important;
  color: #ffffff !important;
}

.btn-github {
  background-color: #1e3a8a;
  color: white !important;
  border: none;
  transition: 0.3s;
}

.btn-github:hover {
  background-color: #163270;
  color: white !important;
}

.card-img-top {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.accordionCv {
  padding: 40px 10%;
}

.accordionCv ul {
  padding-left: 1.5rem;
  line-height: 1.7;
}

.accordionCv li {
  margin-bottom: 8px;
}

.accordion-button {
  background-color: white;
  color: #1e3a8a;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #1e3a8a;
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: #1e3a8a;
}

footer.bg-body-tertiary {
  background-color: #1e3a8a !important;
  color: #ffffff !important;
}

.icons img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-left: 8px;
}

.navigation a,
.mobileMenu a,
footer {
  color: #ffffff !important;
}