@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #f0f0f0, #e0e0e0);
  color: #333;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, #1e88e5, #42a5f5);
  color: #fff;
  padding: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header nav {
  display: flex;
  justify-content: center;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

header nav ul li a:hover {
  background-color: #1565c0;
  color: #fff;
  transform: translateY(-2px);
}

main {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

section {
  margin-bottom: 40px;
}

h1 {
  font-size: 36px;
  margin-top: 0;
  color: #1e88e5;
  position: relative;
}

h1::after {
  content: '';
  width: 50px;
  height: 4px;
  background: #1e88e5;
  display: block;
  margin-top: 10px;
  border-radius: 2px;
}

h2,
h3,
h4,
h5,
h6 {
  color: #333;
  margin-top: 0;
}

p {
  font-size: 18px;
}

blockquote {
  margin: 20px 0;
  padding: 20px;
  background-color: #e0f7fa;
  border-left: 5px solid #1e88e5;
  color: #555;
  font-style: italic;
}

ul,
ol {
  margin: 20px 0;
  padding-left: 20px;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: box-shadow 0.3s, transform 0.3s;
}

img:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
}

button {
  background: linear-gradient(135deg, #1e88e5, #42a5f5);
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

button:hover {
  background: linear-gradient(135deg, #1565c0, #1e88e5);
  transform: scale(1.08);
}

input,
textarea {
  width: calc(100% - 20px);
  padding: 12px;
  margin: 10px 10px 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  border-color: #1e88e5;
  box-shadow: 0 0 5px rgba(30, 136, 229, 0.5);
  outline: none;
}

a {
  color: #1e88e5;
  text-decoration: none;
  transition: color 0.3s, border-bottom 0.3s;
  border-bottom: 2px solid transparent;
}

a:hover {
  color: #1565c0;
  border-bottom: 2px solid #1565c0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

th {
  background-color: #1e88e5;
  color: #fff;
}

tr:nth-child(even) {
  background-color: #f0f0f0;
}

form {
  margin: 20px 0;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

input[type="submit"] {
  background: linear-gradient(135deg, #1e88e5, #42a5f5);
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

input[type="submit"]:hover {
  background: linear-gradient(135deg, #1565c0, #1e88e5);
  transform: scale(1.08);
}

footer {
  background: linear-gradient(135deg, #1e88e5, #42a5f5);
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 600px) {
  header nav ul li {
    margin: 0 10px;
  }

  main {
    margin: 20px auto;
    padding: 20px;
  }

  h1 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
  }
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.technology-card {
  perspective: 1000px;
}

.technology-card-inner {
  position: relative;
  width: 100%;
  height: 200px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.technology-card:hover .technology-card-inner {
  transform: rotateY(180deg);
}

.technology-card-front,
.technology-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f1f1f1;
  color: #1e88e5;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 8px;
}

.technology-card-back {
  transform: rotateY(180deg);
}

.zdjecie-profilowe {
  width: 80px;
  height: auto;
  margin-left: 20px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.naglowek {
  display: flex;
  align-items: center;
}

.naglowek h1 {
  margin: 0;
}
