* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Boncei Trial';
  src: url('Boncei Trial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body, html {
  font-family: 'Boncei Trial', sans-serif;
  background-color: #111;
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.bg {
  background-image: url('img/bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  width: 100%;
}

.logo {
  color: white;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.726);
  font-size: 30px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(112, 112, 112, 0.196);
  position: fixed;
  width: 100%;
  top: 0;
  box-shadow: 0px 10px 11px rgba(227, 227, 227, 0.116);
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a:hover {
  color: #FFD700;
  transform: scale(1.05);
}

.nav-links a.active {
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
}

/* pole kontaktowe */
.contact-container {
  margin-top: 100px;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
/* nagłówek */
.contact-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
/* formularz kontaktowy - pozycjonowanie */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
/* label - formatowanie */
.contact-form label {
  font-weight: bold;
  color: white;
  font-family: Arial, sans-serif;
}
/* pola formularza - formatowanie */
.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #222;
  color: white;
  border: 1px solid #555;
}

/* moment wpisywania */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #FFD700;
}
/* przyciski Zatwierdź, resetuj */
.form-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
/* przyciski - formatowanie */
.form-buttons button {
  flex: 1;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #FFD700;
  color: #111;
  cursor: pointer;
  transition: background-color 0.3s;
}
/* najechanie na przyciski */
.form-buttons button:hover {
  background-color: #e6c200;
}

/* nagłówek - formatowanie */
h2 {
    color: white;
}

/* stopka - formatowanie */
footer {
  text-align: center;
  padding: 15px;
  background-color: #1f1f1f;
  color: #aaa;
  font-size: 0.9rem;
  font-family: Arial, Helvetica, sans-serif;
}