/* Burgy Malori - CSS for 151-projet-accueil */

/* Add background color for the navigation bar */
.nav {
    text-align: center;
    background-color: #e9e9e9;
    padding: 0; /* Add padding to avoid cut-off content */
}

/* Style for navigation links */
.nav a {
    display: inline-block; /* Change display property for proper spacing */
    color: black;
    padding: 16px 88px; /* Adjust top and bottom padding for better spacing */
    text-decoration: none;
    font-size: 16px;
}

/* Hover effect for navigation links */
.nav a:hover {
    background-color: #ddd;
}

/* Style for search input in the navigation bar */
.nav input[type=text] {
    margin: 0 auto; /* Center the input element */
    padding: 6px;
    border: none;
    font-size: 16px;
    width: 50%; /* Set a width for better appearance */
    box-sizing: border-box; /* Include padding and border in element's total width */
}

/* Style for album squares */
.square {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    margin-right: 16px;
    height: 200px;
    width: 200px;
    background-color: #ddd;
    text-align: center;
    padding: 10px;
}

/* Style for album titles */
.title {
    margin-top: 50px;
    margin-bottom: 10px;
    margin-right: 16px;
    text-align: center;

}

/* Style for album square container */
.square-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 16px;
}

/* Style for add album button */
.ajout {

    text-align: center;
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;

}

/* Style for labels */
label {

    display: inline-block;
    text-align: center;
    width: 130px;

}

/* -----------------------*/
/* Style for image container */
.image {

    flex-basis: 15%;
}

/* Style for text container */
.text {
    font-size: 15px;

}

/* Style for container */
.container {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -----------------------*/

/* Style for detail section */
.detail {

    flex-direction: column;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
