
* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #000000;
  color: white;
}

::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
}

.logo img {
  margin-left: 50px;
  width: 180px;
  height: 140px;
}
.menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-bottom: 5px;
  flex-direction: row;
  align-items: center;
  padding: 10px 0;
}

.menu ul li {
  margin: 0;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
  margin: 0;
}

.menu a:hover {
  color: #ff3b3b;
}

.menu ul li a {
  display: block;
  padding: 15px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s;
}


main {
  flex: 1;
  padding: 20px;
  background-color: #111111;
}

form {
  background: #1f1e1e;
  padding: 20px;
  border-radius: 40px;
}

input,
textarea {
  width: 100%;
  padding: 20px;
  margin: 10px 0;
  border: none;
  border-radius: 4px;
  background: #000000;
  color: #ffffff;
  box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
  color: #ffffff;
}

button {
  background: #790b0b;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #ff3b3b;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

footer {
  background-color: #000000;
  color: #fff;
  text-align: center;
  padding: 20px;
}

h2,
p {
  color: white;
}

.menu a.active {
  color: #922020;
  font-weight: bold;
}

.form-section {
  margin-right: 0;
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  margin-top: 40px;
}

.form-section form {
  width: 800px;
  height: 600px;
  background: #141414;
  padding: 20px;
  border-radius: 40px;
}

textarea {
  height: 200px;
  resize: none;
  padding: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}


.kontakt {
  margin-top: 2cm;
}

.lewa {
  width: 40%;
  height: 100%;
  float: left;
}

.prawa {
  width: 60%;
  height: 100%;
  float: left;
}

.form-container {
  margin-top: 0;
}

h1 {
  color: rgb(90, 3, 3);
}

.hl {
  color: #790b0b;
}

.menu ul li a i {
  font-size: 1.5em;
  color: rgb(43, 42, 42);
  scale: 1.5;
  transition: color 0.3s, transform 0.3s;
}

.menu ul li a[aria-label="Facebook"] i:hover {
  color: #1877f2;
  transform: scale(1.5);
}

.menu ul li a[aria-label="Instagram"] i:hover {
  color: #e1306c;
  transform: scale(1.5);
}

.napisy-form{
  margin-top: 10px;
  font-size: 16px;
}

.ask{
  font-weight: bold;
}


.map-responsive {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  height: 0;
  margin: 20px 0;
  max-width: 100%;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  height: 310px;
  width: 500px;
}

@media (max-width: 1024px) {
  .form-section {
    flex-direction: column;
    align-items: center;
  }

  .lewa,
  .prawa {
    width: 100%;
  }

  .form-section form {
    width: 100%;
  }
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  
  .map-responsive {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; 
    height: 0;
    margin: 20px 0;
    border-radius: 20px;
  }
  
  .map-responsive iframe {
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .kontakt{
    text-align: center;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .menu ul li a i {
    font-size: 1.5em;
  }

  .menu ul li {
    width: 100%;
    text-align: center;
    padding:  0;
  }

  .logo img {
    margin: 0;
    width: 120px;
    height: 100px;
  }


  .menu ul {
    display: block;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    width: 100%;
    text-align: center;
  }

  .form-section {
    flex-direction: column;
    align-items: center;
  }

  .form-section form {
    width: 95%;
    height: auto;
  }

  .lewa,
  .prawa {
    width: 100%;
    float: none;
  }

  h1 {
    font-size: 6vw;
    text-align: center;
  }

  textarea {
    padding: 30px;
  }
}

@media (max-width: 480px) {


  
  .menu ul li a {
    padding: 15px;
    font-size: 18px;
  }
  
  .logo img {
    width: 120px;
    height: 100px;
  }

  .map-responsive {
    padding-bottom: 75%; 
  }
}
