@font-face {
  font-family: "Roboto_Condensed";
  src: url(assets/Open_Sans\PT_Sans\Roboto_Condensed/);
}

:root {
  --main-gradient: linear-gradient(
    90deg,
    #e89cae,
    #ff7e5f,
    #feb47b,
    #fcd34d,
    #ff7eb3
  );
  --bg-dark: #0a0a0a;
  --neon-color: #ff7eb3;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto Condensed", "Open Sans", sans-serif;
  background: var(--bg-dark);
  max-width: 1600px;

  color: white;
  /* color: #00e0ff; */
  overflow-x: hidden;
  position: relative;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: rgba(10, 10, 10, 0.85);
  color: #00e0ff;
  flex-wrap: wrap;
  z-index: 2;
}
.arts {
  color: white;
}
nav a {
  position: relative;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  margin: 0 0.5rem;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: #00e0ff;
  border-radius: 2px;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 21;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.4s ease-in-out;
  transform-origin: center;
}

/* ANIMACJA po kliknięciu */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* max-width: 1600px */
@media (max-width: 1600px) {
  a.cta {
    bottom: 34%;
  }
  section.about {
    padding-top: 7.5rem;
  }
  .gallery_title {
    font-size: 3.5rem;
    margin-top: 7rem;
    margin-bottom: 3rem;
  }
  h1.hero-title {
    margin-top: 3.5rem;
  }
  .hero {
    margin-top: -9rem;
  }
}
/* TABLETY (np. iPad w pionie) */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
  }
}

/* TELEFONY DUŻE (np. iPhone Plus, Galaxy S) */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
  }
  header {
    width: 100%;
  }

  nav a {
    align-items: center;
    gap: 5px;
    width: 50%;

    text-decoration: none;
    letter-spacing: 1px;
    font-size: 15px;
    transition: 0.3s linear;
  }
  .card {
    width: 140px;
    height: 200px;
  }

  .overlay {
    max-width: 95vw;
    padding: 1rem;
    font-size: 14px;
  }
}

@media (max-width: 590px) {
  .logo {
    margin-bottom: 3rem;
  }
  nav {
    display: flex;
    top: 0;
    left: 50%;
    width: 100%;
    margin-top: 9rem;
    padding: 0 3rem;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.005);
    gap: 1rem;
  }
  nav a {
    display: flex;
    background-color: transparent;
    flex-direction: column;
  }

  nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #00e0ff;
    border-radius: 2px;
  }
}
@media (max-width: 540px) {
  nav {
    /* margin-left: 15rem; */
    margin-top: 1rem;
  }
  nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 82%;
    background: #00e0ff;
  }
  button.hamburger {
    margin-top: 0.2rem;
  }
  .footer_footer {
    position: inherit;
  }
}

/* Pokaż hamburgera od 530px w dół */
@media (max-width: 530px) {
  header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .hamburger {
    display: flex;
    margin-top: 8rem;
  }
  nav {
    max-height: 0;
    margin-top: 8rem;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    transform: translateY(-31%);
  }
  a.active::after {
    display: flex;
    /* left: 50%; */
    bottom: 0;
    width: 1%;
    background: #00e0ff;
  }
  nav.active {
    max-height: 400px;
    opacity: 1;
  }

  nav.show {
    max-height: 1000px;
    opacity: 1;
  }

  nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 50%;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 18px;
    background: #2a2a40;
    border: 1px solid #444;
    border-radius: 20px;
    box-sizing: border-box;
    transition: 0.3s linear;
    padding: 0.7rem 2rem;
  }

  nav a:hover {
    background: #333;
    border: 1px solid white;
  }
}

/* TELEFONY MAŁE (np. iPhone SE) */
@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .neon-frame img {
    border-radius: 18px;
  }

  .neon-frame::before {
    border-radius: 12px;
    filter: blur(8px);
  }
  i.fa-solid {
    padding: 10px;
  }

  section.hero {
    margin-top: -5rem;
    display: block;
  }

  .hero-section {
    margin-top: -10rem;
  }
  a.cta {
    bottom: 25%;
  }

  .card {
    width: 120px;
    height: 160px;
  }
  section.about {
    margin-top: -11rem;
  }
  section.wrapper_gallery {
    margin-top: -12rem;
  }
  section.section_contact {
    margin-top: -11rem;
  }
  .footer_footer {
    position: inherit;
    bottom: -4rem;
  }
  header {
    flex-wrap: nowrap;
  }
  section.hero {
    margin-top: -5rem;
  }
  nav a {
    background-color: transparent;
  }
}

