body {
    font-family: 'Sarabun', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
  }
  
  .navbar {
    background-color: #346c9d;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  
  .navbar ul li {
    margin: 0 15px;
    position: relative;
  }
  
  .navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 20px;
    display: inline-block;
    transition: all 0.3s ease;
  }
  .navbar ul li a:hover {
    color: #d2b11b;
    transform: translateY(-5px);
  }
  

  .navbar ul li a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #d2b11b;
    transition: width 0.3s ease;
    margin: auto;
  }
  
  .navbar ul li a:hover::after {
    width: 100%;
  }
  
  header {
    background-image: url('https://miro.medium.com/v2/resize:fit:3820/1*AvVPFHIZGKYN6Fft-J6Arg.png');
    background-size: cover;
    background-position: center center;
    text-align: center;
    padding: 100px 20px;
    color: white;
  }
  
  
  header h1 {
    font-size: 36px;
    color: #346c9d;
    position: relative;
    text-shadow: 
      0 0 3px #1d1f21,
      0 0 5px #1d1f21,
      0 0 10px #1d1f21,
      0 0 15px #1d1f21; 
  }  
  
  header h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #ffffff; 
    border-radius: 8px; 
    z-index: -1; 
  }
  

  
  header .highlight {
    color: #d2b11b;
  }

section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
}

.python-logo {
    width: 30px;
    height: auto;
    margin-bottom: 10px;
}

.icon {
    width: 30px;
    height: auto;
    margin-bottom: 10px;
}

section h2 {
    margin-right: 10px;
    font-size: 24px;
}

section p {
    font-size: 18px;
    text-align: center;
}

section a {
    color: #0866ff;
    text-decoration: none;
}

section a:hover {
    text-decoration: underline;
}



  main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  main h2 {
    color: #000000;
  }
  
  main a {
    color: #0866f9;
    text-decoration: none;
    font-weight: 600;
  }
  
  main a:hover {
    text-decoration: underline;
  }
  
  footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    font-size: 14px;
  }

  body {
    font-family: 'Sarabun', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
    line-height: 1.8;
}
pre {
    background-color: #1e1e1e;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
}
code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
}

.keyword {
    color: #569cd6;
    font-weight: bold;
}
.string {
    color: #ce9178;
}
.comment {
    color: #6a9955;
    font-style: italic;
}
.function {
    color: #dcdcaa;
}
.if {
    color: #E4A0B7;
}
.nor {
    color: #ffffff;
}