#main{
	display: flex;
	min-height: 85vh;
}


body {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

body::after {
  content: "";
  background: url(../images/background2.png) no-repeat center center fixed; 
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}


h2 {
  color: white;
  font-size: 4vh;
  font-family: 'Poppins';
  font-weight: 900;
  margin-bottom: 2vh;
}

footer{
    margin-bottom: 1vh;
    font-size: 1vw;
    font-family: 'Corbel';
    text-align: center;
    color: #9e9e9e;
    z-index: 1;
}

#about-me {
  display: flex;
  flex-wrap: wrap;
  width: 63vw;
  margin: auto;
  margin-top: 5vh;
}

#photo {
  margin-right: 5vh; 
}

#photo img {
  width: auto;
  height: 70vh;
}

#text-container { 
  flex: 1;
  display: flex;
  flex-direction: column;
}

#text {
  padding-top: 2vh;
  font-family: 'Poppins';
  font-size: 0.95vw;
  width: auto;
}

#social-media {
  width: 100%;
  display: flex;
  margin-top: 2.9vh;
}

#social-media a:hover {
  background-color: white;
}

.social-button {
  box-sizing: border-box;
  width: 4vh;
  height: 4vh;
  border-radius: 0;
  background: transparent;
  color: white;
  vertical-align: middle;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease-in-out;
  transition-property: color,background-color,background-size,border-color,box-shadow;
  border: 0 solid #fff;
  box-shadow: 0 1px 0 0 #fff;
  margin: 0 1vh;
}

.social-button svg path {
  fill: white;
  transition: 0.4s ease-in-out;
}

.social-button:hover svg path {
  fill: black;
  transition: 0.4s ease-in-out;
}

.social-button:hover {
  background-color: #fff;
  color: #000;
  border-color: transparent;
}

@media only screen and (max-width: 768px) {

  body::after {
    background: url(../images/backgroundmobile.png) no-repeat center center fixed; 
    background-size: cover;
  }

	#main{
		min-height: 99vh;
	}

  #text {
    margin-top: 3vh;
    font-size: 4vw;
  }

  h2 {
    font-size: 7vw;
    font-weight: 900;
  }

  h3 {
    font-size: 4.7vw;
    font-weight: 900;
  }


  #about-me {
    width: 85%;
  }

  #photo img {
    width: auto;
    height: 50vh;
  }

  #photo{
    margin: auto;
  }

  #text-container {
    flex: 1; /* Wypełnij pozostałą przestrzeń */
  }

  #social-media{
    justify-content: center;
  }

  .social-button {
    width: 6vh;
    height: 6vh;
  }

  .social-button svg {
    margin-left: 0;
    width: 3vh;
    height: 3vh;
  }

  footer{
    margin-top: 5vh;
    font-size: 2vh;
  }
}
