body {
  font-family: 'Roboto Slab', serif;
  margin: 0;
  padding: 0;
  padding: 30px 0 0 0;
  line-height: 1.6;
  background: #ffffff;
  color: #333;
}

header {
  display: block;
  max-height: max-content;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url(math6.jpg);
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid rgb(255, 196, 2);
  padding: 0px 0px 200px 0px;
  position: relative;
}

h1 {
  display: block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: rgb(255, 255, 255);
  margin: 0px 0px 0px 0px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 100px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
}

.intro {
  padding: 32px;
  margin: 0px 0px 0px 0px;
  background: #fff;
  border-radius: 12px;
  margin: 40px 75px 40px 75px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
}

.intro-text {
  font-size: 25px;
  font-family: "Indie Flower", cursive;
  font-weight: 600;
  font-style: normal;
  color: #ff6200;
  text-align: center;
  margin: 16px 0;
  line-height: 1.8;
}

.intro-text strong {
  color: #9e3d00;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.symbol {
  width: 100px;
  margin-top: 10px;
  margin-left: 1000px;
  padding: 0px;
}

button {
  background: #0066ff;
  display: inline-block;
  border: solid #0066ff 1px;
  margin: 0px;
  padding: 0px, 0px, 0px, 10px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

button:hover {
  background: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.nav {
  list-style-type: none;
  height: 50px;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #ff9500, #ff8c00);
  scroll-behavior: auto;
  position: fixed;      
  top: 0;               
  left: 0;
  width: 100%;      
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-bottom: 2px solid #e67e00;
}

.nav-link {
  display: inline-block;
  width: auto;
  height: 50px;
  padding: 0px 20px 0px 20px;
  transition: all 0.3s ease;
  line-height: 50px;
}

.nav-link:hover {
  background: linear-gradient(135deg, #ffd900, #ffcc00);
  transform: translateY(-2px);
}

li a {
  color: #000000;
  text-decoration: none;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  display: block;
  transition: color 0.3s ease;
}

li a:hover {
  color: #333;
}

section {
  padding: 40px 20px;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(sunrise.jpg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(255, 157, 0, 0.3);
  margin: 40px 0;
}

ul.list1 {
  list-style-type: none;
  margin: 40px auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 0 20px;
}

li.list1 {
  display: block;
  background: linear-gradient(135deg, #ffd000, #ffcc00);
  color: #000000;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 24px;
  margin: 0;
  width: auto;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
}

li.list1:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #ffe033, #ffd633);
}

h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 36px;
  color: #ac4b00;
  margin: 0 0 30px 0;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}

.header-link {
  display: inline-block;
  margin-left: 50px;
  text-shadow: 0px 0px 10px rgb(255, 255, 255);
  color: rgb(5, 0, 81);
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-link:hover {
  transform: translateY(-2px);
  text-shadow: 0px 0px 15px rgb(255, 255, 255);
}

/* Über mich page specific styles */
.über-mich {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(math6.jpg);
  background-size: cover;
  background-position: center;
}

.profile-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
}

.profile-image-container {
  flex-shrink: 0;
}

.profile-image-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9500, #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 149, 0, 0.3);
  border: 4px solid #fff;
  transition: all 0.3s ease;
}

.profile-image-placeholder:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 149, 0, 0.4);
}

.placeholder-text {
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.profile-content {
  flex: 1;
}

.profile-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
  font-family: 'Roboto Slab', serif;
  text-align: justify;
}

.profile-content strong {
  color: #ac4b00;
  font-weight: 700;
}

.über-mich h2 {
  margin-bottom: 30px;
}

.über-mich ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.über-mich li {
  background: linear-gradient(135deg, #ffd000, #ffcc00);
  color: #000;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Roboto Slab', serif;
}

.über-mich li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #ffe033, #ffd633);
}

/* Responsive design for profile section */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }
  
  .profile-image-placeholder {
    width: 150px;
    height: 150px;
  }
  
  .placeholder-text {
    font-size: 20px;
  }
}

/* Process list styles */
.process-list {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
  counter-reset: process-counter;
}

.process-list li {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #333;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Roboto Slab', serif;
  position: relative;
  padding-left: 50px;
}

.process-list li:before {
  content: counter(process-counter);
  counter-increment: process-counter;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ff9500, #ff8c00);
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(255, 149, 0, 0.3);
}

.process-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-color: #ff9500;
}

.profile-content h2 {
  color: #ac4b00;
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Contact form styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff9500;
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background: linear-gradient(135deg, #ff9500, #ff8c00);
  color: #000;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Roboto Slab', serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.contact-form button:hover {
  background: linear-gradient(135deg, #ffd900, #ffcc00);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.4);
}

.contact-form button:active {
  transform: translateY(0);
}

/* Responsive design for contact form */
@media (max-width: 768px) {
  .contact-form {
    padding: 0 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Call-to-action button styles */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff9500, #ff8c00);
  color: #000;
  padding: 18px 36px;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Roboto Slab', serif;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 149, 0, 0.3);
  border: 2px solid #ff8c00;
}

.cta-button:hover {
  background: linear-gradient(135deg, #ffd900, #ffcc00);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 149, 0, 0.4);
  color: #000;
  text-decoration: none;
}

.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

/* Form message styles */
.form-message {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.form-message.success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border: 1px solid #c3e6cb;
  box-shadow: 0 2px 8px rgba(21, 87, 36, 0.1);
}

.form-message.error {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border: 1px solid #f5c6cb;
  box-shadow: 0 2px 8px rgba(114, 28, 36, 0.1);
}