body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /*max-width: 800px;*/
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f4;
}

code {
  background-color: #f4f4f4;
  padding: 2px 4px;
  border-radius: 4px;
}

#ad3Container {
    position: relative;
    width: 100%;
    height: 5vw;
    /* padding-top: 10%; 使用 padding-top 来创建响应式高度 */
    max-width: 60vw; /* 设置最大宽度，可以根据需要调整 */
    margin: 0 auto;
    overflow: hidden;
    object-position: center;
    /*margin-bottom: 1rem;*/
}

#ad3 {
    object-fit: cover;
    object-position: center;
    display: block;
    width: 100%;
}

#ad3 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    /*height: 100%;*/
    object-fit: cover;
    object-position: center;
}


.container {
    background-color: #fff;
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#contents {
    display: flex;
    flex-direction: row;
}

#title {
    text-align: center;
    margin-bottom: 30px;
    flex-direction: column;
}

#date {
    color: #666;
    font-style: italic;
}

#title_name {
    font-size: 2.5em;
    margin: 10px 0;
}

#auther {
    font-size: 1.2em;
    color: #444;
}

#content {
    background-color: #fff;
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-size: 16px;
    line-height: 1.6;
    /*flex-direction: column;*/
}

#content h4 {
  font-size: 1.2em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

#content h5 {
  font-size: 1em;
  margin-top: 1.2em;
  margin-bottom: 0.3em;
}

#content p {
  margin-bottom: 1em;
}

#content ul {
  margin-bottom: 1em;
  padding-left: 2em;
}

#content li {
  margin-bottom: 0.5em;
}

#content img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
}

#content code {
  font-family: monospace;
  background-color: #f0f0f0;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

#content blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1em;
  margin-left: 0;
  color: #666;
}

p, code {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

ul {
   padding-left: 20px;
}

pre code {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
}

pre {
  overflow-x: auto;
}

.container {
  max-width: 100%;
  overflow-x: hidden;
}


@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    #title_name {
        font-size: 2em;
    }
}