@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 3rem;
}

:root {
  --bg-color: #1f242d;
  --second-bg-color: #323946;
  --text-color: #fff;
  --main-color: #0ef;
}

html {
  font-size: 62.5%;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

section {
  min-height: 100dvb;
  min-height: 100vh;
  padding: 10rem 9% 2rem;
  overflow-x: hidden;
}

address {
  font-style: normal;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: 0.5s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
.header.sticky {
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.2);
}

svg.logo {
  width: 130px;
  height: auto;
  fill: #fff;
  margin-top: 1.2rem;
}

.logo {
  opacity: 0;
  animation: slideRight 1s ease forwards;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
}
.footer .footer-text p {
  font-size: 1.2rem;
}
.footer .footer-icon-top a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
  background: var(--main-color);
  border-radius: 0.8rem;
}
.footer .footer-icon-top a i {
  font-size: 2.4rem;
  color: var(--second-bg-color);
}
.footer .footer-icon-top a span {
  display: none;
}
.footer .footer-icon-top a:hover {
  box-shadow: 0 0 1rem var(--main-color);
}

.copy-info span {
  color: var(--main-color);
}

a {
  color: var(--main-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}
a:hover {
  color: #fff;
}

.nav-bar a {
  display: inline-block;
  font-size: 1.7rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  margin-left: 4rem;
  opacity: 0;
  animation: slideTop 0.4s ease forwards;
  animation-delay: calc(0.2s * var(--i));
  transition: all 0.2s ease;
}
.nav-bar a:hover, .nav-bar a.active {
  color: var(--main-color);
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

.home,
.about,
.kontakt {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.about {
  background-color: var(--second-bg-color);
}

.about-image img {
  width: 35vw;
}

.about-content h2 {
  text-align: left;
  line-height: 1.2;
}
.about-content h3 {
  font-size: 2.6rem;
}
.about-content p {
  font-size: 1.6rem;
  margin: 2rem 0 3rem;
}

.heading {
  text-align: center;
  font-size: 4.5rem;
}
.heading span {
  color: var(--main-color);
}

.services {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.services h2 {
  margin-bottom: 5rem;
}

.portfolio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.portfolio h2 {
  margin-bottom: 0;
}
.portfolio h3 {
  font-size: 2rem;
  font-weight: 200;
  margin-bottom: 5rem;
}

.services-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}
.services-container .services-box {
  flex: 1 1 30rem;
  background: var(--second-bg-color);
  padding: 3rem 3rem 4rem;
  border-radius: 2rem;
  text-align: center;
  border: 0.2rem solid var(--bg-color);
  transition: 0.5s ease;
}
.services-container .services-box:hover {
  border-color: var(--main-color);
  transform: scale(1.01);
}
.services-container i {
  font-size: 7rem;
  color: var(--main-color);
}
.services-container h3 {
  font-size: 2.6rem;
  margin-top: 3rem;
  margin-bottom: 1.7rem;
}
.services-container p {
  font-size: 1.5rem;
  margin: 1rem 0 3rem;
}

.portfolio {
  background: var(--second-bg-color);
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 5rem;
}
.portfolio-container .portfolio-box {
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 0 1rem var(--bg-color);
  overflow: hidden;
  display: flex;
  background-color: var(--bg-color);
}
.portfolio-container .portfolio-box img {
  width: 100%;
  transition: 0.5s ease;
}
.portfolio-container .portfolio-box .portfolio-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(104, 210, 252, 0.1), var(--main-color));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 4rem;
  transform: scale(1.2) translateY(10%);
  transition: 0.5s ease;
  opacity: 0;
}
.portfolio-container .portfolio-box .portfolio-layer h4,
.portfolio-container .portfolio-box .portfolio-layer span,
.portfolio-container .portfolio-box .portfolio-layer p {
  text-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.2);
}
.portfolio-container .portfolio-box .portfolio-layer h4 {
  font-size: 2.5rem;
}
.portfolio-container .portfolio-box .portfolio-layer span {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  text-align: right;
  margin-top: 0.3rem;
}
.portfolio-container .portfolio-box .portfolio-layer p {
  font-size: 1.6rem;
  margin: 0.3rem 0 1rem;
}
.portfolio-container .portfolio-box .portfolio-layer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: var(--text-color);
  border-radius: 50%;
}
.portfolio-container .portfolio-box .portfolio-layer a i {
  font-size: 2rem;
  color: var(--second-bg-color);
}
.portfolio-container .portfolio-box .portfolio-layer a span {
  display: none;
}
.portfolio-container .portfolio-box:hover .portfolio-layer {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.portfolio-container .portfolio-box:hover img {
  transform: scale(1.1);
  opacity: 0.2;
}

.realizacje,
.kontakt {
  justify-content: center;
}
.realizacje h1,
.kontakt h1 {
  font-size: 40px;
  margin-bottom: 1.5rem;
}

.home-content h2 {
  font-size: 3.2rem;
  font-weight: 700;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 0.7s;
  margin-bottom: 30px;
}
.home-content h2 span {
  color: var(--main-color);
}
.home-content h1 {
  font-size: 5.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1s;
}
.home-content p {
  font-size: 1.6rem;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
}
.home-content .btn {
  margin-top: 4rem;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  text-decoration: none;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.5s ease;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}
.social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 2rem var(--main-color);
}

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 16px;
  color: var(--second-bg-color);
  letter-spacing: 0.1rem;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0;
  animation: slideTop 1s ease forwards;
  animation-delay: 2s;
}
.btn:hover {
  box-shadow: 0 0 0;
}

.home-image video, .home-image img {
  max-width: 75rem;
  opacity: 0;
  animation: zoomIn 1s ease forwards;
  animation-delay: 2s, 3s;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact h2 {
  margin-bottom: 5rem;
}
.contact address {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.contact address strong {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.contact address span {
  color: var(--main-color);
}
.contact .contact-address {
  display: block;
  font-size: 1.6rem;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-box {
  display: flex;
  gap: 1rem;
}
.contact-box i {
  font-size: 2.5rem;
  color: var(--second-bg-color);
}

@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideTop {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideBottom {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes zoomIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-24px);
  }
  100% {
    transform: translateY(0);
  }
}
/* breakpoints */
@media (max-width: 1400px) {
  .home-image video, .home-image img {
    max-width: 45rem;
  }
}
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
  .home-image video, .home-image img {
    max-width: 40rem;
  }
  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991px) {
  .header {
    padding: 2rem 3%;
  }
  section {
    padding: 10rem 3% 2rem;
  }
  .services {
    padding-bottom: 7rem;
  }
  .footer {
    padding: 2rem 3%;
  }
  .home-image video, .home-image img {
    max-width: 35rem;
  }
}
@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }
  .nav-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: var(--bg-color);
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    display: none;
  }
  .nav-bar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }
  .nav-bar.active {
    display: block;
  }
  .home {
    flex-direction: column;
  }
  .home-content h1 {
    font-size: 5rem;
  }
  .home-content h2 {
    font-size: 2.6rem;
  }
  .home-image {
    margin-top: 6rem;
  }
  .about {
    flex-direction: column-reverse;
  }
  .services h2 {
    margin-bottom: 3rem;
  }
  .portfolio h2 {
    margin-bottom: 3rem;
  }
}
@media (max-width: 617px) {
  .portfolio-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer {
    flex-direction: column-reverse;
  }
  .footer p {
    margin-top: 2rem;
  }
}
@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}/*# sourceMappingURL=main.css.map */