/* Reset and base styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

header h1 {
    color: #0275d8;
    font-size: 3em;
}

.profile-img {
    max-width: 150px;
    border-radius: 20px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background-color: #f1f7fc;
    border-radius: 8px;
    font-size: 1.2em;
}

.qualities, .movies {
    margin: 20px 0;
}

h2 {
    color: #0275d8;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.qualities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.quality-item {
    flex-basis: 48%;
    background-color: #e9f7fe;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 150px; /* Set a minimum height to ensure all boxes are even */
}

@media (max-width: 768px) {
    .quality-item {
        flex-basis: 100%;
    }
}


.movies-list {
    list-style-type: disc;
    padding-left: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #0275d8;
    color: white;
    border-radius: 8px;
    margin-top: 30px;
}

footer p {
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quality-item {
        flex-basis: 100%;
    }
    
    header h1 {
        font-size: 2.5em;
    }
}
