@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  height: 100%;
}

body {
  font-family: "Work Sans", sans-serif;
  color: #222222;
  height: 100%;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 10%,
    rgba(204, 231, 197, 1) 80%
  );
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #006e49;
  font-weight: 700;
}

p,
li {
  font-size: 1.2rem;
}

.bg-dark {
  background-color: #242774 !important;
}

#menu-top li {
  padding: 10px 20px;
}

#menu-top a {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  background-image: linear-gradient(to right, #fff, #fff 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

#menu-top a:before {
  content: "";
  background: #fff;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  transition: all 0.3s ease-in-out;
}

#menu-top a:hover {
  background-position: 0;
}

#menu-top a:hover::before {
  width: 100%;
}

.post-title {
  text-decoration: none;
  font-weight: 700;
  color: #1f308d;
}

.post-title:hover {
  text-decoration: underline;
}

.ek-link {
  background-image: linear-gradient(to right, #1f308d, #1f308d 50%, #000 50%);
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.ek-link:before {
  content: "";
  background: #1f308d;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  transition: all 0.3s ease-in-out;
}

.ek-link:hover {
  background-position: 0;
}

.ek-link:hover::before {
  width: 100%;
}

.wp-block-separator {
  border-right: none;
  border-left: none;
  border-bottom: none !important;
  margin: 45px 0 40px;
}

.logo {
  background-color: #2b2e83;
}

footer {
  color: #fff;
  background-color: #2b2e83;
}

footer h5,
footer a {
  color: #fff;
}

footer a {
  text-decoration: none;
}

footer .txt-copy {
  font-size: 0.85rem;
  color: #8d90e5 !important;
}

footer .border-top {
  border-color: #8d90e5 !important;
}

.wp-block-buttons > .wp-block-button {
  width: 100%;
  text-align: center;
}

.wp-block-button a,
.btn a {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: rgb(255, 119, 0);
  background: radial-gradient(
    circle,
    rgba(255, 119, 0, 1) 0%,
    rgba(255, 106, 0, 1) 80%
  );
  border: 2px solid #ff6a00;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  font-family: inherit;
  width: 100%;
}

.wp-block-button a::before,
.btn a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transform: translateX(-101%);
  transition: all 0.3s;
  z-index: -1;
}

.wp-block-button a:hover::before,
.btn a:hover::before {
  transform: translateX(0);
}

.wp-block-button a:hover,
.btn a:hover {
  color: #ff4b00;
}

.posts-links {
  display: flex;
  justify-content: center;
}

.posts-links .btn:active,
.posts-links .btn:focus {
  border: none !important;
}

.posts-links span {
  display: none;
}

@media (min-width: 768px) {
  .posts-links span {
    display: inline;
  }
}

/* zaokrąglenie rogów dla grafiki */
.wp-block-image .is-style-rounded img,
.wp-block-image.is-style-circle-mask img,
.wp-block-image.is-style-rounded img {
  border-radius: 10px;
}

/* animacja w tle - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px; /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
  z-index: -1;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .content {
    height: 30vh;
  }
  h1 {
    font-size: 24px;
  }
}

/* CF7 - - - - - - - - - - - - - - - - - - - - - - - - - */

.wpcf7-spinner {
  display: contents;
}
