::selection {
  background-color: #b6d2f3;
  color: #232323;
}

a {
  color: #e7e7e7;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #4a90e2;
  text-decoration: none;
}

.fa-blue {
  color: #4a90e2;
}

h1 {
  font-weight: 300;
  margin-bottom: 1rem;
}

h3,
h4 {
  font-weight: 400;
}

h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

body {
  background-color: #232323;
  color: #e7e7e7;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.btn-primary {
  background-color: #232323;
  border-color: #e7e7e7;
  color: #e7e7e7;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #4a90e2;
  border-color: #4a90e2;
  color: #232323;
}

.card {
  background-color: #232323;
  border: 1px solid #2d2d2d;
  box-shadow: rgba(6, 6, 6, 0.5) 0px 12px 24px;
  color: #e7e7e7;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.card img {
  border-radius: var(--bs-border-radius);
}

.muted {
  color: #9e9e9e;
}

.navbar {
  background-color: #232323;
}

.navbar-brand img {
  height: 2rem;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  border-top: 2px solid transparent;
  color: #ffffff;
}

.nav-link:hover,
.nav-link:focus {
  border-color: #4a90e2;
  color: #4a90e2;
}

.nav-link.active,
.nav-link.show {
  border-color: #4a90e2;
  color: #4a90e2 !important;
}

.profile {
  max-width: 200px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background-color: #4a90e2;
  color: #232323;
  font-weight: 600;
  border-radius: 0 0 0.25rem 0.25rem;
}

.skip-link:focus {
  top: 0;
  color: #232323;
}

ul.no-style {
  list-style-type: none;
  padding-left: 0;
}

.wline {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.wline:after {
  content: '';
  border-top: 0.25rem solid;
  margin: 0 0 0 1rem;
  flex: 1 0 1rem;
  color: #4a90e2;
}

.work-item {
  background-color: #232323;
  border: 1px solid #2d2d2d;
  box-shadow: rgba(6, 6, 6, 0.5) 0px 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-item:hover {
  transform: translateY(-4px);
  box-shadow: rgba(6, 6, 6, 0.7) 0px 16px 32px;
}

.work-item h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  margin-top: auto;
  font-weight: 400;
  padding: 0 1.5rem;
}

.work-item p {
  padding: 0 1.5rem;
}

.work-item .btn {
  margin-bottom: 2rem;
}

footer {
  border-top: 1px solid #2d2d2d;
  margin-top: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
    text-align: center;
  }

  .work-item:hover {
    transform: none;
  }
}
