body {
  margin: 0;
  overflow-x: hidden;
}

header {
  background-image: url('/res/background/aboutme-intro.jpg');
  margin-left: 280px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: 0px;
  padding: 30px;
  flex: 1;
}

h1 {
  font-size: 99px;
  font-family: 'Georgia', serif;
  font-weight: bold;
  text-align: center;
  color:rgb(46, 104, 46);
  margin-top: 20px;
  margin-bottom: 10px;
}

h2 {
  font-size: 40px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bolder;
  text-align: center;
  color:rgb(194, 146, 0);
  margin-top: 20px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.info {
  color: rgb(0, 0, 0);
  font-size: 25px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif
}

.datu {
  color: rgb(36, 36, 36);
  font-family: 'Times New Roman', Times, serif;
  font-weight: 200;
  font-size: 30px;
}
.info-box {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.sc {
  background-image:url('/res/background/aboutme-main.jpg');
  padding-top: 25px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nmk {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}

.banner-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-left: 10px;
  transform: scale(0.5);
  transform-origin: center;
}

.vv {
  color: rgb(85, 85, 85);
  font-size: 20px;
  padding-left: 700px;
  margin-top: 5px;
}

.nmk-blok {
  font-size: 40px;
}

.yt-icon {
  height: 200px;
  margin-top: -400px;
}

.texty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
}

.nmk-kanal {
  color: rgb(4, 95, 1);
  font-weight: 700;
  font-size: 45px;
}

.nmk-videa {
  font-size: 40px;
  font-weight: 500;
  color: rgb(75, 75, 75);
  margin-top: 50px;
}

.nmk-dalsi1 {
  font-size: 53px;
  font-weight: 900px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(40, 40, 40);
  margin-top: 40px;
}

.nmk-dalsi2 {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 120px;
  font-weight: bold;
  color: rgb(0, 0, 0);
  margin-top: 70px;
}

.nkb {
  background-image: url('/res/background/game.jpg');
  padding: 60px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: rgb(255, 200, 245);
  font-size: 60px;
  margin-top: 60px;
  text-align: center;
  padding-left: 350px; /* posun mírně doprava */
    background-size: cover;       /* roztáhne pozadí */
  background-position: center;  /* drží střed */
  background-repeat: no-repeat; /* nezopakuje se */
}

.cont {
  margin: auto;
  font-weight: 700;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.link-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  padding-left: 350px;
}

.icon {
  width: 70px;
  height: 70px;
}

.separator {
  font-size: 30px;
  color: black;
}

.link {
  font-size: 70px;
  font-weight: bold;
  text-decoration: underline;
  color: black;
}

.discord {
  color: #2b61d2;
}

.twitch {
  color: #9146FF;
}

.minecraft {
  color: #3C9D41;
}

.instagram {
  color: #f26b2c;
}

.lk {
  color: #000000;
  font-weight: bold;
  font-size: 90px;
  margin-left:600px;
  margin-top: 80px;
  margin-bottom: 100px;
  font-family: Arial, Helvetica, sans-serif
}

a {
  color: inherit;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  background: none;
  color: #000;
  font-size: 28px;
  border: none;
  z-index: 1001;
}

@media (max-width: 1024px) and (min-width: 600px) {
  .nmk-dalsi2 {
    font-size: 90px;
    margin-top: 50px;
  }
  .banner-row {
  display: flex;
  align-items: center;
  margin-left: 10px;
  transform: scale(0.4);
  }
  .lk {
    margin-left: 550px !important;
    font-size: 70px;
  }
  .info-box {
    padding-left: 100px;
}
}


@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .intro-section {
    margin-left: 0;
    padding: 20px;
    text-align: center;
    background-size: cover;
  }

  .nadpis {
    font-size: 40px;
  }

  .podnadpis {
    font-size: 20px;
  }

  .info-box {
    flex-direction: column;
    gap: 5px;
    margin: 10px 0;
  }

  .banner-row {
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    transform: scale(0.7);
    transform-origin: center;
  }

  .yt-icon {
    height: 120px;
    margin-top: 0;
  }

  .texty {
    align-items: center;
    text-align: center;
  }

  .nmk-kanal {
    font-size: 22px;
  }

  .nmk-videa {
    font-size: 18px;
    margin-top: 15px;
  }

  .nmk-dalsi1 {
    font-size: 20px;
    margin-top: 20px;
  }

  .nmk-dalsi2 {
    font-size: 32px;
    margin-top: 20px;
  }

  .lk {
    font-size: 35px;
    margin: 40px auto;
    text-align: center;
  }

  .link-section {
    padding-left: 0;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
  }

  .icon {
    width: 50px;
    height: 50px;
  }

  .link {
    font-size: 22px;
  }

  .nkb {
    padding: 20px;
    font-size: 22px;
    margin-top: 30px;
    padding-left: 0;
    text-align: center;
  }
  }