body {
    display: flex;
    background-color: #2d2d2d;
    color: #ddd;
    margin: 0;
    font-family: "Medieval";
}

@font-face{
    font-family: "Medieval";
    src: url(MedievalSharp-Regular.ttf);
}

h1,h2,h3,h4,h5,h6,ul,ol,p{
    color: white;
    font-family: "Medieval";
}


.logo2 {
    border: none;
}


.img-container{       
    text-align: center;
}

.nota{
    border: solid 1px #444;
    padding: 5px;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: hidden; 
    color: white;
    font-family: "Medieval";
    font-size: medium;
}
p{color: white;
    font-family: "Medieval";
    font-size: medium;}

.left, .right {
    padding: 20px;
}
.left {
    width: 70%;
    border-right: 1px solid #444;
    padding: 20px;
    overflow-wrap: break-word; 
}

.right {
    width: 30%;
    position: sticky;
    top: 0;
    height: 100vh; 
    overflow-y: auto;    
}
img {
    border: solid 3px black;
    max-width: 100%;
    max-height: 100%;
}

.branco{color: white;
    font-family: "Medieval";}
.azul{color: blue;
    font-family: "Medieval";}


.achievement {
    margin-bottom: 20px;
}
.achievement img {
    vertical-align: middle;
    margin-right: 10px;
}
.title {
    font-family: "Medieval";
    font-size: 21px;
    font-weight: bold;
    color: white;
}
.description {
    font-family: "Medieval";
    margin: 5px 0;
    font-size: 17px;
    color: #aaa;
}
.note {    
    font-family: "Medieval";
    font-size: 14px;
    color: #888;
}

.right ul a{
    list-style: none;
    padding: 0;
    color: white;

}
.right li {
    margin-bottom: 10px;
    font-size: 16px;
    color: white;
}

.right ul {
    list-style: none;
    padding: 0;
    color: white;

}
.right li {
    margin-bottom: 10px;
    font-size: 16px;
    color: white;
}
.right li ul {
    margin-top: 5px;
    padding-left: 20px;
    color: white;

}
.right li ul li {
    font-size: 14px;
    color: #aaa;
}

.container {
    display: flex;
    align-items: center;
        }
.classe{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.texto {
    margin-left: 10px;
        } 
.texto_cla{
    margin-left: 10px;
    align-items: center;

}

.section {
    margin-bottom: 30px;
}

.section img {
    float: right;
    margin-left: 20px;
    max-width: 200px;
    min-height: 350px;
    border-radius: 10px;
}

.section p {
    margin: 10px 0;
}

.section ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* TABELAS */
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 
}

th, td {
    border: 1px solid white;
    text-align: center;
    padding: 8px;
    word-wrap: break-word;
}

th {
    background-color: #2a2a2a;
    letter-spacing: 0.05em;
}

tr:nth-child(even) td {
    background-color: #2b2b2b;
}
tr:hover td {
    background-color: #414141;
}

td img {
    width: 60px;
    height: auto;
}

.custom-table {
    font-family: "Medieval";
    border-collapse: collapse;
    width: 60%; 
    margin: 20px auto;
    background-color: #2a2a2a;
}

.custom-th {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
    color: #ffffff;
}

.custom-td {
    border: 1px solid #444;
    padding: 10px;
    text-align: center;
    color: #ffffff;
}

.custom-col-img {
    width: 90px;
}

/* TABELAS 2 */
div.bb_table
{
	display: table;
	font-size: 16px;
}

div.bb_table div.bb_table_th
{
	display: table-cell;
	font-weight: bold;
	border: 1px solid #4d4d4d;
	padding: 4px;
}
div.bb_table div.bb_table_th img.sharedFilePreviewImage
{
	margin: 0px;

}

div.bb_table div.bb_table_td img.sharedFilePreviewImage
{
	margin: 0px;
}


div.bb_table div.bb_table_tr
{
	display: table-row;
}

div.bb_table div.bb_table_td
{
	display: table-cell;
	vertical-align: middle;
	border: 1px solid #4d4d4d;
	padding: 12px;
}

div.bb_table_td  img{
    height: 50px;
    width: 200px;
    text-align: center;
}

/* CONQUISTAS */
.achievement2 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.achievement2 img {
    width: 70px; 
    margin-right: 10px;
    border: 3px solid #444;
}
.achievement-content {
    display: flex;
    flex-direction: column;
}
.title2 {
    font-family: "Medieval";
    font-size: 21px;
    font-weight: bold;
    color: white;
}
.description2 {
    font-family: "Medieval";
    margin: 5px 0;
    font-size: 17px;
    color: #c7c7c7;
}
.note2 {    
    font-family: "Medieval";
    font-size: 14px;
    color: #888;
}

.h{
    border-color: #2d2d2d;
    color: #2d2d2d;
}

/* COMENTÁRIOS */
.comment-container {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}
.comment-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
}
.comment-content {
    max-width: 600px;
}
.comment-header {
    font-weight: bold;
    margin-bottom: 5px;
}
.comment-text {
    margin-bottom: 5px;
}
.comment-date {
    font-size: 0.8em;
    color: gray;
}
.image-selector-container {
    border: solid 1px #444;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
}
.image-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    transition: max-height 0.3s ease;
    overflow: hidden;
}
.image-selector img {
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 50%;
}
.image-selector img.selected {
    border-color: #007BFF; 
}
.view-more {
    display: block;
    margin-top: 10px;
    color: #007BFF;
    cursor: pointer;
}
.view-more:hover {
    text-decoration: underline;
}
.image-selector.collapsed {
    max-height: 60px; 
}
.image-selector.expanded {
    max-height: 500px; 
}