/*--------------------------------------------------------------
# General
/* color palette */
/* rgb(0, 51, 153); - ciemny niebieski
	rgb(0, 153, 204); - niebieski
	rgb(102, 204, 255); - jasny niebieski
	rgb(204, 255, 204); - jasny zielony */
/*--------------------------------------------------------------*/


body {
  font-family: "Quicksand", sans-serif;
  color: #fff;
  background-color: rgb(34, 40, 49);
}

a {
  color: rgb(0, 51, 153);
  text-decoration: none;
}

a:hover {
  color: rgb(102, 204, 255);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Quicksand", sans-serif;
}

button {
  background: rgb(0, 51, 153);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

button:hover {
  background: rgb(102, 204, 255);
  color: rgb(0, 51, 153);
}

.text-center {
  text-align: center !important;
}

@media (min-width: 992px) {
  .container {
    padding-left: 100px;
    padding-right: 100px;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: rgb(0, 51, 153);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: rgb(102, 204, 255);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #0563bb;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}

@media (max-width: 992px) {
  #header {
    width: 300px;
    background: rgb(34, 40, 49);
    border-right: 1px solid rgb(34, 40, 49);
    left: -300px;
  }
}

@media (min-width: 992px) {
  #main {
    /* wyÅ‚aczone do zdjÄ™cie w tle w skillach */
    /* margin-left: 100px;  */
    background-color: rgb(34, 40, 49);
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.nav-menu {
  padding: 0;
  display: block;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: rgb(102, 204, 255);
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
  border-radius: 50px;
  background: rgb(0, 51, 153);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
}

.nav-menu a span,
.nav-menu a:focus span {
  padding: 0 5px 0 7px;
  color: rgb(102, 204, 255);
}

@media (min-width: 992px) {

  .nav-menu a,
  .nav-menu a:focus {
    width: 56px;
  }

  .nav-menu a span,
  .nav-menu a:focus span {
    display: none;
    color: rgb(0, 51, 153);
    ;
  }
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  color: rgb(0, 51, 153);
  background: rgb(102, 204, 255);
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu .active:focus span,
.nav-menu li:hover>a span {
  color: rgb(0, 51, 153);
}

.nav-menu a:hover,
.nav-menu li:hover>a {
  width: 100%;
  color: rgb(0, 51, 153);
}

.nav-menu a:hover span,
.nav-menu li:hover>a span {
  display: block;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 28px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 0;
  cursor: pointer;
  border-radius: 50px;
  padding: 5px;
}

.mobile-nav-toggle i {
  color: rgb(102, 204, 255);
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
  background-color: #0563bb;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url('../img/hero-bg.webp') top right no-repeat;
  background-size: cover;
  position: relative;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  overflow: hidden;

}

@media (max-width: 767px) {
  #hero {
    background-attachment: initial;
  }
}

@media (min-width: 992px) {
  #hero {
    padding-left: 160px;
  }
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: rgb(0, 153, 204);
  ;
}

#hero p {
  color: rgb(0, 153, 204);
  ;
  margin: 15px 0 0 0;
  font-size: 26px;
  font-family: "Quicksand", sans-serif;
}

#hero p span {
  color: rgb(204, 255, 204);
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  #hero {
    text-align: center;
  }

  #hero h1 {
    font-size: 32px;
    line-height: 36px;
  }

  #hero p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: rgb(102, 204, 255);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: rgb(0, 51, 153);
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: rgb(102, 204, 255);
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
  color: rgb(0, 153, 204);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: rgb(204, 255, 204);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: rgb(204, 255, 204);
  line-height: 0;
}

.about .content p:last-child {
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
#facts {
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/bg-forest.webp') center center no-repeat;
  background-size: cover;
  position: relative;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  overflow: hidden;
}


@media (max-width: 767px) {
  #facts {
    background-attachment: initial;
  }
}

@media (max-width: 768px){
  .facts .col-md-3 {
    flex: 0 0 auto;
    width: 50%;
}}


.facts .icon-1x {
  display: inline-block;
  vertical-align: bottom;
  height: 1em;
  position: relative;
  width: 1.5em;
  fill: #fff;
}



.paralax-mf {
  box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}



/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .progress-bar-mask{fill:rgb(34, 40, 49);}

