/*

Tooplate 2115 Marvel

https://www.tooplate.com/view/2115-marvel

*/


@import url("https://fonts.googleapis.com/css?family=Maven+Pro:400,700");
body {
  font-family: "Maven Pro", sans-serif;
  padding-top: 70px;
}

.full-screen {
  padding: 8rem 0;
}

.small-text {
  color: #5b5b5b;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: 0.2px;
}

ul {
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
}

a {
  font-weight: normal;
  text-decoration: none !important;
  transition: all 0.4s ease;
}
a:hover {
  color: #008cff !important;
}

.navbar-brand .uil {
  font-size: 40px;
}

p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #5b5b5b;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  letter-spacing: -1px;
}

h1 {
  color: #212121;
  font-size: 2.8em;
  margin: 24px 0;
}

h2 {
  color: #353535;
  font-size: 2.4em;
  font-weight: bold;
}

h3 {
  color: #484848;
}

h3,
b, strong {
  font-weight: bold;
}

.custom-btn {
  background: #eee;
  color: #5b5b5b;
  font-weight: bold;
  border-radius: 50px;
  padding: 13px 29px;
  font-size: 14px;
  line-height: normal;
  overflow: hidden;
  transition: all 0.4s ease;
}
.custom-btn:hover {
  color: #008cff;
}
.custom-btn.custom-btn-bg {
  background: #0d2740;
  color: #ffffff;
}
.custom-btn.custom-btn-bg:hover {
  background: #008cff;
  color: #ffffff !important;
}

.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
  min-width: 260px;
  position: relative;
}

.animated-item {
  color: #008cff;
}

