/* @import url("https://fonts.googleapis.com/css?family=Noto+Sans+Mono"); */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@1,600&display=swap');


.post-main {
  font-family: "Noto Sans Mono", monospace;
}

.post-title {
    align-items: center;
    text-align: center;
    margin-top: 3rem;
}

.post-title h1 {
    font-size: large;
    text-align: center;
    font-weight: bolder;
}

img[src*='#center'] {
    display: block;
    border-radius: 5px;
    margin: 0 auto;
    object-fit: cover;
    width: 700px;
    height: 300px;
}

img[src*='#height'] {
    display: block;
    border-radius: 5px;
    margin: 0 auto;
    object-fit: cover;
    width: 700px;
    height: 500px;
}

.post-under-title-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0.3rem;
    justify-content: center;
    margin: auto; 
    /* background-color: darksalmon; */
}

.post-under-title {
    /* background-color: palevioletred; */
    overflow: hidden;
    position: relative;
    align-items: center;
    text-align: center;
    justify-content: center;
    max-width: 400px;
}

.post-under-title ul {
    /* background-color: coral; */
    display: inline-block;
    text-align: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-under-title ul li {
    /* background-color: cadetblue; */
    display: inline-block;
    max-width: 350px;
    text-align: center;
    margin: 0;
    padding: 0;
}

.post-content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    /* background-color: antiquewhite; */
}

.post-content {
    max-width: 900px;
    text-align: left;
    display: inline-block;
    /* background-color: cadetblue; */
}

.post-content h1 {
    font-size: large;
    font-weight: bolder;
}

.post-content h2 {
    font-size: large;
}

.post-content h3 h4 {
    font-size: smaller;
    font-weight: bolder;
}

li a:link {
    color: #333;
    text-decoration: underline;
  }

p a:link {
    color: #333;
    text-decoration: underline;  
}
  
li a:visited {
    color: #333;
    text-decoration: underline;
  }

p a:visited {
    color: #333;
    text-decoration: underline;  
}
  
li a:hover {
    color: #333;
    text-decoration: underline;
  }

p a:hover {
    color: #333;
    text-decoration: underline;  
}

blockquote p {
    font-size: smaller;
    color: #333;
    text-align: center;
}

code {
    background-color: #f7f7f7;
}

/* Style for CSS code blocks */
pre {
      background-color: #f0ededa7;
}

/* code.language-python.hljs {
    background-color: #f7f7f7;
} */
  
 .caption {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 0.20rem 0.3rem;
    border-radius: 5px 0 0 5px;
    margin-right: 0.5rem;
    font-size: 0.7rem;
  }

@media screen and (max-width: 500px) {
    .post-main {
        display: flex;
        flex-wrap: wrap;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        font-size: 0.7rem;
        max-width: 350px;
        padding: 0.5rem;
    }

    .post-content-container {
        display: flex;
        flex-wrap: wrap;
        max-width: 350px;
        padding-right: 0.5rem;
    }

    .post-content {
        display: flex;
        flex-wrap: wrap;
        max-width: 350px;
    }

    .post-main p {
        overflow: hidden;
        max-width: 350px;
    }

    .post-image {
        max-width: 350px;
        height: 300px;
    }

    img[src*='#center'] {
        border-radius: 5px;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    img[src*='#height'] {
        border-radius: 5px;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    /* Style for CSS code blocks */
    pre {
        max-width: 360px;
        overflow-x: auto;
        padding: 0;
    }

    .caption {
        max-width: 360px;
        overflow-x: auto;
        padding: 0;
    }

    code.language-python.hljs {
        max-width: 360px;
        overflow-x: auto;
        padding: 0;
    }
  }
  
@media only screen and (min-width: 500px) and (max-width: 1024px) {
/* styles for iPad */
.post-main {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 0.7rem;
    width: 80%; /* set width to 80% of the available space */
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
    padding: 0.5rem;
}

.post-content-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
    padding-right: 0.5rem;
}

.post-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
}

.post-main p {
    overflow: hidden;
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
}

.post-image {
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
    height: 300px;
}

img[src*='#center'] {
    border-radius: 5px;
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
    height: auto;
    margin: 0 auto;
    display: block;
}

img[src*='#height'] {
    border-radius: 5px;
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Style for CSS code blocks */
pre {
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
    overflow-x: auto;
    padding: 0;
}

.caption {
    overflow-x: auto;
    padding: 0.2rem;
}

code.language-python.hljs {
    max-width: 1000px; /* limit width to 1000px maximum */
    min-width: 500px; /* ensure a minimum width of 500px */
    overflow-x: auto;
    padding: 0;
}
}