body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

#logo {
  cursor: pointer;
}

main {
  margin-top: 150px;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header img {
  width: 100px;
}

#info {
  font-size: 35px;
  position: absolute;
  left: 0;
  right: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
}

a {
  text-decoration: none;
  color: black;
  font-size: 25px;
  margin: 5px;
  padding: 7px;
  cursor: pointer;
  text-align: center;
}

#buy {
  background-color: #30a6a8;
  color: white;
  border-radius: 20px;
  padding: 10px;
}

#info_of_buy a {
  font-size: unset;
  text-decoration: underline;
}

main {
  display: grid;
  justify-content: center;
  align-items: center;
}

#title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.opinion {
  flex-basis: 100%;
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 20px;
  align-content: center;
  height: fit-content;
}

.photo {
  display: flex;
  justify-content: center;
}

.photo img {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

.name {
  font-size: 20px;
  font-weight: 600;
  margin: 10px;
}

.opinion_text {
  width: 98%;
  background-color: #00a3a662;
  padding: 5px;
  border-radius: 18px;
}

footer {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(183, 183, 183);
  font-size: 17px;
  padding: 20px;
  text-align: center;
}

footer a {
  text-decoration: underline;
  font-size: 17px;
  margin: 5px;
  padding: 7px;
  cursor: pointer;
  text-align: center;
}

.line_vertical {
  width: 2px;
  height: 100px;
  background-color: black;
  margin: 0 10px 0 10px;
}

/* @media (min-width: 700px) and (max-width: 1100px) {
  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .opinion {
    flex-basis: 45%;
  }
} */

/* @media (min-width: 1100px) {
  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .opinion {
    flex-basis: 30%;
  }
} */

@media (max-width: 1000px) {
  #buttons {
    display: grid;
  }

  #login,
  #about,
  #buy {
    font-size: 15px;
  }

  #top img {
    width: 130px;
    height: fit-content;
  }

  #first_about {
    font-size: 10px;
  }

  #name {
    font-size: 20px;
    text-align: center;
  }

  #title {
    font-size: 30px;
    margin: 10px;
  }

  footer {
    width: 90vw;
    display: grid;
    position: unset;
  }

  .line_vertical {
    width: 100px;
    height: 2px;
    justify-self: center;
    margin: 20px 0 20px 0;
  }
}

/* Cały pasek przewijania */
::-webkit-scrollbar {
  width: 12px;
}

/* Tło paska przewijania */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px; /* Dodajemy zaokrąglenie */
}

/* Kciuk paska przewijania */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px; /* Tutaj również dodajemy zaokrąglenie */
}

/* Kciuk paska przewijania podczas najechania */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: black;
    color: white;
  }

  header {
    background-color: black;
    color: white;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
  }

  a {
    color: white;
  }

  footer {
    background-color: #555;
  }

  #line_vertical_top {
    background-color: white;
  }

  .opinion_text {
    background-color: #30a6a8;
  }
}
