*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}



body{
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #792202, #790d03, #290501);
}
.navbar{
    width: 100%;
    height: 50px;
    background-color: #350000;
}
.homeListnav{
    display: flex;
    list-style: none;
}

.homeListnav li{
    color: gold;
   margin-left: 60px;
    font-family: "Rowdies", sans-serif;
    padding: 5px 10px;
    border-radius: 6px;
    transition: color 0.4s ease, background-color 0.4s ease;
}
.homeListnav li:hover{
    background-color: rgb(255, 179, 0);
    
}
.homelist{
    text-decoration: none;
    color: gold;
    text-align: center;
    font-family: "Rowdies", sans-serif;

}
.homelist:hover{
    color: rgb(101, 2, 2);
}

.title{
    color: gold;
    font-size: 36px;
    text-align: center;
    margin-top: 20px;
    
}

.serieslist{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    color: gold;
}

/*side bar*/

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 50px;
    height: 100vh;
    background-color: #480202;

}

.sidebar-logo {
    width: 45px;              
    height: 45px;
    margin-top: 10px;

    border-radius: 50%;       
    object-fit: cover;        

    cursor: pointer;
    background-color: #f4f2f8;   
}

.sidebar-logo:hover {
    transform: scale(1.08);
    transition: 0.2s ease-in-out;
}

.series-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Series Item */
.series-item {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.series-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/*iamge*/
.series-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/*titles*/
.series-item h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    padding: 15px 10px 20px;
    line-height: 1.4;
}


.series-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}


@media (max-width: 600px) {
    .series-container {
        padding: 20px;
        gap: 20px;
    }

    .series-item img {
        height: 250px;
    }
}
