* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration:none;
}
a:hover {text-decoration:underline;}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    margin: 0 auto;
    max-width:1500px;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

header h1 {
    margin-bottom: 10px;
}

header form {
    margin-top: 10px;
}

header input[type="text"] {
    padding: 10px;
    width: 80%;
    max-width: 400px;
    border: none;
    border-radius: 4px;
}

header input[type="submit"] {
    padding: 10px 20px;
    border: none;
    background-color: #ff6f61;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

section {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 10px;
}

.item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.item {
    text-align: center;
    transition: transform 0.3s;
    max-width: 130px;
}

.item:hover {
    transform: scale(1.05);
}

.item img {
    max-width: 130px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 15px;
}

.item .info {
    padding: 10px;
}

.item h3 {
    font-size: 18px;
}

.item p {
    color: #666;
}

.genre-section ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    gap: 10px;
    padding: 0;
}

.genre-section li {
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.genre-section li:hover{
    opacity: 0.7;
    transition: opacity 0.3s;
}

.all{
    text-decoration: underline;
    color:blue;
    line-height:150px;
}

@media(max-width:550px){
    header h1{
        font-size: 26px;
    }
    header input[type="text"]{
        width:calc(90% - 80px);
    }
    section h2{
        font-size:22px;
    }
    .item img{
        width:120px;
    }
    .item h3{
        font-size:16px;
    }
    p{
        font-size:15px;
    }
}