.album {
    width: 90%;
    height: auto;
    max-width: 200px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#info {
    padding: 1rem;
    line-height: 1.6;
    border: 2px solid black;
}

img {
    width: 450px;
    height: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

table {
    font-size: 0.95rem;
    width: 100%;
    margin: auto;
    overflow-x: auto;
}

.table-height-lg {
    height: 520px;
}
  
.table-height-md {
    height: 260px;
}

th {
    font-size: 1.05em;
}

.leiras {
    font-size: 1rem;
    line-height: 1.8;
}

.kep {
    width: 100%;
    height: auto;
}

video {
    width: 750px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

audio {
    width: 900px;
    max-width: 100%;
}

.leiras {
    padding: 15px;
    line-height: 1.8;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 15px;
}

.table-container {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
  
.top-caption {
    caption-side: top;
    color: black;
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 0;
}

.details-bottom {
    margin-top: auto;
    padding-top: 5px;
}
  
@media (min-width: 768px) {
    .leiras {
        font-size: 1.05rem;
        padding: 20px;
    }

    .album-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    img {
        max-width: 400px;
    }

    table {
        font-size: 1rem;
    }

    .album {
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .leiras {
        font-size: 0.85rem;
        padding: 10px;
    }

    .album-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .album-section > section {
        width: 100%;
        margin-bottom: 20px;
    }

    table {
        font-size: 0.8rem;
        overflow-x: auto;
        display: block;
    }

    th, td {
        padding: 6px;
    }

    img, video, audio {
        max-width: 100%;
        margin: 0 auto 10px;
    }

    h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .album {
        max-width: 100%;
        margin: 0 auto 15px;
    }

    .table-container {
        margin-bottom: 10px;
    }

    .details-bottom {
        margin-top: 8px;
        padding-top: 5px;
    }
}