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

#logo {
  cursor: pointer;
}

main {
  margin-top: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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;
}

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

input {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  padding: 7px;
  margin: 10px;
  border-radius: 20px;
  border: solid gray 1px;
  width: 300px;
}

button {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  padding: 7px;
  margin: 10px;
  border-radius: 20px;
  border: solid gray 1px;
  width: 200px;
}

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

footer {
  position: absolute;
  bottom: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(183, 183, 183);
  font-size: 17px;
  padding: 20px 0;
  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;
}

#google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 260px;
  height: 50px;
  background-color: #fff;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#google-login img {
  width: 24px;
  height: 24px;
}

#google-login:hover {
  background-color: #f1f1f1;
  border-color: #ccc;
}

#google-login:active {
  background-color: #e0e0e0;
  border-color: #bbb;
  box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.2);
}

@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;
  }

  footer {
    display: grid;
    bottom: unset;
    padding-left: 0;
    padding-right: 0;
  }

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

@media (min-height: 800px) {
  footer {
    bottom: 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;
  }

  input,
  button {
    background: black !important;
    color: white !important;
    border: solid;
  }

  input::placeholder {
    color: white;
  }

  #google-login {
    background-color: black;
  }
}
