body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #00082f;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

h3 {
    background-color: #ffffff;
    border-left-style: solid;
    border-left-width: 20px;
    border-bottom-style: solid;
    border-color:#fd7231;
    color:#000000;
    margin: 0;
    padding: 3px;
}

h4 {
    padding-left: 20px;
    margin:0;
}

p {
    padding-left: 20px;
}

.content-container {
    max-width: 600px;
    margin: 20px;
    text-align: left;
    color:#000000;
}

.code-container {
    position: relative;
    border: 1px solid #ddd; 
    border-radius: 3px;
}

pre {
    background-color: #f6f8fa;
    padding: 16px;
    overflow: auto;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    font-size: 0.9em;
}

button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px;
    background-color: #fd7231;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #fd7231;
}

.media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 100%; /* Add this line */
}

.media-title {
    font-size: 0.8em;
    margin-bottom: 10px;
}

.div-p,
.div-img,
.div-video,
.div-code,
.div-question,
.div-answer,
.div-table {
    width: 80%; /* Adjust this to change the width */
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 10px;
    border: medium solid #cacaca;
    background-color: #eeeeee;   
}

.div-thumbnail_link {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%; /* Adjust this to change the width */
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 10px;
    border: medium solid #cacaca;
    background-color: #eeeeee;
}

.item {
    box-sizing: border-box;
}


img, video {
    width: 100%;
    height: auto;  /* Add this */
}

.responsive-video {
    width: 100%;
    height: auto;
    object-fit: contain;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th {
    background-color: #CACACA;
    padding: 15px;
    border: 2px solid #BD9047;
}
td {
    padding: 15px;
    border: 2px solid #BD9047;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
tr:hover {
    background-color: #ddd;
}