/*=============
  KEYFRAMES
=============*/
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  95% {
    transform: translateX(4px);
    opacity: 0.8;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes opacity-0-to-1 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translateY(6px);
    opacity: 0;
  }
}

@keyframes slide-down {
  0% {
    transform: translateY(-3px);
    opacity: 0
  }

  100% {
    transform: translateY(0);
    opacity: 1
  }
}

/*=============
  MAIN STYLES
=============*/
p,
span {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lora', serif;
}

a:hover {
  transition: 0.2s color ease-in-out;
}

/*=============
  SELECTION
=============*/
::selection {
  background: #25BEAC;
}

::-moz-selection {
  background: #25BEAC;
}

/*=============
  SCROLLBAR
=============*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #14416c;
}

::-webkit-scrollbar-thumb {
  background: #2476c2;
}

::-webkit-scrollbar-thumb:hover {
  background: #68a8e3;
}

/* HEADER -----------------------------*/
header {
  color: #F2F2F2;
}

header h2 {
  font-size: 48px;
  line-height: 32px;
}

header h3 {
  font-size: 32px;
  margin: 0;
}

header h4 {
  font-size: 24px;
  margin-top: 50px;
}

header h4 {
  display: block !important;
}

header h5 {
  letter-spacing: 3px;
  transition: 0.3s color ease-in;
  color: white;

  font-size: 16px;
}

header h5:hover {
  color: white;
}

header h6 {
  font-family: 'Lora', serif;
  font-size: 13px;
  color: white;
  text-align: center;
}

.top-nav {
  padding: 60px 0;
  position: absolute;
  z-index: 2;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.main-h1{
  display: none;
}

#slider {
  height: 100vh;
  position: relative;
  border-bottom: 3px solid #1D5F9C;
  overflow: hidden;
}

.contact-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 5px 0 8px 0;
  font-size: 12px;
  width: 100%;
  height: 20px;
  overflow: hidden;
}

.contact-bar::before {
  height: 20px;
  width: 100%;
  padding: 5px 0 8px 0;
  background-color: black;
  opacity: 0.13;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 12px;
  color: #F2F2F2;
}

.contact-bar span {
  margin: 0px 10px;
}

.contact-bar span:first-of-type {
  margin: 0 30px 0 0;
}

.contact-bar b {
  margin-left: 15px;
  transition: all 0.2s ease-in;
}

.contact-bar b:hover {
  color: #F17F42;
}

.logo a {
  text-decoration: none;
}

.menu-main a {
  text-decoration: none;
  color: #F2F2F2;
  line-height: 40px;
  font-family: 'Lora', serif;
  font-size: 15px;
}

.menu-main a:hover {
  color: white;
  transition: all 0.3s ease-in;
}

.menu-main ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  float: right;
}

.menu-main li {
  display: block;
  float: left;
  width: 105px;
  text-align: center;
}

.menu-main li:hover::after {
  content: '';
  display: block;
  width: 100%;
  margin: -32px auto;
  border-bottom: 2px solid white;
  height: 40px;
  -webkit-animation: slide-in 0.3s ease-in-out;
  -moz-animation: slide-in 0.3s ease-in-out;
  animation: slide-in 0.3s ease-in-out;
}

.hamburger-icon {
  top: 8%;
  right: 80px;
  position: fixed;
  z-index: 199;
}

#hamburger {
  display: none;
}

.display {
  display: block !important;
}

.hamburger-icon input {
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 200;
  margin-top: -10px;
  opacity: 0;
  cursor: pointer;
}

.spans {
  transition: all .5s ease-in-out;
}

.hamburger-icon span {
  width: 28px;
  height: 4px;
  background: #DCDCDC;
  margin-bottom: 5px;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 10px rgb(0, 0, 0, 0.05);
  transition: all .3s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 21;
}

.spans span:nth-of-type(1) {
  top: -10px;
}

.spans span:nth-of-type(3) {
  top: 10px;
}

.hamburger-icon input:checked+.spans span:nth-of-type(1) {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  top: 0;
}

.hamburger-icon input:checked+.spans span:nth-of-type(2) {
  transform: translateX(-5px);
  -webkit-transform: translateX(-5px);
  opacity: 0;
}

