@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap");

@media (min-width: 100px) and (max-width: 399px) {
  h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1em, 1vw, 1em);
    color: #cccccc;
    padding: 0% 60% 0% 5%;
    width: 100%;
  }

  h2:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px #cccccc;
  }

  header {
    align-items: center;
    justify-content: space-between;
    margin: 0 5%;
    width: 100%;
    z-index: 4;
    font-family: "Inter", sans-serif;
    font-size: clamp(1rem, 1vw, 1rem);
    letter-spacing: 0.3em;
    position: absolute;
    bottom: 50px;
  }

  .logo {
    position: fixed;
    align-items: left;
    padding: 10px 5%;
    width: 100%;
    z-index: 7;
    font-family: "Inter", sans-serif;
  }

  .stopka {
    color: gray;
    font-size: clamp(1rem, 1rem, 1rem);
  }

  h3 {
    font-size: clamp(2rem, 2rem, 2rem);
  }

  .opis {
    font-size: clamp(1.5rem, 1.5rem, 1.5rem);
  }
}


@media (min-width: 400px) and (max-width: 1277px) {
  h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(4em, 4vw, 4rem);
    color: #cccccc;
    padding: 0% 60% 0% 5%;
    width: 100%;
  }

  h2:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px #cccccc;
  }

  header {
    align-items: center;
    justify-content: space-between;
    margin: 0 5%;
    width: 100%;
    z-index: 4;
    font-family: "Inter", sans-serif;
    font-size: clamp(1.5rem, 1.5vw, 1.5rem);
    letter-spacing: 0.3em;
    position: absolute;
    bottom: 50px;
  }

  .logo {
    position: fixed;
    align-items: left;
    padding: 10px 5%;
    width: 100%;
    z-index: 7;
    font-family: "Inter", sans-serif;
  }

  .stopka {
    color: gray;
    font-size: clamp(2rem, 2rem, 2rem);
  }

  h3 {
    font-size: clamp(4rem, 4rem, 4rem);
  }

  .opis {
    font-size: clamp(1.94rem, 1.94rem, 1.94rem);
  }
}
* {
  box-sizing: border-box;
  user-select: none;
}

@media only screen and (min-width: 1278px) {
  h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(2.5rem, 2.5vw, 2.5rem);
    color: #cccccc;
    padding: 0% 60% 0% 5%;
    width: 100%;
  }

  h2:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px #cccccc;
  }

  header {
    align-items: center;
    justify-content: space-between;
    margin: 0 5%;
    width: 100%;
    z-index: 4;
    font-family: "Inter", sans-serif;
    font-size: clamp(0.66rem, 2vw, 1rem);
    letter-spacing: 0.3em;
    position: absolute;
    bottom: 50px;
  }

  .logo {
    position: fixed;
    align-items: left;
    padding: 10px 5%;
    width: 100%;
    z-index: 7;
    font-family: "Inter", sans-serif;
  }

  .stopka {
    color: gray;
    font-size: clamp(1.2rem, 1.2rem, 1.2rem);
  }

  h3 {
    font-size: clamp(2.3rem, 2.3rem, 2.3rem);
  }

  .opis {
    font-size: clamp(1.12rem, 1.12vw, 1.12rem);
  }
}
a {
  color: #fff;
  text-decoration: none;
  font-family: "Nunito Sans", sans-serif;
  transition: color 0.3s, text-shadow 0.3s;
  padding: 0 10px 0px 0;
}

a:hover {
  text-shadow: 0 0 10px currentColor;
}

a:nth-child(1):hover {
  color: #e57373;
}

a:nth-child(2):hover {
  color: #81c784;
}

a:nth-child(3):hover {
  color: #64b5f6;
}

a:nth-child(4):hover {
  color: #ffb74d;
}

a:nth-child(5):hover {
  color: #ba68c8;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  color: white;
  background: black;
  font-family: "Inter", sans-serif;
}

.section {
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;
}
.section .wrapper-outer,
.section .wrapper-inner {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
}
.section .background {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
}
.section .background .clip-text {
  overflow: hidden;
}

.first .background {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url("https://mctjasinski.com/img/01.jpg");
}

.second .background {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url("https://mctjasinski.com/img/02.jpg");
}

.third .background {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url("https://mctjasinski.com/img/03.jpg");
}

.fourth .background {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(""https://mctjasinski.com/img/03.jpg");
}

.fifth .background {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url("https://mctjasinski.com/img/03.jpg");
  background-position: 50% 45%;
}

h2 * {
  will-change: transform;
}