.mediateka-content {
    padding: 20px;
}

.media-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.media-section h2 {
    color: #dc3545;
    border-left: 5px solid #dc3545;
    padding-left: 10px;
    margin-bottom: 20px;
}

.media-group {
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.media-group h3 {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

.gallery-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.gallery-window {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 10px;
}

.gallery-item {
    min-width: 200px;
    flex: 0 0 auto;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    flex-shrink: 0;
}

.gallery-btn:hover {
    background-color: #dc3545;
}

.adibidea-figure {
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    background: white;
}

.adibidea-figure figcaption {
    margin-top: 5px;
    font-style: italic;
    color: #666;
}

.controls {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 8px 15px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #dc3545;
}

.sprite-container {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.icon-sprite {
    width: 100px;
    height: 100px;
    background-image: url('../img/logo.jpg');
    background-repeat: no-repeat;
    background-size: 200px 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: transform 0.2s;
}

.icon-sprite:hover {
    transform: scale(1.1);
    border-color: #dc3545;
}

.icon-1 {
    background-position: 0 0;
}

.icon-2 {
    background-position: -50px 0;
}

.icon-3 {
    background-position: -100px 0;
}