.animated-item {
  font-size: 38px;
  line-height: inherit;
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: BottomTotop 6s linear infinite 0s;
}
.animated-item:nth-child(2n+2) {
  animation-delay: 2s;
}
.animated-item:nth-child(3n+3) {
  animation-delay: 4s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0;
    transform: translateY(5px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(5px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  will-change: transform;
  transition: transform 200ms linear;
}
.navbar[class*="-unpinned"] {
  transform: translate(0, -150%);
}
.navbar[class*="-pinned"] {
  transform: translate(0, 0);
}
.navbar[class*="headroom--not-top"] {
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  font-weight: bold;
}

.navbar-expand-sm .navbar-nav .nav-link {
  padding: 0 20px;
}

.nav-link {
  font-weight: bold;
  font-size: 16px;
  overflow: hidden;
}
.nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s;
}
.nav-link span:before {
  position: absolute;
  top: 100%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #008cff;
  font-weight: bold;
}
.navbar-light .navbar-nav .nav-link:focus span,
.navbar-light .navbar-nav .nav-link:hover span {
  transform: translateY(-100%);
}

.navbar-light .navbar-toggler-icon {
  background: none;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  outline: none;
  cursor: pointer;
  margin-right: 10px;
}
.navbar-toggler:focus {
  outline: none;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:first-child {
  transform: rotate(45deg);
  top: 6px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
  display: none;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:last-child {
  transform: rotate(-45deg);
  bottom: 1px;
}
.navbar-toggler .navbar-toggler-icon {
  background: #212121;
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  transition: all 0.4s ease;
  position: relative;
}

.copyright-text {
  font-size: 16px;
  font-weight: normal;
  display: block;
}

.color-mode {
  font-weight: bold;
  cursor: pointer;
}

.color-mode-icon {
  position: relative;
  right: 6px;
}
.color-mode-icon:after {
  font-family: 'unicons';
  content: '\ea9f';
  font-size: 30px;
  font-weight: 300;
  font-style: normal;
}
.color-mode-icon.active:after {
  font-family: 'unicons';
  content: '\eb65';
  font-size: 30px;
  color: #ffffff;
}

.dark-mode {
  background: #1c1f24;
  color:#e2e6ea;
}
.dark-mode .navbar-light .navbar-nav .nav-link {
  color:rgba(255,255,255,0.82);
}
.dark-mode .navbar-light .navbar-nav .nav-link:hover {
  color: var(--accent);
}
.dark-mode .navbar[class*="headroom--not-top"] {
  background:#1c1f24;
  border-bottom:1px solid #2a323a;
}
.dark-mode .small-text {
  background:#283039;
  color:#f3f6f8;
}
.dark-mode .feature-card .uil,
.dark-mode .navbar-light .navbar-brand,
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode .color-mode {
  color: #ffffff;
}
.dark-mode .owl-carousel .owl-nav button.owl-next,
.dark-mode .owl-carousel .owl-nav button.owl-prev,
.dark-mode .owl-carousel button.owl-dot {
  color: #ffffff;
}

.timeline-wrapper {
  position: relative;
  padding: 22px 0;
}
.timeline-wrapper:last-child:before {
  height: 0;
}
.timeline-wrapper:before {
  content: "";
  background: #474559;
  width: 3px;
  height: 100%;
  position: absolute;
  left: 38px;
}

.timeline-yr {
  background: #474559;
  border-radius: 100%;
  position: absolute;
  width: 75px;
  height: 75px;
  line-height: 75px;
  text-align: center;
}
.timeline-yr span {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  display: block;
  line-height: 75px;
}

.timeline-info {
  display: inline-block;
  vertical-align: top;
  max-width: 432px;
  margin-left: 6em;
}
.timeline-info small {
  color: #474559;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
}

.owl-carousel .owl-nav span {
  display: none;
}
.owl-carousel .owl-nav .owl-prev:before,
.owl-carousel .owl-nav .owl-next:before {
  background: none;
  padding: 0;
  display: block;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  font-family: 'unicons';
  font-size: 100px;
  line-height: normal;
}
.owl-carousel .owl-nav .owl-prev:before {
  content: '\e833';
  left: -45px;
}
.owl-carousel .owl-nav .owl-next:before {
  content: '\e836';
  right: -45px;
}

.owl-theme .owl-nav [class*=owl-] {
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
}
.owl-theme .owl-nav [class*=owl-]:hover {
  color: #008cff;
}
.owl-theme .owl-dots .owl-dot {
  outline: none;
}
.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #5b5b5b;
}

.google-map iframe {
  width: 100%;
}

.contact-form {
  position: relative;
}
.contact-form .form-control {
  background: transparent;
  border-radius: 2px;
  outline: none;
  box-shadow: none;
  font-weight: bold;
  margin: 16px 0;
}
.contact-form .form-control:not(textarea) {
  height: 48px;
}
.contact-form .form-control:hover, .contact-form .form-control:focus {
  border-color: #008cff;
}
.contact-form .submit-btn {
  background: #008cff;
  border-radius: 50px;
  color: #ffffff;
  font-weight: bold;
  border: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}
.contact-form .submit-btn:hover {
  background: #0d2740;
}

.contact-info {
  background: #474559;
  border-radius: 0 0 3px 3px;
  position: relative;
  bottom: 8px;
}
.contact-info p, .contact-info a {
  color: #f7f3f3;
}

.social-links .uil {
  color: #f7f3f3;
  font-size: 20px;
  display: block;
  margin: 5px 0;
}
.social-links .uil:hover {
  color: #008cff;
}

/* PORTFOLIO caption styles przeniesione z inline */
.project-info{position:relative;}
.project-info img{display:block;width:100%;height:auto;border-radius:6px;}
.project-caption{padding:.75rem .5rem 1rem;}
.project-caption h3{font-size:1rem;margin:0 0 .25rem;font-weight:600;}
.project-caption p{font-size:.75rem;margin:0;color:#888;letter-spacing:.5px;text-transform:uppercase;}
.project-overlay{display:none!important;}
.project-title-link{color:#484848;position:relative;display:inline-block;font-weight:600;}
.project-title-link:after{content:"";position:absolute;left:0;bottom:-2px;height:2px;width:0;background:var(--accent);transition:width .32s cubic-bezier(.4,0,.2,1);} 
.project-title-link:hover{color:var(--accent)!important;text-decoration:none;}
.project-title-link:hover:after{width:100%;}
.dark-mode .project-title-link{color:#d0d7dd;}
.dark-mode .project-title-link:hover{color:var(--accent)!important;}

/* Profile photo */
.profile-photo-wrapper{position:relative;max-width:360px;width:100%;margin:0 auto;aspect-ratio:3/4;overflow:hidden;border-radius:24px;background:#111;box-shadow:0 6px 18px -6px rgba(0,0,0,.28),0 4px 8px -4px rgba(0,0,0,.18);}
.profile-photo{width:100%;height:100%;object-fit:cover;object-position:center;display:block;border:none;border-radius:24px;background:#111;box-shadow:none;}
@media (max-width:767px){.profile-photo-wrapper{aspect-ratio:auto;} .profile-photo{width:100%;height:100%;object-fit:cover;}}
.dark-mode .profile-photo{background:#20252a;}

/* Intro heading */
.intro-heading{font-size:2.8em;margin:24px 0;font-weight:700;letter-spacing:-1px;}
.intro-name{color:var(--accent);}
@media (max-width:767px){.intro-heading{font-size:2.4em;}}

/* Color variables */
:root {
  --accent:#008cff;
  --accent-dark:#005fb8;
  --accent-bg:#0d2740;
  --accent-soft:rgba(0,140,255,0.08);
}

/* Global override akcentów */
.animated-item,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover,
.custom-btn:hover,
.social-links .uil:hover,
.contact-form .form-control:hover,
.contact-form .form-control:focus,
a:hover { color: var(--accent) !important; }

.custom-btn.custom-btn-bg { background: var(--accent-bg); }
.custom-btn.custom-btn-bg:hover { background: var(--accent); }
.custom-btn { border:none; }

.timeline-wrapper:before { background: var(--accent-bg); }
.timeline-yr { background: var(--accent-bg); }
.timeline-info small { color: var(--accent-bg); }

.contact-form .submit-btn { background: var(--accent); }
.contact-form .submit-btn:hover { background: var(--accent-bg); }
.contact-form .form-control:hover, .contact-form .form-control:focus { border-color: var(--accent); }

.owl-theme .owl-nav [class*=owl-]:hover { color: var(--accent); }

/* Link underline transitions inherit accent */
.project-title-link:after { background: var(--accent); }

/* Dark mode adjustments */
.dark-mode .custom-btn.custom-btn-bg { background: var(--accent); }
.dark-mode .custom-btn.custom-btn-bg:hover { background: var(--accent-dark); }
.dark-mode .navbar-light .navbar-nav .nav-link:hover { color: var(--accent); }
.dark-mode { background: #1c1f24; color:#e2e6ea; }
.dark-mode .small-text { background:#283039; color:#f3f6f8; }
.dark-mode .navbar[class*="headroom--not-top"] { background:#1c1f24; border-bottom:1px solid #2a323a; }
.dark-mode .navbar-light .navbar-nav .nav-link { color:rgba(255,255,255,0.82); }
.dark-mode .contact-info { background:#283039; }
.dark-mode .timeline-wrapper:before { background:#283039; }
.dark-mode .timeline-yr { background:#283039; }
.dark-mode .timeline-info small { color:#4d8bbd; }
.dark-mode .custom-btn.custom-btn-bg { background:#283039; }
.dark-mode .custom-btn.custom-btn-bg:hover { background:var(--accent); }
.dark-mode .project-title-link{color:#d0d7dd;}
.dark-mode .project-title-link:hover{color:var(--accent)!important;}
.dark-mode .contact-form .form-control { border-color:#37414b; color:#e2e6ea; }
.dark-mode .contact-form .form-control:hover,.dark-mode .contact-form .form-control:focus { border-color:var(--accent); }
.dark-mode .contact-form .submit-btn { background:var(--accent); }
.dark-mode .contact-form .submit-btn:hover { background:var(--accent-dark); }
.dark-mode .profile-photo{border-color:#283039;background:#20252a;}

/* Usuń resztki starego koloru przez nadpisanie selektorów używających #ffc200 */
.small-text { background: var(--accent-soft); }
.contact-info { background: var(--accent-bg); }
.contact-info p, .contact-info a { color: #e4f4ff; }

/* Przycisk neutralny */
.custom-btn:not(.custom-btn-bg):hover { color: var(--accent); }

/* Form focus ring (opcjonalnie) */
.contact-form .form-control:focus { box-shadow: 0 0 0 .15rem rgba(0,140,255,.25); }

@media (min-width: 1270px) {
  .owl-theme .owl-dots {
    position: relative;
    bottom: 50px;
  }
}
@media (max-width: 991px) {
  .full-screen {
    padding-bottom: 4rem;
  }

  .color-mode {
    display: none;
  }

  .about-image {
    margin-top: 4em;
  }

  .mobile-mt-2,
  .contact-form {
    margin-top: 2em;
  }

  .contact-info {
    padding: 0 2rem;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 2.4em;
  }

  h2 {
    font-size: 2em;
  }

  .animated-item {
    font-size: 28px;
  }

  .navbar-collapse {
    background: #ffffff;
    text-align: center;
    padding-bottom: 20px;
  }

  .navbar-expand-sm .navbar-nav .nav-link {
    padding: 3px 20px;
  }
}
@media (max-width: 580px) {
	.animated-info {
		min-width: 200px;
	}
  .animated-item {
    font-size: 30px;
  }

  .custom-btn-group {
    text-align: center;
  }

  .custom-btn {
    display: block;
    margin: 10px 0;
  }

  .owl-theme .owl-nav {
    display: none;
  }

  .timeline-info small {
    display: block;
    margin: 10px 0 0 0;
  }
}
@media (max-width: 320px) {
  .animated-text {
    margin-top: 0;
  }

  .about-text {
    text-align: center;
  }

  .full-screen {
    padding: 4rem 0;
  }

  .mobile-block {
    display: block;
  }

  .contact-info {
    flex-direction: column;
  }

  .social-links li {
    display: inline-block;
    vertical-align: top;
  }
}