.skills .progress {
  height: 120px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 10px 0 0 0;
  margin: 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Comfortaa", sans-serif;
  color: #fff;
}

.skills .row .legend-mid{
  text-align: center;
}

.skills .row .legend-right{
  text-align: right;
}

.skills .progress-bar-wrap {
  fill: rgb(0, 51, 153);
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  fill: rgb(102, 204, 255);
  ;
} 

/*--------------------------------------------------------------
# Disable one row with legend on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 991px){
  .row-hidden { display: none }
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: rgb(204, 255, 204);
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid rgb(102, 204, 255);
  ;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 27px;
  font-size: 18px;
  font-weight: 600;
  /* text-transform: uppercase; */
  font-family: "Comfortaa", sans-serif;
  color: rgb(102, 204, 255);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: rgb(57, 62, 70);
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
  color: rgb(204, 255, 204);
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: rgb(57, 62, 70);
  border: 2px solid rgb(102, 204, 255);
}
/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio-item {
  max-width: 26rem;
  margin-bottom: 20px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: rgb(0, 51, 153);
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: rgb(0, 153, 204);
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: rgb(204, 255, 204);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio-item .portfolio-link {
  position: relative;
  display: block;
  margin: 0 auto;
}

.portfolio-item .portfolio-link .portfolio-hover {
  display: flex;
  position: absolute;
  width: 100%;
  height: 101%;
  background: rgba(0, 51, 153, 0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity ease-in-out 0.25s;
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 1.25rem;
  color: white;
}

.portfolio-item .portfolio-link:hover .portfolio-hover {
  opacity: 1;
}

.portfolio-item .portfolio-caption {
  padding: 1.5rem;
  text-align: center;
  background-color: rgb(0, 51, 153);
  min-height: 144px;
  max-height: 204px;
}

.portfolio-item .portfolio-caption .portfolio-caption-heading {
  font-size: 1.5rem;
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  margin-bottom: 0;
  color: rgb(204, 255, 204);
}

.portfolio-item .portfolio-caption .portfolio-caption-subheading {
  font-style: italic;
  font-family: "Comfortaa", sans-serif;
  color: rgb(102, 204, 255);
}

.portfolio-modal .modal-dialog {
  margin-left: auto;
  margin-right: auto;
  margin-top: 2vw;
  max-width: 80vw;
}

.portfolio-modal .modal-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: rgb(57, 62, 70);
}

.portfolio-modal .modal-content h2,
.portfolio-modal .modal-content .h2 {
  font-size: 3rem;
  line-height: 3rem;
}

.portfolio-modal .modal-content p.item-intro {
  font-style: italic;
  margin-bottom: 0.5rem;
  font-family: "Comfortaa", sans-serif;
}

.portfolio-modal .modal-content p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.portfolio-modal .modal-content ul.list-inline {
  margin-bottom: 2rem;
}

.portfolio-modal .close-modal {
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  background-color: transparent;
  text-align: center;

}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-wrap {
  margin: 1vw;
}

/* Position the image container (needed to position the left and right arrows) */
.portfolio-modal .gallery-container {
  position: relative;
}

/* Hide the images by default */
.portfolio-modal .mySlides .mySlides2{
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.portfolio-modal .cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.portfolio-modal .prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.portfolio-modal .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.portfolio-modal .prev:hover,
.next:hover {
  background-color: rgba(0, 51, 153, 0.8);
}

/* Number text (1/3 etc) */
.portfolio-modal .numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.portfolio-modal .caption-container {
  text-align: center;
  background-color: rgb(0, 51, 153);
  padding: 2px 16px;
  color: white;
}

.portfolio-modal .row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.portfolio-modal .column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.portfolio-modal .demo .demo2 {
  opacity: 0.6;
}

.portfolio-modal .active,
.demo, .demo2:hover {
  opacity: 1;
}

.portfolio-modal h2 {
  color: rgb(102, 204, 255);
}





/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: rgb(57, 62, 70);
  color: rgb(102, 204, 255);
  ;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  font-family: "Quicksand", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 10px 0;
}

#footer h6 {
  margin: 0 0 20px 0;
}

#footer .social-links {
  margin: 0 0 20px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgb(0, 51, 153);
  color: rgb(102, 204, 255);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: rgb(0, 153, 204);
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}

a:focus {
  outline: none !important;
}