*{
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;  
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* particleground demo */

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: auto;
}

body {
  background: #000010;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

#particles {
  width: 100%;
  height: 100%;
  overflow: auto;
}

#intro {
  position: absolute;
  left: 0;
  top: 50%;
  padding: 0 10px;
  width: 100%;
  text-align: center;
}
h2 {
  text-transform: uppercase;
  font-size: 50px;
  font-weight: 120;
  color: #ffffff;
  letter-spacing: 0.05em;
}
h1::after {
  content: '';
  width: 80px;
  display: block;
  background: #fff;
  height: 10px;
  margin: 30px auto;
  line-height: 1.1;
}
p {
  margin: 0 0 30px 0;
  font-size: 24px;
  font-family: 'Roboto', sans-serif;
}

@media only screen and (max-width: 1000px) {
  h1 {
    font-size: 15px;
  }
}

@media only screen and (max-width: 100px) {
  h1 {
    font-size: 15px;
  }
  h1::after {
    height: 8px;
  }
}

@media only screen and (max-width: 100px) {
  #intro {
    padding: 0 10px;
  }
  h1 {
    font-size: 15px;
  }
  h1::after {
    height: 6px;
  }
  p {
    font-size: 18px;
  }
  .btn {
    font-size: 16px;
  }
}

@media only screen and (max-width: 100px) {
  h1 {
    font-size: 15px;
  }
  h1::after {
    height: 4px;
  }
}

/* Red separator */
.separator {
  width: 50%;
  height: 2px;
  background-color: #E83951;
  border: none;
  margin: 20px auto;
}

/* Bio text */
.bio {
  max-width: 800px;
  margin: 20px auto;
  font-size: 18px;
  color: #ddd;
  line-height: 1.6;
  padding: 0 10px;
}

/* Avatar styling */
.avatar {
  width: 30vw;  /* Width is 30% of the viewport width */
  height: auto;  /* Height adjusts automatically based on width */
  border-radius: 50%;  /* Make it circular */
  margin-bottom: 20px;  /* Space below the avatar */
  border: 4px solid #E83951;  /* Optional border for style */
  object-fit: cover;  /* Ensure the image covers the space without stretching */
  max-width: 150px;  /* Optional: set a max width to prevent it from getting too large */
  max-height: 150px;  /* Optional: set a max height to maintain consistency */
}

.social-icon {
  width: 2em;
  height: 2em;
  max-width: 40px;
  max-height: 40px;
  vertical-align: middle; /* kluczowe */
  display: inline-block;   /* lepsze niż inline */
  margin: 0 5px;           /* estetyczne odstępy */
}

img.social-icon {
  object-fit: contain; /* Upewnia się, że obraz nie rozciąga się */
}

a {
  text-decoration: none;
}
