@font-face {
	font-family: 'Coelacanth';
	src: local('Coelacanth.otf') format('otf');
	/* Add other formats if needed */
}
body {
    margin: 0;
    font-family: 'Coelacanth', serif;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index:9999;
    background: #333333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.menu-btn {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
.menu {
    position: absolute;
    top: 60px;
    left: 10px;
    background: #333333;
    width: 200px;
    padding: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    display: none;
    z-index:99999999;
}
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu li {
    padding: 10px;
    border-bottom: 1px solid #444;
}
.menu li a {
    color: white;
    text-decoration: none;
    display: block;
}
.menu li:hover {
    background: #444;
}
.update-panel {
    position: absolute;
    bottom: -10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}
.container {
    box-shadow: 3px 3px 5px #333333;
    border:1px solid black;
    padding: 10px;
    max-width: 1000px;
    margin: 100px auto;
}

.bitacora .container{
    border: 0px;
    display:flex;
    box-shadow: none;
}
.tesoro .container h4{
    width:100%;
    margin:auto auto 25px;
    text-align:center;
}

.tesoro .container td:first-child{
    font-weight: bold;
}

.tesoro .container td:nth-child(2){
    font-weight: normal;
}

.rumores .container li{
    line-height:30px;
}

.rumores .container > div{
    padding:15px 50px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background: #444;
    color: white;
}
td:first-child{
    font-weight: bold;
}

.personajes td:nth-child(2){
    text-align:center;
}

/*SLIDER*/
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider-container {
    display: flex;
    transition: transform 0.3s ease-in-out;
}
.slider-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px 50px;
    text-align: center;
}
.slider-item > div{
    margin:auto;
    border:1px solid black;
    box-shadow: 3px 3px 5px #333333;
    text-align:left;
    padding:15px 50px;
    max-width:700px;
}

h2{
    text-align:center;
    width:100%;
    margin:15px auto 25px;
}

h3{
    margin-top:50px;
    margin-bottom: 10px;
}

.slider-item > div > h5{
    text-align:center;
    width:100%;
}

.slider-item > div > h5 span{
    color:grey;
    font-weight:normal;
}

.slider-button {
    top:50%;
    position: sticky;
    height: 40px;
    transform: translateY(50%);
    color: #333333;
    border: 1px solid black;
    box-shadow:2px 2px 2px #333333;
    cursor: pointer;
    border-radius:8px;
    background: white;
    padding: 10px;
}
.slider-button.prev {
    left: 10px;
    z-index:999;
}
.slider-button.next {
    right: 10px;
}

.contratos, .concluidos{
    padding: 15px 50px 50px;
}

.concluidos h3{
    color:grey;
}

.characters .container{
    display:flex;
    flex-wrap: wrap;
} 

.character_block {
    display: flex;
    min-height: 210px;
    width: calc(50% - 1px);
    padding-top: 5px;
    padding-left: 5px;
    padding-bottom: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid black;
}

.character_block:nth-child(odd) {
    border-left:1px solid black;
}

.character_block > div:first-child {
    margin: 5px;
    background-size:cover;
    height: 100%;
    aspect-ratio: 10 / 11;
    background-position-x: center;
    border: 2px solid black;
    max-height:165px;
}

h5 {
    font-weight: 100;
    margin: -15px 0px -5px;
    font-size: 16px;color: #404040;
}

.character_block > div:last-child {
    margin: 10px;
    overflow: auto;
}

.container div.character_block > div > h4 {
    text-align: left !important;
    margin-bottom: 15px;
}

.character_block h4{
    margin-top:0px;
}

@media (max-width: 768px) {
    
    .slider-item {
        padding: 10px 10px;
    }
    .slider-item > div{
        padding:15px 10px;
    }

    .slider-button {
        position:fixed;
    }

    .character_block{
        width:100%;
    }

    .character_block > div:first-child {
        aspect-ratio: 10 / 13;
    }

    .character_block:nth-child(odd) {
        border-left:0px;
    }

} 