body {
    font-family: 'Armata', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

header {
    background-color: #452c6e;
    padding: 15px;
}

nav {
    display: flex;
    justify-content: center; 
    align-items: center;
}

header img {
    height: 100px;
}

form {
    display: flex;
    align-items: center;
}

input[type="search"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

input[type="submit"] {
    padding: 10px 20px;
    background-color: #EB4CAE; 
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

input[type="submit"]:hover {
    background-color: #d63f9d;
}

h2 {
    text-align: center;
}

.result-container {
    display: flex;
    justify-content: center;
}

.result {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1080px;
    margin-top: 20px;
    padding: 0 15px;
}

.result ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.result li {
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    width: 220px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.result li:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.result img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.details {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    max-width: 800px;
    margin: auto;
}

.details img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.note {
    font-weight: bold;
    margin-top: 15px;
}

.genre {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.genre li {
    background-color: #33B0CD; 
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
}

.description {
    margin-top: 15px;
}

button {
    padding: 10px 15px;
    background-color: #8754DB; 
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #6c3fc7;
}

.button-container     {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}


.characters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style-type: none;
    padding: 0;
}

.character {
    text-align: center;
    max-width: 150px;
}

.character img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

summary {
    cursor: pointer;
}


/*carrousel*/

.splide__slide img {
    width: 200px;
    height: 300px;
    cursor: pointer;
}