* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Monserrat', sans-serif;
}

body {
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  background-color: #333;
  display: flex;
  justify-content: center;
  width: 100%;
}

.navbar a {
  text-align: center;
  padding: 14px;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.navbar a:hover {
  background-color: #555;
}

.navbar-bottom {
  background-color: #222;
}

.davodev-section {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 40vh;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(180deg, #0080cd 0%, #0080cd 50%, #0080cd 100%);
}

.davodev-section img {
  width: 50%;
  height: auto;
}

.main-nav {
  background-color: #333;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-nav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  margin: 0 5px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.main-nav a:hover {
  background-color: #0080cd;
}

.welcome-section {
  background-color: #333;
  color: white;
  padding: 30px;
  margin: 30px 0;
  border-radius: 8px;
  text-align: center;
}

.welcome-section h1 {
  color: #0080cd;
  margin-bottom: 15px;
}

.welcome-section h2 {
  color: #0080cd;
  margin-bottom: 15px;
}

.welcome-section p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.content-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 30px;
}

.content-section h2 {
  color: #222;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.content-section h3 {
  color: #555;
  margin: 20px 0 10px;
}

.content-section p {
  margin-bottom: 20px;
  color: #555;
}

.feature-list {
  list-style: none;
  margin: 20px 0;
}

.feature-list li {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.code-tag {
  background-color: #333;
  color: #0080cd;
  padding: 5px 10px;
  border-radius: 4px;
  font-family: monospace;
  margin-right: 15px;
  min-width: 120px;
}

.description {
  flex: 1;
}

.lists-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.list-box {
  flex: 1;
  min-width: 250px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #0080cd;
}

.list-box h3 {
  margin-top: 0;
  color: #0080cd;
}

.list-box ol,
.list-box ul {
  margin-left: 20px;
}

.list-box li {
  margin-bottom: 8px;
}

.multimedia-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.media-box {
  flex: 1;
  min-width: 250px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #0080cd;
}

.media-box h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #0080cd;
}

.code-example {
  margin: 25px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.code-header {
  background-color: #333;
  color: white;
  padding: 10px 15px;
  font-family: monospace;
  font-size: 0.9rem;
}

.code-example pre {
  margin: 0;
  padding: 0;
}

.code-example code {
  display: block;
  background-color: #222;
  color: #f8f9fa;
  padding: 15px;
  overflow-x: auto;
  font-family: monospace;
  line-height: 1.5;
  font-size: 0.9rem;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer-bio {
  max-width: 800px;
  margin: 15px auto;
  line-height: 1.8;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0080cd;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
  font-weight: 700;
}

.back-to-top:hover {
  background-color: #0080cd;
}

@media (max-width: 768px) {
  .logo-text {
      font-size: 3.5rem;
  }

  .main-nav a {
      margin: 5px;
  }

  .feature-list li {
      flex-direction: column;
  }

  .code-tag {
      margin-bottom: 8px;
      margin-right: 0;
  }

  .lists-container,
  .multimedia-container {
      flex-direction: column;
  }

  .list-box,
  .media-box {
      min-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-text {
      font-size: 2.5rem;
  }

  .lang-icon,
  .social-icon {
      margin: 0 5px;
      font-size: 0.8rem;
  }

  .welcome-section p {
      font-size: 1rem;
  }

  section h2 {
      font-size: 1.5rem;
  }

  .code-example code {
      font-size: 0.8rem;
  }
}