#main{
	display: flex;
	min-height: 85vh;
}

body {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  background: url(../images/background2.png) no-repeat center center fixed;
  background-size: 100% 100%;
  background-attachment: fixed;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}


h2 {
  color: white;
  font-size: 4vh;
  font-family: 'Poppins';
  font-weight: 900;
  margin: auto;
  position: relative;
}


h2:before,
h2:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30vh; /* dostosuj szerokość linii */
  height: 0.5vh; /* grubość linii */
  background-color: white; /* kolor linii */
}

h2:before {
  left: -35vh; /* dostosuj odległość od tekstu */
}

h2:after {
  right: -35vh; 
}

footer{
    margin-bottom: 1vh;
    font-size: 1vw;
    font-family: 'Corbel';
    text-align: center;
    color: #9e9e9e;
    z-index: 1;
}

.faq-container {
  margin: auto;
  font-family: Poppins;
  width: 80vh;
}

.faq-item {
  border-bottom: 1px solid #444;
  margin-bottom: 10px;
}

.faq-question {
  padding: 2vh;
  cursor: pointer;
  background-color: transparent;
  border-radius: 5px;
  font-size: 2vh;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: '\25BC';
  font-size: 1.4vh;
  position: absolute;
  right: 2vh;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.6s ease-in-out;
}

.faq-answer {
  padding: 0 2vh;
  font-size: 1.6vh;
  background-color: transparent;
  margin-bottom: 1vh;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.7s ease;
}

.faq-item.active .faq-question {
  background-color: rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-answer {
  max-height: 20vh; 
  opacity: 1;
  padding-left: 2.5vh;
  padding-bottom: 1.5vh;
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

@media only screen and (max-width: 768px) {

  body::after {
    background: url(../images/backgroundmobile.png) no-repeat center center fixed; 
    -webkit-background-size: 100%; 
    -moz-background-size: 100%; 
    -o-background-size: 100%; 
    background-size: 100%; 
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover; 
    background-size: cover;
  }

	#main{
		min-height: 99vh;
	}

  #text {
    margin-top: 3vh;
    font-size: 4vw;
  }

  h2 {
    font-size: 9vw;
    font-weight: 500;
	margin-top: 12vh;
	padding-bottom: 12vh;
  }

  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;
  }
  
  h2:before,
  h2:after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
    width: 30vh; /* dostosuj szerokość linii */
	height: 0.5vh; /* grubość linii */
	background-color: white; /* kolor linii */
	display: none;
  }
  
  .faq-container {
	  width: 45vh;
  }
}