.hamburger-icon input:checked+.spans span:nth-of-type(3) {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  top: 0;
}

.menu-hamburger {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0A1F2E;
  opacity: 0;
  z-index: 20;
  display: none;
}

.menu-hamburger ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.menu-hamburger li {
  list-style: none;
  font-size: 1.5em;
  font-family: 'Lora', serif;
}

.menu-hamburger a {
  text-decoration: none;
  color: white;
  transition: color 0.3s linear;
}

.menu-hamburger a:hover {
  color: #F17F42;
}

.hamburger-icon input:checked~.menu-hamburger {
  opacity: 0.95;
  display: block;
}

.quotation {
  position: absolute;
  z-index: 2;
  top: 30vh;
}

.quotation h2 {
  animation: opacity-0-to-1 1s;
  -ms-animation: opacity-0-to-1 1s;
  -webkit-animation: opacity-0-to-1 1s;
}

.quotation h3 {
  animation: opacity-0-to-1 2s;
  -ms-animation: opacity-0-to-1 1s;
  -webkit-animation: opacity-0-to-1 1s;
}

.quotation h4 {
  animation: opacity-0-to-1 3s;
  -ms-animation: opacity-0-to-1 1s;
  -webkit-animation: opacity-0-to-1 1s;
}

.offer-button {
  position: absolute;
  border: none;
  z-index: 2;
  width: 210px;
  height: 50px;
  font-size: 14px;
  color: white;
  float: left;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.offer-button-individual {
  background: linear-gradient(to bottom right, #F17F42, #EC6A6A);
  top: 65vh;
  animation: slide-in-left 1s;
  -ms-animation: slide-in-left 1s;
  -webkit-animation: slide-in-left 1s;
}

.offer-button-individual:hover {
  box-shadow: 0 0 20px #EC6A6A;
}

.offer-button-enterprise {
  background: linear-gradient(to bottom right, #2FBB70, #25BEAC);
  top: 65vh;
  left: 250px;
  animation: slide-in-left 2s;
  -ms-animation: slide-in-left 2s;
  -webkit-animation: slide-in-left 2s;
}

.offer-button-enterprise:hover {
  box-shadow: 0 0 20px #25BEAC;
}

.scroll-icon {
  display: inline-block;
  width: 25px;
  height: 35px;
  border-radius: 12px;
  border: 3px solid white;
  box-sizing: border-box;
}

.scroll-icon::after {
  display: inline-block;
  content: '';
  width: 3px;
  height: 6px;
  border-radius: 30%;
  background-color: white;
  -webkit-animation: scroll 1.2s ease-in-out infinite forwards;
  -moz-animation: scroll 1.2s ease-in-out infinite forwards;
  animation: scroll 1.2s ease-in-out infinite forwards;
}

.scroll-down {
  position: absolute;
  z-index: 2;
  top: 90vh;
  left: 0;
  right: 0;
  text-align: center;
}

/* END OF HEADER -------------------------*/
/* ABOUT US ------------------------------*/
.services {
  background-color: #f4f4f4;
  margin-top: -7px;
  border-top: 3px solid #1D5F9C;
  padding-bottom: 100px;
}

.services span,
.services p {
  color: #395D7E;
}

.services span {
  color: #F17F42;
}

.services .lower-opacity {
  opacity: 0.05;
}

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.item {
  flex-basis: 50%;
}

.number-box p,
.number-box-2 p,
.number-box-3 p,
.number-box-4 p,
.number-box-5 p,
.number-box-6 p {
  font-family: 'Lora', serif;
  color: #F5F7F8;
}

.number-box span,
.number-box-2 span,
.number-box-3 span,
.number-box-4 span,
.number-box-5 span,
.number-box-6 span {
  font-family: 'Lora', serif;
}

/* box1 */
.number-box {
  border-bottom: 1px solid #EDEDED;
  border-right: 1px solid #EDEDED;
  text-align: right;
}

.number-box span {
  position: absolute;
  font-size: 90px;
  bottom: 0px;
  right: 45px;
}

.number-box p {
  font-size: 160px;
  position: relative;
  margin: 10px;
  margin-right: 50px;
}

.about-us-description {
  padding: 20px;
  border-right: 1px solid #EDEDED;
}

.about-us-description p {
  margin-right: 40px;
  text-align: justify;
}

/* box2 */
.number-box-2 {
  margin-top: 100px;
  margin-right: 130px;
  border-bottom: 1px solid #EDEDED;
}

.number-box-2 span {
  position: absolute;
  font-size: 90px;
  bottom: 0px;
  left: 0px;
}

.number-box-2 p {
  margin-left: 50px;
  font-size: 160px;
  position: relative;
}

.about-us-description-2 p {
  padding: 20px 20px 0px 50px;
  text-align: justify;
}

/* box3 */
.number-box-3 {
  border-bottom: 1px solid #EDEDED;
  border-right: 1px solid #EDEDED;
  text-align: right;
  margin-left: 130px;
  margin-top: -140px;
}

.number-box-3 span {
  position: absolute;
  font-size: 90px;
  bottom: 0px;
  right: 45px;
}

.number-box-3 p {
  font-size: 160px;
  position: relative;
  margin: 10px;
  margin-right: 50px;
}

.about-us-description-3 {
  padding: 20px;
  border-right: 1px solid #EDEDED;
}

.about-us-description-3 p {
  margin-right: 40px;
  text-align: justify;
}

/* box4 */
.number-box-4 {
  margin-right: 130px;
  border-bottom: 1px solid #EDEDED;
}

.number-box-4 span {
  position: absolute;
  font-size: 90px;
  bottom: 0px;
  left: 0px;
}

.number-box-4 p {
  margin-left: 50px;
  font-size: 160px;
  position: relative;
}

.about-us-description-4 p {
  padding: 20px 20px 0px 50px;
  text-align: justify;
}

/* box5 */
.number-box-5 {
  margin-top: -200px;
  border-bottom: 1px solid #EDEDED;
  border-right: 1px solid #EDEDED;
  text-align: right;
  margin-left: 130px;
}

.number-box-5 span {
  position: absolute;
  font-size: 90px;
  bottom: 0px;
  right: 45px;
}

.number-box-5 p {
  font-size: 160px;
  position: relative;
  margin: 10px;
  margin-right: 50px;
}

.about-us-description-5 {
  padding: 20px;
  border-right: 1px solid #EDEDED;
}

.about-us-description-5 p {
  margin-right: 40px;
  text-align: justify;
}

/* box6 */
.number-box-6 {
  margin-top: -6px;
  margin-right: 130px;
  border-bottom: 1px solid #EDEDED;
}

.number-box-6 span {
  position: absolute;
  font-size: 90px;
  bottom: 0px;
  left: 0px;
}

.number-box-6 p {
  margin-left: 50px;
  font-size: 160px;
  position: relative;
}

.about-us-description-6 p {
  padding: 20px 20px 0px 50px;
  border-left: 1px solid #EDEDED;
  text-align: justify;
}

/* end of services */
/* workers */
.workers {
  width: 100%;
  background: #1D5F9C;
}

.team-member {
  display: flex;
  flex-wrap: wrap;
  min-height: 480px;
}

.team-member + .team-member {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.team-member-reverse {
  flex-direction: row-reverse;
}

.team-member-photo {
  flex: 1 1 420px;
  height: 480px;
}

.team-member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-member-info {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  padding: 50px 0;
}

.team-member-info .container {
  max-width: 480px;
}

.team-member-info h4 {
  color: white;
  font-size: 26px;
  margin-bottom: 5px;
}

.team-member-info h6 {
  color: #F17F42;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.team-member-info p {
  text-align: justify;
  color: white;
}

/* end of workers section */
/* services for individuals section */
.background {
  background-image: url('../images/individual-services-bg.jpg');
  min-height: 1200px;
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.general-desc-for-indiv {
  max-width: 700px;
  text-align: justify;
  margin: 0 auto;
  color: white;
}

.services-for-individuals h5 {
  text-align: center;
  padding: 30px;
  font-size: 18px;
  color: white;
}

.services-for-individuals h2 {
  margin: 50px 0;
  font-size: 24px;
  text-align: center;
  color: white;
}

.service {
  background: white;
  border-radius: 5px;
  margin-bottom: 30px;
  min-height: 142px;
  position: relative;
  cursor: pointer;
}

.service h5 {
  color: #395D7E;
  font-size: 18px;
  margin: auto;
}

.service-desc {
  display: none;
  border-radius: 5px;
  padding: 0 30px;
  background: white;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 5;
  animation: 0.4s slide-down;
  -ms-animation: 0.4s slide-down;
  -webkit-animation: 0.4s slide-down;
  font-size: 14px;
}

.service-desc ul li {
  padding: 5px;
}

.service-desc ul {
  margin-top: 30px;
}

.service:hover .service-desc {
  display: block;
}

/* end of services for individuals */
/* services for enterprise */
.background-enterprise {
  background-image: url('../images/enterprise-services-bg.jpg');
  min-height: 1200px;
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.services-for-enterprises h5 {
  text-align: center;
  padding: 30px;
  font-size: 18px;
  color: #272321;
  color: white
}

.services-for-enterprises h2 {
  margin: 50px 0;
  font-size: 24px;
  text-align: center;
  color: white;
}

.general-desc-for-entrp {
  max-width: 700px;
  text-align: justify;
  margin: 0 auto;
  color: white;
}

.service-enterprise {
  background: white;
  border-radius: 5px;
  margin-bottom: 30px;
  min-height: 142px;
}

.service-enterprise h5 {
  color: #395D7E;
  font-size: 18px;
  margin: auto;
}

/* end of services for entreprise */
/* files */
.files h3 {
  padding: 70px;
  text-align: center;
  font-size: 24px;
}

.files h6 {
  font-size: 14px;
  margin: 0 0 5px 0;
  padding: 0;
}

.files img {
  width: 60px;
  margin-right: 10px;
}

.files p {
  color: grey;
}

.files a {
  text-decoration: none;
  color: inherit;
}

.files a:hover {
  color: #27ae61;
}

.second {
  margin-top: 40px;
  padding-bottom: 100px;
}

/* end of files */
/* links */
.links {
  background-color: #f8f8f8;
}

.links h3 {
  line-height: 419px;
  color: white;
  text-align: center;
  background-color: #1D5F9C;
  font-size: 24px;
  background: url(../images/useful-links-bg.png);
  background-position: center;
  margin: 0;
}

.useful-links {
  background-color: #1D5F9C;
}

.links-list {
  padding: 30px 0 0 30px;
  max-width: 400px;
  margin-right: 0;
}

.links-list li {}

.links-list a {
  text-decoration: none;
  color: inherit;
}

.links-list a:hover {
  color: #27ae61;
}

/* end of links */
/* contact */
.contact {
  background-color: #edf6ff;
}

.contact .map {
  width: 100%;
  height: 600px;
}

.contact h4 {
  margin-top: 60px;
  margin-left: 30px;
  color: #1D5F9C;
}

.contact h6 {
  padding: 0;
  margin: 0;
  margin-left: 30px;
}

.contact p {
  max-width: 400px;
  margin-left: 30px;
}

.contact-data {
  max-width: 500px;
}

.cancelary,
.ewa,
.wojciech {
  margin-bottom: 30px;
}

/* end of contact */
/* footer */
footer {
  background-color: #1D5F9C;
  text-align: center;
  padding: 30px 0;
  margin-top: -7px;
}

footer a {
  text-decoration: none;
  color: #F2F2F2;
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
}

footer a:hover {
  color: grey;
}

footer .logo-container img {
  max-width: 100px;
  margin: 0 auto;
  padding: 20px 0 20px 0;
}

footer .second-logo {
  position: relative;
  top: 8px;
}

footer h6 {
  color: #F2F2F2;
  ;
  font-size: 14px;
  margin-bottom: auto;
  font-family: 'Source Sans Pro', sans-serif;
}

/* end of footer */
.scroll {
  text-decoration: none;
  width: 64px;
  height: 64px;
  background: #DCDCDC;
  position: fixed;
  right: 50px;
  bottom: 50px;
  border-radius: 10px;
  z-index: 2;
  display: none;
  transition: background 0.3s ease-in-out;
}

.scroll:hover {
  background: #27ae61;
}

.scroll i {
  text-decoration: none;
  color: white;
  margin-left: 13px;
  margin-top: 10px;
}