@media (max-width: 376px) {
  header {
    display: flex;
    flex-direction: column;
    align-content: center;
  }
  nav {
    margin-left: 0;
    margin-top: 8.1rem;
  }
  nav a.active::after {
    /* display: flex; */
    width: 82%;

    position: absolute;
    left: 50%;
    bottom: 0;
    width: 82%;
    background: #00e0ff;
  }
  nav a {
    background-color: transparent;
  }
}
@media (max-width: 360px) {
  footer {
    height: 9rem;
  }
  .cta {
    bottom: 31%;
  }
  section.about {
    margin-top: -7rem;
  }
  section {
    margin-top: -5rem;
  }

  section.hero-section {
    margin-top: -8rem;
  }
  .footer_footer {
    position: static;
  }
}

/*  */
.hero {
  height: 100vh;
  margin-top: -8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  background: var(--main-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInDown 1.2s ease forwards;
}

.hero .rotating-text {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #ffdee9;
  animation: fadeIn 2s ease forwards;
}

.hero p {
  max-width: 800px;
  line-height: 1.6;
  font-size: 1.1rem;
  color: #fbcfe8;
  animation: fadeInUp 1.5s ease forwards;
}

.cta {
  display: flex;
  position: absolute;
  bottom: 28%;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  margin-top: 3rem;
  padding: 14px 30px;
  font-size: 1rem;
  background: var(--main-gradient);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 0 10px #ff7eb3;
  transition: all 0.3s ease;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
  color: #ccc;
  position: relative;
  z-index: 2;
}

.neon-twitter {
  display: inline-block;
  margin-top: 8px;
  color: #1da1f2;
  text-decoration: none;
}

@keyframes fadeInDown {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.follow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(270deg, #0ff, #f0f, #0ff);

  color: black;
  padding: 0.8rem 1.7rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}
.follow:hover {
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.8);
}

/* gallery */
section {
  padding: 2rem;
  margin: auto;
}
.gallery_title {
  font-size: 3.5rem;
  letter-spacing: 2px;
  background: linear-gradient(
    90deg,
    #e89cae,
    #ff7e5f,
    #feb47b,
    #fcd34d,
    #ff7eb3
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  margin-bottom: 4rem;
  text-align: center;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.neon-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border-radius: 15px 15px 20px 20px;
}

/* Neonowy efekt animowany DOOKOŁA */
.neon-frame::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 16px;
  background: linear-gradient(270deg, #0ff, #f0f, #0ff);
  background-size: 400% 400%;
  filter: blur(12px);
  z-index: 0;
  animation: neonMove 4s linear infinite;
}

.neon-frame img {
  width: 100%;

  border-radius: 15px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 3px 3px;

  margin-bottom: 10px;

  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.neon-frame:hover img {
  transform: scale(1.15);
}

.neon-caption {
  margin-top: 0.9rem;
  color: white;
  font-family: PT_Sans, sans-serif;
  font-size: 1rem;
  text-align: center;
}

/* Animacja neonowego gradientu */
@keyframes neonMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup-content {
  position: relative;
  background: #1e1e2f;
  padding: 1rem;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
}
.popup-content img {
  max-width: 100%;
  border-radius: 8px;
}
.popup-content button {
  position: absolute;
  top: -0.7rem;
  right: -0.7rem;
  background: red;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
strong {
  color: #00e0ff;
}

/* Contact */

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin-top: 1rem;
}
input,
textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}
textarea {
  resize: vertical;
}
.submit-btn {
  background: #00e0ff;
  color: #000;
  font-weight: bold;
  border: none;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 8px;
  transition: background 0.3s;
}
.submit-btn:hover {
  background: #00b3cc;
}
.neon-twitter {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  margin-top: 12px;

  color: white;
  font-weight: bold;
  text-decoration: none;
  background-color: #111;
  border-radius: 16px;
  z-index: 1;
  overflow: hidden;
}

.neon-twitter::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 16px;
  background: linear-gradient(270deg, #0ff, #f0f, #0ff);
  background-size: 400% 400%;
  filter: blur(12px);
  z-index: 0;
  animation: neonMove 4s linear infinite;
}

.neon-twitter span {
  position: relative;
  z-index: 1;
}

/* Animacja neonowa */
@keyframes neonMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Oscylowanie Formularza po wysłaniu */
.form-message {
  margin: 4rem auto;
  max-width: 500px;
  background: #22c55e; /* zielony */
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-in-out;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cursor {
  display: inline-block;
  animation: blink 1s step-start infinite;
  color: #00e0ff;
  font-weight: bold;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* form */

.form-message {
  margin: 2rem auto;
  max-width: 500px;
  background: #22c55e;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease-in-out;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* podpisy pod zdjęciami */
i.fa-solid {
  color: white;
  padding: 10px;
}

.tweet-link {
  display: block;
  text-align: center;
  margin: 20px;
  color: #0ff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tweet-link:hover {
  color: #fff;
  text-shadow: 0 0 6px #0ff, 0 0 12px #0ff;
  transform: scale(1.05);
}

p {
  background: linear-gradient(90deg, #ff7e5f, #feb47b, #fcd34d, #ff7eb3);

  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

/* footer */

footer {
  border-top: 1px solid #1a1a1a;
  background: #0a0a0a;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column-reverse; /* ustawia <p> i .footer-socials jeden pod drugim */
  align-items: center; /* poziome centrowanie */
  height: 8rem;
  flex-direction: column-reverse;
}

.footer-socials {
  margin-top: 0.5rem; /* odstęp między tekstem a ikoną */
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-socials a {
  margin: 0 0.5rem;
  color: #888;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #fff;
}

/* Roadmap style  */

.hero-section {
  text-align: center;
  padding: 5rem 2rem 2rem;
}

.hero-title {
  font-size: 3rem;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-top: 2rem;
  color: #888;
}

.roadmap-container {
  padding: 3rem 2rem;
  margin: 0 auto;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-date {
  color: #8c8c8c;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #fff;
}

.timeline-content p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}
/* Contact side */

.title_desctription {
  margin-bottom: 2rem;
}

/* h2 contact  */
h2.title {
  display: flex;
  font-size: 40px;
  margin-top: 6rem;
  align-self: flex-end;
  color: white !important;
}
/* next side  */

.scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  transform-style: preserve-3d;
  perspective: 1200px;
  overflow: visible;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 280px;
  background-color: #222;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  cursor: grab;
  transition: box-shadow 0.3s, transform 0.3s;
  will-change: transform, left, top;
  touch-action: none;
  user-select: none;

  transform: translate(-50%, -50%);
}

.card:hover {
  box-shadow: 0 0 25px #0ff, 0 0 40px #f0f, 0 0 60px #0ff;
}

.overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.95);
  padding: 2rem;
  color: #0ff;
  border-radius: 10px;
  z-index: 9999;
  text-align: center;
  display: none;
  max-width: 80vw;
  box-shadow: 0 0 30px #0ff, inset 0 0 50px #0ff;
  font-family: "Courier New", Courier, monospace;
}

.overlay img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px #0ff;
}

#backBtn,
#play {
  position: fixed;

  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #0ff;
  color: #0ff;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10000;
  font-size: 14px;
  font-family: monospace;
  user-select: none;
  transition: background-color 0.3s;
}

#play {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#backBtn:hover {
  background: rgba(0, 255, 255, 0.25);
}

#play:hover {
  background: rgba(0, 255, 255, 0.25);
}

#navBackBtn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #0ff;
  color: #0ff;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1000;
  font-size: 14px;
  transition: all 0.3s ease;
}

