* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Jost', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.centered-box {
    background-color: #d4edda;
    border-radius: 15px;
    padding: 20px;
    max-width: 70%;
    margin: 50px auto;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.community-title {
    margin-left: 15%;
    margin-top: 50px;
    color: #043C01;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width : 70%;
    margin-left : 15%;
}

.search-bar input {
    padding: 10px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    flex: 1;
}

.filters {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.filters button {
    background-color: #1E4F0F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
}


.jardin {
    background-color: #d4edda;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 70%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.jardin-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    font-size: 1.1em;
}

.jardin-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.jardin-header h2 {
    margin-right: 10px;
}

.location {
    color: #666;
}

.jardin-profile {
    padding : 10px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.profile-image {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.username {
    font-weight: bold;
}

.info-tag {
    margin-bottom: 10px;
    margin-right: 5px;
    background-color: #ffff;
    border-radius: 15px;
    padding: 3px 8px;
    height: fit-content;
}

.tag {
    border-radius: 5px;
    padding: 10px 30px;
    margin-right: 5px;
    font-size: 0.9em;
}

.jardin-description {
    padding : 20px;
    margin-bottom: 20px;
}

.contact-button {
    background-color: #1E4F0F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-end;
    margin-top: -12px;
}

.garden-image {
    width: 50%;
    border-radius: 10px;
    margin-left: 20px;
}

.profilJardin{
    text-decoration: none;
    color: black;
    width: fit-content;
}

@media screen and (max-width: 820px) {
    .jardin {
        flex-direction: column;
        align-items: center;
    }

    .jardin-content {
        width: 100%;
        text-align: center;
    }

    .garden-image {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }

    .search-bar {
        max-width: 90%;
        margin-left : 5%;
    }

    .community-title {
        margin-left: 5%;
    }
    
}