
body {
    font-family: monospace;
}

.title-div {
    background-color: #999;
    padding-top: 15px;
}

.superimage_right {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0px 10px 0px 0px;
}

.superimage_left {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0px 0px 0px 10px;
}

header {
    background-color: #444;
    color: #fff;
    text-align: center;
    width: 50%;
    margin: 0px auto 0px;
    border-radius: 15px;
    outline: 6px solid #000;
}

header h1 {
    padding: 10px 10px;
    font-size: 30px;
}

nav {
    background-color: #444;
    width: 70%;
    margin: 20px auto 0;
    border-radius: 15px;
    outline: 6px solid #000;
    overflow: hidden; /* Ensure content does not overflow */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; /* horizontal layout */
}

nav ul li {
    flex: 1; /* evenly divide space (like width: calc(100% / 7)) */
}

nav ul li a {
  display: flex; /* make <a> a flex container */
  justify-content: center; /* horizontal centering of text */
  align-items: center;     /* vertical centering of text */
  height: 100%;            /* make <a> fill li height */
  text-align: center;
  text-decoration: none;
  min-height: 40px;
  padding: 10px 10px;
  color: #fff;
  font-size: 15px;
  padding: 0;              /* optional if you want exact vertical centering */
  transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #555;
}

.main {
    margin: 0px 5%;
    padding: 10px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.main_with_post {
    justify-content: center;
}

.block {
    background-color: #ddd;
    border-radius: 15px;
    outline: 3px solid #000;
    margin: 10px 10px 10px 10px;
    width: calc(100% - 470px); /* Experimental value */
}

.description {
    width: calc(100% - 470px); /* Experimental value */
}

.block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.post {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.post_preview:hover {
    background-color: #aaa;
}

.status {
    position: absolute;
    top: 10;
    right: 0;
    justify-content: center;
    width: 350px; /* Experimental value */ 
}

.block h2 {
    background-color: #444;
    border-radius: 15px;
    width:fit-content;
    font-weight: bold;
    margin: 10px 10px 10px 10px;
    padding: 5px 20px 5px 20px;
    outline: 3px solid #000;
    color: #fff;
}

.block h3 {
    padding: 5px 5px 5px 5px;
    margin: 10px 10px 10px 0px;
    width: fit-content;
    font-size: 12px;
    font-style: italic;
}

.block h4 {
    margin: 15px;
    font-size: 20px;
    font-weight: bold;
}

.img_container img {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    outline: 3px solid #000;
    
}

.img_container embed {
    width:100%;
    max-width: 600px;
    border-radius: 15px;
    outline: 3px solid #000;
}

.img_container video {
    width:100%;
    max-width:600px;
    border-radius: 15px;
    outline: 3px solid #000;
}

.img_container {
    width: 100%;
    margin: 10px 10px 10px 10px;
}

.post .img_container {
    text-align: center;
    width: 100%;
    margin: 10px 10px 10px 10px;
}

.block p {
    width: 100%;
}

.status h2 {
    margin: 10px auto;
}

.status table {
    table-layout: fixed;
    width: 100%;
}

.status table button {
    background-color: #fff; 
    border-radius: 15px;
    width: 90%;
    padding: 5px 5px;
    margin: 2px 2px;
    outline: 1px solid #000;
    font-size: 16px;
}

.status table button:hover {
    background-color: #aaa !important;
    outline: 1px solid #000;
}

.status table button:active {
    background-color: #aaa;
    outline: 1px solid #000;
}

.title-div::after {
    content: "";
    display: block;
    clear: both;
    margin-top: 15px;
    border-bottom: 3px solid #000;
}

p {
    margin: 10px;
    font-size: 16px;
}

ul {
    margin: 15px;
    font-size: 16px;
}

.bullets li {
    list-style-type: circle;
    margin: 10px 10px 10px 15px;
}

iframe {
    margin: 0 auto;
    display:block;
}

@media only screen and (max-width: 1100px) {
    nav {
        width: 97%;
    }
    header {
        width: 80%;
    }
    .superimage_left {
        visibility: hidden;
    }
    .superimage_right {
        visibility: hidden;
    }
    .block {
        width: 100%;
    }
    .post {
        margin: 0px;
    }
    .status {
        visibility: hidden;
    }
    iframe {
        width:360px;
        height:200px;
    }
    nav ul li {
        width: 25%;
    }
}