#navBackBtn:hover {
  background: rgba(0, 255, 255, 0.15);
  color: #fff;
}

/* side about */
section.about {
  line-height: 1.9;
  animation: fadeInUp 0.3s ease forwards;
}

.quote {
  text-align: center;
  font-size: 1.5rem;
  font-style: italic;
  color: #ffbdd3;
  margin: 60px auto;
  max-width: 800px;
  padding: 20px;
  border-left: 4px solid #ff7eb3;
  background: rgba(255, 255, 255, 0.03);
  animation: fadeIn 2s ease;
}

.visionary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 60px;
  gap: 30px;
}

.visionary img {
  width: 180px;
  border-radius: 50%;
  border: 3px solid #ff7eb3;
}

.visionary .bio {
  flex: 1;
  font-size: 1.05rem;
  color: #ccc;
}

h2 {
  font-size: 3rem;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease forwards;
}




@media screen and (max-width: 800px) and (max-height: 500px) and (orientation: landscape) {
  /* Styl tylko dla bardzo niskich, wąskich ekranów w poziomie */

  section.hero {
    margin-top: 4rem;
  }
  a.cta {
    position: absolute;
    left: 50%;
    bottom: 33%;
    transform: translateX(-50%);
    margin-top: 2rem;
  }
  a.follow {
    margin-top: 1rem;
  }
  footer {
    margin-top: 7rem;
  }
}